.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Base ------------------------------------------------------------------ */
:root {
  color-scheme: dark;
  --void: #020308;
  --ink: #070b12;
  --primary: #f2f7ff;
  --secondary: #94e2ff;
  --accent: #61f3ce;
  --muted: rgba(230, 239, 255, 0.78);
  --glass: rgba(14, 20, 33, 0.68);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 35px 70px rgba(2, 4, 10, 0.65);
  --chrome: linear-gradient(140deg, rgba(255, 255, 255, 0.65), rgba(117, 142, 181, 0.45) 55%, rgba(25, 49, 78, 0.8));
  --halo: rgba(148, 226, 255, 0.2);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-pill: 999px;
  font-family: 'Syne', system-ui, sans-serif;
  background-color: var(--void);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 12%, rgba(33, 60, 94, 0.35), transparent 45%),
    radial-gradient(circle at 78% 18%, rgba(10, 18, 32, 0.55), transparent 50%),
    linear-gradient(135deg, #010207 0%, #050b17 45%, #02040a 100%);
  color: #ffffff;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: clamp(5rem, 10vh, 7rem);
  cursor: none;
}

body.show-native-cursor {
  cursor: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.05), transparent 50%),
    radial-gradient(circle at 78% 8%, rgba(111, 190, 255, 0.08), transparent 45%),
    linear-gradient(145deg, rgba(3, 8, 19, 0.9), rgba(1, 2, 5, 0.92));
  pointer-events: none;
  z-index: 0;
}

.glow-canvas,
.cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.cursor-canvas {
  z-index: 50;
}

/* Loader --------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: radial-gradient(circle at 50% 40%, rgba(0, 255, 163, 0.08), transparent 50%), var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glyph {
  width: 120px;
  height: 120px;
  position: relative;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: spin 3s linear infinite;
}

.loader-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.6s ease-in-out infinite;
}

.loader-text {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.copy-rich {
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.85;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(140, 255, 238, 0.7), rgba(0, 200, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 12px 30px rgba(0, 0, 0, 0.55),
    0 1px 1px rgba(255, 255, 255, 0.25);
}

.platform-card p,
.bento-item p,
.about-copy p {
  margin-top: 0.6rem;
}

.contact-meta p,
.contact-meta span,
.connect-form label span {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(219, 236, 255, 0.75);
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Command palette ------------------------------------------------------ */
.cmd-palette {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 1, 4, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 40;
}

.cmd-palette.is-open {
  opacity: 1;
  visibility: visible;
}

.cmd-palette .cmd-input-row,
.cmd-palette .cmd-results,
.cmd-palette .cmd-footer {
  width: 540px;
  max-width: calc(100vw - 2rem);
  background: rgba(6, 8, 16, 0.92);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
}

.cmd-input-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--glass-border);
}

.cmd-icon {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  fill: none;
}

.cmd-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  color: #fff;
}

.cmd-input:focus {
  outline: none;
}

.cmd-shortcut {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
}

.cmd-results {
  max-height: 320px;
  overflow-y: auto;
  border-radius: 0;
}

.cmd-result {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.cmd-result p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: normal;
}

.cmd-result.is-selected,
.cmd-result:focus-visible {
  background: rgba(0, 255, 163, 0.08);
  outline: none;
}

.cmd-footer {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 0.7rem;
  color: var(--muted);
  border-top: 1px solid var(--glass-border);
}

.cmd-footer kbd {
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
}

/* Top chrome ----------------------------------------------------------- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  padding: 0.35rem clamp(1rem, 2.75vw, 2rem);
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(36px);
  background:
    linear-gradient(120deg, rgba(5, 9, 18, 0.9), rgba(6, 13, 28, 0.85)),
    var(--chrome);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-emblem {
  display: block;
  width: 58px;
  height: 56px;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.65))
    drop-shadow(0 -6px 12px rgba(255, 255, 255, 0.35));
}

.logo-type {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-mark {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
}

.logo-subtitle {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
}

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

.control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  display: grid;
  place-items: center;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.control-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.control-btn:hover {
  border-color: var(--primary);
  background: rgba(0, 255, 163, 0.08);
}

.view-toggle {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 26, 0.75);
  box-shadow:
    inset 0 0 12px rgba(0, 255, 200, 0.04),
    0 5px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.view-toggle__btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.65rem 1.2rem 0.55rem;
  font-family: 'Space Mono', monospace;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.view-toggle__btn.is-active {
  color: #05070f;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(148, 226, 255, 0.5), rgba(39, 140, 180, 0.6));
  box-shadow:
    0 8px 22px rgba(0, 255, 200, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.view-toggle__btn:focus-visible {
  outline: 2px solid rgba(0, 255, 200, 0.8);
  outline-offset: -2px;
}

.view-toggle__divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Scene navigation ----------------------------------------------------- */
.scene-nav {
  display: flex;
  gap: 0;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 0 12px rgba(0, 255, 200, 0.04),
    0 5px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.scene-nav__landing {
  display: flex;
}

.scene-nav--platform {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.35rem;
  background: rgba(6, 12, 22, 0.85);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 12px rgba(0, 255, 200, 0.04),
    0 5px 14px rgba(0, 0, 0, 0.35);
}

.platform-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.platform-pill strong {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.platform-pill--soon {
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.8;
}

/* HUD Shell base styles */
.hud-shell {
  display: none;
  position: fixed;
  inset: 0;
  top: 4.5rem;
  z-index: 10;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(0, 40, 60, 0.15), transparent 60%), rgba(2, 4, 10, 0.95);
}

.hud-shell.is-visible {
  display: flex;
}

.hud-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 255, 200, 0.06), transparent 50%);
  pointer-events: none;
}

.platform-window {
  width: min(900px, calc(100% - 2rem));
  max-height: calc(100vh - 6rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 20, 0.95);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.platform-window__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 16, 0.6);
}

.platform-window__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.platform-window__brand .brand-mark {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.6);
}

.platform-window__brand strong {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.platform-window__meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.25rem 0 0;
}

.platform-window__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
}

.platform-window__status .status-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 255, 163, 0.9);
  box-shadow: 0 0 10px rgba(0, 255, 163, 0.6);
}

.platform-window__body {
  padding: 2rem;
  position: relative;
}

.platform-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.platform-login {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.hud-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 0.5rem;
}

.platform-login h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.platform-login__lede {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.platform-disclaimer {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(0, 255, 200, 0.3);
  background: rgba(0, 40, 50, 0.25);
  margin-bottom: 1.5rem;
  text-align: left;
}

.platform-disclaimer span {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 255, 200, 0.8);
}

.platform-disclaimer p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.35rem 0 0;
}

.platform-login__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.platform-login__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.platform-login__form label span {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.platform-login__form input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 0.9rem;
}

.platform-login__form input:focus {
  outline: none;
  border-color: rgba(0, 255, 200, 0.5);
}

.platform-login__footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hud-inline-link {
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}

.platform-window__bottom {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 16, 0.6);
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
}

.platform-bottom__left {
  display: flex;
  gap: 2rem;
}

.platform-bottom__left > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.platform-bottom__left strong {
  font-size: 0.75rem;
}

.platform-bottom__left span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
}

.platform-bottom__right {
  display: flex;
  gap: 1.5rem;
}

.platform-readout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.platform-readout span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.platform-readout strong {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* Platform Fullscreen Page */
.platform-fullscreen {
  position: fixed;
  inset: 0;
  top: 4.5rem;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 60, 80, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 40, 60, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(2, 6, 14, 0.98), rgba(1, 3, 8, 1));
  overflow: hidden;
}

.platform-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.platform-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 255, 200, 0.04), transparent 60%);
  pointer-events: none;
}

.platform-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.platform-hero__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-hero__tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--secondary);
}

.platform-hero__brand h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(120deg, #fff 0%, rgba(148, 226, 255, 0.9) 50%, rgba(97, 243, 206, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.platform-hero__lede {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

.platform-hero__login {
  background: rgba(4, 8, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.platform-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(2rem, 5vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 4, 10, 0.6);
}

.platform-footer__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.platform-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: 'Space Mono', monospace;
}

.platform-stat__label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.platform-stat strong {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
}

.platform-redirect {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 200, 0.35);
  background: rgba(0, 40, 50, 0.4);
  color: rgba(0, 255, 200, 0.9);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.platform-redirect:hover {
  background: rgba(0, 255, 200, 0.15);
  border-color: rgba(0, 255, 200, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 200, 0.15);
}

.platform-redirect svg {
  transition: transform 0.3s ease;
}

.platform-redirect:hover svg {
  transform: translate(3px, -3px);
}

@media (max-width: 900px) {
  .platform-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .platform-hero__brand {
    align-items: center;
  }
  
  .platform-hero__lede {
    margin: 0 auto;
  }
  
  .platform-footer {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .platform-footer__stats {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.scene-pill {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.55rem 1.05rem 0.5rem;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  position: relative;
  min-width: 0;
}

.scene-pill + .scene-pill {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.scene-pill strong {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-top: -0.05rem;
}

.scene-pill span {
  font-size: 0.58rem;
  line-height: 1;
  transform: translateX(0.18rem);
}

.scene-nav__coming-soon {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px dashed rgba(0, 255, 200, 0.45);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: rgba(0, 20, 32, 0.65);
}

.scene-nav__coming-soon::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 255, 200, 0.9);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.8);
}

body.platform-view {
  overflow: hidden;
}

body.platform-view .scene-stack {
  display: none;
}

body.platform-view .scene-nav {
  justify-content: center;
  padding: 0.45rem 1.5rem;
}

body.platform-view .scene-nav__landing {
  display: none;
}

body.platform-view .scene-nav .scene-pill {
  display: none;
}

body.platform-view .scene-nav__coming-soon {
  display: inline-flex;
  margin: 0 auto;
}

body.platform-view .scene-nav--platform {
  display: inline-flex;
}

body.platform-view .top-bar {
  position: fixed;
}

body.platform-view .hud-shell {
  display: flex;
}

body.platform-view .platform-window {
  height: min(720px, calc(100vh - 5rem));
  display: flex;
  flex-direction: column;
}

body.platform-view .platform-window__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 3rem);
}

body.platform-view .platform-window__bottom {
  flex-shrink: 0;
}

.scene-pill:hover {
  background: rgba(148, 226, 255, 0.18);
  color: #010104;
}

.scene-pill.active {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(148, 226, 255, 0.5), rgba(39, 140, 180, 0.6));
  color: #05070f;
  box-shadow:
    0 10px 24px rgba(0, 255, 200, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.scene-stack.is-hidden {
  display: none;
}

.top-status {
  display: none;
}

/* Progress indicator removed */

.keyboard-hint {
  position: fixed;
  bottom: 2rem;
  left: 3vw;
  display: flex;
  gap: 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  z-index: 10;
}

.keyboard-hint kbd {
  padding: 0.2rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
}

/* Scenes --------------------------------------------------------------- */
.scene-stack {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vh, 4rem);
  padding-top: clamp(6rem, 12vh, 8rem);
  padding-bottom: 0;
  scroll-snap-type: y proximity;
}

.scene {
  position: relative;
  min-height: min(110vh, 1200px);
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(2rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vh, 3.5rem);
  opacity: 0.08;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s ease;
  filter: blur(6px);
}

.scene.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  z-index: 2;
}

.scene--hero {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
  max-width: min(72rem, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 5vw, 3rem);
}

.scene--hero::before {
  content: '';
  position: absolute;
  inset: -25% -10%;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25), rgba(33, 78, 110, 0.15) 50%, transparent 75%);
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
}

.scene--hero .eyebrow {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.45em;
  font-size: 0.75rem;
  color: var(--primary);
}

#heroTitle {
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#heroTitle span {
  position: relative;
  display: inline-flex;
  padding: 0.08em 0.15em;
  color: transparent;
  background-image:
    linear-gradient(110deg, rgba(255, 255, 255, 0.95) 0%, rgba(212, 244, 238, 0.85) 35%, rgba(132, 188, 221, 0.55) 65%, rgba(24, 60, 94, 0.55) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 65%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.2), transparent 70%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0.6px rgba(255, 255, 255, 0.2);
  letter-spacing: -0.02em;
  text-shadow:
    0 14px 28px rgba(0, 0, 0, 0.4),
    0 4px 10px rgba(6, 18, 35, 0.5),
    0 1px 1px rgba(255, 255, 255, 0.22);
  animation: drift 6s ease-in-out infinite;
}

.hero-title-dots {
  position: absolute;
  left: 54%;
  top: 0;
  transform: translate(-50%, -62%);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-title-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(180, 255, 245, 0.75) 35%, rgba(0, 255, 200, 0.55) 60%, rgba(0, 200, 255, 0.28) 80%, rgba(0, 0, 0, 0) 100%);
  filter: blur(0.1px);
  box-shadow:
    0 0 14px rgba(0, 255, 200, 0.55),
    0 0 28px rgba(0, 200, 255, 0.25);
  opacity: 0.95;
  animation:
    heroDotFloat 2.9s ease-in-out infinite,
    heroDotPulse 1.9s ease-in-out infinite;
}

.hero-title-dot--a {
  transform: translate(-50%, -50%);
}

.hero-title-dot--b {
  width: 9px;
  height: 9px;
  transform: translate(calc(-50% + 14px), calc(-50% - 3px));
  opacity: 0.75;
  animation-delay: 0.35s, 0.55s;
}

#heroTitle span:nth-child(2) {
  animation-delay: 0.4s;
}

#heroTitle span:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes heroDotFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes heroDotPulse {
  0%,
  100% {
    transform: scale(1);
    filter: blur(0.1px);
  }
  50% {
    transform: scale(1.12);
    filter: blur(0.3px);
  }
}

.scene--hero .lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.9rem 2.5rem;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(111, 183, 216, 0.65), rgba(39, 78, 115, 0.85));
  color: #010104;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 12px 25px rgba(3, 5, 9, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--muted);
}

.scene--platform {
  gap: 3rem;
  flex-wrap: wrap;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  flex: 2;
}

.platform-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(8, 12, 22, 0.95), rgba(16, 26, 44, 0.8));
  min-height: 180px;
  box-shadow: inset 0 0 35px rgba(148, 226, 255, 0.04);
}

.platform-card .tag {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.35em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.platform-map {
  min-width: 260px;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: rgba(7, 10, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 30px rgba(95, 160, 226, 0.05);
}

.platform-map ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.platform-map li {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.15em;
}

.scene--solutions {
  align-items: center;
  gap: clamp(2rem, 4vh, 3rem);
}

.tech-approaches {
  display: grid;
  width: min(1200px, 100%);
  margin: 0 auto 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.tech-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.4rem;
  background: rgba(6, 10, 20, 0.85);
  box-shadow: inset 0 0 30px rgba(148, 226, 255, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle, rgba(0, 255, 200, 0.08), transparent 55%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tech-card:hover {
  border-color: rgba(0, 255, 200, 0.35);
}

.tech-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.tech-card header .tag {
  margin: 0;
}

.tech-card h3 {
  margin: 0.15rem 0 0.1rem;
  letter-spacing: 0.05em;
}

.title-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.title-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter:
    drop-shadow(0 4px 10px rgba(0, 255, 200, 0.25))
    drop-shadow(0 -2px 6px rgba(255, 255, 255, 0.25));
}

.title-alias {
  display: inline-block;
  min-width: 6ch;
  transition: opacity 0.3s ease;
}

.tech-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.tech-card__link {
  margin-top: 0.4rem;
  align-self: flex-start;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 200, 0.35);
  background: rgba(0, 255, 200, 0.06);
  color: rgba(0, 255, 200, 0.9);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.tech-card__link:hover {
  border-color: rgba(0, 255, 200, 0.6);
  background: rgba(0, 255, 200, 0.16);
  color: #061019;
  box-shadow: 0 8px 18px rgba(0, 255, 200, 0.12);
}

.scene--solutions .bento-grid {
  display: grid;
  width: min(1200px, 100%);
  margin: 0 auto 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-auto-rows: minmax(320px, 1fr);
  gap: 1.5rem;
  min-height: clamp(540px, 70vh, 860px);
}

.scene--about,
.scene--connect {
  align-items: center;
}

.scene--about .about-copy,
.scene--about .metrics,
.scene--connect .connect-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.scene--about .metrics {
  margin-top: 1rem;
}

.bento-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  background: rgba(8, 12, 22, 0.78);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.solution-link {
  align-self: flex-start;
  margin: 0.6rem 0 0.2rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 200, 0.35);
  background: rgba(0, 255, 200, 0.08);
  color: rgba(0, 255, 200, 0.9);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.solution-link:hover {
  border-color: rgba(0, 255, 200, 0.6);
  background: rgba(0, 255, 200, 0.16);
  color: #061019;
  box-shadow: 0 10px 25px rgba(0, 255, 200, 0.12);
}

.bento-item::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(148, 226, 255, 0.25), transparent 60%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.bento-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 163, 0.45);
}

.bento-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.solution-systems {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.systems-label {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.35em;
  font-size: 0.58rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.systems-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.system-pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  background: rgba(9, 14, 24, 0.7);
  min-width: 120px;
}

.system-pill strong {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.system-pill span {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.55);
}

.bento-large,
.bento-tall {
  grid-row: span 1;
}

.bento-item .tag {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.35em;
  color: var(--secondary);
  font-size: 0.8rem;
}

.scene--about {
  flex-direction: column;
  gap: 2rem;
}

.about-copy {
  max-width: 720px;
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--muted);
}

.metrics {
  display: flex;
  gap: clamp(1rem, 8vw, 5rem);
  flex-wrap: wrap;
  justify-content: center;
}

.metric-value {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--primary);
  font-weight: 700;
  display: block;
  text-align: center;
}

.metrics p {
  margin: 0.3rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.65rem;
  text-align: center;
  color: var(--muted);
}

.scene--connect {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(2rem, 4vh, 3.5rem);
  padding-bottom: clamp(8rem, 30vh, 20rem);
}

.scene--seafloor {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(2rem, 4vh, 3.5rem);
  padding: 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(2, 6, 14, 0.4) 15%,
    rgba(1, 4, 10, 0.8) 40%,
    rgba(0, 2, 8, 0.95) 70%,
    #000206 100%);
}

.scene--seafloor .abyss-intro {
  margin-top: clamp(4rem, 12vh, 8rem);
  position: relative;
  z-index: 5;
  max-width: 820px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.scene--seafloor .seafloor-visual {
  position: relative;
  width: 100%;
  min-height: 115vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 4, 12, 0.6) 20%,
    rgba(0, 2, 8, 0.85) 50%,
    #000206 100%);
}

.scene--seafloor .ocean {
  position: absolute;
  inset: 0;
}

.scene--seafloor .ocean::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% -15%, rgba(148, 226, 255, 0.14), transparent 58%),
    radial-gradient(circle at 15% 18%, rgba(97, 243, 206, 0.07), transparent 55%),
    radial-gradient(circle at 72% 22%, rgba(148, 226, 255, 0.05), transparent 65%),
    linear-gradient(180deg, rgba(4, 10, 22, 0.16) 0%, rgba(2, 4, 9, 0.52) 35%, rgba(0, 1, 8, 0.76) 70%, rgba(0, 1, 8, 0.9) 100%);
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.scene--seafloor .ocean::after {
  content: '';
  position: absolute;
  inset: -10% -10%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 32%, rgba(97, 243, 206, 0.06), transparent 58%),
    radial-gradient(circle at 62% 22%, rgba(148, 226, 255, 0.05), transparent 60%),
    radial-gradient(circle at 78% 45%, rgba(255, 255, 255, 0.03), transparent 55%),
    radial-gradient(circle at 50% 92%, rgba(10, 18, 30, 0.35), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.5;
  filter: blur(0.45px);
  animation: mistDrift 28s ease-in-out infinite alternate;
}

.scene--seafloor .particles--slow::before,
.scene--seafloor .particles--slow::after {
  animation-duration: 160s;
  animation-timing-function: linear;
}

.scene--seafloor .particles--fast::before,
.scene--seafloor .particles--fast::after {
  animation-duration: 90s;
  animation-timing-function: linear;
  opacity: 0.4;
  filter: blur(0.15px);
}

.scene--seafloor .light-shafts {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  z-index: 1;
  background:
    linear-gradient(172deg, transparent 0%, rgba(70, 120, 160, 0.012) 15%, transparent 40%),
    linear-gradient(188deg, transparent 5%, rgba(60, 110, 150, 0.01) 25%, transparent 50%),
    linear-gradient(178deg, transparent 0%, rgba(80, 130, 170, 0.008) 20%, transparent 45%);
  animation: seafloorShaftDrift 35s ease-in-out infinite alternate;
  pointer-events: none;
}

.scene--seafloor .particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.scene--seafloor .particles::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 22% 38%, rgba(255,255,255,0.28), transparent),
    radial-gradient(1px 1px at 45% 22%, rgba(255,255,255,0.35), transparent),
    radial-gradient(0.5px 0.5px at 68% 55%, rgba(255,255,255,0.22), transparent),
    radial-gradient(1px 1px at 85% 32%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 33% 72%, rgba(255,255,255,0.25), transparent),
    radial-gradient(0.5px 0.5px at 78% 88%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 12% 65%, rgba(255,255,255,0.28), transparent),
    radial-gradient(0.75px 0.75px at 58% 12%, rgba(255,255,255,0.18), transparent),
    radial-gradient(1px 1px at 92% 78%, rgba(255,255,255,0.16), transparent);
  background-size: 360px 360px;
  animation: seafloorSnowDrift 120s linear infinite;
  opacity: 0.55;
  filter: blur(0.2px);
}

.scene--seafloor .particles::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 55% 28%, rgba(200,220,240,0.25), transparent),
    radial-gradient(1px 1px at 18% 75%, rgba(255,255,255,0.18), transparent),
    radial-gradient(1px 1px at 82% 48%, rgba(200,220,240,0.22), transparent),
    radial-gradient(0.5px 0.5px at 40% 92%, rgba(255,255,255,0.15), transparent),
    radial-gradient(0.75px 0.75px at 6% 44%, rgba(200,220,240,0.12), transparent);
  background-size: 520px 520px;
  animation: seafloorSnowDriftReverse 160s linear infinite;
  opacity: 0.35;
  filter: blur(0.25px);
}

.scene--seafloor .depth-haze {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  z-index: 2;
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(15, 30, 45, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 25% 100%, rgba(12, 25, 38, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 35% at 75% 100%, rgba(14, 28, 42, 0.1) 0%, transparent 45%);
  pointer-events: none;
  opacity: 0.92;
  filter: blur(0.35px);
}

.scene--seafloor .anemone-field {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 82%;
  z-index: 4;
  pointer-events: none;
}

.scene--seafloor .anemone-belt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene--seafloor .anemone-belt--rear { z-index: 1; opacity: 0.6; }
.scene--seafloor .anemone-belt--mid { z-index: 2; opacity: 0.75; }
.scene--seafloor .anemone-belt--hero { z-index: 3; filter: drop-shadow(0 0 25px rgba(111, 196, 255, 0.06)); }
.scene--seafloor .anemone-belt--accent { z-index: 3; opacity: 0.85; }
.scene--seafloor .anemone-belt--micro { z-index: 3; opacity: 0.7; }

.scene--seafloor .anemone {
  --pointer-tilt: 0deg;
  --pointer-lift: 0px;
  --pointer-glow: 0;
  position: absolute;
  bottom: var(--bottom, 0);
  left: var(--x);
  transform: translateX(-50%);
  width: var(--w);
  height: var(--h);
  animation: seafloorSway var(--sway-duration, 10s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform-origin: bottom center;
  filter: var(--depth-filter, none);
  opacity: var(--opacity, 1);
}

.anemone--solid {
  isolation: isolate;
}

.anemone--solid::before {
  content: '';
  position: absolute;
  inset: -4% -6% -6%;
  background:
    radial-gradient(circle at 50% 35%, rgba(7, 14, 22, 0.9), rgba(4, 9, 16, 0.75) 55%, rgba(4, 9, 16, 0.1) 85%, transparent 100%);
  filter: blur(4px);
  z-index: -1;
  border-radius: 60% 40% 70% 30% / 60% 60% 40% 40%;
  filter: var(--depth-filter, none);
  opacity: var(--opacity, 1);
}

.anemone--occlude {
  isolation: isolate;
}

.anemone--occlude::before {
  content: '';
  position: absolute;
  inset: -4% -6% -8%;
  clip-path: ellipse(48% 62% at 50% 42%);
  background:
    radial-gradient(circle at 45% 20%, rgba(8, 14, 22, 0.95), rgba(6, 10, 18, 0.78) 55%, rgba(4, 6, 10, 0.4) 75%, transparent 95%);
  z-index: -1;
  filter: blur(3px);
  opacity: 0.92;
  pointer-events: none;
}

.scene--seafloor .anemone svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter:
    drop-shadow(0 0 calc(14px + 22px * var(--pointer-glow, 0)) rgba(111, 196, 255, 0.28))
    drop-shadow(0 0 12px rgba(0, 0, 0, 0.4));
  transform: translateY(var(--pointer-lift, 0px));
  transition: transform 0.4s ease;
}

.scene--seafloor .anemone::after {
  content: '';
  position: absolute;
  bottom: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 46, 52, 0.55), rgba(6, 5, 4, 0));
  opacity: calc(var(--base-opacity, 0.28) + var(--pointer-glow, 0) * 0.4);
  filter: blur(8px);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

.scene--seafloor .akrorhagi ellipse {
  animation: akrorhagiPulse 9s ease-in-out infinite;
  transform-origin: 50% 50%;
}

.scene--seafloor .akrorhagi-filaments path {
  animation: akrorhagiDrift 6s ease-in-out infinite;
}

.scene--seafloor .tentacles {
  animation: seafloorTentacleWave var(--tentacle-speed, 7s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  transform-origin: 50% 100%;
}

.scene--seafloor .seafloor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  z-index: 3;
  pointer-events: none;
}

.scene--seafloor .reef-shelf {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 12%;
  pointer-events: none;
}

.scene--seafloor .reef-shelf--mid {
  bottom: 18%;
  filter: blur(2px);
  opacity: 0.35;
}

.scene--seafloor .reef-shelf--front {
  bottom: 8%;
  filter: blur(1.4px);
  opacity: 0.45;
}

.scene--seafloor .reef-lump {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(71, 62, 52, 0.55), rgba(10, 8, 6, 0.82));
  border: 1px solid rgba(220, 230, 240, 0.05);
  box-shadow:
    inset -4px -6px 12px rgba(0, 0, 0, 0.35),
    inset 6px 8px 16px rgba(160, 200, 220, 0.08),
    0 12px 22px rgba(0, 0, 0, 0.35);
  opacity: 0.28;
  filter: blur(0.4px);
  mix-blend-mode: soft-light;
}

.scene--seafloor .reef-shelf {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 12%;
  pointer-events: none;
}

.scene--seafloor .reef-shelf--mid {
  bottom: 18%;
  filter: blur(2px);
  opacity: 0.35;
}

.scene--seafloor .reef-shelf--front {
  bottom: 8%;
  filter: blur(1.4px);
  opacity: 0.45;
}

.scene--seafloor .reef-lump {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  transform: translateX(-50%);
  border-radius: 44% 56% 45% 55% / 60% 45% 55% 40%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(71, 62, 52, 0.55), rgba(10, 8, 6, 0.82));
  border: 1px solid rgba(220, 230, 240, 0.05);
  box-shadow:
    inset -4px -6px 12px rgba(0, 0, 0, 0.35),
    inset 6px 8px 16px rgba(160, 200, 220, 0.08),
    0 12px 22px rgba(0, 0, 0, 0.35);
  opacity: 0.36;
  filter: blur(0.2px);
  mix-blend-mode: overlay;
}

.scene--seafloor .vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: radial-gradient(ellipse 48% 42% at 50% 58%, transparent 0%, rgba(1,2,4,0.55) 55%, rgba(1,2,3,0.94) 100%);
  pointer-events: none;
}

@keyframes seafloorSnowDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(-200px, 300px); }
}

@keyframes seafloorSnowDriftReverse {
  from { transform: translate(0, 0); }
  to { transform: translate(200px, -300px); }
}

@keyframes seafloorShaftDrift {
  from { transform: translateX(-3%); opacity: 0.6; }
  to { transform: translateX(3%); opacity: 1; }
}

@keyframes seafloorSway {
  0%,
  100% {
    transform:
      translateX(-50%)
      translateY(var(--pointer-lift, 0px))
      rotate(calc(-1deg + var(--pointer-tilt, 0deg)))
      scaleY(1)
      skewX(-0.3deg);
  }
  50% {
    transform:
      translateX(-50%)
      translateY(var(--pointer-lift, 0px))
      rotate(calc(1deg + var(--pointer-tilt, 0deg)))
      scaleY(1.012)
      skewX(0.3deg);
  }
}

@keyframes seafloorTentacleWave {
  0% { transform: scaleX(0.97) scaleY(1.008) skewX(-1.2deg); }
  100% { transform: scaleX(1.03) scaleY(0.992) skewX(1.2deg); }
}

@keyframes akrorhagiPulse {
  0%,
  100% { opacity: 0.45; transform: scale3d(0.94, 0.94, 1); }
  40% { opacity: 0.9; transform: scale3d(1.04, 1.04, 1); }
  70% { opacity: 0.7; transform: scale3d(0.98, 0.98, 1); }
}

@keyframes akrorhagiDrift {
  0% { stroke-dashoffset: 0; opacity: 0.65; }
  50% { stroke-dashoffset: 4; opacity: 0.9; }
  100% { stroke-dashoffset: 0; opacity: 0.65; }
}

.scene--connect::-webkit-scrollbar {
  width: 6px;
}

.scene--connect::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 2rem);
  border-radius: var(--radius-xl);
  background: rgba(5, 7, 14, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 45px rgba(98, 170, 255, 0.05);
}

.connect-form {
  flex: 1 1 320px;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 13, 22, 0.85);
  box-shadow:
    inset 0 0 30px rgba(148, 226, 255, 0.05),
    0 25px 45px rgba(2, 3, 6, 0.65);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.connect-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.connect-form input,
.connect-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  background: rgba(1, 1, 4, 0.35);
  color: inherit;
}

.connect-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-meta {
  min-width: 220px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.contact-meta a {
  display: block;
  margin: 0.25rem 0 0.5rem;
  color: var(--primary);
  text-decoration: none;
}

.abyss-intro {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(2, 5, 12, 0.9), rgba(3, 10, 20, 0.7)),
    rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
}

.abyss-text h3 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0.35rem 0 0.75rem;
}

.abyss-text p {
  color: var(--muted);
  margin: 0;
}

.abyss-halo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(148, 226, 255, 0.45), rgba(5, 10, 19, 0.05) 70%);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  animation: haloPulse 5s ease-in-out infinite;
}

.abyss-depth {
  position: relative;
  width: 100%;
  min-height: 160vh;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.abyss-depth {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.abyss-depth::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% -15%, rgba(148, 226, 255, 0.16), transparent 58%),
    radial-gradient(circle at 15% 18%, rgba(97, 243, 206, 0.08), transparent 55%),
    radial-gradient(circle at 72% 22%, rgba(148, 226, 255, 0.06), transparent 65%),
    linear-gradient(180deg, rgba(4, 10, 22, 0.18) 0%, rgba(2, 4, 9, 0.55) 35%, rgba(0, 1, 8, 0.78) 70%, rgba(0, 1, 8, 0.9) 100%);
  opacity: 0.75;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: mistDrift 22s ease-in-out infinite alternate;
}

.abyss-depth .abyss-life {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  background:
    radial-gradient(circle at 18% 32%, rgba(97, 243, 206, 0.05), transparent 58%),
    radial-gradient(circle at 62% 22%, rgba(148, 226, 255, 0.04), transparent 60%),
    radial-gradient(circle at 78% 45%, rgba(255, 255, 255, 0.03), transparent 55%);
  mix-blend-mode: screen;
  filter: blur(0.3px);
  animation: mistDrift 28s ease-in-out infinite alternate;
}

.abyss-depth .abyss-particulate {
  position: absolute;
  inset: -20% -10%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(148, 226, 255, 0.04) 0 1px, transparent 2px);
  background-size: 180px 180px, 240px 240px;
  background-position: 0 0, 80px 60px;
  opacity: 0.18;
  filter: blur(0.2px);
  animation: particulateFall 18s linear infinite;
}

.abyss-depth::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 96%, rgba(5, 8, 16, 0.08), rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.78) 80%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  opacity: 0.6;
}

.abyss-mist {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at 70% 10%, rgba(102, 199, 255, 0.04), transparent 40%);
  opacity: 0.22;
  filter: blur(0.5px);
  animation: mistDrift 26s ease-in-out infinite alternate;
}

.anemone-field {
  position: absolute;
  top: clamp(8rem, 14vh, 14rem);
  left: clamp(1.5rem, 5vw, 4rem);
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: 0;
  z-index: 4;
  display: block;
}

.anemone {
  position: absolute;
  left: var(--x, 50%);
  bottom: 0;
  width: var(--size, 240px);
  height: calc(var(--size, 240px) * 1.15);
  transform: translateX(-50%);
  transform-origin: 50% 85%;
  filter:
    drop-shadow(0 0 18px rgba(97, 243, 206, 0.14))
    drop-shadow(0 0 34px rgba(148, 226, 255, 0.06));
  animation: sway 10s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.anemone-column,
.anemone-body,
.anemone-crown,
.anemone-tentacles {
  position: absolute;
  display: block;
}

.anemone-column {
  width: 46%;
  height: 66%;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(circle at 70% 18%, rgba(148, 226, 255, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(78, 120, 154, 0.55), rgba(12, 18, 32, 0.92) 72%, rgba(1, 2, 8, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 30px 55px rgba(0, 0, 0, 0.45),
    inset 0 -18px 40px rgba(148, 226, 255, 0.06);
}

.anemone-column::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.75) 100%);
  opacity: 0.75;
}

.anemone-body {
  width: 62%;
  height: 38%;
  left: 50%;
  bottom: 46%;
  transform: translateX(-50%);
  border-radius: 50% 50% 46% 46% / 55% 55% 45% 45%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18), transparent 58%),
    radial-gradient(circle at 55% 30%, rgba(97, 243, 206, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(50, 110, 150, 0.55), rgba(10, 18, 32, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 18px 35px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(97, 243, 206, 0.08);
}

.anemone-crown {
  width: 78%;
  height: 46%;
  left: 50%;
  bottom: 62%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(circle at 55% 55%, rgba(148, 226, 255, 0.14), transparent 58%),
    radial-gradient(circle at 50% 55%, rgba(109, 247, 255, 0.28), rgba(22, 42, 70, 0.6) 52%, transparent 78%);
  filter: blur(0.35px);
  opacity: 0.9;
  mix-blend-mode: screen;
  animation: glowPulse 8s ease-in-out infinite;
}

.anemone-crown::before {
  content: '';
  position: absolute;
  inset: -8% -8% -10% -8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 62%),
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 0.16) 0deg,
      rgba(255, 255, 255, 0.16) 2.4deg,
      transparent 6.8deg,
      transparent 12deg
    );
  opacity: 0.42;
  filter: blur(2.8px);
  -webkit-mask-image: radial-gradient(circle at 50% 60%, #000 0 50%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 60%, #000 0 50%, transparent 80%);
  animation: tentacleWhisp 12s ease-in-out infinite;
}

.anemone-crown::after {
  content: '';
  position: absolute;
  inset: -12% -14% -16% -14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 62%, rgba(97, 243, 206, 0.06), transparent 65%),
    repeating-conic-gradient(
      from 10deg,
      rgba(148, 226, 255, 0.1) 0deg,
      rgba(148, 226, 255, 0.1) 1.6deg,
      transparent 6deg,
      transparent 10deg
    );
  opacity: 0.22;
  filter: blur(4px);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 62%, #000 0 45%, transparent 82%);
  mask-image: radial-gradient(circle at 50% 62%, #000 0 45%, transparent 82%);
  animation: tentacleWhisp 16s ease-in-out infinite;
}

.anemone-tentacles {
  width: 92%;
  height: 62%;
  left: 50%;
  bottom: 56%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.14), transparent 58%),
    repeating-conic-gradient(
      from 24deg,
      rgba(225, 252, 255, 0.32) 0deg,
      rgba(225, 252, 255, 0.32) 1.2deg,
      transparent 6.5deg,
      transparent 10deg
    );
  opacity: 0.26;
  filter: blur(2.8px);
  -webkit-mask-image: radial-gradient(circle at 50% 62%, #000 0 46%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 62%, #000 0 46%, transparent 80%);
  animation: tentacleWave 12s ease-in-out infinite;
  animation-delay: calc(var(--delay, 0s) * 0.65);
}

.anemone-tentacles::before {
  content: '';
  position: absolute;
  inset: -8% -10% -10% -10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 10% 60%, rgba(255, 255, 255, 0.14), transparent 50%),
    radial-gradient(circle at 22% 36%, rgba(148, 226, 255, 0.12), transparent 52%),
    radial-gradient(circle at 36% 22%, rgba(255, 255, 255, 0.1), transparent 55%),
    radial-gradient(circle at 52% 18%, rgba(97, 243, 206, 0.08), transparent 55%),
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.1), transparent 55%),
    radial-gradient(circle at 82% 38%, rgba(148, 226, 255, 0.1), transparent 52%),
    radial-gradient(circle at 92% 62%, rgba(255, 255, 255, 0.12), transparent 50%);
  opacity: 0.35;
  filter: blur(6px);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 60%, #000 0 46%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 60%, #000 0 46%, transparent 78%);
  animation: tentacleWhisp 11s ease-in-out infinite;
}

.abyss-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 0;
  background: none;
  border-top: 0;
  box-shadow: none;
}

.abyss-floor::after {
  content: '';
  position: absolute;
  inset: -20% 0 -40% 0;
  display: none;
}

@keyframes particulateFall {
  0% {
    transform: translate3d(0, -4%, 0);
  }
  100% {
    transform: translate3d(0, 6%, 0);
  }
}

@keyframes tentacleWhisp {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
    opacity: 0.18;
  }
  45% {
    transform: rotate(2deg) scale(1.02);
    opacity: 0.28;
  }
}

.abyss-floor::before {
  content: '';
  position: absolute;
  inset: -40% -20% 0;
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .anemone,
  .anemone-tentacles,
  .abyss-mist,
  .abyss-depth::before {
    animation: none !important;
  }
}

body.deep-dive::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(97, 243, 206, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  animation: haloPulse 10s ease-in-out infinite;
}

body.seafloor-dive::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 90%, rgba(97, 243, 206, 0.12), transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(148, 226, 255, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75));
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.75;
}

@keyframes sway {
  0%,
  100% {
    transform: translateX(-50%) rotate(-0.6deg);
  }
  50% {
    transform: translateX(-50%) rotate(1.4deg);
  }
}

@keyframes tentacleWave {
  0%,
  100% {
    transform: translateX(-50%) rotate(-1deg) scale(1);
    opacity: 0.5;
  }
  45% {
    transform: translateX(-50%) rotate(1.6deg) scale(1.02);
    opacity: 0.65;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes haloPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes mistDrift {
  0% {
    transform: translate3d(-2%, -2%, 0);
  }
  100% {
    transform: translate3d(2%, 1%, 0);
  }
}
