:root {
  --bg-top: #8ecad8;
  --bg-mid: #1a6f8f;
  --bg-deep: #0a2f4a;
  --bg-abyss: #01060e;
  --foam: #f4fcfd;
  --ink: #041820;
  --text: #f2fafb;
  --muted: rgba(242, 250, 251, 0.78);
  --accent: #6fd4e8;
  --accent-deep: #2a9bb8;
  --line: rgba(232, 247, 248, 0.18);
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --depth: 0;
  --water: #2f7fa0;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-abyss);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 220vh;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      #a8dce8 0%,
      #5eb4c9 10%,
      #2f8aab 22%,
      #1a6288 36%,
      #0e4368 50%,
      #072844 64%,
      #031428 78%,
      #010912 90%,
      #00050a 100%
    );
  transform: translate3d(0, calc(var(--depth) * -110vh), 0);
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 55% at 50% -5%, rgba(200, 240, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 40% at 15% 20%, rgba(70, 150, 180, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 35% at 85% 25%, rgba(40, 110, 150, 0.1), transparent 55%);
  opacity: calc(1 - var(--depth) * 1.15);
  mix-blend-mode: soft-light;
}

#ocean {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.caustic {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 35% at 50% -2%, rgba(255, 255, 255, 0.32), transparent 58%),
    radial-gradient(ellipse 45% 28% at 22% 12%, rgba(170, 230, 245, 0.2), transparent 52%),
    radial-gradient(ellipse 38% 22% at 78% 10%, rgba(140, 210, 235, 0.16), transparent 50%),
    radial-gradient(ellipse 25% 18% at 40% 18%, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 20% 14% at 62% 22%, rgba(180, 230, 250, 0.07), transparent 60%);
  opacity: calc(1 - var(--depth) * 1.25);
  mix-blend-mode: soft-light;
  animation: caustic-drift 11s ease-in-out infinite alternate;
}

@keyframes caustic-drift {
  from { transform: translate3d(-2%, 0, 0) scale(1.03) skewX(-1deg); }
  to { transform: translate3d(2.2%, 1.5%, 0) scale(1.08) skewX(1.2deg); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(1, 11, 18, calc(0.15 + var(--depth) * 0.55)) 100%);
}

.nav,
.depth-meter,
main,
.site-foot {
  position: relative;
  z-index: 10;
}

/* —— Scroll whale (single image + 3D turn) —— */
.scroll-whale {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  width: min(48vw, 520px);
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0;
  transform-origin: center center;
  perspective: 1100px;
}

.whale-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  transform-style: preserve-3d;
  filter: drop-shadow(0 20px 36px rgba(0, 4, 12, 0.5));
  animation: none;
  will-change: transform;
}

.whale-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  backface-visibility: hidden;
  user-select: none;
  pointer-events: none;
}

.scroll-whale.is-turning .whale-stage {
  animation-duration: 3.4s;
}

.scroll-whale-sonar {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.scroll-whale-sonar span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(126, 210, 230, 0.4);
  opacity: 0;
  animation: sonar-pulse 4.2s ease-out infinite;
}

.scroll-whale-sonar span:nth-child(2) { animation-delay: 1.4s; }
.scroll-whale-sonar span:nth-child(3) { animation-delay: 2.8s; }

@media (max-width: 820px) {
  .scroll-whale {
    width: min(74vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whale-stage,
  .scroll-whale-sonar span {
    animation: none;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  mix-blend-mode: normal;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(4, 28, 42, 0.82) 0%,
      rgba(6, 36, 54, 0.72) 55%,
      rgba(6, 36, 54, 0.45) 100%
    );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(126, 200, 216, 0.14);
  box-shadow: 0 12px 40px rgba(1, 12, 22, 0.22);
}

.nav .nav-brand,
.nav .nav-links,
.nav .nav-actions {
  pointer-events: auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--foam);
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(126, 200, 216, 0.25);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--foam);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-ca {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: min(42vw, 280px);
  margin: 0;
  padding: 0.45rem 0.75rem 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 18, 32, 0.35);
  color: var(--foam);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.nav-ca:hover {
  border-color: rgba(20, 241, 149, 0.4);
  background: rgba(20, 241, 149, 0.08);
  transform: translateY(-1px);
}

.nav-ca.is-copied {
  border-color: rgba(20, 241, 149, 0.55);
  background: rgba(20, 241, 149, 0.12);
}

.nav-ca-tag {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #14f195;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(20, 241, 149, 0.12);
  border: 1px solid rgba(20, 241, 149, 0.28);
}

.nav-ca-addr {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--foam);
}

.nav-ca-action {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 250, 251, 0.5);
}

.nav-ca.is-copied .nav-ca-action {
  color: #14f195;
}

.nav-x {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 41;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.nav-x:hover {
  color: var(--foam);
  border-color: rgba(232, 247, 248, 0.35);
  background: rgba(232, 247, 248, 0.06);
  transform: translateY(-1px);
}

.nav-x svg {
  flex-shrink: 0;
}

.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--foam);
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .nav-x span {
    display: none;
  }

  .nav-ca {
    max-width: 148px;
    padding: 0.42rem 0.55rem;
    gap: 0.35rem;
  }

  .nav-ca-action {
    display: none;
  }
}

.depth-meter {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  width: 3.6rem;
  pointer-events: none;
}

.depth-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.depth-value {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foam);
  font-variant-numeric: tabular-nums;
}

.depth-track {
  width: 2px;
  height: 28vh;
  background: var(--line);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.depth-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), #0d5c6b);
}

.panel {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(5.5rem, 11vh, 7.5rem) clamp(1.5rem, 5vw, 4.5rem);
  box-sizing: border-box;
}

.hero {
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: clamp(4rem, 10vh, 7rem);
  min-height: 100svh;
}

.hero-copy {
  max-width: min(38rem, 54vw);
  animation: rise-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 820px) {
  .hero-copy {
    max-width: 38rem;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0 0 1.4rem;
  color: var(--foam);
  text-shadow: 0 2px 40px rgba(1, 40, 50, 0.25);
}

.brand.soft {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--foam);
  max-width: 18ch;
}

.lede,
.copy {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
  font-weight: 450;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn.primary {
  background: var(--foam);
  color: var(--ink);
}

.btn.primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--foam);
  border: 1px solid rgba(232, 247, 248, 0.35);
}

.btn.ghost:hover {
  border-color: var(--foam);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  left: clamp(1.5rem, 6vw, 5rem);
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 250, 251, 0.55);
  animation: hint-pulse 2.4s ease-in-out infinite;
  opacity: calc(1 - var(--depth) * 3);
}

.scroll-hint span {
  width: 1px;
  height: 2.2rem;
  background: linear-gradient(180deg, rgba(232, 247, 248, 0.7), transparent);
  display: block;
  animation: drip 2.4s ease-in-out infinite;
}

@keyframes drip {
  0% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.4; }
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.feature {
  justify-content: flex-start;
}

.feature.reverse {
  justify-content: flex-end;
}

/* —— Whale Watch terminal —— */
.whales {
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  height: auto;
  width: 100%;
  padding-top: clamp(5rem, 9vh, 6.5rem);
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
  padding-left: clamp(0.5rem, 1.5vw, 1rem);
  padding-right: clamp(0.5rem, 1.5vw, 1rem);
  overflow: visible;
}

.whales-layout {
  width: min(96vw, 1600px);
  max-width: 1600px;
  margin: 0 auto;
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vh, 2.25rem);
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
}

.whales-copy {
  max-width: min(52rem, 100%);
  width: 100%;
  margin: 0 auto;
  text-align: center;
  flex: 0 0 auto;
  padding-left: clamp(1.25rem, 5vw, 4rem);
  padding-right: clamp(1.25rem, 5vw, 4rem);
  box-sizing: border-box;
}

.whales-copy .copy,
.whales-copy .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.whales-copy .points {
  display: inline-grid;
  text-align: left;
  margin-top: 1.25rem;
}

.whale-terminal {
  position: relative;
  max-width: none !important;
  width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  flex: 1 1 auto;
  align-self: stretch;
  min-height: min(58vh, 560px);
  max-height: none;
  display: flex;
  flex-direction: column;
  background: rgba(6, 36, 54, 0.72);
  border: 1px solid rgba(126, 200, 216, 0.22);
  border-radius: 16px;
  overflow: visible;
  box-shadow:
    0 0 0 1px rgba(111, 212, 232, 0.04),
    0 28px 60px rgba(1, 20, 35, 0.28);
  font-variant-numeric: tabular-nums;
  isolation: isolate;
  backdrop-filter: blur(12px);
  transform: none !important;
  opacity: 0;
}

.whale-terminal.is-visible {
  opacity: 1;
}

.wt-chrome {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem clamp(1rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 70, 92, 0.55), rgba(6, 36, 54, 0.75));
  flex: 0 0 auto;
}

.wt-chrome .wt-dots {
  justify-self: start;
}

.wt-chrome .wt-title {
  justify-self: center;
  text-align: center;
}

.wt-chrome .wt-status {
  justify-self: end;
}

.wt-dots {
  display: inline-flex;
  gap: 0.4rem;
}

.wt-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(142, 202, 216, 0.55);
  box-shadow: none;
}

.wt-dots span:nth-child(2) {
  background: rgba(111, 212, 232, 0.7);
}

.wt-dots span:nth-child(3) {
  background: rgba(244, 252, 253, 0.85);
}

.wt-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  letter-spacing: 0.05em;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
}

.wt-prompt { color: var(--accent); font-weight: 700; }
.wt-sep { opacity: 0.45; }
.wt-path { color: #9ed8e6; }

.wt-cursor {
  width: 7px;
  height: 0.9em;
  margin-left: 0.25rem;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(111, 212, 232, 0.45);
  animation: wt-blink 1s steps(1) infinite;
}

@keyframes wt-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.wt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wt-lock {
  color: var(--accent);
  text-shadow: none;
  animation: wt-pulse-text 2.2s ease-in-out infinite;
}

@keyframes wt-pulse-text {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.wt-body {
  position: relative;
  z-index: 2;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: visible;
}

.wt-main {
  padding: 1.1rem clamp(1rem, 2.5vw, 1.75rem) 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(20, 90, 115, 0.12), transparent 28%),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 3px,
      rgba(126, 200, 216, 0.03) 4px
    );
}

.wt-cmdline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.wt-type {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(111, 212, 232, 0.75);
  animation: wt-type 4.5s steps(28) infinite;
  max-width: 100%;
  color: var(--foam);
}

@keyframes wt-type {
  0%, 8% { width: 0; }
  45%, 85% { width: 100%; }
  100% { width: 0; }
}

.wt-grid-head,
.wt-wallet {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 0.75fr 0.75fr 0.85fr 0.95fr;
  gap: 0.65rem;
  align-items: center;
}

.wt-grid-head {
  padding: 0.45rem 0.55rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(158, 216, 230, 0.65);
  border-bottom: 1px solid var(--line);
}

.wt-wallets {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem 0;
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.wt-wallet {
  padding: 0.62rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.wt-wallet.is-flash {
  background: rgba(111, 212, 232, 0.1);
  border-color: rgba(111, 212, 232, 0.3);
  animation: wt-row-flash 0.7s ease;
}

.wt-wallet.is-exit.is-flash {
  background: rgba(142, 202, 216, 0.12);
  border-color: rgba(142, 202, 216, 0.35);
}

@keyframes wt-row-flash {
  0% { transform: translateX(-4px); }
  40% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

.wt-wallet .addr {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--foam);
  text-shadow: none;
}

.wt-wallet .tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.wt-wallet .flow.up { color: var(--accent); }
.wt-wallet .flow.down { color: #9eb8c4; }

.wt-wallet .size {
  color: var(--muted);
  font-weight: 600;
}

.wt-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.wt-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: wt-state-pulse 1.4s ease-in-out infinite;
}

@keyframes wt-state-pulse {
  0%, 100% { transform: scale(0.75); opacity: 0.45; }
  50% { transform: scale(1.25); opacity: 1; }
}

.wt-state.accum { color: var(--accent); }
.wt-state.exit { color: #a8c5d0; }
.wt-state.rotate { color: #c9e8f0; }
.wt-state.idle { color: #7ec8d8; }

.wt-stream-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(158, 216, 230, 0.65);
  border-top: 1px solid var(--line);
}

.wt-stream-live {
  color: var(--accent);
  text-shadow: none;
}

.wt-stream {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0;
  min-height: 120px;
  max-height: none;
  overflow: visible;
  font-size: 0.78rem;
  font-family: var(--font-body);
}

.wt-stream li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.65rem;
  padding: 0.4rem 0.25rem;
  color: var(--muted);
  border-left: 2px solid transparent;
  animation: wt-packet-in 0.45s ease;
}

.wt-stream li.buy {
  border-left-color: var(--accent);
}

.wt-stream li.sell {
  border-left-color: rgba(158, 184, 196, 0.7);
}

.wt-stream .hex {
  color: rgba(158, 216, 230, 0.75);
  letter-spacing: 0.04em;
}

.wt-stream .msg {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--foam);
}

.wt-stream .ago {
  color: rgba(242, 250, 251, 0.4);
  font-size: 0.68rem;
}

@keyframes wt-packet-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wt-scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(1, 20, 35, 0.08) 4px
  );
  opacity: 0.25;
  animation: wt-scan-drift 8s linear infinite;
}

@keyframes wt-scan-drift {
  from { transform: translateY(0); }
  to { transform: translateY(3px); }
}

.wt-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 40%, rgba(111, 212, 232, 0.06) 50%, transparent 60%);
  background-size: 220% 100%;
  animation: wt-sheen 5.5s ease-in-out infinite;
}

@keyframes wt-sheen {
  0%, 100% { background-position: 120% 0; opacity: 0.35; }
  50% { background-position: -20% 0; opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .wt-cursor,
  .wt-lock,
  .wt-type,
  .wt-scanlines,
  .wt-glow,
  .wt-state::before,
  .wt-stream li,
  .wt-wallet.is-flash {
    animation: none !important;
  }

  .wt-state::before {
    opacity: 1;
    transform: none;
  }

  .wt-type {
    border-right: none;
    width: auto;
  }
}

/* —— Calls pyramid schema —— */
.calls {
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding-top: clamp(5rem, 10vh, 7rem);
  padding-bottom: clamp(5rem, 10vh, 7rem);
}

.calls-layout {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.calls-copy {
  max-width: 40rem;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.calls-copy .copy,
.calls-copy .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.calls-schema {
  position: relative;
  max-width: none;
  width: 100%;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.calls-schema.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.schema-legend {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 250, 251, 0.5);
}

.schema-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.schema-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(111, 212, 232, 0.55);
}

.schema-pip.b { background: #9ed8e6; box-shadow: 0 0 10px rgba(158, 216, 230, 0.45); }
.schema-pip.c { background: #7a9aa8; box-shadow: none; }

.schema-pyramid {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1rem, 2vw, 1.5rem) 0 0.5rem;
}

.schema-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.schema-wire {
  fill: none;
  stroke: rgba(111, 212, 232, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: schema-dash 4s linear infinite;
}

@keyframes schema-dash {
  to { stroke-dashoffset: -56; }
}

.schema-flow {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(111, 212, 232, 0.8));
}

.schema-flow.dim {
  fill: #9ed8e6;
  opacity: 0.7;
}

.schema-tier {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.tier-1 .schema-node {
  width: min(420px, 100%);
}

.tier-2 .schema-node {
  width: min(340px, calc(50% - 0.75rem));
  min-width: min(280px, 100%);
}

.tier-3 {
  gap: clamp(0.65rem, 1.4vw, 1rem);
}

.tier-3 .schema-node {
  width: min(190px, calc(20% - 0.6rem));
  min-width: min(160px, 100%);
  flex: 1 1 160px;
  max-width: 210px;
  padding: 0.9rem 0.85rem;
}

.tier-3 .schema-node-top h3 {
  font-size: 0.92rem;
}

.tier-3 .schema-desc {
  font-size: 0.72rem;
}

.schema-node {
  position: relative;
  background: rgba(6, 36, 54, 0.72);
  border: 1px solid rgba(126, 200, 216, 0.2);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  backdrop-filter: blur(12px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.calls-schema.is-visible .schema-node {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.calls-schema.is-visible .tier-1 .schema-node { transition-delay: 0.08s; }
.calls-schema.is-visible .tier-2 .schema-node:nth-child(1) { transition-delay: 0.2s; }
.calls-schema.is-visible .tier-2 .schema-node:nth-child(2) { transition-delay: 0.28s; }
.calls-schema.is-visible .tier-3 .schema-node:nth-child(1) { transition-delay: 0.36s; }
.calls-schema.is-visible .tier-3 .schema-node:nth-child(2) { transition-delay: 0.42s; }
.calls-schema.is-visible .tier-3 .schema-node:nth-child(3) { transition-delay: 0.48s; }
.calls-schema.is-visible .tier-3 .schema-node:nth-child(4) { transition-delay: 0.54s; }
.calls-schema.is-visible .tier-3 .schema-node:nth-child(5) { transition-delay: 0.6s; }

.schema-node:hover {
  border-color: rgba(111, 212, 232, 0.5);
  box-shadow: 0 12px 40px rgba(1, 30, 45, 0.35), 0 0 0 1px rgba(111, 212, 232, 0.1);
  transform: translateY(-4px) scale(1.01);
}

.schema-node.prime {
  border-color: rgba(111, 212, 232, 0.42);
  box-shadow: 0 0 0 1px rgba(111, 212, 232, 0.08), 0 20px 50px rgba(20, 80, 110, 0.25);
}

.schema-node-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(111, 212, 232, 0.16), transparent 68%);
  pointer-events: none;
  animation: schema-glow 4.5s ease-in-out infinite alternate;
}

.schema-node.prime .schema-node-glow {
  background: radial-gradient(ellipse at center, rgba(111, 212, 232, 0.28), transparent 65%);
}

@keyframes schema-glow {
  from { opacity: 0.45; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}

.schema-node-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.schema-tier-label {
  margin: 0 0 0.15rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(111, 212, 232, 0.7);
}

.schema-node-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foam);
}

.schema-desc {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: rgba(242, 250, 251, 0.55);
  line-height: 1.4;
}

.call-avatar {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #031428;
  background: linear-gradient(135deg, #7ec8d8, #6fd4e8);
  flex-shrink: 0;
  animation: schema-avatar 6s ease-in-out infinite;
}

@keyframes schema-avatar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 212, 232, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(111, 212, 232, 0); }
}

.call-avatar.accent { background: linear-gradient(135deg, #6fd4e8, #3aa0c4); }
.call-avatar.warm { background: linear-gradient(135deg, #8ecad8, #5eb0c8); }
.call-avatar.cool { background: linear-gradient(135deg, #8ecad8, #5a9fb8); }
.call-avatar.muted { background: linear-gradient(135deg, #7a8f9c, #4d6270); color: #e8f4f7; }

.call-grade {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.schema-node[data-grade="b"] .call-grade { color: #9ed8e6; }
.schema-node[data-grade="c"] .call-grade { color: #a8c0ca; }

.call-style-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.call-style {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(242, 250, 251, 0.78);
  background: rgba(10, 77, 104, 0.45);
  border: 1px solid rgba(126, 200, 216, 0.16);
}

.call-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 251, 0.08);
}

.call-stats.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.call-stats span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 250, 251, 0.4);
  margin-bottom: 0.15rem;
}

.call-stats strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--foam);
}

@media (max-width: 900px) {
  .schema-wires {
    display: none;
  }

  .tier-2 .schema-node,
  .tier-3 .schema-node {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schema-wire,
  .schema-flow,
  .schema-node-glow,
  .call-avatar {
    animation: none !important;
  }

  .schema-node,
  .calls-schema {
    opacity: 1;
    transform: none;
  }

  .schema-flow {
    display: none;
  }
}

/* —— Discovery (whale + sonar + cards) —— */
.discovery {
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding-top: clamp(5rem, 10vh, 7rem);
  padding-bottom: clamp(5rem, 10vh, 7rem);
}

.discovery-layout {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
}

.discovery .discovery-copy {
  max-width: 52rem;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.discovery .discovery-copy .copy {
  margin-left: auto;
  margin-right: auto;
}

.discovery .discovery-copy .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.discovery-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 2.25rem;
  text-align: left;
}

@media (min-width: 720px) {
  .discovery-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.d-card {
  background: rgba(10, 77, 104, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.d-card:hover {
  transform: translateY(-3px);
  border-color: rgba(111, 212, 232, 0.5);
  box-shadow: 0 0 0 1px rgba(111, 212, 232, 0.1);
}

.d-card-icon {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  border: 1.5px solid rgba(126, 200, 216, 0.55);
  box-shadow: 0 0 0 4px rgba(126, 200, 216, 0.08);
  position: relative;
}

.d-card-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(20, 241, 149, 0.55);
}

.d-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foam);
}

.d-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

@keyframes sonar-pulse {
  0% {
    transform: scale(0.22);
    opacity: 0.55;
  }
  70% {
    opacity: 0.18;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .d-card:hover {
    transform: none;
  }
}

.feature-inner,
.eco-head,
.abyss-inner {
  max-width: 40rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.whales-copy.feature-inner,
.calls-copy.feature-inner,
.whale-terminal.feature-inner,
.whale-terminal,
.calls-schema {
  max-width: none !important;
  width: 100% !important;
}

.feature-inner.is-visible,
.eco-head.is-visible,
.abyss-inner.is-visible,
.eco-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.feature h2,
.whales h2,
.calls h2,
.ecosystem h2,
.abyss h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
  color: var(--foam);
}

.points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 1px;
  background: var(--accent);
}

.ecosystem {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 100svh;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(5rem, 10vh, 7rem);
  padding-bottom: clamp(5rem, 10vh, 7rem);
}

.eco-head {
  max-width: 44rem;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
  max-width: min(1080px, 100%);
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.eco-item {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.eco-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--foam);
}

.eco-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.abyss {
  justify-content: center;
  text-align: left;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
  max-width: 28rem;
}

.waitlist input {
  flex: 1 1 12rem;
  min-width: 0;
  background: rgba(232, 247, 248, 0.06);
  border: 1px solid rgba(232, 247, 248, 0.22);
  color: var(--foam);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 2px;
  outline: none;
}

.waitlist input::placeholder {
  color: rgba(232, 247, 248, 0.4);
}

.waitlist input:focus {
  border-color: var(--accent);
}

.fine {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: rgba(242, 250, 251, 0.45);
}

.site-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem clamp(1.5rem, 6vw, 5rem) 2.5rem;
  font-size: 0.8rem;
  color: rgba(242, 250, 251, 0.4);
  border-top: 1px solid rgba(232, 247, 248, 0.08);
}

.foot-x {
  color: rgba(242, 250, 251, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}

.foot-x:hover {
  color: var(--accent);
}

/* —— Section motion accents —— */
.section-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.panel > :not(.section-fx) {
  position: relative;
  z-index: 1;
}

.fx-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 235, 245, 0.35);
  animation: fx-float 7s ease-in-out infinite;
}

.fx-dot:nth-child(1) { left: 12%; top: 28%; animation-delay: 0s; }
.fx-dot:nth-child(2) { left: 78%; top: 22%; animation-delay: 1.2s; width: 3px; height: 3px; }
.fx-dot:nth-child(3) { left: 64%; top: 68%; animation-delay: 2.1s; }
.fx-dot:nth-child(4) { left: 28%; top: 74%; animation-delay: 0.7s; width: 5px; height: 5px; }
.fx-dot:nth-child(5) { left: 48%; top: 40%; animation-delay: 1.8s; }
.fx-dot:nth-child(6) { left: 88%; top: 55%; animation-delay: 2.6s; }

@keyframes fx-float {
  0%, 100% { transform: translateY(0); opacity: 0.25; }
  50% { transform: translateY(-18px); opacity: 0.7; }
}

.fx-ring {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(280px, 42vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(126, 210, 230, 0.22);
  animation: fx-ring 6s ease-out infinite;
}

.fx-ring.soft {
  right: auto;
  left: 6%;
  top: 30%;
  opacity: 0.7;
}

.fx-ring.delay-2,
.fx-wave.delay-2,
.fx-signal.delay-2 {
  animation-delay: 2s;
}

@keyframes fx-ring {
  0% { transform: scale(0.45); opacity: 0.45; }
  70% { opacity: 0.12; }
  100% { transform: scale(1.15); opacity: 0; }
}

.fx-pulse {
  position: absolute;
  right: 14%;
  top: 42%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(20, 241, 149, 0.45);
  box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.35);
  animation: fx-pulse 2.4s ease-out infinite;
}

@keyframes fx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.4); opacity: 0.9; }
  100% { box-shadow: 0 0 0 28px rgba(20, 241, 149, 0); opacity: 0; }
}

.fx-wave {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 210, 230, 0.4), transparent);
  transform-origin: left center;
  animation: fx-wave 5s ease-in-out infinite;
}

@keyframes fx-wave {
  0%, 100% { transform: scaleX(0.35) translateY(0); opacity: 0.2; }
  50% { transform: scaleX(1) translateY(-12px); opacity: 0.55; }
}

.fx-signal {
  position: absolute;
  left: 18%;
  top: 26%;
  width: 2px;
  height: 64px;
  background: linear-gradient(180deg, rgba(20, 241, 149, 0.55), transparent);
  animation: fx-signal 2.8s ease-in-out infinite;
}

.fx-signal.delay-2 {
  left: 24%;
  top: 34%;
  height: 48px;
}

@keyframes fx-signal {
  0%, 100% { transform: scaleY(0.4); opacity: 0.25; }
  50% { transform: scaleY(1); opacity: 0.8; }
}

.fx-grid-glow {
  position: absolute;
  inset: 20% 10%;
  background:
    radial-gradient(circle at 20% 30%, rgba(20, 241, 149, 0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(126, 200, 216, 0.1), transparent 45%);
  animation: fx-glow 8s ease-in-out infinite alternate;
}

@keyframes fx-glow {
  from { opacity: 0.45; transform: scale(1); }
  to { opacity: 0.9; transform: scale(1.05); }
}

.d-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-inner.is-visible .d-card,
.discovery-copy.is-visible .d-card {
  opacity: 1;
  transform: translateY(0);
}

.feature-inner.is-visible .d-card:nth-child(1),
.discovery-copy.is-visible .d-card:nth-child(1) { transition-delay: 0.08s; }
.feature-inner.is-visible .d-card:nth-child(2),
.discovery-copy.is-visible .d-card:nth-child(2) { transition-delay: 0.16s; }
.feature-inner.is-visible .d-card:nth-child(3),
.discovery-copy.is-visible .d-card:nth-child(3) { transition-delay: 0.24s; }

.d-card-icon {
  animation: icon-spin-soft 8s linear infinite;
}

@keyframes icon-spin-soft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.points li {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.feature-inner.is-visible .points li {
  opacity: 1;
  transform: translateX(0);
}

.feature-inner.is-visible .points li:nth-child(1) { transition-delay: 0.1s; }
.feature-inner.is-visible .points li:nth-child(2) { transition-delay: 0.18s; }
.feature-inner.is-visible .points li:nth-child(3) { transition-delay: 0.26s; }

.eco-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s ease;
}

.eco-grid.is-visible .eco-item {
  opacity: 1;
  transform: translateY(0);
}

.eco-grid.is-visible .eco-item:nth-child(1) { transition-delay: 0.05s; }
.eco-grid.is-visible .eco-item:nth-child(2) { transition-delay: 0.12s; }
.eco-grid.is-visible .eco-item:nth-child(3) { transition-delay: 0.19s; }
.eco-grid.is-visible .eco-item:nth-child(4) { transition-delay: 0.26s; }

.eco-item:hover {
  border-color: rgba(20, 241, 149, 0.35);
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.feature-inner.is-visible .eyebrow::after,
.eco-head.is-visible .eyebrow::after,
.discovery-copy.is-visible .eyebrow::after {
  transform: scaleX(1);
}

.waitlist .btn.primary {
  position: relative;
  overflow: hidden;
}

.waitlist .btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-120%);
  animation: btn-sheen 4.5s ease-in-out infinite;
}

@keyframes btn-sheen {
  0%, 60% { transform: translateX(-120%); }
  80% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .fx-dot,
  .fx-ring,
  .fx-pulse,
  .fx-wave,
  .fx-signal,
  .fx-grid-glow,
  .d-card-icon,
  .waitlist .btn.primary::after {
    animation: none !important;
  }

  .d-card,
  .points li,
  .eco-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .depth-meter {
    display: none;
  }

  .feature.reverse {
    justify-content: flex-start;
  }

  .eco-grid {
    grid-template-columns: 1fr;
  }

  .whales-layout {
    min-height: 0;
  }

  .whale-terminal {
    min-height: 480px;
  }

  .brand {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }
}

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

  .caustic,
  .scroll-hint,
  .scroll-hint span,
  .hero-copy {
    animation: none;
  }

  .feature-inner,
  .eco-head,
  .abyss-inner,
  .eco-grid {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
