:root {
  --paper: #f2eee4;
  --mist: #b8c5c8;
  --storm: #17252d;
  --deep: #071922;
  --gold: #ffb20f;
  --hot: #ffdb69;
  --pad: clamp(18px, 4vw, 72px);
  --display: "Arial Black", Impact, Haettenschweiler, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --scene-drift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--deep);
  font-family: var(--body);
}

a {
  color: inherit;
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--hot);
  outline-offset: 4px;
}

#rain {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px var(--pad);
  background: linear-gradient(180deg, rgba(6, 12, 16, .8), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff9e6;
  font: 900 clamp(15px, 1.4vw, 21px)/1 var(--display);
  letter-spacing: -.04em;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.brand small {
  color: var(--gold);
  font: 900 10px/1 var(--body);
  letter-spacing: .14em;
}

.brand-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff8bf;
  box-shadow: 0 0 8px #fff, 0 0 24px 7px #ffad0b, 0 0 50px 16px rgba(255, 126, 0, .65);
}

.nav-actions {
  display: flex;
  gap: 7px;
}

.nav-button {
  min-width: 68px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 220, 113, .42);
  border-radius: 999px;
  color: #fff4cd;
  background: rgba(5, 12, 15, .66);
  backdrop-filter: blur(9px);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}

.nav-button:hover,
.nav-button.copied {
  color: #231400;
  background: var(--hot);
  box-shadow: 0 0 25px rgba(255, 176, 15, .55);
  transform: translateY(-2px);
}

.sea-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #1b2931;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 108%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--scene-drift), 0) scale(1.015);
  filter: saturate(.92) contrast(1.03);
  will-change: transform;
}

.storm-vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 11, 15, .78) 0%, rgba(5, 11, 15, .08) 38%, rgba(5, 11, 15, .05) 66%, rgba(5, 11, 15, .4) 100%),
    linear-gradient(180deg, rgba(4, 10, 14, .62), transparent 28%, transparent 67%, rgba(6, 18, 24, .82));
}

.hero-title {
  position: absolute;
  top: clamp(88px, 14vh, 150px);
  left: var(--pad);
  z-index: 5;
  max-width: min(54vw, 860px);
}

.weather-report {
  display: block;
  margin: 0 0 12px 5px;
  color: #d3dfe1;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .22em;
}

.hero-title h1 {
  margin: 0;
  color: #fff8e6;
  font: 900 clamp(54px, 8.8vw, 164px)/.76 var(--display);
  letter-spacing: -.085em;
  text-shadow: 0 7px 26px rgba(0,0,0,.55);
}

.ticker {
  display: inline-block;
  margin: 15px 0 0 7px;
  color: var(--hot);
  font-size: clamp(13px, 1.2vw, 20px);
  font-weight: 950;
  letter-spacing: .18em;
  text-shadow: 0 0 18px rgba(255, 176, 15, .58);
}

.hero-thought {
  position: absolute;
  top: 19vh;
  right: var(--pad);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 300px;
  transform: rotate(2deg);
  text-align: right;
}

.hero-thought strong {
  color: #edf4f4;
  font: 900 clamp(12px, 1.3vw, 20px)/1.1 var(--display);
  letter-spacing: -.025em;
  text-shadow: 0 3px 16px rgba(0,0,0,.7);
}

.hero-thought span {
  margin-top: 7px;
  padding: 8px 11px;
  color: #1c1200;
  background: var(--hot);
  box-shadow: 0 0 24px rgba(255, 174, 13, .35);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
}

.launch-row {
  position: absolute;
  left: var(--pad);
  bottom: 70px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ca-plank {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: min(420px, 45vw);
  padding: 14px 17px;
  border: 1px solid rgba(255, 221, 119, .45);
  border-radius: 999px;
  color: #eef3ed;
  background: rgba(6, 13, 16, .68);
  box-shadow: 0 14px 30px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(11px);
  cursor: pointer;
}

.ca-plank span,
.ca-plank em {
  color: var(--gold);
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .14em;
}

.ca-plank b {
  flex: 1;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: left;
  text-overflow: ellipsis;
}

.round-link {
  display: grid;
  width: 56px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 221, 119, .45);
  border-radius: 999px;
  color: #fff6d9;
  background: rgba(6, 13, 16, .68);
  backdrop-filter: blur(11px);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  transition: .2s ease;
}

.round-link:hover {
  color: #211200;
  background: var(--hot);
  transform: translateY(-3px);
}

.copy-status {
  position: absolute;
  left: calc(var(--pad) + 18px);
  bottom: 45px;
  z-index: 6;
  margin: 0;
  color: rgba(235, 242, 240, .58);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.dive-link {
  position: absolute;
  right: var(--pad);
  bottom: 54px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce8e8;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .16em;
  text-decoration: none;
  text-shadow: 0 3px 12px #000;
}

.dive-link span {
  color: var(--gold);
  font-size: 22px;
  animation: bob 1.6s ease-in-out infinite;
}

.open-water {
  position: relative;
  background: #0b2630;
}

.surface-zone,
.deep-zone {
  position: relative;
  min-height: 105svh;
  overflow: hidden;
  isolation: isolate;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.surface-zone {
  background-image: url("assets/water-surface.png");
}

.surface-zone::before,
.deep-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.surface-zone::before {
  background:
    linear-gradient(180deg, rgba(9, 28, 35, .78), transparent 18%, transparent 74%, rgba(5, 25, 34, .92)),
    linear-gradient(90deg, rgba(4, 19, 25, .45), transparent 45%, rgba(4, 19, 25, .22));
}

.deep-zone {
  min-height: 115svh;
  margin-top: -1px;
  background-image: url("assets/deep-water.png");
}

.deep-zone::before {
  background: linear-gradient(180deg, rgba(5, 27, 36, .78), transparent 25%, rgba(2, 14, 21, .64));
}

.depth {
  position: absolute;
  left: 16px;
  z-index: 8;
  color: rgba(215, 233, 233, .42);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.depth::after {
  content: "";
  display: inline-block;
  width: 45px;
  height: 1px;
  margin-left: 8px;
  vertical-align: middle;
  background: currentColor;
}

.depth-1 { top: 4% }
.depth-2 { top: 47% }
.depth-3 { top: 86% }

.water-copy {
  position: absolute;
  top: 18%;
  left: max(var(--pad), 8vw);
  z-index: 4;
  max-width: 860px;
}

.water-copy p,
.deep-cta > p {
  margin: 0 0 14px 5px;
  color: #bed0d1;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .2em;
}

.water-copy h2,
.deep-cta h2 {
  margin: 0;
  color: #eef6f3;
  font: 900 clamp(54px, 8vw, 150px)/.79 var(--display);
  letter-spacing: -.085em;
  text-shadow: 0 7px 26px rgba(0,0,0,.44);
}

.water-copy span {
  display: block;
  margin: 22px 0 0 6px;
  color: #c3d2d0;
  font-size: 14px;
  text-shadow: 0 2px 12px #0a2028;
}

.drift-note {
  position: absolute;
  z-index: 5;
  margin: 0;
  color: rgba(230, 239, 237, .68);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .16em;
  text-shadow: 0 2px 10px #081e27;
}

.note-one {
  top: 18%;
  right: 8%;
  transform: rotate(3deg);
}

.note-two {
  top: 55%;
  right: 20%;
  transform: rotate(-2deg);
}

.note-three {
  left: 14%;
  bottom: 12%;
  transform: rotate(1deg);
}

.wave-machine {
  position: absolute;
  right: 8%;
  bottom: 12%;
  z-index: 6;
  display: grid;
  justify-items: end;
}

.machine-label {
  color: #b7cbcb;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .18em;
}

.wave-count {
  color: #eff8f4;
  font: 900 clamp(75px, 11vw, 185px)/.8 var(--display);
  letter-spacing: -.08em;
  text-shadow: 0 5px 20px rgba(0,0,0,.36);
}

.make-wave {
  margin-top: 18px;
  padding: 16px 21px;
  border: 1px solid rgba(224, 240, 238, .48);
  border-radius: 999px;
  color: #eaf3f0;
  background: rgba(5, 29, 38, .5);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
  cursor: pointer;
  transition: .2s ease;
}

.make-wave:hover {
  color: #14252b;
  background: #d7e6e2;
  transform: translateY(-3px);
}

.surface-zone.rough {
  animation: rough-water .55s ease-out;
}

.deep-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(1100px, calc(100% - 36px));
  transform: translate(-50%, -50%);
  text-align: center;
}

.deep-cta > p {
  color: #8fb1b6;
}

.deep-cta h2 {
  color: #e3f2ee;
  font-size: clamp(70px, 11.4vw, 210px);
  text-shadow: 0 10px 36px rgba(0,0,0,.48), 0 0 60px rgba(255, 166, 0, .1);
}

.deep-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 42px;
}

.deep-button {
  padding: 17px 21px;
  border: 1px solid rgba(226, 242, 239, .38);
  border-radius: 999px;
  color: #eaf3f0;
  background: rgba(2, 15, 22, .58);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .11em;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0,0,0,.17);
  transition: .2s ease;
}

.deep-button:first-child {
  border-color: var(--hot);
  color: #251500;
  background: var(--hot);
  box-shadow: 0 0 34px rgba(255, 177, 15, .27);
}

.deep-button:hover {
  transform: translateY(-4px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px var(--pad);
  color: #7e9aa0;
  background: #020d13;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
}

@keyframes bob {
  0%, 100% { transform: translateY(-2px) }
  50% { transform: translateY(6px) }
}

@keyframes rough-water {
  0%, 100% { background-position: center }
  25% { background-position: 51% 49% }
  50% { background-position: 49% 51% }
  75% { background-position: 50.5% 49.5% }
}

@media (max-width: 820px) {
  .topbar {
    padding: 12px 13px;
  }

  .brand small {
    display: none;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-button {
    min-width: 54px;
    padding: 9px;
    font-size: 8px;
  }

  .sea-hero {
    min-height: 920px;
  }

  .hero-scene {
    height: 100%;
    object-position: 52% center;
  }

  .storm-vignette {
    background:
      linear-gradient(180deg, rgba(4,10,14,.68), transparent 25%, transparent 55%, rgba(5, 16, 22, .9)),
      linear-gradient(90deg, rgba(4,10,14,.36), transparent 70%);
  }

  .hero-title {
    top: 85px;
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .hero-title h1 {
    font-size: clamp(50px, 18vw, 82px);
  }

  .hero-thought {
    top: auto;
    right: 16px;
    bottom: 252px;
    max-width: 210px;
  }

  .hero-thought strong {
    font-size: 12px;
  }

  .launch-row {
    right: 16px;
    bottom: 92px;
    left: 16px;
  }

  .ca-plank {
    min-width: 0;
    flex: 1;
    gap: 9px;
  }

  .ca-plank b {
    font-size: 10px;
  }

  .round-link {
    width: 48px;
  }

  .copy-status {
    bottom: 68px;
    left: 30px;
  }

  .dive-link {
    right: 16px;
    bottom: 26px;
  }

  .surface-zone,
  .deep-zone {
    min-height: 900px;
  }

  .surface-zone {
    background-position: 58% center;
  }

  .deep-zone {
    background-position: 54% center;
  }

  .water-copy {
    top: 13%;
    left: 18px;
    width: calc(100% - 36px);
  }

  .water-copy h2,
  .deep-cta h2 {
    font-size: clamp(51px, 15vw, 78px);
  }

  .water-copy span {
    max-width: 290px;
  }

  .drift-note {
    font-size: 8px;
  }

  .note-one {
    top: 48%;
    right: 18px;
  }

  .note-two {
    top: 59%;
    right: auto;
    left: 18px;
  }

  .note-three {
    display: none;
  }

  .wave-machine {
    right: 18px;
    bottom: 12%;
  }

  .wave-count {
    font-size: 90px;
  }

  .deep-cta {
    width: calc(100% - 36px);
  }

  .deep-actions {
    flex-direction: column;
  }

  .deep-button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    align-items: center;
    padding: 26px 16px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
