:root {
  --ink: #06222f;
  --deep: #021a2a;
  --reef: #03b9b3;
  --lagoon: #44d7e5;
  --sun: #ffd23f;
  --coral: #ff6f61;
  --pink: #ff8dc7;
  --white: #ffffff;
  --progress: 0;
  --depth: 0;
  --shallow-shift: 0;
  --blue-shift: 0;
  --deep-shift: 0;
  --abyss-shift: 0;
  --shadow: 0 26px 80px rgba(0, 18, 32, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: #02111e;
  font-family: "Plus Jakarta Sans", "Noto Sans SC", system-ui, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.ocean-stage {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background: #020b18;
}

.surface-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: calc(0.9 - var(--progress) * 0.78);
  transform: scale(calc(1.02 + var(--progress) * 0.2)) translateY(calc(var(--progress) * -9vh));
  filter: saturate(calc(1.18 - var(--progress) * 0.38)) blur(calc(var(--progress) * 2.4px));
}

.water-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 225, 117, calc(0.36 - var(--progress) * 0.28)), transparent 30%),
    radial-gradient(circle at 76% 42%, rgba(255, 111, 97, calc(0.14 - var(--progress) * 0.1)), transparent 28%),
    linear-gradient(
      180deg,
      rgba(95, 226, 232, calc(0.48 - var(--progress) * 0.26)) 0%,
      rgba(7, 165, 182, calc(0.62 - var(--progress) * 0.1)) 25%,
      rgba(0, 82, 122, calc(0.72 + var(--progress) * 0.06)) 58%,
      rgba(2, 18, 42, calc(0.84 + var(--progress) * 0.12)) 100%
    );
}

.depth-haze {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(60, 226, 222, 0.18), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(0, 94, 124, 0.42) 42%, rgba(3, 38, 74, 0.82) 100%),
    radial-gradient(circle at 18% 78%, rgba(0, 221, 205, 0.16), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(14, 47, 110, 0.34), transparent 34%);
  opacity: calc(0.12 + var(--blue-shift) * 0.28 + var(--deep-shift) * 0.48);
}

.sun-rays {
  position: absolute;
  inset: -12% -24% 0;
  opacity: calc(0.72 - var(--blue-shift) * 0.2 - var(--deep-shift) * 0.28 - var(--abyss-shift) * 0.12);
  background:
    linear-gradient(104deg, transparent 0 32%, rgba(255, 255, 255, 0.22) 33% 36%, transparent 37%),
    linear-gradient(118deg, transparent 0 48%, rgba(255, 255, 255, 0.18) 49% 51%, transparent 52%),
    linear-gradient(132deg, transparent 0 60%, rgba(255, 210, 63, 0.14) 61% 63%, transparent 64%);
  transform: translateY(calc(var(--progress) * -12vh));
}

.abyss-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, transparent 0 30%, rgba(0, 10, 24, calc(var(--deep-shift) * 0.38)) 74%, rgba(0, 5, 16, calc(var(--abyss-shift) * 0.78)) 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 9, 24, calc(var(--abyss-shift) * 0.66)) 82%);
  opacity: calc(0.18 + var(--deep-shift) * 0.28 + var(--abyss-shift) * 0.42);
}

.ocean-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(178deg, rgba(255, 255, 255, calc(0.055 - var(--abyss-shift) * 0.02)) 0 1px, transparent 1px 22px),
    radial-gradient(circle at 50% 118%, rgba(83, 221, 221, calc(var(--blue-shift) * 0.08)), transparent 36%),
    radial-gradient(circle at 50% 122%, rgba(255, 255, 255, calc(var(--progress) * 0.06)), transparent 36%);
  mix-blend-mode: screen;
  opacity: 0.72;
  transform: translateY(calc(var(--progress) * -18vh));
}

.bubble-field span {
  position: absolute;
  bottom: -90px;
  left: var(--left);
  width: var(--size, 18px);
  height: var(--size, 18px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  opacity: 0;
  animation: floatBubble var(--duration, 10s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.bubble-field span:nth-child(1) { --left: 8%; --size: 10px; --duration: 11s; --delay: -2s; }
.bubble-field span:nth-child(2) { --left: 18%; --size: 22px; --duration: 14s; --delay: -8s; }
.bubble-field span:nth-child(3) { --left: 33%; --size: 14px; --duration: 10s; --delay: -5s; }
.bubble-field span:nth-child(4) { --left: 45%; --size: 28px; --duration: 16s; --delay: -10s; }
.bubble-field span:nth-child(5) { --left: 58%; --size: 12px; --duration: 9s; --delay: -3s; }
.bubble-field span:nth-child(6) { --left: 68%; --size: 20px; --duration: 12s; --delay: -7s; }
.bubble-field span:nth-child(7) { --left: 78%; --size: 9px; --duration: 8s; --delay: -4s; }
.bubble-field span:nth-child(8) { --left: 88%; --size: 26px; --duration: 15s; --delay: -11s; }
.bubble-field span:nth-child(9) { --left: 93%; --size: 14px; --duration: 10s; --delay: -1s; }
.bubble-field span:nth-child(10) { --left: 27%; --size: 8px; --duration: 7s; --delay: -6s; }

@keyframes floatBubble {
  0% {
    transform: translateY(0) translateX(0) scale(0.82);
    opacity: 0;
  }
  12% {
    opacity: calc(0.36 + var(--progress) * 0.4);
  }
  100% {
    transform: translateY(-112vh) translateX(36px) scale(1.1);
    opacity: 0;
  }
}

.submarine-track {
  position: absolute;
  top: calc(18vh + var(--progress) * 58vh);
  right: 12vw;
  width: clamp(130px, 15vw, 210px);
  transform: translateX(calc(var(--progress) * -22vw)) rotate(calc(-5deg + var(--progress) * 10deg));
  transition: top 120ms linear, transform 120ms linear;
  filter: drop-shadow(0 24px 34px rgba(0, 16, 28, 0.32));
}

.dive-sub {
  width: 100%;
  animation: submarineDrift 4.8s ease-in-out infinite;
}

@keyframes submarineDrift {
  0%,
  100% { transform: translateY(-5px); }
  50% { transform: translateY(7px); }
}

.sub-body,
.sub-top,
.sub-tail {
  fill: var(--sun);
  stroke: #06222f;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.sub-window {
  fill: #89f3ff;
  stroke: #06222f;
  stroke-width: 2;
}

.sub-periscope,
.sub-wave {
  fill: none;
  stroke: #06222f;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 50px rgba(0, 14, 28, 0.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 58px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 58px;
  height: 38px;
  overflow: visible;
  filter: drop-shadow(0 7px 10px rgba(5, 52, 71, 0.22));
}

.brand-lockup {
  position: relative;
  display: inline-grid;
  gap: 1px;
  padding-top: 10px;
}

.brand-kicker {
  position: absolute;
  left: 1px;
  top: -2px;
  color: var(--sun);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.brand-name {
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
}

nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
}

nav a:hover,
nav a.active {
  background: rgba(255, 210, 63, 0.22);
  color: var(--white);
}

.depth-gauge {
  position: fixed;
  z-index: 15;
  right: 26px;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.depth-value {
  min-width: 54px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 24, 42, 0.34);
  text-align: center;
  backdrop-filter: blur(12px);
}

.depth-line {
  position: relative;
  width: 3px;
  height: 190px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.depth-line i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(var(--progress) * 100%);
  border-radius: inherit;
  background: linear-gradient(180deg, var(--sun), var(--lagoon));
}

.depth-label {
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dive-story {
  position: relative;
}

.dive-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 136px max(24px, calc((100vw - 1120px) / 2)) 96px;
  isolation: isolate;
}

.dive-section::before {
  content: attr(data-depth) "m";
  position: absolute;
  left: max(24px, calc((100vw - 1120px) / 2));
  top: 110px;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(84px, 16vw, 210px);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.surface {
  min-height: 106vh;
}

.surface::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0, 77, 104, 0.42));
}

.section-copy,
.glass-panel {
  max-width: 720px;
  opacity: 0.45;
  transform: translateY(36px) scale(0.98);
  transition: opacity 600ms ease, transform 600ms ease;
}

.dive-section.active .section-copy,
.dive-section.active .glass-panel,
.dive-section.active .site-map,
.dive-section.active .moment-wall,
.dive-section.active .pricing-grid {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 20px 56px rgba(0, 18, 30, 0.36);
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.18;
}

p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.82;
}

.hero-copy p {
  max-width: 670px;
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-copy .hero-mantra {
  max-width: fit-content;
  margin: 24px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--sun);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 30px;
}

.feature-row span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.button,
button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 23px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary,
button {
  background: var(--sun);
  color: #08222f;
  box-shadow: 0 16px 36px rgba(255, 210, 63, 0.25);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.glass-panel,
.site-map article,
.moment,
.pricing-grid article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.leader {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
}

.leader-path {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.leader-path div {
  position: relative;
  min-height: 138px;
  padding: 22px;
  padding-left: 78px;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(255, 210, 63, 0.16), rgba(68, 215, 229, 0.1));
}

.leader-path span {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 210, 63, 0.5);
  border-radius: 50%;
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
}

.leader-path strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 23px;
  line-height: 1.18;
}

.leader-path p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.site-map,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  opacity: 0.45;
  transform: translateY(36px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.site-map article,
.pricing-grid article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px;
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease;
}

.site-map article {
  gap: 12px;
}

.pricing-grid article {
  justify-content: space-between;
}

.site-photo {
  width: 100%;
  aspect-ratio: 1.32;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(0, 16, 32, 0.22);
}

.site-map article:nth-child(1) {
  background:
    linear-gradient(155deg, rgba(255, 111, 97, 0.72), rgba(255, 141, 199, 0.18)),
    rgba(255, 255, 255, 0.13);
}

.site-map article:nth-child(2) {
  background:
    linear-gradient(155deg, rgba(255, 210, 63, 0.38), rgba(3, 185, 179, 0.18)),
    rgba(255, 255, 255, 0.13);
}

.site-map article:nth-child(3) {
  background:
    linear-gradient(155deg, rgba(77, 106, 255, 0.46), rgba(68, 215, 229, 0.14)),
    rgba(255, 255, 255, 0.13);
}

.site-map span {
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.moment-wall {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 300px;
  gap: 18px;
  opacity: 0.45;
  transform: translateY(36px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.moment {
  overflow: hidden;
  margin: 0;
  transition: transform 220ms ease, background 220ms ease;
}

.moment.large {
  grid-row: span 2;
}

.moment.tall {
  grid-column: span 2;
}

.photo {
  display: block;
  width: 100%;
  height: 46%;
  min-height: 150px;
}

.dive-log-media {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.dive-log-media video,
.dive-log-media .sample-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dive-log-media .sample-video {
  opacity: 0.72;
  mix-blend-mode: screen;
}

.dive-log-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(2, 12, 24, 0.58));
  pointer-events: none;
}

.media-strip {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.media-strip span {
  display: block;
  aspect-ratio: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 24px rgba(0, 12, 24, 0.24);
}

.moment.large .photo {
  height: 56%;
}

.moment.tall .photo {
  height: 52%;
}

.coral {
  background:
    radial-gradient(circle at 25% 65%, #ff6f61 0 8%, transparent 9%),
    radial-gradient(circle at 44% 58%, #ffd23f 0 7%, transparent 8%),
    radial-gradient(circle at 70% 52%, #ff8dc7 0 10%, transparent 11%),
    linear-gradient(160deg, #08abc4, #09405d 72%);
}

.manta {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(5, 20, 30, 0.82) 0 13%, transparent 14%),
    radial-gradient(ellipse at 36% 43%, rgba(5, 20, 30, 0.62) 0 17%, transparent 18%),
    radial-gradient(ellipse at 64% 43%, rgba(5, 20, 30, 0.62) 0 17%, transparent 18%),
    linear-gradient(160deg, #64e3eb, #086b8f);
}

.wreck {
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.5) 43% 46%, transparent 47%),
    repeating-linear-gradient(105deg, rgba(8, 34, 47, 0.36) 0 14px, transparent 15px 32px),
    linear-gradient(160deg, #05a6bd, #082c41);
}

.sunset {
  background:
    radial-gradient(circle at 72% 30%, #ffd23f 0 8%, transparent 9%),
    linear-gradient(180deg, #ff8dc7 0%, #ffd23f 48%, #03b9b3 49%, #064354 100%);
}

figcaption {
  display: grid;
  min-height: 54%;
  align-content: start;
  gap: 8px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.moment.large figcaption {
  min-height: 44%;
}

.moment.tall figcaption {
  min-height: 48%;
}

.log-tag {
  color: var(--sun);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

figcaption strong {
  display: block;
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.12;
}

figcaption small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.pricing-grid article {
  min-height: 330px;
}

.pricing-grid article.featured {
  border-color: rgba(255, 210, 63, 0.58);
  background:
    linear-gradient(155deg, rgba(255, 210, 63, 0.22), rgba(68, 215, 229, 0.12)),
    rgba(255, 255, 255, 0.15);
}

.budget {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.budget span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.budget strong {
  display: block;
  margin: 0;
  color: var(--sun);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.route-note {
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 20px;
  padding: 22px;
}

.route-note p {
  margin: 0;
  font-size: 16px;
}

.signup {
  min-height: 110vh;
}

.signup-panel {
  max-width: 1060px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  padding: clamp(24px, 5vw, 56px);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  outline: none;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

input[aria-invalid="true"] {
  border-color: rgba(255, 111, 97, 0.86);
  background: rgba(255, 111, 97, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.12);
}

input:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

button:disabled {
  box-shadow: none;
}

.field-error {
  min-height: 18px;
  margin: -2px 0 0;
  color: #ffb0a8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

select option {
  color: var(--ink);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.form-status {
  min-height: 30px;
  margin: 0;
  color: var(--sun);
  font-weight: 900;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 36px max(24px, calc((100vw - 1120px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 210, 63, 0.12), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(68, 215, 229, 0.14), transparent 34%),
    rgba(1, 9, 22, 0.86);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    repeating-linear-gradient(178deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

.footer-brand,
.footer-links {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  max-width: 520px;
  align-items: center;
  gap: 16px;
}

.footer-brand .brand-mark {
  width: 72px;
  height: 48px;
  flex: 0 0 auto;
}

.footer-brand .brand-mark svg {
  width: 72px;
  height: 48px;
}

.footer-lockup {
  padding-top: 14px;
}

.footer-lockup .brand-kicker {
  top: -1px;
  font-size: 12px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.footer-brand p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  max-width: 520px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.footer-links a:hover {
  border-color: rgba(255, 210, 63, 0.46);
  color: var(--white);
  background: rgba(255, 210, 63, 0.16);
}

.footer-links .footer-admin {
  color: #08222f;
  background: rgba(255, 210, 63, 0.92);
}

.site-map article:hover,
.moment:hover,
.pricing-grid article:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    border-radius: 8px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    padding: 8px 10px;
  }

  .leader,
  .signup-panel {
    grid-template-columns: 1fr;
  }

  .site-map,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .route-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .moment-wall {
    grid-template-columns: 1fr 1fr;
  }

  .submarine-track {
    right: 4vw;
    width: 128px;
  }

  .depth-gauge {
    right: 12px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    top: 12px;
    width: calc(100% - 24px);
    padding: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-kicker {
    font-size: 10px;
  }

  .brand-mark,
  .brand-mark svg {
    width: 48px;
    height: 32px;
  }

  nav {
    display: none;
  }

  .depth-gauge {
    left: auto;
    right: 4px;
    top: 50%;
    bottom: auto;
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 5px;
    padding: 7px 3px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    background: rgba(2, 18, 32, 0.06);
    box-shadow: 0 8px 18px rgba(0, 14, 28, 0.04);
    backdrop-filter: blur(5px);
    transform: translateY(-50%);
  }

  .depth-value {
    min-width: 30px;
    padding: 4px 3px;
    border: 1px solid rgba(255, 210, 63, 0.24);
    background: rgba(255, 210, 63, 0.12);
    color: rgba(255, 246, 205, 0.76);
    font-size: 9px;
  }

  .depth-line {
    width: 1px;
    height: 124px;
  }

  .depth-line i {
    width: 100%;
    height: calc(var(--progress) * 100%);
  }

  .depth-label {
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, 0.34);
    font-size: 9px;
    white-space: nowrap;
  }

  .submarine-track {
    top: calc(17vh + var(--progress) * 62vh);
    width: 108px;
    opacity: 0.9;
  }

  .dive-section {
    min-height: 100vh;
    padding: 110px 30px 72px 24px;
  }

  .dive-section::before {
    top: 90px;
    left: 24px;
    font-size: 86px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .feature-row,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    min-height: auto;
    padding: 34px 30px 34px 24px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand .brand-mark,
  .footer-brand .brand-mark svg {
    width: 58px;
    height: 38px;
  }

  .footer-links,
  .footer-links a {
    width: 100%;
  }

  .footer-links a {
    justify-content: center;
  }

  .feature-row span,
  .button,
  button,
  .route-note .button {
    width: 100%;
  }

  .moment-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .moment.large,
  .moment.tall {
    grid-row: auto;
    grid-column: auto;
  }
}
