/* ============================================================
   MARWAH YASEEN - "SOURCE → SEA"  ·  Nature Edition
   A river journey told softly: warm cream and sand, sage and
   river-teal, deep forest dusk. Organic shapes, fluid motion,
   elegant editorial serif. Squarespace-calm, one-of-a-kind.
   Fonts: Fraunces / Outfit / Space Mono (traces)
   ============================================================ */

:root {
  --paper: #f7f4ec;        /* warm cream */
  --paper-2: #efeadc;      /* sand */
  --paper-3: #e7e1cf;      /* deep sand */
  --ink: #21302a;          /* forest ink */
  --ink-soft: #5d6b60;     /* sage grey */
  --blue: #3d7a8c;         /* river */
  --blue-bright: #6fa9b8;  /* shallow water */
  --terra: #c07a55;        /* warm clay */
  --sage: #7c8f72;         /* leaf */
  --sea: #101f1a;          /* forest at dusk */
  --sea-2: #1a332a;        /* pine */
  --foam: #e9efe4;         /* mist */
  --grotesk: "Outfit", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "Space Mono", Consolas, monospace;
  --wrap: 1140px;
  --r: 28px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --shadow-s: 0 6px 24px rgba(33, 48, 42, .07);
  --shadow-m: 0 22px 60px rgba(33, 48, 42, .13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--grotesk);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 143, 114, .35); }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 500; color: var(--ink); }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }

/* ---------- reveals: rise out of the mist ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(7px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease),
    filter 1.1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .22s; }
.reveal.d3 { transition-delay: .34s; }
.reveal.d4 { transition-delay: .46s; }
.reveal.d5 { transition-delay: .58s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .ticker__track { animation: none !important; }
  .delta__sea span { animation: none !important; }
  .source__arrow { animation: none !important; }
  .source::before, .source::after { animation: none !important; }
}

/* ============================================================
   NAV - floating glass pebble
   ============================================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 10px 12px 10px 22px;
  max-width: calc(100vw - 28px);
  background: rgba(247, 244, 236, .78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(33, 48, 42, .09);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
}
.nav__brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__brand em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
}
.nav__sub {
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--ink-soft);
}
.nav__links { display: flex; gap: clamp(10px, 1.6vw, 20px); }
.nav__links a {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 4px;
  border-radius: 999px;
  transition: color .35s var(--ease);
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--sage);
  transform: translateX(-50%);
  transition: width .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 60%; }
.nav__venture { color: var(--blue) !important; font-weight: 500 !important; }
.nav__scholar {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .35s var(--ease), transform .3s var(--ease);
}
.nav__scholar:hover { background: var(--blue); transform: translateY(-1px); }
.nav__burger {
  display: none;
  background: var(--ink);
  border: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span { width: 16px; height: 1.5px; background: var(--paper); border-radius: 2px; transition: transform .35s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav { gap: 12px; }
  .nav__links, .nav__scholar { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- mobile overlay menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--sea);
  color: var(--foam);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(24px, 8vw, 60px) 44px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 7.5vw, 3rem);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(233, 239, 228, .12);
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.menu__links a:hover { color: var(--blue-bright); padding-left: 12px; }
.menu__links small {
  font-family: var(--grotesk);
  font-style: normal;
  font-size: .6rem;
  letter-spacing: .24em;
  opacity: .5;
}
.menu__coords { margin-top: 40px; font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; opacity: .45; }

/* ============================================================
   FLOW GAUGE - a quiet instrument on the right edge
   ============================================================ */
.gauge {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  mix-blend-mode: difference;
  color: #ded8c6;
}
.gauge__label {
  font-size: .56rem;
  letter-spacing: .34em;
  writing-mode: vertical-rl;
  font-weight: 400;
}
.gauge__tube {
  width: 3px;
  height: 32vh;
  border-radius: 3px;
  background: rgba(222, 216, 198, .28);
  position: relative;
  overflow: hidden;
}
.gauge__fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  border-radius: 3px;
  background: currentColor;
}
.gauge__read {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .06em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}
@media (max-width: 1080px) { .gauge { display: none; } }

/* ============================================================
   THE RIVER
   ============================================================ */
#riverWrap { position: relative; }
#riverSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
#riverBand { stroke: var(--blue); stroke-width: 34; opacity: .06; stroke-linecap: round; }
#riverPath { stroke: var(--blue); stroke-width: 2; opacity: .5; stroke-linecap: round; }
#riverFlow { stroke: var(--blue-bright); stroke-width: 2; opacity: .75; stroke-linecap: round; stroke-dasharray: 2 40; }

#riverWrap > section, #riverWrap > .ticker { position: relative; }
#riverWrap .container, .source__inner, .source__coords { position: relative; z-index: 2; }

/* ============================================================
   THE SOURCE - dawn over the headwaters
   ============================================================ */
.source {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 130px 0 80px;
  background-color: var(--sea);
  /* misty pine forest through a deep veil; hero text is light */
  background-image:
    radial-gradient(1000px 560px at 78% 20%, rgba(150, 170, 120, .18), transparent 60%),
    radial-gradient(900px 560px at 10% 104%, rgba(124, 143, 114, .16), transparent 62%),
    linear-gradient(180deg, rgba(14, 28, 20, .5) 0%, rgba(12, 26, 19, .42) 46%, rgba(9, 22, 16, .74) 100%),
    url("bg-source.jpg");
  background-size: auto, auto, auto, cover;
  background-position: 0 0, 0 0, 0 0, center 42%;
  background-repeat: no-repeat;
}
@media (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .source { background-attachment: scroll, scroll, scroll, fixed; }
}
/* living blobs, slowly breathing */
.source::before, .source::after {
  content: "";
  position: absolute;
  z-index: 0;
  filter: blur(70px);
  opacity: .34;
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  animation: breathe 16s ease-in-out infinite alternate;
}
.source::before {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -14%; right: -8%;
  background: linear-gradient(140deg, rgba(111, 169, 184, .5), rgba(124, 143, 114, .3));
}
.source::after {
  width: 38vw; height: 38vw;
  max-width: 520px; max-height: 520px;
  bottom: -16%; left: -10%;
  background: linear-gradient(40deg, rgba(192, 122, 85, .28), rgba(111, 169, 184, .3));
  animation-delay: -8s;
}
@keyframes breathe {
  0%   { transform: translate(0, 0) scale(1); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; }
  50%  { transform: translate(-3%, 4%) scale(1.06); border-radius: 45% 55% 48% 52% / 55% 44% 56% 45%; }
  100% { transform: translate(2%, -3%) scale(.97); border-radius: 52% 48% 42% 58% / 46% 54% 47% 53%; }
}
#rainCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.source__contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .28; }
.source__contours g { stroke: var(--sage) !important; }
.source__coords {
  position: absolute;
  left: clamp(10px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .34em;
  color: var(--ink-soft);
  opacity: .7;
}
.source__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.source__station {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .34em;
  color: #c8d9bc;
  margin-bottom: clamp(18px, 3vh, 30px);
  text-shadow: 0 1px 20px rgba(5, 16, 16, .55);
}
.source__name { position: relative; line-height: 1; text-shadow: 0 3px 34px rgba(5, 16, 16, .55), 0 1px 6px rgba(5, 16, 16, .35); }
.source__word {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  letter-spacing: -.02em;
  line-height: .95;
}
.source__word--fill { color: var(--foam); }
.source__word--line {
  font-style: italic;
  font-weight: 300;
  color: var(--blue-bright);
}
.source__accent {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 3vw, 1.9rem);
  color: #e8b089;
  margin: clamp(6px, 1.2vw, 14px) 0;
  letter-spacing: .02em;
}
.source__foot {
  margin-top: clamp(28px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.source__lede {
  max-width: 560px;
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  color: rgba(233, 239, 228, .88);
  text-shadow: 0 1px 16px rgba(5, 16, 16, .5);
}
.source__affil {
  display: block;
  margin-top: 12px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.source__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.5;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 18px 30px;
  border-radius: 999px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
  text-align: left;
}
.source__cta:hover { background: var(--blue); box-shadow: 0 16px 40px rgba(61, 122, 140, .35); }
.source__arrow { font-size: 1.3rem; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ============================================================
   TICKER - a slow drift of words
   ============================================================ */
.ticker {
  background: var(--paper-2);
  color: var(--ink-soft);
  overflow: hidden;
  border-top: 1px solid rgba(33, 48, 42, .08);
  border-bottom: 1px solid rgba(33, 48, 42, .08);
  z-index: 3;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  padding: 16px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  animation: tick 48s linear infinite;
  will-change: transform;
}
.ticker__track i { color: var(--sage); font-style: normal; font-size: .8rem; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STATION HEADERS - shared
   ============================================================ */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.st {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 36px);
  margin-bottom: clamp(44px, 6vw, 76px);
}
.st__no {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .12em;
  border: 1px solid rgba(33, 48, 42, .25);
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-top: 16px;
  white-space: nowrap;
}
.st__mono {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--sage);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.st__mono--sea { color: var(--blue-bright); }
.st__title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
}
.st__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}
.st--sea .st__no, .st--light .st__no { border-color: rgba(233, 239, 228, .35); color: var(--foam); }

/* ============================================================
   THE OBSERVER
   ============================================================ */
.observer { background: var(--paper); }
.observer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.observer__text p { margin-bottom: 20px; font-size: 1.05rem; color: var(--ink-soft); }
.dropcap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4.6em;
  float: left;
  line-height: .78;
  padding: 8px 14px 0 0;
  color: var(--blue);
}
.observer__chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.observer__chips span {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(33, 48, 42, .1);
  box-shadow: var(--shadow-s);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.observer__chips span:hover { background: var(--sage); border-color: var(--sage); color: #fff; transform: translateY(-2px); }

.readings {
  background: #fff;
  border: 1px solid rgba(33, 48, 42, .07);
  border-radius: var(--r);
  box-shadow: var(--shadow-m);
  padding: 30px 28px;
  position: sticky;
  top: 100px;
}
.readings__head {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--sage);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.readings__head::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .15; } }
.readings__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(33, 48, 42, .07);
}
.readings__k { font-size: .64rem; font-weight: 500; letter-spacing: .14em; color: var(--ink-soft); }
.readings__bar { flex: 1; border-bottom: 1px dotted rgba(33, 48, 42, .25); }
.readings__v {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--blue);
  min-width: 2ch;
  text-align: right;
}
.readings__links { margin-top: 22px; display: grid; gap: 9px; }
.readings__links a {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  text-align: center;
  padding: 13px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), transform .3s var(--ease);
}
.readings__links a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
@media (max-width: 900px) {
  .observer__grid { grid-template-columns: 1fr; }
  .readings { position: static; }
}

/* ============================================================
   THE CONFLUENCE - tributaries drift toward the river
   ============================================================ */
.confluence { background: var(--paper-2); }
.tribs { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 54px); }
.trib {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid rgba(33, 48, 42, .06);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  padding: 36px 36px 30px;
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.trib:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); }
.trib--l { align-self: flex-start; }
.trib--r { align-self: flex-end; }
.trib::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(20px, 6vw, 90px);
  border-top: 2px dotted rgba(124, 143, 114, .55);
}
.trib--l::after { left: 100%; }
.trib--r::after { right: 100%; }
.trib__id {
  position: absolute;
  top: -14px;
  left: 28px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .18em;
  background: var(--blue);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
}
.trib h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.12;
  margin-bottom: 12px;
}
.trib p { font-size: .96rem; color: var(--ink-soft); }
.trib__tags {
  margin-top: 18px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--sage);
}
@media (max-width: 700px) {
  .trib--l, .trib--r { align-self: stretch; }
  .trib::after { display: none; }
}

/* ============================================================
   THE WELLSPRING - Arasense venture
   ============================================================ */
.venture {
  position: relative;
  /* sunlit forest breathing faintly behind deep pine */
  background-color: var(--sea);
  background-image:
    radial-gradient(820px 460px at 82% 28%, rgba(111, 169, 184, .2), transparent 62%),
    linear-gradient(160deg, rgba(16, 31, 26, .84) 0%, rgba(26, 51, 42, .76) 100%),
    url("bg-forest.jpg");
  background-size: auto, auto, cover;
  background-position: 0 0, 0 0, center;
  background-repeat: no-repeat;
  color: var(--foam);
  overflow: hidden;
  padding: clamp(76px, 9vw, 130px) 0;
}
.venture__field {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(111, 169, 184, .22) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 400px at 78% 40%, #000, transparent 75%);
  mask-image: radial-gradient(720px 400px at 78% 40%, #000, transparent 75%);
  pointer-events: none;
}
.venture__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.venture__eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--blue-bright);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.venture__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8.5vw, 6.6rem);
  line-height: .95;
  letter-spacing: -.02em;
}
.venture__name span { font-style: italic; font-weight: 300; color: var(--blue-bright); }
.venture__lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(233, 239, 228, .8);
}
.venture__lead strong { color: #fff; }
.venture__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-decoration: none;
  color: var(--sea);
  background: var(--foam);
  padding: 17px 30px;
  border-radius: 999px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.venture__cta:hover {
  background: var(--blue-bright);
  box-shadow: 0 16px 44px rgba(111, 169, 184, .35);
}
.venture__cta-arrow { font-size: 1.05rem; transition: transform .35s var(--ease); }
.venture__cta:hover .venture__cta-arrow { transform: translate(3px, -3px); }

.venture__badge { display: grid; place-items: center; gap: 20px; }
.venture__radar {
  position: relative;
  width: clamp(150px, 22vw, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.venture__radar::before,
.venture__radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(233, 239, 228, .16);
  border-radius: 50%;
}
.venture__radar::after { inset: 22%; }
.venture__core {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 24px 5px rgba(111, 169, 184, .6);
  z-index: 2;
}
.venture__ping {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-bright);
  animation: ping 3.6s ease-out infinite;
}
.venture__ping:nth-child(2) { animation-delay: 1.2s; }
.venture__ping:nth-child(3) { animation-delay: 2.4s; }
@keyframes ping {
  0%   { transform: scale(1);  opacity: .9; }
  100% { transform: scale(11); opacity: 0; }
}
.venture__badge-cap {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: rgba(233, 239, 228, .55);
}
@media (prefers-reduced-motion: reduce) { .venture__ping { animation: none; opacity: 0; } }
@media (max-width: 820px) {
  .venture__inner { grid-template-columns: 1fr; }
  .venture__badge { order: -1; justify-items: start; }
}

/* ============================================================
   THE RECORD - publications
   ============================================================ */
.record { background: var(--paper-2); }
.record__note {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: -30px 0 50px;
  max-width: 560px;
}
.record__note a { color: var(--blue); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(61, 122, 140, .35); }
.record__note a:hover { border-bottom-color: var(--blue); }

/* featured paper */
.core {
  display: block;
  text-decoration: none;
  background: linear-gradient(130deg, #38707f, #2a5a68 55%, #234c58);
  color: var(--foam);
  border-radius: calc(var(--r) + 6px);
  padding: clamp(30px, 4vw, 50px);
  margin-bottom: clamp(50px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-m);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.core:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(33, 48, 42, .25); }
.core::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; top: -160px;
  border-radius: 55% 45% 50% 50% / 52% 48% 52% 48%;
  background: rgba(233, 239, 228, .08);
  filter: blur(4px);
  pointer-events: none;
}
.core__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .18em;
  opacity: .95;
  margin-bottom: 18px;
}
.core__cite { background: var(--foam); color: #2a5a68; padding: 5px 14px; border-radius: 999px; }
.core__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  max-width: 850px;
}
.core__title em { font-style: italic; font-weight: 300; color: #bcd8de; }
.core__authors { margin-top: 16px; font-size: .66rem; font-weight: 400; letter-spacing: .14em; opacity: .85; }
.core__abs { margin-top: 14px; max-width: 620px; font-size: .98rem; opacity: .92; }
.core__go {
  display: inline-block;
  margin-top: 24px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  border: 1px solid rgba(233, 239, 228, .55);
  padding: 12px 22px;
  border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.core:hover .core__go { background: var(--foam); color: #2a5a68; }

/* year strata */
.strata { display: flex; flex-direction: column; }
.stratum {
  display: grid;
  grid-template-columns: minmax(84px, 170px) 1fr;
  gap: clamp(16px, 3vw, 44px);
  padding: 36px 0;
  border-top: 1px solid rgba(33, 48, 42, .12);
}
.stratum__year {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: .9;
  color: rgba(33, 48, 42, .3);
  position: sticky;
  top: 110px;
  align-self: start;
}
.stratum__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rec {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2.4vw, 28px);
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(33, 48, 42, .06);
  border-radius: 20px;
  box-shadow: var(--shadow-s);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.rec::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.rec:hover { transform: translateX(6px); box-shadow: var(--shadow-m); }
.rec:hover::before { transform: scaleY(1); }
.rec__id {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--terra);
  padding-top: 8px;
  white-space: nowrap;
}
.rec__body { flex: 1; }
.rec__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.22;
}
.rec__body h3 a { text-decoration: none; transition: color .3s var(--ease); }
.rec__body h3 a:hover { color: var(--blue); }
.rec__body p {
  margin-top: 8px;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--ink-soft);
}
.rec__body p strong { color: var(--ink); font-weight: 600; }
.rec__venue { font-style: normal; }
.rec__tag {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .16em;
  background: var(--paper-2);
  color: var(--ink-soft);
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  margin-top: 6px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.rec__tag--link:hover { background: var(--blue); color: #fff; }
@media (max-width: 640px) {
  .stratum { grid-template-columns: 1fr; }
  .stratum__year { position: static; }
  .rec { flex-wrap: wrap; }
}

/* ============================================================
   THE COURSE - the valley descends toward dusk
   ============================================================ */
.course {
  /* the highland valley fades in as the river descends toward dusk */
  background-color: var(--sea-2);
  background-image:
    linear-gradient(180deg,
      rgba(239, 234, 220, 1) 0%,
      rgba(239, 234, 220, .62) 16%,
      rgba(180, 190, 168, .32) 45%,
      rgba(70, 96, 82, .55) 74%,
      rgba(26, 51, 42, 1) 100%),
    url("bg-course.jpg");
  background-size: auto, cover;
  background-position: 0 0, center 30%;
  background-repeat: no-repeat;
  color: var(--ink);
}
.meanders { display: flex; flex-direction: column; gap: clamp(26px, 4vw, 48px); }
.meander {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(33, 48, 42, .06);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  padding: 30px 34px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.meander:hover { transform: translateY(-7px); box-shadow: var(--shadow-m); }
.meander--l { align-self: flex-start; }
.meander--r { align-self: flex-end; }
.meander__mono {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--terra);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.meander h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
.meander p { font-size: .94rem; color: var(--ink-soft); }
@media (max-width: 700px) {
  .meander--l, .meander--r { align-self: stretch; }
}

/* ============================================================
   THE DOCK - student deliveries
   ============================================================ */
.dock {
  /* a real jetty on still water, deep beneath the pine veil */
  background-color: var(--sea-2);
  background-image:
    linear-gradient(180deg, rgba(26, 51, 42, .97) 0%, rgba(22, 44, 36, .7) 45%, rgba(16, 31, 26, .88) 100%),
    url("bg-dock.jpg");
  background-size: auto, cover;
  background-position: 0 0, center 65%;
  background-repeat: no-repeat;
  color: var(--foam);
}
.dock__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.dock__lead { font-size: 1.05rem; color: rgba(233, 239, 228, .82); max-width: 460px; }
.dock__rules { list-style: none; margin-top: 30px; }
.dock__rules li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(233, 239, 228, .14);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(233, 239, 228, .72);
}
.dock__rules li span {
  flex-shrink: 0;
  width: 76px;
  color: var(--blue-bright);
  font-weight: 600;
}
.dock__panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow-m);
  padding: clamp(26px, 3vw, 40px);
}
.dock__panel-head {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--sage);
  margin-bottom: 18px;
  line-height: 1.9;
}
.dock__panel-head strong { color: var(--ink); font-size: .76rem; letter-spacing: .1em; }
.dock__offline p { font-size: .94rem; color: var(--ink-soft); }
.dock__offline code {
  font-family: var(--mono);
  font-size: .78em;
  background: var(--paper-3);
  padding: 2px 8px;
  border-radius: 6px;
}
.dock__offline-led {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--terra);
  margin-bottom: 14px;
  animation: blink 2s ease-in-out infinite;
}
.dock__field { display: block; margin-bottom: 16px; }
.dock__field span {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .26em;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.dock__field input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--grotesk);
  font-size: .92rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(33, 48, 42, .16);
  border-radius: 14px;
  outline: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.dock__field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61, 122, 140, .14); }
.dock__field input::placeholder { color: rgba(33, 48, 42, .32); }
.dock__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.dock__btn {
  font-family: var(--grotesk);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  padding: 14px 22px;
  border: 1px solid rgba(33, 48, 42, .2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .25s var(--ease), border-color .35s var(--ease);
}
.dock__btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.dock__btn--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.dock__btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.dock__btn--wide { width: 100%; }
.dock__btn--small { padding: 10px 16px; font-size: .58rem; }
.dock__btn[disabled] { opacity: .45; cursor: wait; }
.dock__or {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 18px 0;
}
.dock__status {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  margin-top: 16px;
  min-height: 1.2em;
  color: var(--terra);
}
.dock__status.is-ok { color: var(--blue); }
.dock__user {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.dock__user .dock__panel-head { margin-bottom: 0; }
.dock__drop {
  display: block;
  border: 2px dashed rgba(124, 143, 114, .6);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 46px) 20px;
  text-align: center;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.dock__drop:hover, .dock__drop.is-over { background: rgba(124, 143, 114, .1); border-color: var(--sage); }
.dock__drop-big {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--blue);
}
.dock__drop-small {
  display: block;
  margin-top: 8px;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
.dock__progress { margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.dock__progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--paper-3);
  overflow: hidden;
}
.dock__progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: var(--blue);
  transition: width .2s ease;
}
.dock__progress-text { font-size: .68rem; font-weight: 500; min-width: 4ch; text-align: right; }
.dock__files { margin-top: 26px; }
.dock__list { list-style: none; }
.dock__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(33, 48, 42, .08);
  font-size: .74rem;
}
.dock__list .dock__fname {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock__list a { color: var(--blue); font-weight: 500; text-decoration: none; white-space: nowrap; font-size: .66rem; letter-spacing: .1em; }
.dock__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dock__list button {
  font-size: .8rem;
  border: 0;
  background: none;
  color: var(--terra);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
}
.dock__list button:hover { background: rgba(192, 122, 85, .14); }
.dock__empty { font-size: .68rem; letter-spacing: .12em; color: var(--ink-soft); padding: 12px 0; }
@media (max-width: 880px) {
  .dock__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   THE DELTA - the sea at dusk
   ============================================================ */
.delta {
  background:
    radial-gradient(1000px 520px at 18% 115%, rgba(61, 122, 140, .25), transparent 62%),
    radial-gradient(820px 420px at 88% -12%, rgba(124, 143, 114, .18), transparent 60%),
    linear-gradient(180deg, var(--sea-2), var(--sea));
  color: var(--foam);
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 13vw, 170px) 0 clamp(90px, 11vw, 140px);
}
.delta__sea { position: absolute; inset: 0; pointer-events: none; }
.delta__sea span {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  opacity: .3;
  animation: floatUp 12s linear infinite;
}
.delta__sea span:nth-child(1) { left: 8%;  animation-delay: 0s;   animation-duration: 14s; }
.delta__sea span:nth-child(2) { left: 22%; animation-delay: -3s;  animation-duration: 11s; }
.delta__sea span:nth-child(3) { left: 34%; animation-delay: -7s;  animation-duration: 16s; }
.delta__sea span:nth-child(4) { left: 48%; animation-delay: -2s;  animation-duration: 10s; }
.delta__sea span:nth-child(5) { left: 61%; animation-delay: -5s;  animation-duration: 15s; }
.delta__sea span:nth-child(6) { left: 73%; animation-delay: -9s;  animation-duration: 12s; }
.delta__sea span:nth-child(7) { left: 85%; animation-delay: -1s;  animation-duration: 13s; }
.delta__sea span:nth-child(8) { left: 94%; animation-delay: -6s;  animation-duration: 11s; }
@keyframes floatUp {
  from { transform: translateY(105vh) scale(.6); opacity: 0; }
  12%  { opacity: .3; }
  to   { transform: translateY(-10vh) scale(1.15); opacity: 0; }
}
.delta__inner { position: relative; }
.delta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-top: 14px;
}
.delta__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue-bright);
}
.delta__sub { margin-top: 26px; max-width: 480px; color: rgba(233, 239, 228, .75); font-size: 1.03rem; }
.delta__links {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.delta__links a {
  text-decoration: none;
  padding: 28px 26px 30px;
  border-radius: 24px;
  background: rgba(233, 239, 228, .05);
  border: 1px solid rgba(233, 239, 228, .16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .45s var(--ease), color .45s var(--ease), transform .4s var(--ease);
  display: block;
}
.delta__links a:hover { background: var(--foam); color: var(--sea); transform: translateY(-5px); }
.delta__links span {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.delta__links a:hover span { color: var(--blue); }
.delta__links strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: inherit; }
.delta__links small { display: block; margin-top: 6px; font-size: .8rem; opacity: .65; }

/* consultancy call-out */
.delta__consult {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(233, 239, 228, .18);
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(192, 122, 85, .16), transparent 70%),
    rgba(233, 239, 228, .04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.delta__consult-eyebrow {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--terra);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.delta__consult-lead { max-width: 460px; font-size: 1rem; color: rgba(233, 239, 228, .82); }
.delta__consult-lead strong { color: #fff; }
.delta__consult-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: clamp(.78rem, 1.5vw, .9rem);
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--foam);
  border: 1px solid rgba(233, 239, 228, .5);
  padding: 16px 24px;
  border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.delta__consult-cta:hover { background: var(--foam); color: var(--sea); }
.delta__consult-label {
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .24em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
}
.delta__consult-cta:hover .delta__consult-label { background: var(--sea); color: var(--foam); }
.delta__consult-arrow { font-size: 1.05rem; }
@media (max-width: 620px) {
  .delta__consult-cta { width: 100%; justify-content: center; flex-wrap: wrap; word-break: break-all; }
}

.delta__coords {
  margin-top: 52px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .3em;
  color: rgba(233, 239, 228, .45);
}
@media (max-width: 780px) {
  .delta__links { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--sea);
  color: rgba(233, 239, 228, .5);
  border-top: 1px solid rgba(233, 239, 228, .1);
  padding: 24px clamp(20px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .64rem;
  letter-spacing: .18em;
}
.footer__q em { font-family: var(--serif); font-style: italic; font-size: .92rem; letter-spacing: .02em; }

/* ============================================================
   POLISH LAYER
   ============================================================ */

/* loader: a quiet breath before the journey */
.loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mono { font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.7rem); color: var(--ink); }
.loader__mono em { font-style: italic; color: var(--blue); }
.loader__tube {
  width: min(280px, 64vw);
  height: 2px;
  border-radius: 2px;
  background: rgba(33, 48, 42, .12);
  overflow: hidden;
}
.loader__tube span { display: block; height: 100%; width: 0%; border-radius: 2px; background: var(--sage); }
.loader__pct { font-size: .62rem; font-weight: 500; letter-spacing: .3em; color: var(--ink-soft); }

/* skip link */
.skip {
  position: fixed;
  top: 14px; left: 14px;
  z-index: 500;
  transform: translateY(-300%);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .3s var(--ease);
}
.skip:focus-visible { transform: none; }

/* film grain */
.grain {
  position: fixed;
  inset: -60%;
  width: 220%;
  height: 220%;
  pointer-events: none;
  z-index: 240;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(9) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, 2%); }
  80% { transform: translate(2%, -1%); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* custom cursor ring */
.cursor {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 260;
  opacity: .8;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s var(--ease), opacity .3s ease;
}
html.has-cursor .cursor { display: block; }
.cursor.is-hover {
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-color: var(--terra);
  opacity: 1;
}
.cursor.is-down { width: 18px; height: 18px; margin: -9px 0 0 -9px; }

/* station watermark numerals - soft, like light through leaves */
.section[data-num], .delta[data-num] { position: relative; }
.section[data-num]::before, .delta[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: clamp(8px, 3vw, 34px);
  right: clamp(4px, 2.5vw, 30px);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(8rem, 20vw, 19rem);
  line-height: .8;
  color: rgba(33, 48, 42, .05);
  pointer-events: none;
  z-index: 0;
}
.dock[data-num]::before, .delta[data-num]::before {
  color: rgba(233, 239, 228, .05);
}

/* scrollbar */
html { scrollbar-color: var(--sage) var(--paper-3); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-3); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 8px; border: 3px solid var(--paper-3); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* focus + micro-interactions */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
[data-magnet] { will-change: transform; }
.trib, .meander, .core { will-change: transform; }

/* print: clean academic CV */
@media print {
  .nav, .gauge, .menu, .ticker, #riverSvg, #rainCanvas, .loader, .cursor, .grain,
  .skip, .dock, .delta__sea, .source__contours, .venture__radar, .source__cta,
  .ripple { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .section, .source, .venture, .delta { padding: 20px 0 !important; min-height: 0 !important; background: #fff !important; color: #000 !important; }
  .source::before, .source::after { display: none; }
  .section[data-num]::before, .delta[data-num]::before { display: none; }
  a { color: #000; }
  .core { background: #fff; color: #000; border: 1px solid #000; box-shadow: none; }
  .rec, .trib, .meander, .readings, .dock__panel { box-shadow: none; border: 1px solid #ddd; }
}

/* ============================================================
   CLICK RIPPLES - stones in still water
   ============================================================ */
.ripple {
  position: fixed;
  z-index: 200;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border: 1.5px solid var(--blue-bright);
  border-radius: 50%;
  pointer-events: none;
  animation: rippleOut 1s var(--ease) forwards;
}
@keyframes rippleOut {
  from { transform: scale(.4); opacity: .85; }
  to   { transform: scale(7);  opacity: 0; }
}
