/* one voice for the whole page: obel mono (typographic.systems, SIL OFL 1.1), one variable file, served from the site itself */
@font-face { font-family: "Obel Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/ObelMono-VF.woff2") format("woff2"); }
/* =====================================================================
   yū studio ~ lime signal on an ink field. one voice: obel mono.
   ===================================================================== */
:root { --fs-h: clamp(28px, 3.9vw, 70px);   /* one size for every section heading: the directions, the method line, the closing line */
  --ink: #0b0b0c;
  --ink-2: #141600;
  --lime: #dafe04;
  --milk: #ecebe8;
  --mute: rgba(236, 235, 232, .5);
  --f: "Obel Mono", ui-monospace, Menlo, monospace;
  --f-head: var(--f);
  --gutter: clamp(18px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  /* one clock for the page: pointer feedback is quick, a state in a list steps, what the scroll reveals takes its time, the frame itself is slow */
  --quick: 160ms;
  --step: 240ms;
  --reveal: 400ms;
  --slow: 700ms;
  --tex-lime: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.855 0 0 0 0 0.996 0 0 0 0 0.016 0 0 0 -11 7.7'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-milk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.925 0 0 0 0 0.92 0 0 0 0 0.91 0 0 0 -11 7.7'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.078 0 0 0 0 0.086 0 0 0 0 0 0 0 0 -11 7.7'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  --tone: #c2dc12;
  /* type grows a little with wide screens: 14 px at a laptop, 17 px on a 2560 monitor; phones keep the floor */
  --fs: clamp(14px, .85vw, 17px);
  --fs-m: var(--fs);   /* one body size: the header, the steps and the index read at the same size as the running text */
  --fs-s: clamp(12px, .72vw, 14px);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--ink); overflow-x: clip; scrollbar-width: thin; scrollbar-color: var(--lime) var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--ink); color: var(--milk); font: 400 14px/1.6 var(--f); font-size: var(--fs); font-feature-settings: "ss02"; letter-spacing: .03em; text-transform: lowercase; overflow-x: clip; -webkit-font-smoothing: antialiased; caret-color: var(--lime); accent-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink-2); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, p { font-weight: inherit; }
:focus-visible { outline: 1px solid var(--lime); outline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mk { width: 2.05em; height: 1em; display: inline-block; vertical-align: -.1em; fill: currentColor; }

/* every piece of type carries the print: worn for display, fine for labels */
/* one print for every heading: the colour itself is worn, painted once into the glyphs (no masks, no filters: nothing to recompute while scrolling) */
.fx-worn, .fx-worn .ln { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 170px 170px; background-image: var(--tex, var(--tex-milk)); }
.fx-worn { padding: .12em .2em; margin: -.12em -.2em; }
.tex-lime, .big .ln:first-child { --tex: var(--tex-lime); }
.big .ln + .ln { --tex: var(--tex-milk); }
/* a shadow would paint over glyphs whose fill is the texture, so the halo is a soft dark field behind the block instead */
.big { position: relative; isolation: isolate; }
.big::before { content: ""; position: absolute; z-index: -1; inset: -45% -18% -45% -12%; background: radial-gradient(closest-side, rgba(11, 11, 12, .82), rgba(11, 11, 12, .55) 55%, transparent); pointer-events: none; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- surfaces ---------- */
#gl { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; pointer-events: none; opacity: 0; transition: opacity var(--slow) var(--ease); }
.gl-ready #gl { opacity: 1; }
main { position: relative; z-index: 2; }

/* ---------- the note panel: the footer form, folded into the corner ---------- */
.panel { transform-origin: 100% 0; animation: panel-in 220ms var(--ease) both; }
.panel.closing { animation: panel-out 140ms var(--ease-in) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px) scale(.985) } }
@keyframes panel-out { to { opacity: 0; transform: translateY(-4px) } }
.panel { position: fixed; z-index: 20; right: var(--gutter); top: 64px; width: min(360px, calc(100vw - 2 * var(--gutter))); padding: 18px 20px 20px; background: rgba(11, 11, 12, .92); color: var(--milk); box-shadow: inset 0 0 0 1px rgba(218, 254, 4, .5), 0 0 40px 6px rgba(218, 254, 4, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--lime); margin-bottom: 12px; }
.panel-close { background: none; border: 0; color: var(--milk); font: 400 16px/1 var(--f); cursor: pointer; padding: 2px 6px; transition: color var(--quick) ease-out; }
.panel-close:hover, .panel-close:focus-visible { color: var(--lime); }
.panel .note-form { margin: 0; max-width: none; }
.panel .note-form input, .panel .note-form textarea { color: var(--milk); border-bottom-color: rgba(236, 235, 232, .3); }
.panel .note-form input::placeholder, .panel .note-form textarea::placeholder { color: rgba(236, 235, 232, .35); font-size: 9px; }
.panel .note-form input:focus, .panel .note-form textarea:focus { border-bottom-color: var(--lime); }
.panel .note-send button { color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.panel .note-send button:hover, .panel .note-send button:focus-visible { background: var(--lime); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--lime), 0 0 30px 4px rgba(218, 254, 4, .35); }
.panel .note-send p { color: var(--mute); }

/* ---------- top bar: three small words, nothing moves ---------- */
.top { position: fixed; z-index: 10; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 24px var(--gutter); font-size: var(--fs-m); color: var(--milk); transition: color var(--slow) var(--ease); pointer-events: none; }
.top > * { pointer-events: auto; }
/* ---------- the rail: a hairline at the right edge with five stops; the dot is the camera ---------- */
.rail { position: fixed; z-index: 10; right: calc(var(--gutter) + 4px); top: 50%; height: 30vh; transform: translateY(-50%); display: grid; grid-template-rows: repeat(5, 1fr); align-items: start; font-size: var(--fs-s); letter-spacing: .1em; color: var(--mute); }
.rail::before { content: ""; position: absolute; right: -4px; top: 0; bottom: 0; width: 1px; background: rgba(218, 254, 4, .22); }
.rail a { position: relative; display: block; padding-right: 14px; line-height: 1; transform: translateY(-50%); transition: color var(--quick) ease-out; }
.rail a::after { content: ""; position: absolute; right: -6px; top: 50%; width: 5px; height: 1px; background: rgba(218, 254, 4, .5); }
.rail a:hover, .rail a:focus-visible, .rail a.on { color: var(--lime); }
.rail-dot { position: absolute; right: -6px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px 1px rgba(218, 254, 4, .6); transform: translate(0, -50%); will-change: transform; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) { .rail { display: none; } }
.progress { display: none; position: fixed; z-index: 11; left: 0; top: 0; width: 100%; height: 1px; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); opacity: .8; pointer-events: none; will-change: transform; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) { .progress { display: block; } }
.at-end .progress { opacity: 0; transition: opacity 500ms var(--ease); }
.at-end .rail { opacity: 0; transition: opacity 500ms var(--ease); pointer-events: none; }
.top::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; background: linear-gradient(#0b0b0c 0%, #0b0b0c 58%, rgba(11, 11, 12, 0)); pointer-events: none; }   /* solid behind the header's own line: nothing that scrolls or flies past is read through it */
.brand { display: inline-flex; align-items: center; gap: .6em; font-weight: 500; justify-self: start; }
.brand .mk { width: 2.4em; height: 1.2em; color: var(--lime); transition: color var(--slow) var(--ease); }
.chapter { display: flex; gap: 10px; }
.chapter .site { color: var(--mute); }
.chapter .sep { color: var(--lime); opacity: .7; }
.chapter [data-chn], .chapter [data-cht] { display: inline-block; will-change: transform, opacity; }
.chapter [data-chn] { color: var(--lime); }
.chapter [data-cht] { opacity: .7; }
.talk-link { justify-self: end; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; padding: 14px 12px; margin: -10px -12px; transition: color var(--quick) ease-out; }   /* a finger-sized target, same place on the page */
.talk-link:hover, .talk-link:focus-visible { color: var(--lime); }
.talk-link[aria-expanded="true"] { color: var(--lime); }

/* ---------- 00 · field ---------- */
.field { position: relative; }
.js .field { height: 130vh; }
.stage { position: relative; min-height: 100svh; padding: 34vh var(--gutter) 5vh; display: grid; align-content: end; justify-items: center; text-align: center; gap: 18px; }
.js .stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
.hud { position: absolute; display: flex; flex-direction: column; gap: 4px; color: var(--mute); white-space: nowrap; font-size: var(--fs-s); text-align: left; }
.hud-tl { left: var(--gutter); top: 88px; }
.hud-tr { right: var(--gutter); top: 88px; text-align: right; }
.hud-bl { left: var(--gutter); bottom: 26px; }
.hud-br { right: var(--gutter); bottom: 26px; text-align: right; }
.cue-btn { background: none; border: 0; padding: 8px 0 8px 12px; margin: -8px 0 -8px -12px; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; z-index: 3; }
.cue-btn b { font-weight: 400; }
.cue-btn:focus-visible { outline: none; }
.cue-btn b { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--quick) ease-out; }
.cue-btn:hover b, .cue-btn:focus-visible b, .autoplay .cue-btn b { text-decoration-color: currentColor; }
.cue { color: var(--lime); display: inline-grid; justify-items: end; gap: 6px; }
.cue b { font-weight: 400; }
.cue-line { width: 12px; height: 56px; overflow: visible; }
.wave-line { width: 96px; height: 12px; overflow: visible; align-self: flex-end; }
.cue-line path, .wave-line path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wave-line { color: var(--lime); opacity: .8; }
/* the display lines take obel mono's handwritten set: the single-storey a and g, the open forms; the body keeps the plain set */
.dir-title, .big, .talk-title, .manifesto .mf-head { font-family: var(--f-head); font-feature-settings: "ss02"; }
.sub { color: var(--mute); font-size: 11px; }

/* ---------- 01 · make ---------- */
.make { position: relative; padding: 12vh var(--gutter) 26vh; }
.label { color: var(--mute); font-size: var(--fs-s); margin-bottom: clamp(36px, 7vh, 80px); }
.dirs { display: grid; gap: clamp(64px, 16vh, 170px); }
@media (min-width: 861px) and (min-aspect-ratio: 9/10) { .dirs { gap: clamp(140px, 34vh, 360px); } }   /* desktop: a full beat between directions, so each form has the frame to itself */
/* the register: a large outlined numeral in front of every direction; the one in view fills with lime */
.dir { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(14px, 2vw, 30px); align-items: baseline; }
.dir-n { grid-row: 1 / 4; align-self: start; font-family: var(--f-head); font-feature-settings: "ss02", "cv01"; font-weight: 200; font-size: clamp(56px, 7.6vw, 132px); line-height: .82; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(218, 254, 4, .5); font-variant-numeric: tabular-nums; transition: color 600ms var(--ease), -webkit-text-stroke-color 600ms var(--ease); }
.dir-n i { font-style: normal; -webkit-text-stroke-color: rgba(218, 254, 4, .2); transition: -webkit-text-stroke-color 600ms var(--ease); }   /* the leading zero stays quiet */
.dir.on .dir-n { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.dir.on .dir-n i { color: transparent; -webkit-text-stroke-color: rgba(218, 254, 4, .55); }
@media (hover: hover) { .dir:hover .dir-n { -webkit-text-stroke-color: var(--lime); } }
.dir-title, .dir-text { grid-column: 2; }
.dir-title { width: max-content; max-width: none; font-size: var(--fs-h); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--milk); white-space: nowrap; }   /* one line beside its numeral, the longest title included; the box is as wide as the words, since the print is painted inside the box only (background-clip: text) and a letter past its edge would vanish */
/* big titles arrive by a wipe on the compositor: no text repaints, no relayout */
.js .reveal { opacity: 0; transform: translateX(-28px); }
.js .reveal.on { animation: arrive 640ms var(--ease) forwards; }
@keyframes arrive { to { opacity: 1; transform: none } }
.dir-text { margin-top: 14px; max-width: 44ch; min-height: 2.4em; color: var(--mute); font-size: var(--fs); transition: color 600ms var(--ease); }
.dir.on .dir-text { color: rgba(236, 235, 232, .78); }
/* what the client holds at the end: a file, an address, a handle */

/* ---------- 02 · method ---------- */
.method { position: relative; }
.js .method { height: 300vh; }
.method-stage { position: relative; min-height: 100svh; padding: 14vh var(--gutter) 8vh; display: grid; grid-template-rows: auto 1fr auto; }
.js .method-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
.method .label { margin: 0; }
.big { align-self: start; justify-self: start; margin-top: 5vh; display: block; font-size: var(--fs-h); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; color: var(--lime); white-space: nowrap; }
.big .ln { display: block; width: max-content; }
.big .ln + .ln { color: var(--milk); }
.big .ln + .ln, .talk-title .ln + .ln { background-image: none; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(236, 235, 232, .92); }   /* the second line is drawn, not printed */
.steps { display: flex; gap: clamp(20px, 4vw, 60px); font-size: var(--fs-m); }
.steps li { color: var(--mute); display: flex; gap: 8px; transition: color var(--step) ease-out; }
.steps li span { color: var(--lime); opacity: .5; transition: opacity var(--step) ease-out; }
.steps li.lit { color: var(--milk); }
.steps li.lit span { opacity: 1; }

/* ---------- 03 · work ---------- */
.work { position: relative; }
.js .work { height: 190vh; }
.work-stage { position: relative; min-height: 100svh; padding: 14vh var(--gutter) 8vh; display: grid; grid-template-rows: auto 1fr; }
.js .work-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
.work .label { margin: 0; justify-self: start; }
.index { align-self: end; justify-self: start; display: grid; gap: 10px; font-size: var(--fs-m); }   /* as wide as its words: the box is what a passing pane is tested against */
.index li { display: grid; grid-template-columns: 24px auto; gap: 8px 10px; color: var(--mute); transition: color var(--step) ease-out; }
.index li span { color: var(--lime); opacity: .45; transition: opacity var(--step) ease-out; }
.index li em { grid-column: 2; font-style: normal; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 320ms ease-out, max-height 320ms ease-out; }
.index li.on { color: var(--milk); }
.index li.on span { opacity: 1; }
.index li.on em { opacity: .6; max-height: 2em; }
/* a transmission on air: the index entry is a link */
.index .work-link { color: inherit; pointer-events: auto; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color var(--quick) ease-out, text-decoration-color var(--quick) ease-out; }
.index .work-link:hover, .index .work-link:focus-visible { color: var(--lime); text-decoration-color: currentColor; }
.index li.live em { opacity: .6; max-height: 2em; }

/* ---------- 04 · talk: back to the dark field; the tone hangs beside the line with the mark on it ---------- */
.talk { position: relative; min-height: 92svh; display: grid; align-content: end; padding: 16vh var(--gutter) 0; color: var(--milk); }
.talk-inner { display: grid; gap: 22px; align-content: start; max-width: 720px; }
.talk-title { justify-self: start; font-size: var(--fs-h); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; margin-bottom: 4px; position: relative; isolation: isolate; }
.talk-title .ln { display: block; width: max-content; }
.talk-title .ln:first-child { --tex: var(--tex-lime); }
.talk-title .ln + .ln { --tex: var(--tex-milk); }
.talk-title::before { content: ""; position: absolute; z-index: -1; inset: -45% -18% -45% -12%; background: radial-gradient(closest-side, rgba(11, 11, 12, .8), rgba(11, 11, 12, .5) 55%, transparent); pointer-events: none; }
.talk-note { font-size: var(--fs-m); color: var(--mute); }
.talk-link { transition: color var(--quick) ease-out, opacity 500ms var(--ease); }   /* both: the hover colour and the step aside at the end */
.at-end .talk-link { opacity: 0; pointer-events: none; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links a { display: inline-block; padding: 12px 20px; font-size: var(--fs); font-weight: 500; color: var(--lime); box-shadow: inset 0 0 0 1px rgba(218, 254, 4, .7), 0 0 14px 0 rgba(218, 254, 4, .12); transition: box-shadow var(--quick) ease-out, background var(--quick) ease-out, color var(--quick) ease-out, transform var(--quick) ease-out; }
.links a:active, .note-send button:active { transform: translateY(1px); transition-duration: 90ms; }
.links a:hover, .links a:focus-visible { background: var(--lime); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--lime), 0 0 30px 4px rgba(218, 254, 4, .35); }
.note-form { display: grid; gap: 16px; max-width: 600px; margin-top: 10px; }
.note-form label { display: grid; gap: 6px; font-size: var(--fs-s); color: var(--mute); }
.note-form input, .note-form textarea { width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(236, 235, 232, .28); background: transparent; color: var(--milk); font: 400 15px/1.5 var(--f); font-size: clamp(16px, .9vw, 18px); letter-spacing: .02em; text-transform: none; outline: none; resize: none; transition: border-color 200ms ease-out; }
/* both fields are the same box: one line, the same line height, the placeholder on the same baseline */
.note-form input, .note-form textarea { display: block; height: 42px; line-height: 26px; box-sizing: border-box; overflow: hidden; }
.note-form input::placeholder, .note-form textarea::placeholder { line-height: 26px; }
.panel .note-form input, .panel .note-form textarea { height: 26px; line-height: 18px; }
.panel .note-form input::placeholder, .panel .note-form textarea::placeholder { line-height: 18px; }
.note-form input:hover, .note-form textarea:hover { border-bottom-color: rgba(236, 235, 232, .5); }
.note-form input::placeholder, .note-form textarea::placeholder { color: rgba(236, 235, 232, .32); font-size: var(--fs-s); letter-spacing: .03em; }
.note-form input:focus, .note-form textarea:focus { border-color: var(--lime); }
.note-send { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--fs-m); color: var(--mute); }
.note-send button { padding: 12px 20px; font: 500 14px/1.4 var(--f); font-size: var(--fs); letter-spacing: .04em; text-transform: lowercase; color: var(--lime); background: transparent; border: 0; box-shadow: inset 0 0 0 1px rgba(218, 254, 4, .7); cursor: pointer; transition: box-shadow var(--quick) ease-out, background var(--quick) ease-out, color var(--quick) ease-out, transform var(--quick) ease-out; }
.note-send button:hover, .note-send button:focus-visible { background: var(--lime); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--lime), 0 0 30px 4px rgba(218, 254, 4, .35); }
.note-send button:disabled { opacity: .5; cursor: progress; transform: none; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 44px 0 24px; font-size: var(--fs-s); color: var(--mute); }
.foot .foot-top { color: var(--milk); text-decoration: none; transition: color var(--quick) ease-out; }
.foot .foot-top:hover, .foot .foot-top:focus-visible { color: var(--lime); }

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .field, .js .method, .js .work { height: auto; }
  .js .stage, .js .method-stage, .js .work-stage { position: static; height: auto; }
  .index li em { opacity: .6; max-height: none; }
  .js .reveal { opacity: 1; transform: none; animation: none; }
  .panel, .panel.closing { animation: none; }
  .sweep.go { animation: none; }
  .big .ln, .dir, .steps li, .index li { transition: none; }
}

/* ---------- phones: the line sits at the top of the method shot so the monolith's log has the lower half; the end leaves room above the title for the tone ---------- */
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  .stage { padding-bottom: 15vh; justify-items: start; }   /* the name at the left gutter, clear of the corner lines and the cue */
  .big { align-self: start; margin-top: 3vh; }
  .method-stage { grid-template-rows: auto auto auto 1fr; }   /* the four steps follow the heading at the top, clear of the log below */
  .steps { margin-top: 38px; }   /* under the heading's construction lines */
  .talk { min-height: 100svh; padding-top: 38svh; }   /* the tone above, the title under it */
  .work-stage { padding-bottom: 13svh; }
  /* one quiet scale on phones: the header, the running text and the index at 13, the small labels at 12, headings at 28 */
  :root { --fs: 13px; --fs-s: 12px; }
  .top { padding: 18px var(--gutter); }
  .talk-title::before { inset: -30% -8% -30% -6%; }   /* the index sits clear of the bottom bar and the menu button; the panes have the upper part */
}

/* ---------- the talk panel: compact, an extra way in rather than a second contact page ---------- */
.panel { width: min(300px, calc(100vw - 2 * var(--gutter))); padding: 12px 14px 14px; }
.panel-head { margin-bottom: 6px; font-size: 10px; }
.panel-close { font-size: 13px; padding: 0 2px; }
.panel .note-form { gap: 8px; }
.panel .note-form label { gap: 2px; font-size: 9px; }
.panel .note-form input, .panel .note-form textarea { padding: 4px 0; font-size: 11px; line-height: 1.4; }
.panel .note-send button { padding: 6px 10px; font-size: 10px; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  .panel { top: 56px; right: 12px; left: 12px; width: auto; }
  .panel .note-form { grid-template-columns: 1fr; }
}

/* ---------- hero call-outs and the chapter sweep ---------- */
.sweep { position: fixed; left: 0; right: 0; top: 0; height: 1px; z-index: 9; background: var(--lime); box-shadow: 0 0 14px 2px rgba(218, 254, 4, .5); opacity: 0; pointer-events: none; }
.sweep.go { animation: sweep 1000ms cubic-bezier(.55, 0, .2, 1) forwards; }
@keyframes sweep { 0% { transform: translateY(0); opacity: 0 } 12% { opacity: .85 } 100% { transform: translateY(100vh); opacity: 0 } }

/* ---------- what we make: the list on the left, the scope pinned on the right ---------- */
.make { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 40vw); column-gap: 5vw; align-items: start; }
.make .label { grid-column: 1 / -1; }
.make .dirs { grid-column: 1; grid-row: 2; }
.scope { grid-column: 2; grid-row: 2; position: sticky; top: calc(50vh - 230px); display: grid; gap: 10px; font-size: 11px; letter-spacing: .1em; color: var(--mute); }
.scope-head, .scope-foot { display: flex; justify-content: space-between; gap: 12px; }
.scope-head [data-scope-ch] { color: var(--lime); }
.scope-head [data-scope-name] { color: var(--milk); }
.scope-cv { width: 100%; height: 420px; display: block; }
.scope-card { display: none; }
.dir { transition: opacity 450ms var(--ease); }
.js .dirs.scoped .dir { opacity: .32; }
@media (max-width: 860px), (max-aspect-ratio: 9/10) { .js .dirs.scoped .dir { opacity: .16; } }   /* phones: the directions passing under the scope stay in the background */
.js .dirs.scoped .dir.on { opacity: 1; }
@media (max-width: 860px), (max-aspect-ratio: 9/10) {
  .make { display: block; }
  /* phones: the form has the top third to itself, centred; the direction in view sits right under it and the ones already read are gone */
  /* the form and its direction hold the middle of the screen as one group (28vh + 3vh + the card's 160px): it scrolls up
     into place with the chapter and stays there, so nothing is left hanging over an empty lower half */
  .scope { position: sticky; top: max(72px, calc(34.5svh - 80px)); z-index: 1; margin: 0 0 4vh; width: 100%; height: auto; display: block; }
  .scope-cv { height: 28vh; }
  /* one direction at a time, always in the same place: the list itself only measures the scroll */
  .js .scope-card { display: block; padding-top: 3vh; min-height: 160px; opacity: var(--v, 0); }
  .scope-card .dir { transition: opacity 160ms ease-out; }
  .scope-card.swap .dir { opacity: 0; }
  .js .dirs .dir, .js .dirs.scoped .dir, .js .dirs.scoped .dir.on { opacity: 0; pointer-events: none; }
  .joint-plus { display: none; }
  .dir-n { font-size: clamp(36px, 11vw, 64px); }
  :root { --fs-h: clamp(24px, 6.6vw, 32px); }
  .dir-title { max-width: 100%; white-space: normal; }
  .dir-text { max-width: 34ch; }
}

@media (max-width: 760px) { .manifesto::before { inset: -18px -24px -60px; } }
@media (max-width: 560px) { .foot { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 32px; } .foot > * { white-space: nowrap; } }

/* ---------- the manifesto behind the mark ---------- */
.manifesto { position: fixed; z-index: 2; left: 50%; top: 0; transform: translate(-50%, 0); display: grid; gap: 6px; justify-items: center; text-align: center; pointer-events: none; opacity: 0; font-size: var(--fs); letter-spacing: .08em; color: var(--milk); }
.manifesto .mf-head { font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 44px); color: var(--lime); letter-spacing: .02em; margin-bottom: 8px; }
.manifesto .mf-tail { color: var(--lime); margin-top: 6px; }
.manifesto p { white-space: nowrap; }
/* the words stand on their own dark ground: the field and the horizon stay behind it */
.manifesto::before { content: ""; position: absolute; z-index: -1; inset: -70px -160px; background: radial-gradient(closest-side, rgba(7, 8, 5, .94) 0%, rgba(7, 8, 5, .86) 55%, rgba(7, 8, 5, 0) 100%); pointer-events: none; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  .manifesto { width: calc(100vw - 2 * var(--gutter)); font-size: 11px; }
  .manifesto p { white-space: normal; }
}
/* phones keep the whole index */

/* the glow behind the tone at the end: a long, smooth falloff, screened over the scene */
.tone-glow { position: fixed; left: 0; top: 0; z-index: 1; border-radius: 50%; pointer-events: none; opacity: 0; mix-blend-mode: screen; will-change: transform, opacity;
  background: radial-gradient(closest-side, rgba(218, 254, 4, 0) 0%, rgba(218, 254, 4, 0) 30%, rgba(218, 254, 4, .3) 39%, rgba(218, 254, 4, .17) 50%, rgba(218, 254, 4, .08) 64%, rgba(218, 254, 4, .03) 80%, rgba(218, 254, 4, .008) 92%, rgba(218, 254, 4, 0) 100%); }

.note-legal { font-size: var(--fs-s); color: var(--mute); letter-spacing: .06em; }
.note-legal a, .foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color var(--quick) ease-out; }
.note-legal a:hover, .foot a:hover { color: var(--lime); }
.nw { white-space: nowrap; }

/* method heading: brief ~ form ~ sketch ~ build */
.method-stage .guides { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--reveal) var(--ease); }
.guides .g-line { position: absolute; height: 0; border-top: 1px dashed rgba(218, 254, 4, .38); }
.guides .g-line.g-base { border-top-style: solid; border-top-color: rgba(218, 254, 4, .6); }
.guides .g-line i, .guides .g-dim i { position: absolute; font: 400 10px/1 var(--f); letter-spacing: .08em; font-style: normal; color: var(--lime); opacity: .75; white-space: nowrap; -webkit-text-fill-color: currentColor; }
.guides .g-line i { right: 0; top: -14px; }
.guides .g-dim.g-w { position: absolute; height: 9px; border: 1px solid rgba(218, 254, 4, .55); border-top: 0; }
.guides .g-dim.g-w i { left: 50%; top: 14px; transform: translateX(-50%); }
.guides .g-dim.g-h { position: absolute; width: 7px; border: 1px solid rgba(218, 254, 4, .55); border-right: 0; }
.guides .g-dim.g-h i { right: 14px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: right center; }
.guides[data-stage="2"] { opacity: 1; }
.guides[data-stage="3"] { opacity: .3; }
.big[data-stage="1"], .big[data-stage="2"], .big[data-stage="3"] { background-image: none; }
.big[data-stage="1"] .ln, .big[data-stage="2"] .ln { background-image: none; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px currentColor; }
.big[data-stage="3"] .ln { background-image: none; -webkit-text-fill-color: currentColor; }
.big.blink .ln { opacity: .35; }
.big .ln { transition: opacity 120ms; }
.guides .g-line.g-x i { top: 4px; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) { .method-stage .guides { display: none; } }   /* phones: the labels of the construction lines would sit on the steps */
/* the rail has its own lane on the right: what we make ends before it (after the .make rules above, so it wins) */
@media (min-width: 761px) and (min-aspect-ratio: 9/10) { .make { padding-right: calc(var(--gutter) + 64px); } }

/* the end: your words + the tone. a dotted hairline from the note to the sphere, a plus at its middle; each key runs along it */
.joint { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; opacity: 0; }
.joint path { fill: none; stroke: rgba(218, 254, 4, .6); stroke-width: 1.2; stroke-dasharray: 1 4; stroke-linecap: round; }
.joint circle { fill: var(--lime); }
.joint-plus { position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none; opacity: 0; font: 400 14px/1 var(--f); font-size: var(--fs); color: var(--lime); will-change: transform, opacity; }

/* ---------- the readout under the end tone ---------- */
.tone-read { position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none; opacity: 0; font-size: var(--fs-s); color: var(--lime); white-space: nowrap; will-change: transform, opacity; }

/* ---------- inside the tone: a lime room, everything in ink. it opens as a circle from where the tone stands ---------- */
.inside { --inkd: #101300; position: fixed; inset: 0; z-index: 40; display: grid; align-items: center; padding: 96px var(--gutter) 64px; background: var(--lime); color: var(--inkd); overflow: hidden; clip-path: circle(0 at var(--ix, 70%) var(--iy, 40%)); transition: clip-path 760ms cubic-bezier(.6, 0, .15, 1); contain: layout paint style; will-change: clip-path; }
.inside.open { clip-path: circle(150vmax at var(--ix, 70%) var(--iy, 40%)); }
.inside ::selection { background: var(--inkd); color: var(--lime); }
.inside-mark { position: absolute; left: -8vw; top: 50%; width: 116vw; height: 57vw; fill: var(--inkd); opacity: .075; transform: translateY(-50%) rotate(-7deg); animation: inside-drift 46s ease-in-out infinite alternate paused; will-change: transform; pointer-events: none; }
.inside.open .inside-mark { animation-play-state: running; }
@keyframes inside-drift { to { transform: translateY(-46%) rotate(-3deg) scale(1.06); } }
.inside-in { position: relative; display: grid; gap: clamp(12px, 2.2vh, 26px); width: 100%; max-width: 1500px; margin: 0 auto; }
.inside-k { font-size: var(--fs-s); opacity: .62; }
/* two sentences, two voices: the first solid and large with a word the visitor can replace, the second drawn in outline on the far side of the line */
.inside-you, .inside-tone { font-family: var(--f-head); font-feature-settings: "ss02"; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.inside-you { font-size: clamp(46px, 9.4vw, 168px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .32em; }
.inside-name { color: var(--inkd); }
.inside-band { display: grid; gap: 8px; }
.inside-wave { display: block; width: 100%; height: clamp(84px, 17vh, 180px); }
.inside-read { display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-s); letter-spacing: .08em; opacity: .62; }
.inside-read [data-inside-read] { font-variant-numeric: tabular-nums; white-space: nowrap; }
.inside-tone { justify-self: end; text-align: right; font-size: clamp(30px, 5.6vw, 100px); color: transparent; -webkit-text-stroke: clamp(1px, .13vw, 2px) var(--inkd); }
@supports not (-webkit-text-stroke: 1px black) { .inside-tone { color: var(--inkd); opacity: .7; } }
.inside-foot { display: grid; grid-template-columns: minmax(0, 46ch) 1fr auto; align-items: end; gap: 18px 32px; margin-top: clamp(6px, 2vh, 22px); }
.inside-text { font-size: var(--fs); }
@media (max-width: 860px) { .inside-foot { grid-template-columns: 1fr; align-items: start; } .inside-read span:first-child { display: none; } .inside-tone { justify-self: start; text-align: left; } .inside-out { justify-self: start; } }
.inside-links { display: flex; flex-wrap: wrap; gap: 10px; justify-self: end; }
@media (max-width: 860px) { .inside-links { justify-self: start; } }
.inside-links a, .inside-out { display: inline-block; padding: 12px 20px; font: 500 14px/1.4 var(--f); font-size: var(--fs); letter-spacing: .04em; text-transform: lowercase; color: var(--inkd); background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--inkd); cursor: pointer; transition: background var(--quick) ease-out, color var(--quick) ease-out; }
.inside-links a:hover, .inside-links a:focus-visible, .inside-out:hover, .inside-out:focus-visible { background: var(--inkd); color: var(--lime); outline: none; }
.inside-out { box-shadow: none; padding-left: 0; text-decoration: underline; text-underline-offset: 5px; }
.inside-out:hover, .inside-out:focus-visible { background: transparent; color: var(--inkd); text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { .inside { transition: none; } .inside-mark { animation: none; } }

/* desktop: room above the register, so the first direction holds the middle of the screen while its form arrives */
/* room under the last direction: the form stays level with it instead of sliding up under the header */
@media (min-width: 861px) and (min-aspect-ratio: 9/10) { .make { padding-top: 22vh; padding-bottom: 4vh; } .make .dirs { padding-bottom: 28vh; } }

/* the first screen without the field: the mark, flat */
.hero-mark { display: none; place-self: center; width: min(62vw, 760px); height: auto; aspect-ratio: 400 / 196; fill: var(--lime); margin-bottom: 18vh; }
.no-js .hero-mark, .no-gl .hero-mark { display: block; }
html.inside-open { overflow: hidden; }
@media (max-width: 480px) { .hud-tr .fx-fine { display: none; } }   /* narrow phones: the two corner lines would meet */
@media (max-width: 400px) { .chapter .site, .chapter .sep { display: none; } }   /* the narrowest phones: the brand and the chapter would touch */
/* phones: the same pace as a desktop, about a screen of scroll per beat. each direction holds long enough to read,
   the log has no long still stretch, and every project gets its own screen */
@media (max-width: 760px), (max-aspect-ratio: 9/10) { .dirs { gap: 30vh; } .js .method { height: 250vh; } .js .work { height: 320vh; } .js .make { padding-bottom: 0; } .js .make .dirs { padding-bottom: 36vh; } }   /* the last direction holds as long as the others, then the method follows straight away */
