/* =========================================================================
   Padum Trips — Coming Soon
   Built from the Claude Design canvas "Padum Trips Coming Soon.dc.html".

   Palette (Padum Diving CI)
     --deep      #0E2740             deep ocean base
     --shallow   #539DB8             sunlit shallows (gradient top)
     --mid       #346B8F / #244D78   mid-water gradient steps
     --glow      #95D1EB             caustic light / accent blue
     --sun       #FAC669             accent yellow
     --coral     #EEA570             accent coral (link hover)
     --abyss     rgba(4,16,29,…)     vignette / recessed panels
   ========================================================================= */

:root {
  --deep: #0e2740;
  --glow: #95d1eb;
  --sun: #fac669;
  --coral: #eea570;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --pad-x: clamp(20px, 5vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--deep);
}

body {
  color: #ffffff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sun);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

/* ---------------------------------------------------------------- backdrop
   Fixed so the page can grow past the viewport (mobile) without clipping
   content, and so the rising-bubble 105vh travel stays viewport-correct.
   All clipping lives here, never on the content column.                    */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--deep);
  pointer-events: none;
}

.backdrop-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    130% 100% at 50% -20%,
    #539db8 0%,
    #346b8f 26%,
    #244d78 55%,
    #0e2740 100%
  );
}

.caustic {
  position: absolute;
  mix-blend-mode: screen;
}

.caustic-a {
  inset: -20% -20% 30% -20%;
  background: repeating-linear-gradient(
    104deg,
    rgba(149, 209, 235, 0.3) 0px,
    rgba(149, 209, 235, 0.3) 3px,
    rgba(149, 209, 235, 0) 3px,
    rgba(149, 209, 235, 0) 90px
  );
  filter: blur(14px);
  animation: padumCaustic 16s ease-in-out infinite;
}

.caustic-b {
  inset: -20% -20% 45% -20%;
  background: repeating-linear-gradient(
    76deg,
    rgba(255, 255, 255, 0.22) 0px,
    rgba(255, 255, 255, 0.22) 2px,
    rgba(255, 255, 255, 0) 2px,
    rgba(255, 255, 255, 0) 130px
  );
  filter: blur(20px);
  animation: padumCaustic2 23s ease-in-out infinite;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80% 60% at 50% 40%,
    rgba(0, 0, 0, 0) 40%,
    rgba(4, 16, 29, 0.72) 100%
  );
}

.bubble {
  position: absolute;
  bottom: -20px;
  display: block;
  border-radius: 50%;
}

.bubble-1 {
  left: 14%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 8px rgba(149, 209, 235, 0.8);
  animation: padumRise 15s linear infinite;
}

.bubble-2 {
  left: 33%;
  width: 9px;
  height: 9px;
  background: rgba(149, 209, 235, 0.34);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.6);
  animation: padumRise 21s linear infinite 4s;
}

.bubble-3 {
  left: 58%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  animation: padumRise 12s linear infinite 7s;
}

.bubble-4 {
  left: 77%;
  width: 12px;
  height: 12px;
  background: rgba(149, 209, 235, 0.22);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.5);
  animation: padumRise 26s linear infinite 2s;
}

.bubble-5 {
  left: 91%;
  width: 6px;
  height: 6px;
  background: rgba(149, 209, 235, 0.4);
  animation: padumRise 18s linear infinite 9s;
}

/* ------------------------------------------------------------- page shell */

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------- masthead */

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: clamp(20px, 4vw, 36px) var(--pad-x);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  height: clamp(38px, 7vw, 54px);
  width: auto;
  display: block;
}

.brand-rule {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.28);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 3.4vw, 24px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--glow);
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  animation: padumPulse 2.4s ease-in-out infinite;
}

/* ------------------------------------------------------------------ stage */

.stage {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(16px, 4vw, 20px) var(--pad-x) clamp(28px, 5vw, 40px);
}

.stage-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.4vw, 30px);
  flex: 1 1 420px;
  min-width: 0;
  max-width: 940px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: padumFade 0.7s ease both;
}

.eyebrow-rule {
  width: 34px;
  height: 2px;
  background: var(--sun);
}

.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sun);
}

.hero {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.82;
  font-size: clamp(58px, 14vw, 210px);
  letter-spacing: 0.01em;
  animation: padumFade 0.9s ease 0.08s both;
}

.hero-line {
  display: block;
}

.hero-solid {
  color: #ffffff;
  text-shadow: 0 18px 60px rgba(4, 16, 29, 0.55);
}

.hero-outline {
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.3vw, 2.5px) rgba(149, 209, 235, 0.85);
}

/* Without text-stroke support "Soon" would render invisible — fill instead. */
@supports not (-webkit-text-stroke: 1px #000000) {
  .hero-outline {
    color: rgba(149, 209, 235, 0.85);
  }
}

.blurb {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
  animation: padumFade 0.9s ease 0.16s both;
}

/* ------------------------------------------------------------ depth marks */

.marks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 24px;
  flex: 1 1 240px;
  max-width: 340px;
  padding-left: clamp(18px, 2.4vw, 28px);
  border-left: 1px solid rgba(149, 209, 235, 0.3);
  animation: padumFade 0.9s ease 0.28s both;
}

.mark {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: clamp(10px, 1.6vw, 14px) 0;
}

.mark-depth {
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sun);
}

.mark-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

/* The stage would wrap on its own at ~777px, but a wrap the media query does
   not know about leaves the marks with a left rule floating as a stray
   vertical line. So stack explicitly below 820px (above it the row can never
   wrap: usable width 0.9W always exceeds the 420+240+gap the two columns
   need) and let this query be the single source of truth.
   flex-basis also flips to the block axis in a column container, hence the
   flex reset — without it 420px/240px become heights. */
@media (max-width: 820px) {
  .stage {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .stage-copy,
  .marks {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  .marks {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    padding-left: 0;
    padding-top: clamp(18px, 4vw, 26px);
    border-left: 0;
    border-top: 1px solid rgba(149, 209, 235, 0.3);
  }
}

/* ----------------------------------------------------------------- ticker */

.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 16, 29, 0.32);
  padding: clamp(10px, 1.6vw, 14px) 0;
}

/* Two identical .ticker-run children + translateX(-50%) = seamless loop.
   Do not de-duplicate the second run. */
.ticker-track {
  display: flex;
  width: max-content;
  animation: padumTicker var(--ticker-duration, 110s) linear infinite;
}

.ticker-run {
  display: flex;
  gap: 42px;
  padding-right: 42px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 2.2vw, 20px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.ticker-sep {
  color: var(--sun);
}

/* ----------------------------------------------------------------- footer */

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: clamp(16px, 2.6vw, 22px) var(--pad-x) clamp(22px, 3vw, 30px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------------------- keyframes */

@keyframes padumCaustic {
  0% {
    transform: translate3d(-6%, -2%, 0) rotate(-2deg) scaleY(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(6%, 2%, 0) rotate(2deg) scaleY(1.12);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(-6%, -2%, 0) rotate(-2deg) scaleY(1);
    opacity: 0.55;
  }
}

@keyframes padumCaustic2 {
  0% {
    transform: translate3d(5%, 1%, 0) scaleX(1);
    opacity: 0.4;
  }
  50% {
    transform: translate3d(-5%, -3%, 0) scaleX(1.15);
    opacity: 0.7;
  }
  100% {
    transform: translate3d(5%, 1%, 0) scaleX(1);
    opacity: 0.4;
  }
}

@keyframes padumRise {
  0% {
    transform: translateY(30px) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-105vh) translateX(24px);
    opacity: 0;
  }
}

@keyframes padumFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes padumTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes padumPulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

/* Nine infinite animations is a lot to force on anyone. Note this fires far
   more often on phones than you'd expect: iOS Reduce Motion, and Android
   Battery Saver ("Remove animations") which Chrome reports as `reduce`. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bubble {
    display: none;
  }

  /* The blanket rule above "finishes" every animation instantly. For a marquee
     that means jumping to translateX(-50%) and parking mid-list, not stopping.
     Reset it to the start and let the strip be swiped instead, so the
     destinations stay readable without any motion. */
  .ticker-track {
    animation: none !important;
    transform: none !important;
  }

  .ticker {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ticker::-webkit-scrollbar {
    display: none;
  }

  /* padumPulse ends at .35 — without this the status dot parks dimmed. */
  .status-dot {
    opacity: 1;
  }
}
