:root {
  /* Compliance typography trace: IBM Plex Mono** Mono* for tiny carbon readings; Interface sans: **Nunito Sans** Sans* for nav labels. */
  --deep: #03140E;
  --moss: #0E3B2A;
  --fern: #2E8B57;
  --aqua: #7FE7D6;
  --mist: #D7F3E8;
  --gold: #B9C75A;
  --ink: #010706;
  --pine: #123F38;
  --display: "Cormorant Garamond", Georgia, serif;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Nunito Sans", Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--mist);
  background: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(127, 231, 214, .16), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(185, 199, 90, .09), transparent 26%),
    linear-gradient(135deg, #03140E 0%, #0E3B2A 46%, #123F38 72%, #7FE7D6 135%);
  z-index: -5;
}

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

.instrument-nav {
  position: fixed;
  top: 18px;
  left: 22px;
  right: 22px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(127, 231, 214, .28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(215, 243, 232, .16), rgba(14, 59, 42, .35));
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(215, 243, 232, .35), 0 16px 60px rgba(1, 7, 6, .45);
  font: 700 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.brand { font-family: var(--display); font-size: 23px; letter-spacing: .03em; text-transform: none; }
.instrument-nav nav { display: flex; gap: 20px; color: rgba(215, 243, 232, .76); }
.instrument-nav nav a { transition: color .25s ease, text-shadow .25s ease; }
.instrument-nav nav a:hover { color: var(--aqua); text-shadow: 0 0 14px rgba(127, 231, 214, .75); }
.readout { justify-self: end; color: var(--gold); font-family: var(--mono); }

.atmosphere, .grain, .orb { position: fixed; pointer-events: none; }
.atmosphere { inset: 0; z-index: -2; overflow: hidden; }
.grain { inset: 0; opacity: .18; background-image: radial-gradient(rgba(215,243,232,.26) 1px, transparent 1px); background-size: 5px 5px; mix-blend-mode: soft-light; }
.orb { width: 44vmin; aspect-ratio: 1; border-radius: 50%; filter: blur(2px); opacity: .34; background: radial-gradient(circle at 28% 18%, rgba(215,243,232,.74), rgba(127,231,214,.18) 24%, transparent 48%), radial-gradient(circle at 60% 65%, rgba(46,139,87,.42), transparent 60%); animation: drift 16s ease-in-out infinite; }
.orb-one { top: 10%; left: -12%; }
.orb-two { bottom: 8%; right: -10%; animation-delay: -6s; }
.orb-three { top: 42%; left: 64%; width: 28vmin; animation-delay: -11s; }

.chamber {
  min-height: 100vh;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  padding: 108px clamp(22px, 5vw, 82px) 58px;
  isolation: isolate;
}

.chamber::before {
  content: attr(data-layer);
  position: absolute;
  right: clamp(20px, 4vw, 70px);
  bottom: 28px;
  font: 500 10px/1 var(--mono);
  letter-spacing: .35em;
  color: rgba(127, 231, 214, .36);
  text-transform: uppercase;
}

.micro-label, .date-glyph, .quote span, .chrome-divider, .tile span {
  font-family: var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--aqua);
}

h1, h2, h3, blockquote, p { margin-top: 0; }
h1, h2, blockquote { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(72px, 12vw, 176px); line-height: .78; max-width: 980px; letter-spacing: -.055em; margin-bottom: 26px; text-shadow: 0 0 42px rgba(127, 231, 214, .12); }
h2 { font-size: clamp(44px, 7vw, 108px); line-height: .86; letter-spacing: -.04em; }
h3 { font-family: var(--display); font-size: clamp(24px, 3vw, 45px); line-height: .98; font-weight: 600; }
.lead, .pressure-pane p, .carbon-copy p { font-family: var(--serif); line-height: 1.85; color: rgba(215, 243, 232, .78); }

.canopy { display: grid; align-items: end; background: radial-gradient(circle at 52% -5%, rgba(127,231,214,.22), transparent 36%), linear-gradient(180deg, rgba(1,7,6,.08), rgba(1,7,6,.68)); }
.leaf-shadow { position: absolute; inset: 0; opacity: .24; background: radial-gradient(ellipse at 20% 20%, transparent 28%, rgba(1,7,6,.8) 29%, transparent 31%), radial-gradient(ellipse at 70% 10%, transparent 20%, rgba(185,199,90,.22) 21%, transparent 24%); filter: blur(10px); }
.canopy-glass { position: relative; z-index: 2; max-width: 1050px; padding-bottom: 12vh; }
.canopy-glass::before { content: ""; position: absolute; inset: -40px -35px auto -35px; height: 72%; border-radius: 42px; background: linear-gradient(140deg, rgba(215,243,232,.14), rgba(127,231,214,.04)); border: 1px solid rgba(127,231,214,.18); box-shadow: inset 0 1px 0 rgba(215,243,232,.34); z-index: -1; backdrop-filter: blur(8px); }
.lead { max-width: 600px; font-size: 18px; }
.capsule-field { position: absolute; inset: 15% 5% 18% auto; width: min(430px, 42vw); }
.news-bubble { position: absolute; width: 260px; min-height: 150px; padding: 28px; border-radius: 48% 52% 54% 46% / 42% 45% 55% 58%; background: radial-gradient(circle at 28% 18%, rgba(215,243,232,.74), rgba(127,231,214,.18) 24%, transparent 48%), linear-gradient(145deg, rgba(14,59,42,.58), rgba(1,7,6,.24)); border: 1px solid rgba(127,231,214,.38); box-shadow: inset 8px 10px 30px rgba(215,243,232,.08), 0 28px 60px rgba(1,7,6,.45); animation: bob 7s ease-in-out infinite; }
.news-bubble:nth-child(1) { top: 4%; right: 7%; }
.news-bubble:nth-child(2) { top: 36%; right: 36%; animation-delay: -2s; }
.news-bubble:nth-child(3) { bottom: 1%; right: 0; animation-delay: -4s; }
.news-bubble span { display: block; font: 700 10px/1 var(--mono); letter-spacing: .18em; color: var(--gold); margin-bottom: 18px; }
.news-bubble strong { display: block; font: 600 32px/1 var(--display); }
.news-bubble em { display: block; margin-top: 12px; color: rgba(215,243,232,.7); font-family: var(--serif); font-size: 13px; }
.waterline { position: absolute; left: 0; right: 0; bottom: 0; height: 21vh; background: linear-gradient(180deg, rgba(127,231,214,.18), rgba(1,7,6,.82)); border-top: 1px solid rgba(127,231,214,.32); overflow: hidden; }
.waterline::before { content: ""; position: absolute; inset: -20px 0 0; background: repeating-radial-gradient(ellipse at 50% 0%, rgba(215,243,232,.18) 0 2px, transparent 3px 34px); animation: ripple 8s linear infinite; }
.waterline span { position: absolute; left: 7%; top: -23px; font: italic 700 clamp(70px, 13vw, 180px)/1 var(--display); letter-spacing: -.06em; color: rgba(215,243,232,.12); transform: scaleY(-1); filter: blur(1px); }

.panes { background: linear-gradient(180deg, rgba(3,20,14,.92), rgba(14,59,42,.75)); display: grid; grid-template-columns: .78fr 1.22fr; gap: 6vw; align-items: center; }
.section-heading { max-width: 620px; }
.pressure-stack { display: grid; gap: 24px; }
.pressure-pane { position: relative; min-height: 190px; padding: 26px 34px 24px 150px; border-radius: 38px; background: linear-gradient(110deg, rgba(215,243,232,.18), rgba(14,59,42,.52) 42%, rgba(1,7,6,.38)); border: 1px solid rgba(127,231,214,.26); box-shadow: inset 0 1px 0 rgba(215,243,232,.36), 0 24px 70px rgba(1,7,6,.34); overflow: hidden; backdrop-filter: blur(16px); }
.pressure-pane::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent, rgba(127,231,214,.22), transparent); transform: translateX(-130%); animation: sweep 6s ease-in-out infinite; }
.date-glyph { position: absolute; left: 32px; top: 34px; color: var(--gold); font-size: 12px; }
.pressure-pane h3 { margin-bottom: 12px; position: relative; }
.pressure-pane p { max-width: 620px; margin-bottom: 0; position: relative; }
.bubble-trail { position: absolute; right: 26px; bottom: 22px; width: 130px; height: 28px; background: radial-gradient(circle at 12px 16px, var(--aqua) 0 4px, transparent 5px), radial-gradient(circle at 42px 9px, rgba(127,231,214,.75) 0 3px, transparent 4px), radial-gradient(circle at 78px 18px, rgba(215,243,232,.7) 0 5px, transparent 6px), radial-gradient(circle at 112px 7px, rgba(127,231,214,.8) 0 2px, transparent 3px); animation: bubbles 3.8s ease-in-out infinite; }

.carbon { display: grid; grid-template-columns: 1fr minmax(260px, 360px) 1fr; align-items: center; gap: 42px; background: radial-gradient(circle at 50% 50%, rgba(127,231,214,.17), transparent 34%), linear-gradient(180deg, var(--moss), var(--ink)); }
.story-bands { position: absolute; inset: 22% 0 auto; display: grid; gap: 58px; transform: rotate(-2deg); opacity: .5; }
.story-bands span { white-space: nowrap; font: italic 600 clamp(38px, 6vw, 92px)/1 var(--display); color: rgba(215,243,232,.13); animation: band 22s linear infinite; }
.story-bands span:nth-child(2) { animation-direction: reverse; animation-duration: 27s; }
.story-bands span:nth-child(3) { animation-duration: 31s; }
.filter-column { grid-column: 2; height: 68vh; border-radius: 999px; position: relative; background: linear-gradient(90deg, rgba(215,243,232,.2), rgba(127,231,214,.05), rgba(1,7,6,.46)); border: 1px solid rgba(127,231,214,.3); box-shadow: inset 18px 0 45px rgba(215,243,232,.1), 0 0 90px rgba(127,231,214,.13); overflow: hidden; }
.column-core { position: absolute; inset: 6%; border-radius: inherit; background: radial-gradient(ellipse at 50% 0%, rgba(185,199,90,.28), transparent 30%), linear-gradient(180deg, transparent, rgba(46,139,87,.52), transparent); filter: blur(.2px); }
.particle-stream { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(127,231,214,.88) 0 2px, transparent 3px), radial-gradient(circle, rgba(215,243,232,.6) 0 1px, transparent 2px); background-size: 54px 78px, 86px 124px; animation: descend 5s linear infinite; }
.carbon-copy { grid-column: 3; position: relative; z-index: 2; max-width: 580px; }
.chrome-divider { display: inline-flex; margin-top: 26px; padding: 12px 18px; border-radius: 999px; background: linear-gradient(180deg, rgba(215,243,232,.18), rgba(46,139,87,.24)); border: 1px solid rgba(127,231,214,.34); box-shadow: inset 0 1px 0 rgba(215,243,232,.42); font-size: 11px; color: var(--gold); }

.constellation { background: radial-gradient(circle at 30% 30%, rgba(46,139,87,.28), transparent 34%), linear-gradient(180deg, var(--ink), var(--deep)); }
.filaments { position: absolute; inset: 8% 0; width: 100%; height: 84%; opacity: .62; }
.filaments path { fill: none; stroke: rgba(127,231,214,.58); stroke-width: 1.4; filter: drop-shadow(0 0 12px rgba(127,231,214,.6)); stroke-dasharray: 8 18; animation: dash 18s linear infinite; }
.quote { position: absolute; width: min(520px, 42vw); padding: 28px; border-radius: 34px; background: linear-gradient(140deg, rgba(215,243,232,.13), rgba(14,59,42,.2)); border: 1px solid rgba(127,231,214,.18); backdrop-filter: blur(12px); box-shadow: 0 24px 80px rgba(1,7,6,.42); }
.quote blockquote { margin: 16px 0 0; font-size: clamp(34px, 5vw, 76px); line-height: .9; letter-spacing: -.035em; }
.q-one { left: 6vw; top: 18vh; }
.q-two { right: 7vw; top: 34vh; }
.q-three { left: 28vw; bottom: 10vh; }

.index-pool { background: linear-gradient(180deg, rgba(3,20,14,.94), #010706); padding-bottom: 110px; }
.pool-surface { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(127,231,214,.19), transparent 44%), repeating-radial-gradient(ellipse at 50% 16%, rgba(215,243,232,.12) 0 1px, transparent 2px 38px); opacity: .85; animation: ripple 12s linear infinite; }
.pool-heading { position: relative; z-index: 2; margin: 0 auto 9vh; text-align: center; }
.submerged-tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; transform: perspective(900px) rotateX(9deg); }
.tile { min-height: 260px; padding: 24px; border-radius: 30px; background: linear-gradient(180deg, rgba(127,231,214,.15), rgba(14,59,42,.3) 50%, rgba(1,7,6,.68)); border: 1px solid rgba(127,231,214,.22); box-shadow: inset 0 1px 0 rgba(215,243,232,.22), 0 38px 80px rgba(1,7,6,.55); filter: blur(.15px); transition: transform .35s ease, filter .35s ease; }
.tile:hover { transform: translateY(-12px); filter: blur(0); }
.tile span { color: var(--gold); font-size: 11px; }
.tile h3 { margin-top: 54px; font-size: clamp(24px, 2.6vw, 38px); }
.deep-footer { position: absolute; left: 0; right: 0; bottom: 25px; z-index: 2; text-align: center; color: rgba(215,243,232,.58); }
.deep-footer span { font: italic 700 54px/1 var(--display); color: rgba(127,231,214,.32); }
.deep-footer p { font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(35px) scale(.985); filter: blur(8px); transition: opacity .9s ease, transform .9s ease, filter .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.disturb { animation: signalShake .22s cubic-bezier(.36,.07,.19,.97); box-shadow: 0 0 0 1px rgba(127,231,214,.45), 10px 0 22px rgba(127,231,214,.2), -10px 0 22px rgba(185,199,90,.15) !important; }

@keyframes drift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(5vw,-3vh,0) scale(1.08); } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(3deg); } }
@keyframes ripple { to { background-position: 120px 80px; } }
@keyframes sweep { 0%, 48% { transform: translateX(-130%); } 70%, 100% { transform: translateX(130%); } }
@keyframes bubbles { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-12px); opacity: 1; } }
@keyframes band { to { transform: translateX(-50%); } }
@keyframes descend { to { background-position: 0 156px, 0 248px; } }
@keyframes dash { to { stroke-dashoffset: -260; } }
@keyframes signalShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

@media (max-width: 920px) {
  html { scroll-snap-type: none; }
  .instrument-nav { grid-template-columns: 1fr auto; }
  .instrument-nav nav { display: none; }
  .readout { display: none; }
  .chamber { min-height: 100svh; padding: 92px 20px 52px; }
  .capsule-field { position: relative; inset: auto; width: 100%; height: 430px; }
  .panes, .carbon { display: block; }
  .pressure-pane { padding-left: 28px; padding-top: 72px; }
  .filter-column { height: 56vh; width: 70%; margin: 8vh auto; }
  .quote { position: relative; width: auto; left: auto; right: auto; top: auto; bottom: auto; margin: 26px 0; }
  .submerged-tiles { grid-template-columns: 1fr; transform: none; }
}
