/* ==========================================================================
   WOCAL: site styles
   Colours come from Simran's logo: dark mangrove green, teal, white,
   with ochre / marigold / silt as accents. Change them here only.
   ========================================================================== */
:root {
  --mangrove: #0e3a22;      /* deepest green, dark sections */
  --green: #15542d;         /* logo green */
  --teal: #1c7989;          /* logo teal */
  --teal-light: #5ec4c4;    /* teal on dark backgrounds */
  --cream: #f7f2e8;         /* page background, "white" */
  --paper: #efe7d6;         /* slightly darker cream for cards */
  --silt: #cbbd9c;
  --ochre: #b8761f;
  --marigold: #e9a23b;
  --ink: #1d2a22;           /* body text */
  --muted: #5d6b62;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --edge: clamp(20px, 5vw, 72px);   /* page side gutter */
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw + 11px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--marigold); color: var(--mangrove); }

/* film grain over everything, for an earthy, printed feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1em; }
.kicker {
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 1.1rem; display: block;
}
.dark .kicker { color: var(--teal-light); }
.hand { font-family: var(--hand); font-size: 1.45em; line-height: 1.2; color: var(--ochre); }
.dark .hand { color: var(--marigold); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; max-width: 40ch; }
em.mark { font-style: normal; background: linear-gradient(transparent 62%, rgba(233,162,59,.45) 0); }

/* ---------- layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--edge)); margin-inline: auto; }
section { position: relative; }
.pad { padding-block: clamp(80px, 12vw, 170px); }
.dark { background: var(--mangrove); color: var(--cream); }
.teal-bg { background: var(--teal); color: var(--cream); }
.paper { background: var(--paper); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.photo { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--silt); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-family: var(--hand); font-size: 1.25rem; color: var(--muted); margin-top: .6rem; line-height: 1.25; }
.dark figcaption { color: var(--silt); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid currentColor;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--marigold); border-color: var(--marigold); color: var(--mangrove); }
.btn.solid:hover { background: var(--cream); border-color: var(--cream); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--edge); color: var(--cream); isolation: isolate;
}
.nav .logo { display: block; height: 44px; }
.nav .logo img { height: 100%; width: auto; }
.nav .logo .on-light { display: none; }
/* the frosted background lives on a pseudo-element: backdrop-filter on .nav itself would trap the
   fixed-position mobile menu inside the header */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: rgba(247, 242, 232, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav.solid::before { opacity: 1; }
.nav.solid { color: var(--ink); }
.nav.solid .logo .on-dark { display: none; }
.nav.solid .logo .on-light { display: block; }
.nav > ul { list-style: none; display: flex; gap: clamp(16px, 2.4vw, 34px); margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .02em; position: relative; }
.nav ul a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--marigold); transition: right .3s var(--ease); }
.nav ul a:not(.btn):hover::after, .nav ul a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: .55em 1.2em; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; display: flex; position: absolute; top: calc(100% + 12px); left: -16px; min-width: 230px; background: var(--cream); color: var(--ink); border-radius: 12px; padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.15); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .25s var(--ease); flex-direction: column; gap: 0 !important; align-items: stretch !important; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; transform: none; pointer-events: auto; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; }
.sub a:hover { background: var(--paper); }
.sub a::after { display: none; }
.sub small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav > ul { position: fixed; inset: 0; background: var(--mangrove); color: var(--cream); flex-direction: column; justify-content: center; gap: 26px; font-size: 1.3rem; transform: translateY(-100%); transition: transform .45s var(--ease); }
  .nav ul a { font-size: 1.3rem; }
  .nav.open > ul { transform: none; }
  .nav.open { color: var(--cream); }
  .nav.open::before { opacity: 0; }
  .nav.open .logo .on-dark { display: block; } .nav.open .logo .on-light { display: none; }
  .nav .logo, .nav-toggle { position: relative; z-index: 2; }
  .nav.open .nav-toggle { position: relative; z-index: 2; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .sub { position: static; opacity: 1; transform: none; pointer-events: auto; background: none; color: var(--cream); box-shadow: none; padding: 0; min-width: 0; text-align: center; }
  .sub a:hover { background: none; }
  .sub small { color: var(--silt); }
  .has-sub { text-align: center; } .has-sub > a { display: inline-block; margin-bottom: 6px; }
}

/* tide gauge: rises as you read */
.tide-gauge { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); width: 6px; height: 34vh; border-radius: 6px; background: rgba(28,121,137,.18); z-index: 40; overflow: hidden; }
.tide-gauge i { position: absolute; inset: auto 0 0 0; height: calc(var(--tide, 0) * 100%); background: linear-gradient(var(--teal-light), var(--teal)); border-radius: 6px; }
@media (max-width: 900px) { .tide-gauge { display: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: end; color: var(--cream); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(calc(1.06 + var(--hp, 0) * .08)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,40,25,.82) 0%, rgba(10,40,25,.55) 34%, rgba(10,40,25,0) 62%),
  linear-gradient(180deg, rgba(10,40,25,.5) 0%, rgba(10,40,25,0) 30%, rgba(10,40,25,.35) 72%, rgba(10,40,25,.85) 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero-inner { position: relative; z-index: 1; padding: 140px var(--edge) clamp(90px, 14vh, 150px); pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero h1 { margin-bottom: .3em; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.hero-inner { max-width: min(760px, 58vw); }
@media (max-width: 860px) { .hero-inner { max-width: none; } .hero::before { background: linear-gradient(180deg, rgba(10,40,25,.45), rgba(10,40,25,.2) 30%, rgba(10,40,25,.75) 65%, rgba(10,40,25,.92)); } }
.hero h1 .q { color: var(--marigold); }
.hero .kicker { color: #e9dfc8; }
.hero .lede { max-width: 34ch; color: #f1ebdc; }
.hero .hint { position: absolute; right: var(--edge); bottom: clamp(110px, 18vh, 170px); transform: rotate(-4deg); color: var(--marigold); font-family: var(--hand); font-size: 1.5rem; pointer-events: none; text-align: right; line-height: 1.1; }
.hero .hint svg { display: block; margin: 6px 0 0 auto; }
@media (max-width: 700px) { .hero .hint { position: static; transform: rotate(-3deg); margin-top: 22px; text-align: left; } .hero .hint svg { margin-left: 0; transform: scaleX(-1); } }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 2; pointer-events: none; }
.waves svg { width: 200%; height: 100%; animation: drift 18s linear infinite; }
.waves path:nth-child(2) { opacity: .5; }
@keyframes drift { to { transform: translateX(-50%); } }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 34px; text-decoration: none; opacity: .85; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--cream), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- reveal on scroll ---------- */
/* only hidden when JavaScript is running, so content never stays invisible if the script fails */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; } .rv.d4 { transition-delay: .4s; }

/* ---------- scrollytelling stage (shared component) ----------
   <section class="scrolly" data-steps="4" style="--len:4">
     <div class="stage"> .layers > [data-i] ... .steps > [data-i] ... </div>
   </section>
   JS sets --p (0→1) on the section and .on on the layer/step whose data-i matches. */
.scrolly { height: calc(var(--len, 4) * 85vh + 100vh); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.layers > * { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.layers > .on { opacity: 1; }
.layers img { width: 100%; height: 100%; object-fit: cover; }
.steps > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.steps > .on { opacity: 1; transform: none; pointer-events: auto; }
.stage-progress { position: absolute; left: var(--edge); right: var(--edge); bottom: 28px; height: 2px; background: rgba(247,242,232,.25); z-index: 5; }
.stage-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--marigold); }

/* place: tide rising over the creek */
#place .stage { color: var(--cream); }
#place .layers img { transform: scale(calc(1.04 + var(--p, 0) * .1)); transition: none; }
#place .layers > * { transition: opacity 1.2s; }
#place .stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,40,25,.25), rgba(10,40,25,.65)); }
/* the water is a fixed-height block slid upward with transform as you scroll */
.tide-water { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 60%; background: linear-gradient(180deg, rgba(28,121,137,.35), rgba(14,58,34,.9)); transform: translateY(calc((1 - (.2 + var(--p, 0) * .8)) * 100%)); will-change: transform; }
.tide-water svg { position: absolute; left: 0; bottom: 100%; width: 200%; height: 40px; animation: drift 9s linear infinite; }
.place-copy { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; padding: 0 var(--edge); }
.place-copy .steps { position: relative; min-height: 46vh; }
.place-copy .steps > * { position: absolute; inset: 0 auto auto 0; max-width: 640px; }
.fact-num { font-family: var(--serif); font-size: clamp(4rem, 13vw, 10.5rem); line-height: .9; font-weight: 600; color: var(--marigold); display: block; margin-bottom: .1em; letter-spacing: -.03em; }
.fact-txt { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.45; max-width: 26ch; }
.place-copy .src { position: absolute; bottom: 64px; left: var(--edge); font-size: .75rem; opacity: .7; }

/* painting */
.net-figure { max-width: 980px; margin: 0 auto; transform: rotate(-1deg); }
.net-figure .photo { box-shadow: 0 30px 60px rgba(14,58,34,.25); }

/* ---------- flip cards (what usually happens) ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 48px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.flip { perspective: 1200px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; min-height: 330px; }
.flip-inner { position: relative; width: 100%; height: 100%; min-height: inherit; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.face.front { background: var(--cream); border: 1.5px solid rgba(21,84,45,.2); }
.face.back { background: var(--green); color: var(--cream); transform: rotateY(180deg); }
.face .n { font-family: var(--hand); font-size: 1.7rem; color: var(--teal); line-height: 1; }
.face.back .n { color: var(--marigold); }
.face h3 { margin: 0 0 .4em; }
.face p { margin: 0; font-size: .98rem; }
.face .tap { font-family: var(--hand); font-size: 1.25rem; color: var(--ochre); }
.face.back .tap { color: var(--marigold); }
.verdict { margin-top: 56px; font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.2; max-width: 24ch; }

/* ---------- the question: word morph ---------- */
#question { --len: 2.2; }
#question .stage { display: grid; place-items: center; text-align: center; padding: 0 var(--edge); }
.morph-line { font-family: var(--serif); font-size: clamp(2.2rem, 6.4vw, 5.8rem); line-height: 1.1; font-weight: 600; max-width: 15ch; margin: 0 auto; }
.morph { display: inline-block; position: relative; color: var(--marigold); min-width: 5ch; }
.morph::after { content: ""; position: absolute; left: 0; top: 55%; height: .08em; background: var(--cream); width: calc(clamp(0, (var(--p, 0) - .12) * 4, 1) * 100%); opacity: calc(1 - clamp(0, (var(--p, 0) - .42) * 6, 1)); }
.ask-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 54px auto 0; text-align: left; opacity: clamp(0, (var(--p, 0) - .55) * 4, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .55) * 4, 1)) * 30px)); }
.ask-pair div { border-top: 2px solid rgba(247,242,232,.3); padding-top: 16px; }
.ask-pair .hand { display: block; font-size: 1.6rem; margin-bottom: 4px; }
.ask-pair p { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; margin: 0; }
.ask-pair div:last-child p { color: var(--marigold); }
@media (max-width: 700px) { .ask-pair { grid-template-columns: 1fr; } }

/* ---------- approach: the mangrove with five roots ---------- */
.roots-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: 30px; }
@media (max-width: 860px) { .roots-wrap { grid-template-columns: 1fr; } }
.tree svg { width: 100%; height: auto; overflow: visible; }
.tree .root { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; cursor: pointer; transition: stroke .3s, stroke-width .3s; }
.tree .root-hit { fill: none; stroke: transparent; stroke-width: 34; cursor: pointer; }
.tree .root.on { stroke: var(--teal); stroke-width: 10; }
.tree .node { cursor: pointer; }
.tree .node circle { fill: var(--cream); stroke: var(--green); stroke-width: 2.5; transition: fill .3s, stroke .3s, r .3s; }
.tree .node text { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: var(--ink); text-anchor: middle; pointer-events: none; }
.tree .node.on circle { fill: var(--marigold); stroke: var(--marigold); }
.tree .water { fill: var(--teal); opacity: .14; }
.tree .canopy { fill: var(--green); }
.tree .canopy2 { fill: #2f7a47; }
.root-panel { position: relative; min-height: 260px; }
.root-panel article { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity .18s, transform .18s; pointer-events: none; }
.root-panel article.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .5s .15s var(--ease), transform .5s .15s var(--ease); }
.root-panel h3 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--green); }
.root-panel .num { font-family: var(--hand); color: var(--ochre); font-size: 1.5rem; }
.root-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.root-tabs button { border: 1.5px solid rgba(21,84,45,.3); background: none; border-radius: 999px; padding: .4em 1em; font-size: .85rem; cursor: pointer; transition: .25s; }
.root-tabs button.on { background: var(--green); color: var(--cream); border-color: var(--green); }
.catalyst { margin-top: 64px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; max-width: 860px; }
.catalyst .hand { font-size: 1.7rem; white-space: nowrap; padding-top: 2px; }
.catalyst p { margin: 0; }
@media (max-width: 600px) { .catalyst { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- lab journey ---------- */
#lab .stage { display: grid; grid-template-columns: 1fr 1fr; background: var(--mangrove); color: var(--cream); }
#lab .layers { position: relative; height: 100%; }
#lab .layers figure { position: absolute; inset: 0; }
#lab .lab-copy { display: grid; align-content: center; padding: 90px var(--edge) 90px clamp(28px, 5vw, 80px); position: relative; }
#lab .steps { position: relative; min-height: 380px; }
#lab .steps > * { position: absolute; inset: 0; }
.phase-dots { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.phase-dots span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px; border: 1px solid rgba(247,242,232,.25); color: rgba(247,242,232,.6); transition: .4s; }
.phase-dots span.on { background: var(--marigold); border-color: var(--marigold); color: var(--mangrove); font-weight: 600; }
.phase-dots span.done { color: var(--cream); border-color: var(--teal-light); }
#lab h3 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
#lab .weeks { font-family: var(--hand); color: var(--marigold); font-size: 1.5rem; display: block; margin-bottom: 4px; }
@media (max-width: 860px) {
  #lab .stage { grid-template-columns: 1fr; grid-template-rows: 46svh 1fr; }
  #lab .lab-copy { padding: 26px var(--edge) 60px; align-content: start; }
  #lab .steps { min-height: 330px; }
  .phase-dots { margin-bottom: 18px; }
  .phase-dots span { font-size: .62rem; padding: .35em .7em; }
}

/* ---------- nursery story ---------- */
#nursery .stage { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--cream); }
#nursery .layers { position: relative; height: 100%; }
#nursery .layers figure { position: absolute; inset: 0; }
#nursery .n-copy { display: grid; align-content: center; padding: 90px var(--edge) 90px clamp(28px, 5vw, 80px); position: relative; }
#nursery .steps { position: relative; min-height: 360px; }
#nursery .steps > * { position: absolute; inset: 0; }
#nursery .steps p { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.3; }
#nursery .stage-progress { background: rgba(21,84,45,.15); }
.big-count { font-family: var(--serif); font-size: clamp(5rem, 14vw, 11rem); line-height: .9; color: var(--green); font-weight: 600; letter-spacing: -.03em; display: block; }
.big-count small { font-size: .32em; color: var(--teal); letter-spacing: 0; }
.salt { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem) !important; color: var(--green); }
@media (max-width: 860px) {
  #nursery .stage { grid-template-columns: 1fr; grid-template-rows: 44svh 1fr; }
  #nursery .n-copy { padding: 26px var(--edge) 60px; align-content: start; }
}
.since { position: relative; color: var(--cream); overflow: hidden; isolation: isolate; }
.since > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.since::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,58,34,.92) 0%, rgba(14,58,34,.72) 55%, rgba(14,58,34,.35)); }
.since h2 { max-width: 16ch; }
.since .lede, .since p { max-width: 46ch; }

/* ---------- prototypes ---------- */
.proto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: 50px; }
@media (max-width: 960px) { .proto-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proto-grid { grid-template-columns: 1fr; } }
.proto { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: var(--cream); background: var(--green); isolation: isolate; }
.proto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.proto:hover img { transform: scale(1.06); }
.proto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,58,34,0) 35%, rgba(14,58,34,.92)); }
.proto .in { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.proto .tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--marigold); font-weight: 600; }
.proto h3 { margin: .25em 0 .3em; font-size: 1.6rem; }
/* description opens with the grid-rows trick instead of animating height */
.proto .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.proto .more > p { overflow: hidden; min-height: 0; margin: 0; font-size: .92rem; line-height: 1.5; opacity: 0; transition: opacity .5s; }
.proto:hover .more, .proto:focus-within .more { grid-template-rows: 1fr; }
.proto:hover .more > p, .proto:focus-within .more > p { opacity: 1; }
@media (hover: none) { .proto .more { grid-template-rows: 1fr; } .proto .more > p { opacity: 1; } }
.proto.drawn { background: var(--teal); }
.proto.drawn::before { background: linear-gradient(180deg, rgba(14,58,34,0) 45%, rgba(14,58,34,.6)); }
.proto.drawn svg { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); width: 62%; z-index: -1; }

/* ---------- who lives here: species reveal ---------- */
.species { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); margin-top: 48px; }
@media (max-width: 860px) { .species { grid-template-columns: repeat(2, 1fr); } }
.sp { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2.2; background: var(--mangrove); text-align: left; color: var(--cream); }
.sp img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(.6) brightness(.55); transform: scale(1.15); transition: filter .9s var(--ease), transform .9s var(--ease); }
.sp .clue, .sp .name { position: absolute; left: 20px; right: 20px; transition: opacity .5s, transform .6s var(--ease); }
.sp .clue { top: 50%; transform: translateY(-50%); font-family: var(--hand); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; }
.sp .clue small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--marigold); margin-bottom: 8px; }
.sp .name { bottom: 16px; opacity: 0; transform: translateY(10px); }
.sp .name b { font-family: var(--serif); font-size: 1.35rem; display: block; line-height: 1.1; }
.sp .name i { font-size: .8rem; opacity: .85; }
.sp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,58,34,.85)); opacity: 0; transition: opacity .6s; }
.sp.found img { filter: none; transform: none; }
.sp.found .clue { opacity: 0; transform: translateY(-70%); }
.sp.found .name { opacity: 1; transform: none; z-index: 2; }
.sp.found::after { opacity: 1; }
.found-count { font-family: var(--hand); font-size: 1.5rem; color: var(--ochre); margin-top: 18px; }

/* ---------- the women ---------- */
.women-photo { margin-top: 40px; }
.women-photo .photo { aspect-ratio: 16 / 8; }
.women-photo .photo img { object-position: 50% 45%; }
.women-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: 40px; }
@media (max-width: 960px) { .women-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .women-grid { grid-template-columns: 1fr; } }
.woman { background: var(--cream); border-radius: var(--radius); padding: 28px 26px 26px; position: relative; border: 1.5px solid rgba(21,84,45,.14); transition: transform .4s var(--ease), box-shadow .4s; }
.woman:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 20px 40px rgba(14,58,34,.12); }
.woman .badge { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--cream); margin-bottom: 16px; }
.woman h3 { margin: 0 0 .2em; font-size: 1.5rem; }
.woman .role { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.woman blockquote { margin: 0; font-family: var(--hand); font-size: 1.45rem; line-height: 1.2; color: var(--green); }
.marquee { overflow: hidden; margin-top: 70px; border-block: 1px solid rgba(21,84,45,.15); padding-block: 22px; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); font-style: italic; white-space: nowrap; color: var(--green); }
.marquee span::before { content: "\201C"; color: var(--marigold); }
.marquee span::after { content: "\201D"; color: var(--marigold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- impact numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid rgba(247,242,232,.2); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 34px 20px 30px 0; border-bottom: 1px solid rgba(247,242,232,.2); }
.stat b { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: var(--marigold); font-weight: 600; display: block; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; font-size: .95rem; max-width: 22ch; color: #e6dfcf; }

/* ---------- next ---------- */
.next3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 50px; }
@media (max-width: 860px) { .next3 { grid-template-columns: 1fr; } }
.next3 article { border-top: 3px solid var(--teal); padding-top: 22px; }
.next3 h3 { color: var(--green); }
.next3 .hand { display: block; font-size: 1.4rem; margin-bottom: 4px; }

/* ---------- founder ---------- */
.founder .photo { aspect-ratio: 3 / 4; max-width: 440px; transform: rotate(-2deg); box-shadow: 0 30px 60px rgba(14,58,34,.2); }
.founder blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; }
.founder blockquote p:first-child::first-letter { font-size: 3.4em; float: left; line-height: .85; padding: .06em .08em 0 0; color: var(--teal); font-weight: 600; }
.founder .sig { font-family: var(--hand); font-size: 2rem; color: var(--green); margin-top: 18px; line-height: 1; }
.founder .sig small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: .06em; margin-top: 6px; }

/* ---------- partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.partners li { list-style: none; padding: 14px 22px; border-radius: 12px; border: 1.5px solid rgba(21,84,45,.2); font-weight: 600; font-size: .95rem; background: var(--cream); }
.partners li small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.partners { padding: 0; }

/* ---------- contact / footer ---------- */
.contact { text-align: center; }
.contact h2 { max-width: 16ch; margin-inline: auto; }
.contact .lede { margin: 0 auto 36px; }
.contact .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.closing { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); max-width: 26ch; margin: 90px auto 0; line-height: 1.3; color: var(--teal-light); }
footer { background: #0a2a18; color: var(--silt); padding: 50px var(--edge) 40px; font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
footer img { height: 46px; width: auto; }
footer a { color: var(--cream); }

/* ---------- project pages ---------- */
.p-hero { min-height: 82svh; display: grid; align-items: end; color: var(--cream); position: relative; isolation: isolate; overflow: hidden; }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,40,25,.5), rgba(10,40,25,.25) 40%, rgba(10,40,25,.9)); }
.p-hero .wrap { padding-block: 150px 70px; }
.p-hero h1 { max-width: 13ch; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid rgba(21,84,45,.18); border-radius: var(--radius); overflow: hidden; margin-top: 30px; background: var(--cream); }
@media (max-width: 860px) { .glance { grid-template-columns: repeat(2, 1fr); } }
.glance div { padding: 22px; border-right: 1px solid rgba(21,84,45,.12); border-bottom: 1px solid rgba(21,84,45,.12); }
.glance small { display: block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.glance b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; display: block; }
.timeline { position: relative; margin-top: 50px; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--green)); }
.tl { position: relative; padding-bottom: 54px; }
.tl::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 5px var(--cream); }
.tl .weeks { font-family: var(--hand); color: var(--ochre); font-size: 1.4rem; }
.tl h3 { margin: .1em 0 .4em; color: var(--green); }
.tl .split { margin-top: 18px; align-items: start; }
.criteria { counter-reset: c; list-style: none; padding: 0; margin: 20px 0 0; }
.criteria li { counter-increment: c; padding: 12px 0 12px 48px; position: relative; border-bottom: 1px dashed rgba(21,84,45,.2); }
.criteria li::before { content: counter(c); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: var(--cream); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.detail-proto { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 60px); padding-block: 50px; border-top: 1px solid rgba(21,84,45,.15); align-items: start; }
.detail-proto .photo { aspect-ratio: 4 / 5; }
.detail-proto .drawn-ph { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--teal); display: grid; place-items: center; }
.detail-proto .drawn-ph svg { width: 60%; }
@media (max-width: 860px) { .detail-proto { grid-template-columns: 1fr; } .detail-proto .photo, .detail-proto .drawn-ph { aspect-ratio: 16 / 10; } }
.detail-proto .tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.detail-proto h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--green); }
.detail-proto dl { margin: 0; }
.detail-proto dt { font-weight: 600; color: var(--green); margin-top: 14px; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.detail-proto dd { margin: 4px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.chips li { list-style: none; background: var(--paper); border-radius: 999px; padding: .35em .9em; font-size: .85rem; }
.chips li i { color: var(--muted); }
table.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(21,84,45,.15); }
.tbl th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.tbl tfoot td { font-weight: 600; }
.challenges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; align-items: start; }
@media (max-width: 860px) { .challenges { grid-template-columns: 1fr; } }
.challenges details { background: rgba(247,242,232,.06); border: 1px solid rgba(247,242,232,.18); border-radius: var(--radius); padding: 20px 24px; }
.challenges summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.challenges summary::after { content: "+"; color: var(--marigold); font-family: var(--sans); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.challenges details[open] summary::after { transform: rotate(45deg); }
.challenges details p { margin: 12px 0 0; color: #e6dfcf; font-size: .95rem; }
.challenges details p b { color: var(--marigold); font-weight: 600; }
.lessons { counter-reset: l; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 860px) { .lessons { grid-template-columns: 1fr; } }
.lessons article { counter-increment: l; }
.lessons article::before { content: ""; display: block; width: 36px; height: 3px; background: var(--marigold); margin-bottom: 16px; border-radius: 2px; }
.lessons h3 { font-size: 1.3rem; color: var(--green); }
.proj-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px; }
@media (max-width: 760px) { .proj-cards { grid-template-columns: 1fr; } }
.proj-card { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--cream); border: 1.5px solid rgba(21,84,45,.15); transition: transform .4s var(--ease), box-shadow .4s; }
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(14,58,34,.14); }
.proj-card .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.proj-card .in { padding: 24px 26px 28px; }
.proj-card .status { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.proj-card.soon { border-style: dashed; background: transparent; display: grid; place-items: center; text-align: center; padding: 40px; min-height: 300px; }
.proj-card.soon .hand { font-size: 1.8rem; }

/* respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
