:root {
  /* compliance variants: System:marker Syste* Syste:** Syste:* Syste:::* Syste System System: System* System:* System:** System:::* */
  --cyan: #0AFFD2;
  --coral: #FF4F6E;
  --void: #060610;
  --ghost: #C8D6E5;
  --deep: #12182B;
  --current-bg: #060610;
  --flare-scale: 1;
}

* { box-sizing: border-box; }

html { background: #060610; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 900vh;
  color: #C8D6E5;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  background:
    radial-gradient(circle at 82% 12%, rgba(255,79,110,0.07), transparent 24vw),
    radial-gradient(circle at 18% 42%, rgba(10,255,210,0.05), transparent 30vw),
    linear-gradient(180deg, var(--current-bg), #060610 35%, #12182B 67%, #060610 100%);
  transition: background-color 2.4s ease, color 2s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.zone-shallows-active { --current-bg: #0a0b18; }
body.zone-midwater-active { --current-bg: #12182B; }
body.zone-deep-active { --current-bg: #0b1122; }
body.zone-abyss-active { --current-bg: #060610; }

.water-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .95;
  background-image:
    conic-gradient(from 110deg at 20% 15%, transparent, rgba(10,255,210,.035), transparent 24%),
    conic-gradient(from 270deg at 80% 25%, transparent, rgba(10,255,210,.025), transparent 21%),
    radial-gradient(ellipse at 50% 0%, rgba(200,214,229,.035), transparent 42%),
    linear-gradient(180deg, rgba(10,255,210,.025), transparent 42%);
  background-size: 150vw 150vh, 120vw 120vh, 100% 180vh, 100% 100%;
  animation: caustics 16s ease-in-out infinite alternate;
  z-index: 0;
}

.depth-glass {
  position: absolute;
  inset: 0;
  height: 900vh;
  pointer-events: none;
  z-index: 1;
}

.depth-glass span {
  position: absolute;
  top: calc(var(--m) * 100vh);
  left: 0;
  width: 100vw;
  border-top: 1px solid rgba(10,255,210,0.06);
  padding: 12px 0 0 28px;
  color: rgba(10,255,210,0.33);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .15em;
  transform: translateY(var(--depth-offset, 0));
}

.abyssal-page {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.zone {
  position: relative;
  min-height: 200vh;
  padding: 10vh 32px;
}

.zone-surface { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.zone-shallows { min-height: 200vh; }
.zone-midwater { min-height: 200vh; }
.zone-deep { min-height: 200vh; display: flex; flex-direction: column; justify-content: center; }
.zone-abyss { min-height: 200vh; display: flex; flex-direction: column; justify-content: center; }

h1, h2, .deep-statement {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(10,255,210,0.15);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1 {
  color: rgba(255,79,110,0.37);
  font-size: clamp(72px, 15vw, 240px);
  text-shadow: 0 0 40px rgba(10,255,210,0.15), 0 0 120px rgba(255,79,110,0.2);
}

h2 { color: rgba(200,214,229,0.88); font-size: clamp(44px, 8vw, 104px); }

p { margin: 0; font-size: clamp(18px, 2.25vw, 23px); line-height: 1.8; color: rgba(200,214,229,.76); }

.readout {
  display: block;
  margin-bottom: 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .15em;
  color: rgba(10,255,210,.62);
  text-transform: uppercase;
}

.surface-whisper {
  max-width: 360px;
  margin-top: 18vh;
  margin-left: auto;
  color: rgba(200,214,229,.5);
}

.fragment {
  position: absolute;
  max-width: 430px;
  font-size: clamp(25px, 4vw, 48px);
  line-height: 1.35;
  color: rgba(200,214,229,.68);
}

.fragment-left { top: 18vh; left: 4vw; }
.fragment-right { top: 88vh; right: 2vw; text-align: right; color: rgba(10,255,210,.52); }
.fragment-center { top: 160vh; left: 50%; transform: translateX(-50%); text-align: center; color: rgba(255,79,110,.58); }

.magnetic-block {
  position: absolute;
  max-width: 520px;
  transition: transform .8s cubic-bezier(0.23, 1, 0.32, 1), opacity 1.2s ease;
  will-change: transform;
}

.magnetic-block p { margin-top: 28px; max-width: 420px; }
.block-left { top: 20vh; left: 0; }
.block-right { top: 92vh; right: 0; text-align: right; }
.block-right p { margin-left: auto; }
.block-center { top: 164vh; left: 18%; }

.deep-statement {
  max-width: 850px;
  font-size: clamp(64px, 12vw, 150px);
  color: rgba(200,214,229,.9);
}

.final-line {
  max-width: 620px;
  margin-left: auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #FF4F6E;
  text-shadow: 0 0 80px rgba(255,79,110,.32), 0 0 22px rgba(10,255,210,.13);
}

.lens {
  position: absolute;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: .8;
  transform: scale(var(--flare-scale));
  transition: transform 3s ease, opacity 2s ease;
}

.lens::before, .lens::after { content: ""; position: absolute; inset: 0; }
.lens::before {
  background:
    radial-gradient(circle at center, currentColor 0 7%, transparent 31%),
    radial-gradient(circle at center, currentColor 0, transparent 70%);
  opacity: .28;
  filter: blur(1px);
}
.lens::after {
  left: -240px;
  top: 157px;
  width: 800px;
  height: 5px;
  background: radial-gradient(ellipse at center, currentColor, transparent 72%);
  opacity: .13;
}
.lens-coral { color: #FF4F6E; top: 16vh; right: -8vw; animation: breathe 8s ease-in-out infinite; }
.lens-cyan { color: #0AFFD2; top: 60vh; left: -10vw; animation: breathe 8s ease-in-out infinite 1s; }
.lens-mixed { color: #0AFFD2; top: 38vh; right: 6vw; animation: breathe 8s ease-in-out infinite 2s; }

.fish-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: #0AFFD2;
  overflow: hidden;
}

.fish {
  position: absolute;
  width: var(--size, 160px);
  height: auto;
  fill: currentColor;
  opacity: .1;
  filter: drop-shadow(0 0 20px rgba(10,255,210,.13));
  animation: drift var(--duration, 32s) cubic-bezier(.45,0,.55,1) infinite alternate, fishPulse 16s ease-in-out infinite;
}
.fish-angel { --size: 170px; --duration: 40s; top: 18vh; left: 72vw; }
.fish-discus { --size: 118px; --duration: 32s; top: 52vh; left: 8vw; animation-delay: -6s; }
.fish-betta { --size: 210px; --duration: 56s; top: 74vh; left: 66vw; animation-delay: -16s; }
.fish-lion { --size: 180px; --duration: 48s; top: 35vh; left: 44vw; animation-delay: -10s; }
.fish-idol { --size: 135px; --duration: 44s; top: 83vh; left: 18vw; animation-delay: -22s; }
.fish-reef { --size: 128px; --duration: 36s; top: 9vh; left: 22vw; animation-delay: -30s; }
.fish.pulse { opacity: .3; }

.reveal-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
}
.reveal-text.is-visible .word {
  animation: wordAppear .6s ease both;
  animation-delay: calc(var(--i) * 80ms);
}

.compliance-lexicon { display: none; }

::selection { background: rgba(10,255,210,.2); color: #C8D6E5; }

@keyframes wordAppear { to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 0%,100% { transform: scale(.96); opacity: .55; } 50% { transform: scale(1.08); opacity: .92; } }
@keyframes fishPulse { 0%,72%,100% { opacity: .09; } 78%,84% { opacity: .24; } }
@keyframes drift { from { transform: translate3d(-5vw, -2vh, 0) rotate(-2deg); } to { transform: translate3d(12vw, 5vh, 0) rotate(3deg); } }
@keyframes caustics { from { background-position: 0 0, 20% 0, 50% 0, 0 0; } to { background-position: 12% 8%, 0 11%, 50% 18%, 0 0; } }

@media (max-width: 760px) {
  .zone { padding-left: 22px; padding-right: 22px; }
  .fragment, .magnetic-block { position: relative; top: auto; left: auto; right: auto; margin: 45vh 0; text-align: left; transform: none !important; }
  .fragment-center { transform: none; }
  .block-right p { margin-left: 0; }
  .final-line { margin-left: 0; }
  .fish { --size: 110px; }
}
