/* ============================================================
   KYLE CROSSLEY · Growth River styles
   Warm paper, a moss green stem, blueprint blue holograms.
   body.mode-h  desktop, the river runs sideways
   body.mode-v  phone, the river runs down the page
   ============================================================ */
:root {
  --paper: #F2F0E9;
  --paper2: #E8E5DB;
  --ink: #17191E;
  --muted: #676A62;
  --line: #D6D2C6;
  --moss: #3F6B35;
  --moss2: #8DB36B;
  --holo: #1478DC;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; height: 56px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: linear-gradient(var(--paper) 55%, rgba(242,240,233,0));
}
.brand { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.bar nav { display: flex; gap: 22px; }
.bar nav a { font-size: 14px; text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--ink); }

/* ---------- the world ---------- */
.world { position: relative; }
body.mode-h .world { position: fixed; top: 0; left: 0; will-change: transform; touch-action: pan-y; z-index: 1; }
body.mode-h.dragging, body.mode-h.dragging * { cursor: grabbing !important; user-select: none; }
#scroller { width: 1px; }

.stem-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.strand { fill: none; stroke: var(--moss); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset .45s linear; }
.strand2 { fill: none; stroke: var(--moss2); stroke-width: 2.6; stroke-linecap: round; opacity: .85; transition: stroke-dashoffset .6s linear; }
.deco { opacity: 0; transition: opacity 1.4s ease; }
.deco.on { opacity: 1; }
.shoot { fill: none; stroke: var(--moss); stroke-width: 2; stroke-linecap: round; }
.leaf { fill: #7FA65A; stroke: #4F7A3B; stroke-width: .8; stroke-linejoin: round; }
.rib { fill: none; stroke: #4F7A3B; stroke-width: .7; opacity: .7; }
.moss.a { fill: #5E8A45; } .moss.b { fill: #9BBF6E; } .moss.c { fill: #C5D6A0; }
.tendril { fill: none; stroke: var(--moss); stroke-width: 2; opacity: .8; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease .1s; }
.tendril.on { stroke-dashoffset: 0; }
.bud { fill: var(--moss); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .45s ease .95s; }
.bud.on { transform: scale(1); }
.strand.branch { stroke-width: 4; }
.strand2.branch { stroke-width: 1.8; }
.node.side h2 { font-size: clamp(26px, 2.2vw, 34px); }
.node.side .n-hook { font-size: 16px; margin-bottom: 14px; }
.node.side .n-stage b { color: #8A6A3B; }
.seed.side i { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); border-color: #B89B6E; }
.seed.side.on i { background: #8A6A3B; border-color: #8A6A3B; transform: rotate(45deg) scale(1.3); }
.seed.side span { color: #8A6A3B; }
.knot { fill: var(--paper); stroke: var(--moss); stroke-width: 3.5; }

/* images on the banks */
.it {
  position: absolute; margin: 0; overflow: hidden; border-radius: 3px; cursor: zoom-in;
  background: var(--paper2);
  box-shadow: 0 14px 30px -20px rgba(25,32,18,.55), 0 1px 0 rgba(0,0,0,.04);
  opacity: 0; transform: translateY(12px) scale(.93) rotate(var(--r));
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.it.on { opacity: 1; transform: rotate(var(--r)); }
.it.on:hover, .it:focus-visible { transform: rotate(0deg) scale(1.025); box-shadow: 0 24px 44px -22px rgba(25,32,18,.6); z-index: 5; }
.it:focus-visible { outline: 2px solid var(--holo); outline-offset: 3px; }
.it img, .it video { display: block; width: 100%; height: 100%; object-fit: cover; }
.it img { opacity: 0; transition: opacity .6s ease; }
.it.ok img { opacity: 1; }
.it.hero { box-shadow: 0 30px 60px -34px rgba(25,32,18,.7); }
.it figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
  font-size: 12px; line-height: 1.3; color: #fff;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.62));
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.it:hover figcaption, .it:focus-visible figcaption { opacity: 1; }
.it.film::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: #E2483D; box-shadow: 0 0 0 3px rgba(255,255,255,.7);
}

/* hologram slots in the clearings */
.slot { position: absolute; pointer-events: none; }
.pool, .dl-slot .pool {
  position: absolute; left: 14%; right: 14%; bottom: 4%; height: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20,120,220,.22), rgba(20,120,220,.08) 55%, rgba(20,120,220,0));
}

/* clearing text */
.ctext { position: absolute; opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.ctext.on { opacity: 1; transform: none; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.intro h1 { font-size: clamp(52px, 6.2vw, 96px); line-height: .94; letter-spacing: -0.035em; margin: 0 0 22px; font-weight: 700; }
.intro .lede { font-size: 19px; line-height: 1.45; margin: 0 0 22px; max-width: 30em; }
.hint { font-size: 13px; color: var(--moss); margin: 0; display: flex; align-items: center; gap: 10px; }
.hint::before { content: ""; width: 34px; height: 2px; background: var(--moss); border-radius: 2px; }
body.mode-h .hint-touch, body.mode-v .hint-desk { display: none; }

.node .n-stage, .dl-stage { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.node .n-stage b, .dl-stage b { color: var(--moss); font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.node .n-stage b::after, .dl-stage b::after { content: ""; display: inline-block; vertical-align: middle; width: 26px; height: 1px; background: var(--line); margin-left: 12px; }
.node .n-meta { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.node h2 { font-size: clamp(34px, 3.3vw, 52px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 8px; }
.node .n-sub { margin: 0 0 14px; font-size: 17px; color: var(--muted); }
.node .n-hook { margin: 0 0 22px; font-size: 18px; line-height: 1.4; }
.n-open {
  display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none;
  font-size: 16px; font-weight: 700; color: var(--ink);
  padding-bottom: 4px; border-bottom: 2px solid var(--moss);
}
.n-open::after { content: "\2192"; font-weight: 400; transition: transform .2s ease; }
.n-open span { font-size: 13px; font-weight: 400; color: var(--muted); order: 2; }
.n-open:hover::after { transform: translateX(4px); }

/* ---------- all projects on one page ---------- */
.index { position: fixed; inset: 0; z-index: 42; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
.index[hidden] { display: none; }
.ix-inner { max-width: 1320px; margin: 0 auto; padding: 84px 48px 110px; }
.ix-inner > h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.035em; line-height: 1; margin: 0 0 8px; }
.ix-inner > p { color: var(--muted); margin: 0 0 36px; font-size: 16px; }
.ix-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.ix-row:last-child { border-bottom: 1px solid var(--line); }
.ix-stage b { display: block; color: var(--moss); font-size: 22px; letter-spacing: .02em; }
.ix-stage span { font-size: 13px; color: var(--muted); }
.ix-text h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.025em; margin: 0 0 4px; line-height: 1.05; }
.ix-text .sub { color: var(--muted); margin: 0 0 10px; }
.ix-text .hook { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.ix-text .open { font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--moss); padding-bottom: 2px; }
.ix-strip { display: flex; gap: 8px; height: 150px; }
.ix-strip img { height: 100%; flex: 1 1 0; min-width: 0; object-fit: cover; border-radius: 2px; background: var(--paper2);
  transition: flex-grow .35s ease; }
.ix-row:hover .ix-strip img:first-child { flex-grow: 1.8; }
.ix-row:hover h3 { color: var(--moss); }
.ix-close { position: fixed; top: 10px; right: 18px; z-index: 2; background: rgba(242,240,233,.94); padding: 6px 10px; border-radius: 4px; border: 0; color: var(--moss); font-size: 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.ix-close::before { content: ""; width: 18px; height: 2px; background: var(--moss); }
/* the project tree */
.ix-tree-wrap { position: relative; }
.ix-title { position: absolute; left: 32px; top: 52px; max-width: 380px; z-index: 2; pointer-events: none; padding: 12px 16px 16px; background: radial-gradient(farthest-side at 40% 50%, rgba(242,240,233,.96) 70%, rgba(242,240,233,0)); }
.ix-title h2 { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -0.035em; line-height: 1; margin: 0 0 10px; }
.ix-title p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.ix-tree { display: block; }
@media (min-width: 760px) and (max-height: 799px) {
  .ix-title { top: 40px; max-width: 330px; }
  .ix-title h2 { font-size: 46px; margin-bottom: 6px; }
  .ix-title p { font-size: 13px; line-height: 1.45; }
}
.tr-ground { fill: none; stroke: #6E7F55; stroke-width: 2; }
.tr-earth { fill: #B8714A; }
.tr-strata { fill: none; stroke: #9A5A38; stroke-width: 1.2; opacity: .7; }
.tr-pebble { fill: #8E5434; opacity: .6; }
.tr-print { fill: #C47A4E; stroke: #8E4F2E; stroke-width: 1; stroke-linejoin: round; }
.tr-printline { fill: none; stroke: #9C5C38; stroke-width: .8; opacity: .8; }
.tr-niche, .tr-door { fill: #7A4126; }
.tr-kalasha { fill: #D9A441; }
.tr-pond { fill: #9CC3CF; stroke: #6F9AA8; stroke-width: 1.2; }
.tr-ripple { stroke: #F2F0E9; stroke-width: 1.2; stroke-linecap: round; opacity: .8; }
.tr-far { opacity: .58; }
.tr-print-top { fill: #D59468; stroke: #8E4F2E; stroke-width: .8; stroke-linejoin: round; }
.tr-print-end { fill: #A9603A; stroke: #8E4F2E; stroke-width: .8; stroke-linejoin: round; }
.tr-print-hole { fill: #7E432A; }
.tr-wet { fill: none; stroke: #6E3520; stroke-width: 2.4; stroke-linecap: round; }
.tr-bamboo-l { fill: none; stroke: #B79A5C; stroke-width: 3; stroke-linecap: round; }
.tr-glass { fill: rgba(220,236,240,.55); stroke: #7F9EA6; stroke-width: .9; }
.tr-glass-l { fill: rgba(220,236,240,.45); stroke: #7F9EA6; stroke-width: 1; stroke-linejoin: round; }
.tr-algae { fill: #6FA84A; } .tr-algae.b { fill: #4E8A3A; }
.tr-bubble { fill: rgba(255,255,255,.75); }
.tr-pipe { fill: none; stroke: #8A8F86; stroke-linecap: round; }
.tr-tank { fill: rgba(225,236,236,.6); stroke: #7F9EA6; stroke-width: 1.1; }
.tr-tank-top { fill: #DCE6E6; stroke: #7F9EA6; stroke-width: 1.1; }
.tr-liq-moss { fill: #6E9F48; } .tr-liq-alg { fill: #D9A441; } .tr-liq-water { fill: #8EC3D3; } .tr-liq-earth { fill: #A9603A; }
.tr-mixer { fill: #5A5E57; }
.tr-steel { fill: none; stroke: #4A4E47; stroke-linecap: round; }
.tr-sack { fill: #D8C49A; stroke: #A08A5C; stroke-width: 1; }
.tr-earth-heap { fill: #B8714A; }
.tr-drum { fill: #8A8F86; stroke: #5A5E57; stroke-width: 1; }
.tr-cable { fill: none; stroke: #3A3D36; stroke-width: 1.2; }
.tr-head { fill: #3A3D36; }
.tr-bead { fill: none; stroke: #A9603A; stroke-width: 3; stroke-linecap: round; }
.tr-hose { fill: none; stroke: #7A7F76; stroke-width: 2.2; stroke-dasharray: 1 0; }
.index .tr-hose { stroke-dasharray: none; }
.tr-limb { fill: none; stroke: #2A2D27; stroke-linecap: round; stroke-linejoin: round; }
.tr-hair { fill: #1B1C19; }
.tr-laptop-l { fill: none; stroke: #4A4E47; stroke-linecap: round; }
.tr-grass { fill: none; stroke: #7FA65A; stroke-width: 1.2; stroke-linecap: round; }
.tr-culm { fill: #D9C48E; stroke: #8A7340; stroke-width: 1; }
.tr-node { stroke: #8A7340; stroke-width: 1.4; }
.tr-roof { fill: #CBB47A; stroke: #7A6434; stroke-width: 1.4; }
.tr-weave path { fill: none; stroke: #8A7340; stroke-width: .8; opacity: .8; }
.tr-desk, .tr-laptop { fill: #3A3D36; }
.tr-deskleg, .tr-personline { fill: none; stroke: #2A2D27; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.tr-person { fill: #2A2D27; }
.tr-screenglow { animation: tr-flick 3.2s ease-in-out infinite; }
@keyframes tr-flick { 50% { opacity: .65; } }
.tr-strand { fill: none; stroke: #5A4E32; stroke-linecap: round; }
.tr-strand.b { stroke: #7A6A44; }
.tr-strand.side { stroke: #8A6A3B; }
.tr-root-under { fill: none; stroke: #6A4A30; stroke-linecap: round; opacity: .9; }
.index .tr-root-under { stroke-dasharray: 1; stroke-dashoffset: 1; }
.index.grown .tr-root-under { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.3,.6,.3,1) var(--d, 0s); }
.tr-root { fill: none; stroke: #5A4E32; stroke-linecap: round; }
.tr-vine, .tr-backvine { fill: none; stroke: var(--moss); stroke-linecap: round; }
.tr-backvine { stroke: #A9BE8C; }
.tr-back { opacity: .7; }
.tr-leaf { fill: #7FA65A; stroke: #4F7A3B; stroke-width: .8; }
.tr-leaf.side { fill: #B5A26A; stroke: #8A6A3B; }
.tr-leaf.back { fill: #C7D6AE; stroke: #A9BE8C; }
.tr-rib { fill: none; stroke: #4F7A3B; stroke-width: .6; opacity: .6; }
.tr-stalk { fill: none; stroke: #5A4E32; stroke-width: 1.6; }
.tr-ring { fill: var(--paper); stroke: var(--moss); stroke-width: 2.5; }
.tr-fruit-a.side .tr-ring { stroke: #8A6A3B; }
.tr-stage, .tr-name { paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.tr-stage { font: 700 12px var(--font); fill: var(--moss); letter-spacing: .04em; }
.tr-fruit-a.side .tr-stage { fill: #8A6A3B; }
.tr-name { font: 700 15px var(--font); fill: var(--ink); }
.tr-fruit-a { cursor: pointer; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.tr-fruit-a:hover, .tr-fruit-a:focus-visible { transform: rotate(-4deg); }
.tr-fruit-a:hover .tr-name { fill: var(--moss); }
.tr-fruit-a:focus-visible { outline: none; }
.tr-fruit-a:focus-visible .tr-ring { stroke: var(--holo); stroke-width: 4; }
/* growing in */
.index .tr-strand, .index .tr-root, .index .tr-vine, .index .tr-backvine { stroke-dasharray: 1; stroke-dashoffset: 1; }
.index.grown .tr-strand, .index.grown .tr-root, .index.grown .tr-vine, .index.grown .tr-backvine { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.3,.6,.3,1) var(--d, 0s); }
.index .tr-leaves, .index .tr-back .tr-leaf { opacity: 0; transition: opacity 1.2s ease 1.6s; }
.index.grown .tr-leaves, .index.grown .tr-back .tr-leaf { opacity: 1; }
.index .tr-fruit-a { opacity: 0; }
.index.grown .tr-fruit-a { opacity: 1; transition: opacity .7s ease var(--d, 1.5s), transform .5s cubic-bezier(.3,1.6,.5,1); }
.index .tr-art { opacity: 0; transition: opacity 1.2s ease .8s; }
.index.grown .tr-art { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .index * { transition: none !important; animation: none !important; } }

@media (max-width: 759px) {
  .ix-inner { padding: 64px 14px 90px; }
  .ix-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .ix-stage { display: flex; gap: 10px; align-items: baseline; }
  .ix-stage b { font-size: 16px; }
  .ix-strip { height: 92px; gap: 5px; }
  .ix-strip img:nth-child(n+4) { display: none; }
  .ix-close { right: 14px; }
  .ix-title { position: static; max-width: none; padding: 58px 16px 0; background: none; }
  .ix-title p { font-size: 13px; }
  .tr-name { font-size: 12px; }
  .tr-stage { font-size: 10px; }
}

.outro h2 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 12px; }
.outro p { font-size: 16px; line-height: 1.5; margin: 0 0 16px; }
.outro #contact { margin-top: 34px; }
body.mode-h .ctext.outro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
body.mode-h .outro #contact { margin-top: 0; padding-top: 4px; }
.awards { list-style: none; padding: 0; margin: 0; }
.awards li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--ink); }
.awards li span { color: var(--moss); font-weight: 700; font-size: 13px; padding-top: 1px; }
.awards li em { font-style: normal; }
.awards li b { font-weight: 700; }
.awards-head { margin-top: 22px !important; }
.mail { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; border-bottom: 2px solid var(--moss); }
.socials { display: flex; gap: 18px; margin-top: 14px !important; }
.restart a { color: var(--moss); font-size: 14px; }

/* ---------- hologram canvas and dock ---------- */
#holo-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 20; }
body.delta-open #holo-canvas { z-index: 45; }
.dock {
  position: fixed; left: 18px; bottom: 74px; z-index: 19;
  display: flex; align-items: center; gap: 4px; padding: 0 16px 0 0;
  background: rgba(246,245,240,.97); border: 1px solid var(--line); box-shadow: 0 16px 34px -22px rgba(25,32,18,.5);
  border-radius: 70px; cursor: pointer; text-align: left;
}
.dock[hidden] { display: none; }
.dock-slot { width: 112px; height: 112px; display: block; }
.dock-label { display: flex; flex-direction: column; gap: 3px; font-size: 14px; max-width: 160px; }
.dock-label b { font-size: 11px; letter-spacing: .1em; color: var(--moss); }
.dock:hover .dock-label span { text-decoration: underline; }

/* ---------- timeline ribbon ---------- */
.ribbon {
  position: fixed; inset: auto 0 0 0; height: 66px; z-index: 30;
  background: linear-gradient(rgba(242,240,233,0), var(--paper) 45%);
}
.rb-track { position: absolute; left: 40px; right: 40px; bottom: 24px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rb-fill { position: absolute; inset: 0; background: var(--moss); transform-origin: left; transform: scaleX(0); }
.rb-seeds { position: absolute; left: 40px; right: 40px; bottom: 25px; height: 0; }
.seed {
  position: absolute; bottom: -9px; transform: translateX(-50%);
  background: none; border: 0; padding: 4px; cursor: pointer;
}
.seed i { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--moss2); transition: transform .25s ease, background .25s ease; }
.seed.past i { background: var(--moss2); }
.seed.on i { background: var(--moss); border-color: var(--moss); transform: scale(1.35); }
.seed span { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.seed span em { font-style: normal; display: none; margin-left: 6px; color: var(--ink); }
.seed.on span { color: var(--ink); font-weight: 700; }
.seed:hover span em { display: inline; font-weight: 400; }
.seed:hover span { z-index: 2; background: var(--paper); padding: 0 4px; }
.seed:hover i { transform: scale(1.3); }
.seed.edge-l span { left: 0; transform: none; }
.seed.edge-r span { left: auto; right: 0; transform: none; }

/* ---------- the delta: one project opened up ---------- */
.delta { position: fixed; inset: 0; z-index: 40; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
.delta[hidden] { display: none; }
.dl-inner { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 56px; padding: 72px 48px 120px; max-width: 1640px; margin: 0 auto; }
.dl-info { position: sticky; top: 72px; align-self: start; max-height: calc(100vh - 96px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.dl-back { background: none; border: 0; padding: 0; color: var(--moss); cursor: pointer; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.dl-back::before { content: ""; width: 18px; height: 2px; background: var(--moss); }
.dl-slot { position: relative; width: 100%; height: min(400px, 44vh); margin: 4px 0 6px; }
.dl-info h2 { font-size: clamp(34px, 3vw, 48px); letter-spacing: -0.03em; line-height: 1; margin: 14px 0 6px; }
.dl-sub { color: var(--muted); margin: 0 0 14px; font-size: 17px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.dl-desc { font-size: 16px; line-height: 1.55; margin: 0 0 16px; }
.dl-facts { list-style: none; padding: 0; margin: 0 0 16px; }
.dl-facts li { padding: 7px 0 7px 18px; border-top: 1px solid var(--line); font-size: 14px; position: relative; }
.dl-facts li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--moss2); }
.dl-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.dl-links a { font-size: 14px; color: var(--holo); }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-actions a { font-size: 14px; text-decoration: none; padding: 9px 15px; border-radius: 22px; border: 1px solid var(--line); }
.dl-actions .dl-next { background: var(--ink); color: #fff; border-color: var(--ink); }
.dl-actions a:hover { border-color: var(--moss); }
.dl-actions .dl-next:hover { background: var(--moss); border-color: var(--moss); }
.dl-river { min-width: 0; }
.dl-world { position: relative; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(16,18,14,.95); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 80px 96px; }
.lb-stage img, .lb-stage video { max-width: calc(100vw - 170px); max-height: calc(100vh - 160px); object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lb-stage img.lo { filter: blur(2px); }
.lb-btn { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 16px; right: 18px; font-size: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: rgba(255,255,255,.82); font-size: 14px; }
.lb-cap b { color: #fff; margin-right: 6px; }
.lb-count { color: rgba(255,255,255,.5); }
.lb-onward { margin-left: auto; color: #fff; background: var(--moss); text-decoration: none; padding: 8px 14px; border-radius: 20px; }
.lb-onward[hidden] { display: none; }

.nojs { position: fixed; inset: 0; display: grid; place-items: center; background: var(--paper); z-index: 99; }

/* ---------- phone ---------- */
body.mode-v .bar { padding: 0 14px; height: 52px; }
body.mode-v .bar nav { gap: 14px; }
body.mode-v .bar nav a:first-child { display: none; }
body.mode-v .intro h1 { font-size: 52px; }
body.mode-v .intro .lede { font-size: 17px; }
body.mode-v .ctext { padding-left: 22px; }
body.mode-v .node h2 { font-size: 36px; }
body.mode-v .node .n-hook { font-size: 17px; }
body.mode-v .outro h2 { font-size: 34px; }
body.mode-v .mail { font-size: 20px; }
body.mode-v .it figcaption { display: none; }
body.mode-v .dock { left: 10px; bottom: 62px; padding-right: 12px; gap: 2px; }
body.mode-v .dock-slot { width: 58px; height: 58px; }
body.mode-v .dock-label { font-size: 12px; max-width: 120px; }
body.mode-v .ribbon { height: 56px; }
body.mode-v .rb-track, body.mode-v .rb-seeds { left: 22px; right: 22px; }
body.mode-v .rb-track { bottom: 20px; }
body.mode-v .rb-seeds { bottom: 21px; }
body.mode-v .seed span { display: none; }
body.mode-v .seed.on span { display: block; }
body.mode-v .seed.on span em { display: none; }
@media (max-width: 759px) {
  .dl-inner { grid-template-columns: 1fr; gap: 18px; padding: 62px 14px 90px; }
  .dl-info { position: static; max-height: none; overflow: visible; padding: 0; }
  .dl-slot { height: 300px; }
  .lb-stage { padding: 56px 8px 110px; }
  .lb-stage img, .lb-stage video { max-width: calc(100vw - 16px); max-height: calc(100vh - 190px); }
  .lb-prev, .lb-next { top: auto; bottom: 66px; transform: none; width: 42px; height: 42px; }
  .lb-cap { bottom: 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .it, .ctext, .deco, .tendril, .bud, .strand, .strand2 { transition: none !important; }
}
