/* FULCRUM: an instrument for visual balance. Bone, ink, one signal. Chivo and Chivo Mono on a 12 column grid. */
:root {
  --bone: #ecebe6;
  --bone-2: #e3e2dc;
  --bone-3: #d5d3cc;
  --paper: #fafaf7;
  --ink: #0e0e0d;
  --ink-2: rgba(14, 14, 13, .64);
  --ink-3: rgba(14, 14, 13, .4);
  --line: rgba(14, 14, 13, .14);
  --sig: #ff4a1c;
  --sig-ink: #c22e0b;
  --disp: 'Chivo', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Chivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Chivo Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --gut: clamp(12px, 1.6vw, 24px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bone); color: var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--text); font-weight: 400; font-size: 16px; line-height: 1.55; background: var(--bone); color: var(--ink); overflow-x: clip; font-feature-settings: 'tnum' 1; }
main, .hd, .ft { position: relative; z-index: 1; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: var(--ink); color: var(--bone); }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.lab { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.acc { color: var(--sig-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em { font-style: normal; font-weight: 900; }

/* the grid every page is set on */
.guides { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.guides-in { max-width: 1360px; height: 100%; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.guides i { border-left: 1px solid rgba(14, 14, 13, .05); border-right: 1px solid rgba(14, 14, 13, .05); }

/* the wordmark: seven weighed letters on a beam, a signal pivot at their centre of mass */
.lg { --com: 50%; position: relative; display: inline-block; padding-bottom: 9px; line-height: 1; }
.lg-tilt { display: block; }
.lg-t { display: flex; font: 900 20px/.8 var(--disp); letter-spacing: -.03em; }
.lg-t span { display: block; }
.lg-b { display: block; height: 2px; margin-top: 3px; background: var(--ink); }
.lg-f { position: absolute; left: var(--com); bottom: 0; width: 10px; height: 7px; margin-left: -5px; background: var(--sig); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* cursor: a reticle and a spirit-level hairline */
.has-cur, .has-cur * { cursor: none !important; }
body > .cur { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0; }
body > .cur > * { position: fixed; left: 0; top: 0; will-change: transform; }
.cur-pt { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.cur-arm { width: 34px; height: 1px; margin: -.5px 0 0 -17px; transform-origin: 50% 50%; }
.cur-lvl { position: absolute; inset: 0; background: var(--ink); }
.cur-lvl::after { content: ''; position: absolute; left: 50%; top: -3px; width: 1px; height: 7px; margin-left: -.5px; background: var(--sig); }
.cur-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; transform: scale(0);
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 0 / 1px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 0 / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 0 / 1px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 100% / 1px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 100% / 1px 9px no-repeat; }
.cur[data-s="grab"] .cur-ring, .cur[data-s="grabbing"] .cur-ring { background-color: transparent; box-shadow: inset 0 0 0 1px var(--sig); }
.cur[data-s="grabbing"] .cur-pt { background: var(--sig); }
.cur-lab { opacity: 0; }
.cur-lab span { display: block; background: var(--ink); color: var(--bone); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; white-space: nowrap; border-left: 3px solid var(--sig); }

/* preloader and wipe */
.pre, .wipe { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; }
.pre { background: var(--ink); color: var(--bone); }
.pre-in { display: grid; gap: 18px; justify-items: center; width: min(340px, 80vw); }
.pre-top { display: flex; justify-content: space-between; width: 100%; color: rgba(236, 235, 230, .6); border-bottom: 1px solid rgba(236, 235, 230, .2); padding-bottom: 10px; }
.pre-g { width: 100%; overflow: visible; }
.pre-line { stroke: var(--bone); stroke-width: 2; }
.pre-w { fill: var(--bone); }
.pre-w.acc { fill: var(--bone); }
.pre-f { fill: var(--sig); stroke: none; }
.pre-n { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; }
.pre-num { font: 900 64px/1 var(--disp); letter-spacing: -.04em; }
.pre-n .lab { color: rgba(236, 235, 230, .6); }
.wipe { background: var(--ink); color: var(--bone); visibility: hidden; }
html.wiping .wipe { visibility: visible; }
.wipe-in { display: grid; justify-items: center; gap: 12px; }
.wipe-in .lab { color: rgba(236, 235, 230, .6); }
.wipe-t { font: 900 clamp(48px, 12vw, 190px)/.85 var(--disp); letter-spacing: -.045em; text-transform: uppercase; padding-bottom: .12em; border-bottom: 6px solid var(--bone); position: relative; }
.wipe-t::after { content: ''; position: absolute; left: 50%; bottom: -34px; width: 30px; height: 26px; margin-left: -15px; background: var(--sig); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
html.wiping .pre { display: none; }

/* header */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.hd-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px var(--pad); max-width: 1500px; margin: 0 auto; }
.hd::before { content: ''; position: absolute; inset: 0; background: rgba(236, 235, 230, .88); border-bottom: 1px solid var(--line); pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hd-in > * { position: relative; }
.logo { justify-self: start; display: inline-flex; text-decoration: none; }
.nav { display: flex; border: 1px solid var(--ink); }
.nav a { text-decoration: none; padding: 7px 14px; font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.nav a + a { border-left: 1px solid var(--ink); }
.nav a.on { background: var(--ink); color: var(--bone); }
.roll { display: inline-grid; overflow: hidden; height: 1.3em; line-height: 1.3; vertical-align: top; }
.roll > span { grid-area: 1 / 1; display: block; }
.roll > span + span { transform: translateY(100%); }
.hd-r { justify-self: end; display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.hd-lvl { position: relative; width: 46px; height: 11px; border: 1px solid var(--ink); }
.hd-lvl::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.hd-lvl i { position: absolute; left: 50%; top: 2px; width: 7px; height: 5px; margin-left: -3.5px; background: var(--sig); }
.hd-r b { color: var(--ink); font-weight: 600; display: inline-block; min-width: 4ch; text-align: right; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--bone); border-radius: 0; padding: 15px 22px; font: 600 15px/1 var(--text); letter-spacing: -.005em; cursor: pointer; white-space: nowrap; }
.btn > span { display: inline-flex; align-items: center; gap: 10px; pointer-events: none; }
.btn > span::after { content: ''; width: 7px; height: 7px; background: var(--sig); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost > span::after { background: var(--ink); }
.btn.sig { background: var(--sig); border-color: var(--sig); color: var(--ink); }
.btn.sig > span::after { background: var(--ink); }
.btn.sm { padding: 10px 14px; font-size: 13px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 0; padding: 8px 12px; font: 500 12px/1.2 var(--mono); letter-spacing: .03em; background: transparent; cursor: pointer; text-align: left; }
.chip::before { content: ''; width: 7px; height: 7px; border: 1px solid var(--ink); flex: none; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.chip[aria-pressed="true"]::before { background: var(--sig); border-color: var(--sig); }

/* type and section system: number, rule, ruler ticks */
.h2 { font: 400 clamp(40px, 6.6vw, 108px)/.94 var(--disp); margin: 0 0 32px; letter-spacing: -.045em; max-width: 16ch; }
.h2 em { font-weight: 900; }
.sh { position: relative; display: flex; justify-content: space-between; gap: 16px; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 30px; color: var(--ink-2); }
.sh::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px calc(100% / 48)); opacity: .5; }
.sh span:first-child { color: var(--ink); }
.sh span:first-child::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--sig); margin-right: 10px; vertical-align: 1px; }
.sec { padding-top: clamp(88px, 12vw, 176px); padding-bottom: 20px; }
.panel { background: var(--paper); border: 1px solid var(--line); }

/* hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; padding-top: 76px; position: relative; }
.hero-top { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut); align-items: start; }
.hero-copy { padding-top: clamp(28px, 7vh, 80px); display: grid; gap: 22px; align-content: start; max-width: 470px; position: relative; z-index: 2; }
.kick { color: var(--ink-2); line-height: 1.7; margin: 0; padding-left: 12px; border-left: 2px solid var(--sig); }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.42; margin: 0; font-weight: 400; letter-spacing: -.01em; }
.lede b { font-weight: 800; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hint { color: var(--ink-3); margin: 0; display: flex; gap: 10px; align-items: center; }
.hint::before { content: ''; width: 22px; height: 1px; background: var(--ink-3); }
.mobile { position: relative; height: min(58vh, 600px); min-height: 340px; margin-top: -40px; touch-action: pan-y; }
.mobile svg { width: 100%; height: 100%; overflow: visible; }
.mob-wire { stroke: var(--ink); stroke-width: 1; fill: none; }
.mob-rod { stroke: var(--ink); stroke-width: 3; stroke-linecap: butt; }
.mob-knot { fill: var(--sig); }
.mob-hit { cursor: grab; touch-action: none; }
.mob-word { font: 900 44px/1 var(--disp); letter-spacing: -.04em; fill: var(--ink); }
.mob-ceil { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 1 6; }
.wm-wrap { position: relative; padding: 18px var(--pad) 28px; max-width: 1500px; margin: 0 auto; width: 100%; }
.wm { position: relative; transform-origin: 50% 100%; }
.wm-t { margin: 0; font: 900 clamp(68px, min(18.6vw, 30vh), 300px)/.74 var(--disp); text-align: center; letter-spacing: -.055em; white-space: nowrap; padding: 0 .04em .03em 0; }
.wm-t .ch { display: inline-block; will-change: transform; }
.wm-beam { height: clamp(5px, .6vw, 9px); background: var(--ink); }
.wm-ful { width: clamp(28px, 3.6vw, 52px); height: auto; margin: 0 auto; fill: var(--sig); }
.wm-read { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; color: var(--ink-2); margin-top: 10px; }
.wm-read > span:last-child { text-align: right; }
.wm-read b { color: var(--ink); font-weight: 600; }
.wm-mid { display: grid; justify-items: center; gap: 6px; }
.wm-gauge { position: relative; width: clamp(140px, 22vw, 300px); height: 14px; overflow: hidden;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10%) 0 100% / 100% 7px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat; }
.wm-gauge i { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--sig); }

/* velocity marquee */
.marq { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0; margin-top: 30px; background: var(--ink); color: var(--bone); }
.marq-t { display: flex; width: max-content; will-change: transform; }
.marq-t span { font: 800 clamp(30px, 4.6vw, 64px)/1 var(--disp); letter-spacing: -.04em; text-transform: uppercase; padding-right: .5em; white-space: nowrap; display: inline-flex; align-items: center; gap: .5em; }
.marq-t span i { width: .26em; height: .26em; background: var(--sig); display: inline-block; }
.marq-t span:nth-child(3n) i { background: var(--bone); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* anatomy */
.anat-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut); align-items: start; }
.fx-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.fx { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 16px; align-items: center; text-align: left; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 14px 12px; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease); }
.fx b { font: 500 12px/1 var(--mono); grid-row: span 2; min-width: 2.4em; color: var(--ink-3); }
.fx strong { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.fx span { color: var(--ink-2); font-size: 14px; grid-column: 2; }
.fx .sw { grid-row: 1 / span 2; grid-column: 3; width: 40px; height: 20px; border: 1px solid var(--ink); position: relative; }
.fx .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; background: var(--ink); transition: transform .45s var(--ease), background-color .3s; }
.fx[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.fx[aria-pressed="true"] b { color: var(--sig); }
.fx[aria-pressed="true"] span { color: rgba(236, 235, 230, .7); }
.fx[aria-pressed="true"] .sw { border-color: var(--bone); }
.fx[aria-pressed="true"] .sw::after { transform: translateX(20px); background: var(--sig); }
.formula { font: 400 clamp(20px, 2.1vw, 28px)/1.3 var(--disp); letter-spacing: -.02em; margin: 0 0 22px; }
.formula span { transition: color .3s; font-weight: 800; }
.formula span.on { color: var(--sig-ink); box-shadow: inset 0 -3px 0 var(--sig); }
.see { padding: clamp(16px, 2.4vw, 28px); }
.see-stage { position: relative; height: clamp(250px, 30vw, 360px); background: linear-gradient(var(--line), var(--line)) 50% 0 / 1px calc(100% - 40px) no-repeat; }
.see-tilt { position: absolute; left: 4%; right: 4%; bottom: 46px; height: calc(100% - 60px); transform-origin: 50% 100%; }
.see-bar { position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--ink); }
.see-slot { position: absolute; bottom: 0; width: 0; display: flex; justify-content: center; }
.see-slot > * { flex: none; }
.ss { position: relative; width: clamp(50px, 7vw, 84px); aspect-ratio: 1; background: #bdbbb4; }
.ss.big { width: clamp(80px, 11.2vw, 134px); }
.ss.lft { width: clamp(70px, 10vw, 120px); background: #8b8983; }
.ss i { position: absolute; inset: 0; opacity: 0; }
.ss .l-dk { background: #0e0e0d; }
.ss .l-sa { background: #ff4a1c; }
.ss .l-bo { background: #8f1e06; }
.see-ful { position: absolute; left: 50%; bottom: 0; width: 46px; height: 40px; margin-left: -23px; fill: var(--sig); }
.see-read { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.see-read b { font: 800 30px/1 var(--disp); letter-spacing: -.03em; display: block; margin-top: 6px; color: var(--ink); }
.see-read div:nth-child(2) { text-align: center; }
.see-read div:last-child { text-align: right; }

/* scene 1 */
.s1-pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gut) clamp(20px, 4vw, 60px); align-items: center; padding-top: 84px; padding-bottom: 30px; }
.s1-copy .h2 { font-size: clamp(38px, 5.4vw, 88px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-bottom: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-3); transition: color .35s; font-size: 15px; }
.steps li .lab { padding-top: 3px; }
.steps li.on { color: var(--ink); border-top-color: var(--ink); }
.steps li.on .lab { color: var(--sig-ink); }
.s1-stage { position: relative; height: min(76svh, 680px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.s1-tilt { position: relative; width: min(100%, 420px); transform-origin: 50% 100%; }
.poster { position: relative; width: min(78%, calc((min(76svh, 680px) - 150px) * .75)); margin: 0 auto; aspect-ratio: 3 / 4; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 44px -30px rgba(14, 14, 13, .45); overflow: hidden; }
.s1-bar { height: 7px; background: var(--ink); }
.s1-ful { width: 54px; height: 46px; fill: var(--sig); flex: none; }
.pe { position: absolute; display: block; }
.pe-a { width: 46%; aspect-ratio: 1; left: 27%; top: 26%; border-radius: 50%; background: var(--ink); }
.pe-b, .pe-c { width: 3.2%; height: 58%; top: 21%; background: var(--ink); }
.pe-b { left: 13.4%; }
.pe-c { right: 13.4%; }
.pe-t { left: 0; right: 0; top: 6%; text-align: center; font: 900 clamp(20px, 2.6vw, 32px)/1 var(--disp); letter-spacing: -.02em; }
.pe-t2 { left: 0; right: 0; bottom: 6%; text-align: center; font: 500 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pe-e { position: relative; width: 16%; aspect-ratio: 1; background: var(--sig); }
.poster .pe-e { position: absolute; left: 76%; top: 62%; width: 20%; }
.tray .pe-e { width: 52px; }
.mirror { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--ink-3); }
.com { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; }
.com::before { content: ''; position: absolute; top: 0; bottom: 0; left: -0.5px; width: 1px; background: var(--sig); }
.com::after { content: ''; position: absolute; bottom: 8px; left: -7px; width: 14px; height: 12px; background: var(--sig); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.com b { position: absolute; top: 8px; left: 6px; color: var(--sig-ink); white-space: nowrap; font-size: 9px; }
.tray { position: absolute; right: 0; bottom: 120px; display: grid; justify-items: center; gap: 8px; padding: 12px; border: 1px dashed var(--ink-3); min-width: 90px; min-height: 96px; align-content: start; }
.tray .lab { color: var(--ink-2); font-size: 9px; }
.s1-read { display: flex; justify-content: space-between; width: min(100%, 420px); margin-top: 6px; color: var(--ink-2); gap: 8px; }
.s1-read b { color: var(--ink); font-weight: 600; }
.s1-verdict { position: absolute; top: 0; left: 0; font: 800 clamp(26px, 3vw, 40px)/1 var(--disp); }

/* scene 2 */
.s2-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 84px; padding-bottom: 30px; }
.s2-pin .h2 { font-size: clamp(38px, 5.6vw, 92px); margin-bottom: 22px; max-width: none; }
.s2-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gut) clamp(18px, 3vw, 40px); align-items: center; }
.gstage { position: relative; aspect-ratio: 809 / 500; background: var(--paper); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.gc { position: absolute; inset: 0; }
.gc svg, .gover { position: absolute; inset: 0; width: 100%; height: 100%; }
.gc-cap { position: absolute; left: 12px; bottom: 10px; color: var(--ink-2); font-size: 9px; background: var(--paper); padding: 3px 6px; }
.gover { overflow: visible; pointer-events: none; }
.sp-path { fill: none; stroke: var(--sig); stroke-width: 3; }
.sp-sq { fill: none; stroke: var(--sig); stroke-width: 1; opacity: .5; }
.g-th { stroke: var(--sig); stroke-width: 2; }
.g-ph { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 8 6; }
.s2-caps { position: relative; min-height: 150px; }
.s2-caps p { position: absolute; inset: 0 0 auto 0; margin: 0; font-size: 17px; line-height: 1.5; }
.s2-caps p b { font-weight: 800; }
.fits { font: 900 clamp(60px, 8vw, 120px)/.85 var(--disp); letter-spacing: -.05em; display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.fits small { font: 500 11px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ratio { display: grid; gap: 10px; margin-top: 18px; border-top: 1px solid var(--ink); padding-top: 14px; }
.ratio div { display: grid; grid-template-columns: 64px 1fr 48px; gap: 10px; align-items: center; font-size: 12px; }
.ratio i { height: 8px; background: var(--ink); transform-origin: 0 50%; display: block; }
.ratio div:first-child i { background: var(--sig); }

/* direction */
.dir-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gut) clamp(18px, 3vw, 40px); align-items: start; }
.dir-tabs { position: relative; display: grid; gap: 0; border: 1px solid var(--ink); }
.dir-tabs button { position: relative; z-index: 1; text-align: left; background: none; border: 0; padding: 13px 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; transition: color .3s; }
.dir-tabs button + button { border-top: 1px solid var(--line); }
.dir-tabs button[aria-selected="true"] { color: var(--bone); }
.dir-tabs button .lab { opacity: .6; }
.dir-tabs button > span { position: relative; z-index: 1; }
.dir-ind { position: absolute; inset: 0; z-index: 0; background: var(--ink); box-shadow: inset 3px 0 0 var(--sig); }
.dir-cap { font-size: 16px; margin: 18px 0 0; min-height: 5em; color: var(--ink-2); }
.dstage { aspect-ratio: 8 / 5; position: relative; background: var(--paper); }
.dstage svg { width: 100%; height: 100%; }
.dpath { fill: none; stroke: var(--sig); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.dpath-solid { fill: none; stroke: var(--sig); stroke-width: 2.5; opacity: .25; }
.darr { fill: var(--sig); }
.d-el { transition: opacity .5s; }
.d-el.dim { opacity: .18; }
.deye-r { fill: none; stroke: var(--sig); stroke-width: 2; }
.deye-c { fill: var(--sig); }

/* tension */
.ten-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gut) clamp(18px, 3vw, 44px); align-items: start; }
.tpad { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; touch-action: none; box-shadow: 0 0 0 1px var(--line); }
.tfield { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(-45deg, rgba(255, 74, 28, .16) 0 1px, transparent 1px 8px); opacity: 0; pointer-events: none; }
.tdisc { position: absolute; left: 0; top: 0; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); touch-action: none; }
.tdisc:focus-visible { outline-offset: 6px; }
.tedge { position: absolute; background: var(--sig); opacity: 0; pointer-events: none; }
.tedge.l, .tedge.r { top: 0; bottom: 0; width: 3px; }
.tedge.l { left: 0; } .tedge.r { right: 0; }
.tedge.t, .tedge.b { left: 0; right: 0; height: 3px; }
.tedge.t { top: 0; } .tedge.b { bottom: 0; }
.tbeam { position: relative; margin-top: 12px; height: 50px; }
.tbeam-t { position: absolute; left: 6%; right: 6%; top: 0; height: 6px; background: var(--ink); transform-origin: 50% 50%; }
.tbeam svg { position: absolute; left: 50%; top: 6px; width: 40px; height: 34px; margin-left: -20px; fill: var(--sig); }
.meter { margin: 0 0 18px; }
.meter-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.meter-h b { font: 800 34px/1 var(--disp); letter-spacing: -.03em; }
.meter-t { height: 10px; border: 1px solid var(--ink); overflow: hidden; position: relative; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--line) calc(10% - 1px) 10%); }
.meter-t i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.meter-t.sig i { background: var(--sig); }
.ten-note { font-size: 15px; color: var(--ink-2); }
.ten-word { font: 900 clamp(34px, 3.6vw, 52px)/1 var(--disp); letter-spacing: -.04em; margin: 4px 0 20px; }

/* rooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); padding-bottom: clamp(80px, 10vw, 140px); }
.room { position: relative; text-decoration: none; display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 30px); border: 1px solid var(--ink); background: var(--paper); overflow: hidden; transition: background-color .4s var(--ease); }
.room:hover { background: #fff; }
.room h3 { font: 900 clamp(34px, 4.2vw, 62px)/.95 var(--disp); letter-spacing: -.045em; margin: 0; }
.room p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.room svg { width: 100%; height: auto; overflow: visible; }
.room .rm-t { transform-origin: 160px 80px; }
.room .go { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 10px; }

/* footer */
.ft { background: var(--ink); color: var(--bone); padding: clamp(60px, 9vw, 120px) 0 26px; }
.ft-in { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.ft-big { font: 400 clamp(42px, 8vw, 136px)/.92 var(--disp); letter-spacing: -.05em; }
.ft-big em { color: var(--bone); font-weight: 900; }
.ft-cols { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 28px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(236, 235, 230, .3); }
.ft-cols > div { display: grid; gap: 8px; align-content: start; }
.ft-cols .lab { color: rgba(236, 235, 230, .55); margin-bottom: 4px; }
.ft-cols a { text-decoration: none; font-size: 16px; font-weight: 600; }
.ft-cols a:hover { color: var(--sig); }
.ft-cols p { margin: 0; font-size: 15px; color: rgba(236, 235, 230, .8); }
.ft-note b { color: var(--bone); font-weight: 800; }
.ft-mark { margin-top: 56px; }
.ft-mark .lg-t { font-size: clamp(56px, 15vw, 220px); letter-spacing: -.055em; color: var(--bone); }
.ft-mark .lg { padding-bottom: clamp(14px, 2vw, 26px); }
.ft-mark .lg-b { background: var(--bone); height: clamp(4px, .6vw, 8px); margin-top: clamp(6px, .8vw, 12px); }
.ft-mark .lg-f { width: clamp(16px, 2vw, 28px); height: clamp(12px, 1.6vw, 22px); margin-left: clamp(-14px, -1vw, -8px); }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 30px; color: rgba(236, 235, 230, .5); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 8000; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bone); padding: 12px 16px; font: 500 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; pointer-events: none; translate: -50% 0; transform: translateY(170%); }
.toast:empty { display: none; }
.toast i { width: 8px; height: 8px; background: var(--sig); }

/* ---------- lab ---------- */
.app { padding-top: 92px; padding-bottom: 60px; }
.app-h { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.app-h h1 { font: 900 clamp(46px, 7vw, 108px)/.86 var(--disp); letter-spacing: -.05em; margin: 0; }
.app-h p { margin: 0; max-width: 46ch; color: var(--ink-2); }
.lab-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr) 300px; gap: var(--gut); align-items: start; }
.tool { border: 1px solid var(--ink); padding: 14px; display: grid; gap: 10px; background: var(--paper); }
.tool + .tool { margin-top: 12px; }
.tool > .lab { color: var(--ink-2); display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.tool > .lab::before { content: ''; width: 6px; height: 6px; background: var(--sig); }
.adds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.add { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 1px solid var(--line); background: var(--bone); cursor: pointer; font: 500 11px/1.2 var(--mono); letter-spacing: .03em; }
.add svg { width: 28px; height: 28px; fill: var(--ink); }
.add:hover { border-color: var(--ink); }
.presets { display: grid; gap: 6px; }
.presets button { text-align: left; }
.board { display: grid; gap: 0; justify-items: center; }
.frame-wrap { position: relative; width: min(100%, 480px); }
.frame { position: relative; width: 100%; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 26px 50px -34px rgba(14, 14, 13, .5); touch-action: none; }
.el { position: absolute; left: 0; top: 0; display: block; padding: 0; border: 0; background: none; touch-action: none; }
.el .sh-v { position: absolute; inset: 0; font-style: normal; }
.el.c .sh-v { border-radius: 50%; }
.el.t .sh-v { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.el.d .sh-v { border-radius: 999px 999px 0 0; }
.el.h .sh-v, .el.p .sh-v { background: none !important; display: flex; align-items: center; }
.el.h .sh-v span { font-family: var(--disp); font-weight: 800; letter-spacing: -.03em; line-height: .9; white-space: nowrap; }
.el.p .sh-v span { display: block; font-size: 9px; line-height: 1.35; text-align: left; }
.el.sel::after { content: ''; position: absolute; inset: -6px; border: 1px dashed var(--sig); pointer-events: none; }
.el.near::before { content: ""; position: absolute; inset: -4px; border: 1px dotted var(--ink); pointer-events: none; opacity: .7; }
.ov { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ov line, .ov path { fill: none; vector-effect: non-scaling-stroke; }
.ov .th { stroke: var(--sig); stroke-width: 1.5; }
.ov .ph { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 6 5; }
.ov .sp { stroke: var(--ink); stroke-width: 1.4; opacity: .7; }
.comk { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none; z-index: 5; }
.comk svg { width: 100%; height: 100%; overflow: visible; }
.comk circle { fill: none; stroke: var(--sig); stroke-width: 2; }
.comk path { stroke: var(--sig); stroke-width: 1.5; }
.comline { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--sig); opacity: .6; pointer-events: none; z-index: 4; }
.lbeam { position: relative; width: min(100%, 480px); height: 74px; margin-top: 12px; }
.lbeam-t { position: absolute; left: 0; right: 0; top: 10px; height: 7px; background: var(--ink); transform-origin: 50% 50%; }
.lbeam-t i { position: absolute; top: -8px; width: 2px; height: 23px; background: var(--sig); left: 50%; margin-left: -1px; }
.lbeam svg { position: absolute; left: 50%; top: 17px; width: 44px; height: 38px; margin-left: -22px; fill: var(--sig); }
.lbeam .lr { position: absolute; top: 32px; color: var(--ink-2); }
.lbeam .lr b { font: 800 26px/1 var(--disp); letter-spacing: -.03em; color: var(--ink); display: block; margin-top: 4px; }
.lbeam .lr.l { left: 0; } .lbeam .lr.r { right: 0; text-align: right; }
.insp-empty { color: var(--ink-3); font-size: 14px; margin: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 30px; height: 30px; border: 1px solid var(--ink); cursor: pointer; padding: 0; position: relative; }
.swatch[aria-pressed="true"]::after { content: ''; position: absolute; inset: -5px; border: 2px solid var(--sig); }
.rng { display: grid; gap: 4px; }
.rng-h { display: flex; justify-content: space-between; font: 500 12px/1.3 var(--mono); }
input[type=range] { width: 100%; accent-color: var(--ink); height: 26px; }
.row { display: flex; flex-wrap: wrap; gap: 6px; }
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge .g-bg { fill: none; stroke: var(--line); stroke-width: 10; }
.gauge .g-fg { fill: none; stroke: var(--ink); stroke-width: 10; }
.gauge .g-n { stroke: var(--sig); stroke-width: 3; stroke-linecap: butt; }
.gauge text { font: 500 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: var(--ink-2); }
.why { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); display: grid; gap: 4px; }
.why li::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--sig); margin-right: 8px; vertical-align: 1px; }
.reads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reads div { border-top: 1px solid var(--line); padding-top: 6px; }
.reads b { display: block; font: 800 26px/1.1 var(--disp); letter-spacing: -.03em; }
.big-word { font: 900 30px/1 var(--disp); letter-spacing: -.04em; }

/* ---------- game ---------- */
.modes { position: relative; display: inline-flex; border: 1px solid var(--ink); }
.modes button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 16px; cursor: pointer; font: 500 12px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; transition: color .3s; }
.modes button + button { border-left: 1px solid var(--ink); }
.modes button[aria-selected="true"] { color: var(--bone); }
.modes button > span { position: relative; z-index: 1; }
.modes .ind { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.g-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gut); align-items: start; }
.g-board { display: grid; justify-items: center; }
.g-top { display: flex; justify-content: space-between; align-items: center; width: min(100%, 480px); margin-bottom: 12px; gap: 12px; }
.g-lvl { font: 900 32px/1 var(--disp); letter-spacing: -.04em; margin-top: 4px; }
.timer { width: 54px; height: 54px; position: relative; flex: none; }
.timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer circle { fill: none; stroke-width: 3; }
.timer .t-bg { stroke: var(--line); }
.timer .t-fg { stroke: var(--sig); }
.timer b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 14px var(--mono); }
.g-frame .el.mov { outline: none; }
.g-frame .el.mov::after { content: ''; position: absolute; inset: -6px; border: 1px dashed var(--sig); pointer-events: none; }
.g-frame .el.lock { pointer-events: none; }
.hidden-beam .lbeam-t { opacity: .25; }
.veil { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.veil span { background: var(--bone); padding: 2px 10px; font-size: 11px; }
.trayg { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; min-height: 70px; width: min(100%, 480px); margin-top: 10px; align-items: center; }
.cand { width: 64px; height: 64px; border: 1px dashed var(--ink-3); display: grid; place-items: center; background: none; cursor: pointer; padding: 0; position: relative; }
.cand .el { position: relative; }
.score-big { font: 900 clamp(64px, 8vw, 110px)/.85 var(--disp); letter-spacing: -.05em; }
.verdict { font: 800 28px/1 var(--disp); letter-spacing: -.03em; color: var(--sig-ink); min-height: 1em; }
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; }
.levels span { display: grid; place-items: center; height: 38px; border: 1px solid var(--line); font: 500 12px var(--mono); position: relative; }
.levels span.cur { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.levels span.done { border-color: var(--ink); }
.levels span small { position: absolute; bottom: 2px; font-size: 8px; color: var(--sig-ink); }
.levels span.cur small { color: var(--sig); }
.hv { display: grid; gap: 14px; justify-items: center; }
.hv-stage { position: relative; width: min(100%, 620px); }
.hv-frame { position: relative; width: 100%; aspect-ratio: 2 / 1; background: var(--paper); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 0 0 1px var(--line); }
.hv-side { position: relative; border: 0; background: none; cursor: pointer; padding: 0; }
.hv-side + .hv-side { border-left: 1px dashed var(--line); }
.hv-side:hover { background: rgba(255, 74, 28, .05); }
.hv-side .lab { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; color: var(--ink-3); }
.hv-shape { position: absolute; }
.hv-res { display: flex; gap: 16px; align-items: baseline; justify-content: center; min-height: 40px; }
.panel-side { border: 1px solid var(--ink); padding: 16px; display: grid; gap: 14px; background: var(--paper); }

/* responsive */
@media (max-width: 1080px) {
  .lab-grid { grid-template-columns: 1fr; }
  .lab-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .lab-tools .tool + .tool { margin-top: 0; }
  .g-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .guides-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guides i:nth-child(n+5) { display: none; }
  .hd-in { grid-template-columns: auto 1fr; }
  .nav { justify-self: end; }
  .hd-r { display: none; }
  .hero-top, .anat-grid, .s2-grid, .dir-grid, .ten-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-top { display: flex; flex-direction: column-reverse; }
  .mobile { margin-top: 0; height: auto; min-height: 0; aspect-ratio: 640 / 520; width: 100%; }
  .hero-copy { padding-top: 0; }
  .s1-pin { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; padding-top: 74px; }
  .s1-copy .h2 { font-size: clamp(32px, 8.6vw, 58px); margin-bottom: 10px; }
  .s1-stage { height: 52svh; }
  .poster { width: min(52vw, calc((52svh - 130px) * .75)); }
  .tray { bottom: 70px; width: 76px; min-width: 0; min-height: 80px; padding: 8px 6px; right: -4px; }
  .tray .pe-e { width: 36px; }
  .tray .lab { font-size: 7.5px; letter-spacing: .02em; }
  .steps li { display: none; padding: 6px 0; }
  .steps li.on { display: grid; }
  .s2-caps { min-height: 120px; }
  .rooms { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: 1fr; }
  .dir-tabs { grid-template-columns: 1fr 1fr; }
  .dir-tabs button + button { border-top: 0; }
  .dir-tabs button:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dir-tabs button:nth-child(2n) { border-left: 1px solid var(--line); }
  .app-h { align-items: start; }
  .modes button { padding: 9px 10px; font-size: 11px; }
}
@media (max-width: 560px) {
  .nav a { padding: 7px 9px; font-size: 11px; }
  .lg-t { font-size: 17px; }
  .lab-tools { grid-template-columns: 1fr; }
  .sh { flex-direction: column; gap: 4px; }
  .fits { font-size: 54px; }
  .s2-pin .h2 { font-size: 36px; }
  .wm-read { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .wm-mid { grid-column: 1 / -1; grid-row: 1; }
  .wm-gauge { width: 100%; }
  .h2 { letter-spacing: -.04em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.cand.on { border-style: solid; border-color: var(--sig); background: rgba(255, 74, 28, .06); }
.g-board .frame-wrap, .g-board .lbeam, .g-board .g-top, .g-board .trayg { width: min(100%, max(280px, calc((100svh - 360px) * .8))); }
