/* omni.css: the Omni compass landing. Ancient-artifact brass over a living orb. */
:root {
  --ink: #0f0d12; --ink2: #171320; --brass: #c9a35c; --brass2: #e6c77f; --brass-dim: #8a6d35; --parch: #efe3c4; --parch-dim: #bfae8a;
  --flame: #ff8a3d; --magenta: #ff4fb0; --moss: #7fd3a1; --blue: #7aa6ff;
  --eng: "Cinzel", "Times New Roman", serif; --hand: "Kalam", "Comic Sans MS", cursive; --brush: "Caveat Brush", "Kalam", cursive; --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--ink); color: var(--parch); overflow-x: clip; }
body { font-family: var(--hand); font-size: 17px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.eng { font-family: var(--eng); letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.hand { font-family: var(--hand); }

/* stage */
.stage { position: fixed; inset: 0; z-index: 0; background: #000; overflow: hidden; touch-action: pan-y; }
.stage .lava, .stage .glow { opacity: 0; transition: opacity 2.4s ease-out; }
.stage.lit .lava, .stage.lit .glow { opacity: 1; }
.stage.lit .glow { opacity: .95; }
.lava { position: absolute; left: -60px; top: -60px; width: calc(100% + 120px); height: calc(100% + 120px); filter: blur(22px) contrast(3.6) saturate(1.2); transform: translateZ(0); }
.glow { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .95; }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, rgba(0,0,0,0) 22%, rgba(10,8,14,.55) 60%, rgba(10,8,14,.92) 100%); pointer-events: none; }
.grain { position: absolute; inset: -50%; width: 200%; height: 200%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* compass */
.compass { position: fixed; z-index: 1; left: 50%; top: 44%; width: min(96vmin, calc(100svh - 180px), 1100px); height: min(96vmin, calc(100svh - 180px), 1100px); transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }
.compass text { font-family: var(--eng); fill: var(--brass2); letter-spacing: .3em; text-transform: uppercase; paint-order: stroke fill; stroke: rgba(15,13,18,.88); stroke-width: 3.5px; stroke-linejoin: round; }
.compass .ring-stroke { fill: none; stroke: var(--brass); }
.compass .etch { fill: none; stroke: var(--brass-dim); stroke-width: .8; opacity: .75; }
.compass .facet { font-family: var(--hand); text-transform: lowercase; letter-spacing: .08em; fill: var(--parch-dim); font-size: 15px; }
.compass .their text { fill: var(--parch-dim); font-size: 11px; letter-spacing: .25em; }
.compass .needle-collective { }
.compass .side-words text { letter-spacing: .22em; } .compass .side-words .facet { letter-spacing: .04em; }
.compass .side-narrow { display: none; }
@media (max-width: 1100px) { .compass .side-wide { display: none; } .compass .side-narrow { display: block; } }
@media (max-width: 720px) { .compass .side-narrow { display: none; } }
.side-cap { display: none; }
@media (max-width: 720px) { .side-cap { display: flex; justify-content: space-between; gap: 10px; width: 100%; max-width: 560px; margin: 0 auto 8px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); opacity: .85; } .side-cap span { flex: 1; } .side-cap span:last-child { text-align: right; } }
.compass .hole { fill: rgba(15,13,18,0); stroke: var(--brass); stroke-width: 1.6; }

/* chrome */
.o-top { position: fixed; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 22px; pointer-events: none; }
.o-top > * { pointer-events: auto; }
.o-top::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(180deg, rgba(15,13,18,.96) 55%, rgba(15,13,18,0)); opacity: 0; transition: opacity .35s; pointer-events: none; z-index: -1; }
body.scrolled .o-top::before { opacity: 1; }
body.scrolled .hu-top, body.scrolled .mark-tag { display: none; }
body.scrolled .mark-word { font-size: 26px; }
.mark-word { transition: font-size .3s; }
.o-left { display: grid; gap: 10px; justify-items: start; }
.mark { text-decoration: none; color: var(--parch); display: grid; gap: 3px; justify-items: start; }
.wiki-link { font-family: "Source Serif 4", Georgia, serif; font-style: normal; color: #9cc0ff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-size: 13px; letter-spacing: 0; padding: 0 1px; }
.wiki-link:hover { color: #c9dcff; background: rgba(156,192,255,.12); }
.wiki-link:visited { color: #b59cff; }
.wiki-link.big { font-family: inherit; font-size: inherit; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.field-wiki { font-family: "Special Elite", "Courier New", monospace; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: #ffe6a8; margin-top: 2px; padding: 2px 8px; border-left: 2px solid rgba(255,214,120,.6); text-shadow: 0 0 6px rgba(255,200,90,.9), 0 0 18px rgba(255,138,61,.6), 0 0 36px rgba(255,138,61,.35); animation: fwGlow 3.6s ease-in-out infinite; }
@keyframes fwGlow { 0%, 100% { text-shadow: 0 0 6px rgba(255,200,90,.9), 0 0 18px rgba(255,138,61,.55), 0 0 36px rgba(255,138,61,.3); color: #ffe6a8; } 50% { text-shadow: 0 0 10px rgba(255,230,160,1), 0 0 28px rgba(255,138,61,.9), 0 0 56px rgba(255,79,176,.5); color: #fff6dc; } }
@media (prefers-reduced-motion: reduce) { .field-wiki { animation: none; } }
.mark-word { font-family: var(--brush); font-size: 34px; white-space: nowrap; line-height: 1; letter-spacing: .01em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.mark-i { position: relative; display: inline-block; }
.mark-i svg { position: absolute; width: 24px; height: 21px; left: 50%; top: -13px; transform: translateX(-50%); }
.mark-tag { font-family: var(--mono); font-size: 11px; color: var(--brass2); letter-spacing: .08em; text-shadow: 0 1px 8px rgba(0,0,0,.9); }

/* top right: sound + menu */
.o-right { position: relative; display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,163,92,.55); background: rgba(15,13,18,.72); color: var(--brass2); cursor: pointer; display: grid; place-items: center; padding: 0; backdrop-filter: blur(6px); transition: border-color .25s, background .25s, transform .2s; }
.icon-btn:hover { border-color: var(--brass2); background: rgba(15,13,18,.95); transform: translateY(-1px); }
.icon-btn:focus-visible { outline: 2px solid var(--brass2); outline-offset: 2px; }
.hum-top svg { width: 22px; height: 22px; overflow: visible; }
.hum-top .hw { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .9; }
.hum-top .w2 { opacity: .35; }
.hum-top[aria-pressed="true"] { color: #ffd98a; box-shadow: 0 0 18px rgba(255,180,90,.45); border-color: rgba(255,217,138,.8); }
.hum-top[aria-pressed="true"] .w1 { animation: humWave 1.6s ease-in-out infinite; } .hum-top[aria-pressed="true"] .w2 { animation: humWave 1.6s ease-in-out infinite reverse; opacity: .6; }
@keyframes humWave { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(0) scaleY(.4); } }
.hum-top .hw { transform-origin: 50% 50%; transform-box: fill-box; }
.menu-btn { position: relative; }
.mb-l { position: absolute; left: 50%; height: 1.5px; background: currentColor; border-radius: 2px; transform: translateX(-50%); transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), top .35s; }
.mb-l.l1 { width: 18px; top: 18px; } .mb-l.l2 { width: 11px; top: 25px; margin-left: 3.5px; }
.menu-btn:hover .l2 { width: 18px; margin-left: 0; }
.menu-btn[aria-expanded="true"] .l1 { top: 21px; transform: translateX(-50%) rotate(45deg); width: 18px; }
.menu-btn[aria-expanded="true"] .l2 { top: 21px; transform: translateX(-50%) rotate(-45deg); width: 18px; margin-left: 0; }
.menu { position: absolute; top: 54px; right: 0; width: min(300px, calc(100vw - 44px)); display: grid; gap: 2px; padding: 8px; border-radius: 10px; background: rgba(15,13,18,.92); border: 1px solid rgba(201,163,92,.45); box-shadow: 0 20px 60px rgba(0,0,0,.7), inset 0 0 0 1px rgba(0,0,0,.6); backdrop-filter: blur(14px); transform-origin: top right; animation: menuIn .28s cubic-bezier(.2,.8,.2,1); }
.menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.menu a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; text-decoration: none; color: var(--parch); padding: 9px 12px; border-radius: 6px; transition: background .2s; }
.menu a:hover, .menu a:focus-visible { background: rgba(201,163,92,.14); outline: none; }
.menu a b { font-family: var(--brush); font-weight: 400; font-size: 19px; color: #fff; }
.menu a small { font-family: var(--mono); font-size: 10px; color: var(--parch-dim); letter-spacing: .06em; text-align: right; }
.menu a:first-child b { color: var(--flame); } .menu a:last-child b { color: var(--brass2); }

/* fold one */
.hero { position: relative; z-index: 2; height: 100vh; height: 100svh; display: grid; align-content: end; justify-items: center; gap: 8px; padding: 0 16px 22px; pointer-events: none; }
.hero > * { pointer-events: auto; }
.report { text-align: center; max-width: 720px; display: grid; justify-items: center; gap: 3px; padding: 8px 18px 10px; background: linear-gradient(180deg, rgba(23,19,32,.78), rgba(15,13,18,.9)); border: 1px solid rgba(201,163,92,.45); border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.6); position: relative; }
.report::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(201,163,92,.3); border-radius: 3px; pointer-events: none; }
.cue { color: var(--brass2); text-decoration: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; opacity: .85; animation: cueBob 2.6s ease-in-out infinite; }
.cue:hover { opacity: 1; color: #fff; }
@keyframes cueBob { 50% { transform: translateY(3px); } }

/* the sheet */
.sheet { position: relative; z-index: 3; background: var(--ink); border-top: 1px solid rgba(201,163,92,.35); box-shadow: 0 -30px 80px rgba(0,0,0,.6); }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sheet > * { position: relative; }
.kicker { color: var(--brass2); margin: 0 0 10px; font-size: 11px; letter-spacing: .14em; }
.brush { font-family: var(--brush); font-weight: 400; }
.lede { font-size: 17px; line-height: 1.45; color: var(--parch); max-width: 60ch; margin: 0 0 18px; }

/* positioning */
.pos { max-width: 860px; margin: 0 auto; padding: 72px 22px 56px; display: grid; gap: 18px; }
.pos-hu { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.02; color: #fff; margin: 0; max-width: 30ch; } .pos-hu .nowrap { white-space: nowrap; color: var(--flame); }
.pos-sig { color: var(--brass2); margin: -6px 0 6px; font-size: 13px; letter-spacing: .1em; } .pos-sig .wiki-link { font-size: 14px; }
.pos-epic { padding-bottom: 18px; border-bottom: 1px dashed rgba(201,163,92,.4); margin-bottom: 6px; }
.pos-h { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -.01em; color: #fff; margin: 0; max-width: 24ch; }
.pos-q { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; color: var(--flame); margin: 4px 0 0; max-width: 28ch; }
.pos-q:nth-of-type(3) { color: var(--magenta); }
.pos-p { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(19px, 2.3vw, 26px); line-height: 1.4; color: var(--parch); margin: 0; max-width: 46ch; }
.pos-amp { display: grid; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(201,163,92,.4); }
.pos-amp .kicker { margin: 0; }
.amp-q { color: #b48cff; }
.pos-omni { font-family: var(--brush); font-size: clamp(17px, 2vw, 23px); line-height: 1.3; color: var(--parch); margin: 14px 0 0; padding-top: 18px; border-top: 1px dashed rgba(201,163,92,.4); max-width: 640px; }
.pos-omni mark { color: #fff; background: none; padding: 0 3px; position: relative; white-space: nowrap; isolation: isolate; }
.pos-omni mark::before { content: ""; position: absolute; inset: 12% -2px 6%; z-index: -1; border-radius: 3px; transform: rotate(-1deg); opacity: .85; }
.pos-omni .m1::before { background: linear-gradient(90deg, rgba(255,138,61,.75), rgba(255,138,61,.45)); }
.pos-omni .m2::before { background: linear-gradient(90deg, rgba(122,166,255,.7), rgba(122,166,255,.4)); transform: rotate(1deg); }
.pos-omni .m3::before { background: linear-gradient(90deg, rgba(255,79,176,.7), rgba(255,79,176,.4)); }
.pos-omni .m4::before { background: linear-gradient(90deg, rgba(127,211,161,.65), rgba(127,211,161,.35)); transform: rotate(-.6deg); }

/* input game + sound as panels */
.arrive, .sound { max-width: 860px; margin: 0 auto 28px; padding: 26px 26px 22px; background: linear-gradient(180deg, rgba(23,19,32,.9), rgba(15,13,18,.92)); border: 1px solid rgba(201,163,92,.5); box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), 0 10px 40px rgba(0,0,0,.6), inset 0 0 40px rgba(201,163,92,.06); border-radius: 6px; position: relative; }
.arrive::before, .sound::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(201,163,92,.3); border-radius: 3px; pointer-events: none; }
.arrive h2, .sound h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; color: #fff; }
.fine { color: var(--parch-dim); margin: 10px 0 0; font-size: 10.5px; }
.sound { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.sound .lede { margin-bottom: 0; }

/* footer */
.o-foot { max-width: 860px; margin: 0 auto; padding: 40px 22px 60px; display: grid; justify-items: start; gap: 8px; }
.foot-h { margin: 0 0 6px; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; color: #fff; }
.credits { display: grid; gap: 4px; margin-top: 34px; padding-top: 14px; border-top: 1px dashed rgba(201,163,92,.35); width: 100%; color: var(--parch-dim); font-size: 10.5px; }

.rp-k { color: var(--brass2); display: inline-flex; gap: 8px; align-items: center; margin: 0; padding: 0; font-size: 11px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 10px var(--moss); animation: pulse 2s infinite; }
.dot.off { background: var(--parch-dim); box-shadow: none; animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
.rp-h { font-family: var(--brush); font-weight: 400; font-size: clamp(18px, 3vh, 30px); line-height: 1.1; color: #fff; margin: 2px 0; min-height: 1.1em; }
.rp-h .caret { display: inline-block; width: .5ch; color: var(--brass2); animation: pulse 1s steps(2) infinite; }
.rp-sub { color: var(--parch); margin: 0; font-size: 11px; }

.poles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pole, .act, .send, .valve { font-family: var(--hand); cursor: pointer; color: var(--parch); background: rgba(15,13,18,.6); border: 1px solid rgba(201,163,92,.55); border-radius: 4px; transition: transform .15s, background .2s, border-color .2s; }
.pole { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 10px 12px; min-height: 56px; }
.pole b { grid-row: 1 / 3; font-family: var(--eng); font-size: 20px; color: var(--brass2); }
.pole span { font-size: 17px; line-height: 1; }
.pole small { font-family: var(--mono); font-size: 10px; color: var(--parch-dim); letter-spacing: .1em; }
.pole:hover, .act:hover { transform: translateY(-1px); border-color: var(--brass2); }
.pole[aria-pressed="true"], .act[aria-pressed="true"] { background: rgba(201,163,92,.18); border-color: var(--brass2); box-shadow: 0 0 0 1px var(--brass2), 0 0 18px rgba(201,163,92,.35); }
.pole.n[aria-pressed="true"] b { color: var(--flame); } .pole.e[aria-pressed="true"] b { color: var(--magenta); } .pole.s[aria-pressed="true"] b { color: var(--moss); } .pole.w[aria-pressed="true"] b { color: var(--blue); }
.axis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.act { padding: 8px 12px; font-size: 15px; display: grid; gap: 1px; text-align: left; }
.act small { font-family: var(--mono); font-size: 10px; color: var(--parch-dim); }
.word { display: flex; gap: 8px; margin-top: 10px; }
.word input { flex: 1; min-width: 0; font-family: var(--hand); font-size: 16px; color: #fff; background: rgba(0,0,0,.4); border: 1px solid rgba(201,163,92,.45); border-radius: 4px; padding: 6px 10px; outline: none; }
.word input:focus { border-color: var(--brass2); box-shadow: 0 0 0 2px rgba(201,163,92,.25); }
.send { padding: 6px 12px; font-size: 14px; background: var(--brass); color: var(--ink); border-color: var(--brass2); font-weight: 700; }
.send:hover { background: var(--brass2); }
.send[disabled] { opacity: .5; cursor: wait; }
.arrive.sent .send { background: var(--moss); border-color: var(--moss); }

/* steampunk levers */
.levers { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.lever { display: grid; justify-items: center; gap: 6px; }
.lever .eng { font-size: 10px; color: var(--brass2); }
.lever input[type="range"] { -webkit-appearance: none; appearance: none; writing-mode: vertical-lr; direction: rtl; width: 34px; height: 96px; background: transparent; cursor: ns-resize; margin: 0; }
.lever input[type="range"]::-webkit-slider-runnable-track { width: 10px; height: 100%; background: linear-gradient(90deg, #2a2230, #0a0810 50%, #2a2230); border-radius: 6px; border: 1px solid rgba(201,163,92,.6); box-shadow: inset 0 0 6px #000; }
.lever input[type="range"]::-moz-range-track { width: 10px; height: 100%; background: linear-gradient(90deg, #2a2230, #0a0810 50%, #2a2230); border-radius: 6px; border: 1px solid rgba(201,163,92,.6); }
.lever input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 18px; margin-left: -12px; border-radius: 9px / 6px; background: radial-gradient(ellipse at 40% 35%, #f3dca3, #b88a3c 55%, #6f511f); border: 1px solid #3a2a10; box-shadow: 0 2px 6px rgba(0,0,0,.8), inset 0 1px 1px rgba(255,255,255,.6); cursor: grab; }
.lever input[type="range"]::-moz-range-thumb { width: 32px; height: 18px; border-radius: 9px / 6px; background: radial-gradient(ellipse at 40% 35%, #f3dca3, #b88a3c 55%, #6f511f); border: 1px solid #3a2a10; box-shadow: 0 2px 6px rgba(0,0,0,.8); cursor: grab; }
.lever small { color: var(--parch-dim); }
.valve { display: grid; justify-items: center; gap: 6px; padding: 8px 8px 6px; border-radius: 50% / 40%; width: 66px; height: 96px; align-content: center; }
.valve i { display: block; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3dca3, #b88a3c 50%, #5a3f16); box-shadow: 0 3px 10px rgba(0,0,0,.8), inset 0 0 0 3px rgba(0,0,0,.35); position: relative; transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.valve i::before { content: ""; position: absolute; left: 50%; top: 4px; width: 3px; height: 16px; margin-left: -1.5px; background: #3a2a10; border-radius: 2px; }
.valve[aria-pressed="true"] i { transform: rotate(140deg); box-shadow: 0 3px 10px rgba(0,0,0,.8), inset 0 0 0 3px rgba(0,0,0,.35), 0 0 22px rgba(255,180,90,.6); }
.valve span { font-family: var(--mono); font-size: 11px; color: var(--parch-dim); }
.valve[aria-pressed="true"] span { color: var(--brass2); }

.enter { margin-top: 4px; font-family: var(--brush); font-size: 17px; color: var(--ink); background: var(--brass2); text-decoration: none; padding: 4px 16px; border-radius: 999px; border: 2px solid #fff3; box-shadow: 0 6px 30px rgba(0,0,0,.6), 0 0 24px rgba(230,199,127,.35); transition: transform .15s; }
.enter:hover { transform: translateY(-2px) rotate(-1deg); }

@media (max-width: 1100px) { .compass { top: 44%; width: min(100vw, 120vmin, calc(100svh - 190px)); height: min(100vw, 120vmin, calc(100svh - 190px)); } }
@media (max-width: 720px) {
  body { font-size: 16px; }
  .o-top { padding: 12px 14px; }
  .field-wiki { font-size: 11px; letter-spacing: .1em; }
  .icon-btn { width: 40px; height: 40px; } .mb-l.l1 { top: 16px; } .mb-l.l2 { top: 23px; } .menu-btn[aria-expanded="true"] .l1, .menu-btn[aria-expanded="true"] .l2 { top: 19px; }
  .menu { top: 50px; }
  .compass { top: 44%; width: 112vw; height: 112vw; }
  .hero { padding: 0 10px 16px; }
  .pos { padding: 56px 18px 40px; }
  .arrive, .sound { margin: 0 12px 20px; padding: 20px 16px 18px; }
  .poles { grid-template-columns: repeat(2, 1fr); }
  .sound { grid-template-columns: 1fr; }
  .levers { grid-template-columns: 1fr 1fr auto; }
  .lever input[type="range"] { height: 90px; } .valve { height: 90px; }
  .o-foot { padding: 32px 18px 48px; }
  .credits span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .dot, .rp-h .caret, .cue, .hum-top .hw { animation: none; } }

/* the wick: a candle "i" whose flame is two rings meeting; the lens between them is the omni */
.venn-flame { overflow: visible; }
.venn-flame .vf-a { fill: none; stroke: #ff4fb0; stroke-width: 2.1; stroke-linecap: round; }
.venn-flame .vf-b { fill: none; stroke: #4f6fd8; stroke-width: 2.1; }
.venn-flame .vf-lens { fill: #ff8a3d; }
.venn-flame .vf-spark { fill: #7a3fe0; }

.about-link { animation: none; text-transform: none; letter-spacing: .04em; font-size: 12px; padding: 4px 0; opacity: .9; }

.wick-q { color: #ffd98a; }
.pos-signal .pos-p { font-family: var(--brush); font-size: clamp(19px, 2.3vw, 26px); line-height: 1.25; }

/* top-left: the three-second line, set in type, not by hand */
.hu-top { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(15px, 1.6vw, 21px); line-height: 1.25; color: var(--parch); margin: 2px 0 0; max-width: 24ch; text-shadow: 0 1px 10px rgba(0,0,0,.9); letter-spacing: .005em; }
.hu-top b { font-weight: 400; color: var(--flame); white-space: nowrap; }

/* the field-wiki stamp: an intelligence report mark, inked at an angle */
.stamp-fw { position: absolute; left: clamp(14px, 3vw, 40px); bottom: clamp(110px, 16vh, 160px); z-index: 2; display: grid; justify-items: center; gap: 1px; padding: 9px 14px 8px; border: 2px solid rgba(255,214,120,.7); outline: 1px solid rgba(255,214,120,.35); outline-offset: 3px; border-radius: 4px; transform: rotate(-7deg); color: #ffe6a8; font-family: "Special Elite", "Courier New", monospace; text-transform: uppercase; letter-spacing: .14em; text-align: center; background: rgba(15,13,18,.35); pointer-events: auto;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.55'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.55'/%3E%3C/svg%3E");
  text-shadow: 0 0 6px rgba(255,200,90,.7), 0 0 18px rgba(255,138,61,.4); animation: fwGlow 3.6s ease-in-out infinite; }
.stamp-fw .sfw-top, .stamp-fw .sfw-bot { font-size: 9.5px; letter-spacing: .22em; color: rgba(255,230,168,.85); }
.stamp-fw .sfw-main { font-size: 14px; letter-spacing: .2em; line-height: 1.25; }
.stamp-fw .sfw-bot em { font-style: normal; color: #9cc0ff; text-decoration: underline; text-underline-offset: 2px; letter-spacing: .05em; text-transform: none; }
.stamp-fw .sfw-top { border-bottom: 1px solid rgba(255,214,120,.45); padding-bottom: 3px; margin-bottom: 3px; }
.stamp-fw .sfw-bot { border-top: 1px solid rgba(255,214,120,.45); padding-top: 3px; margin-top: 3px; }
@media (max-width: 1100px) { .stamp-fw { bottom: auto; left: auto; right: clamp(14px, 3vw, 40px); top: clamp(96px, 13vh, 140px); transform: rotate(6deg) scale(.9); transform-origin: right top; } }
@media (max-width: 720px) { .stamp-fw { top: 66px; right: 6px; transform: rotate(6deg) scale(.66); } .hu-top { font-size: 14px; max-width: 18ch; } }

/* the 14-year-old echo lines */
.lit-q { color: #ffd98a; font-size: clamp(22px, 3vw, 34px); } .lit-q .lit-s { display: block; font-size: .62em; color: var(--parch); opacity: .9; margin-top: 4px; }

/* the youth version: a callout they own */
.youth-call { margin-top: 26px; padding: 22px 24px 20px; border: 3px solid var(--moss); border-radius: 4px 14px 4px 14px; position: relative; background: rgba(127,211,161,.05); box-shadow: 0 0 0 4px rgba(15,13,18,1), 0 0 0 5px rgba(127,211,161,.3), 8px 8px 0 rgba(127,211,161,.18); transform: rotate(-.4deg); }
.yc-speed { position: absolute; top: 0; right: 0; width: 190px; height: 190px; color: var(--moss); pointer-events: none; }
.yc-tone { position: absolute; left: 0; bottom: 0; width: 110px; height: 110px; color: var(--moss); pointer-events: none; }
.yc-head { display: grid; grid-template-columns: 1fr 128px; gap: 18px; align-items: center; margin-bottom: 12px; position: relative; }
.yc-face-btn { display: grid; justify-items: center; gap: 4px; background: none; border: 0; padding: 0; color: var(--moss); cursor: pointer; }
.yc-face { width: 120px; height: 120px; color: var(--moss); filter: drop-shadow(0 4px 0 rgba(0,0,0,.5)); transition: transform .2s; }
.yc-face-btn:hover .yc-face { animation: yc-wiggle .6s ease-in-out infinite; } .yc-face-btn.pop .yc-face { animation: yc-pop .45s cubic-bezier(.2,.8,.2,1); }
.yc-face-btn:focus-visible { outline: 2px dashed var(--moss); outline-offset: 4px; border-radius: 12px; }
.yc-tap { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); opacity: .8; } .yc-tap b { font-weight: 400; color: #fff; }
.yf { display: none; } .youth-call:not([data-form]) .yf.f0, .youth-call[data-form="0"] .yf.f0, .youth-call[data-form="1"] .yf.f1, .youth-call[data-form="2"] .yf.f2, .youth-call[data-form="3"] .yf.f3, .youth-call[data-form="4"] .yf.f4, .youth-call[data-form="5"] .yf.f5 { display: block; }
.youth-call[data-form="1"] .yc-face { color: #ffb347; } .youth-call[data-form="2"] .yc-face { color: #9cc0ff; } .youth-call[data-form="3"] .yc-face { color: #e6c77f; } .youth-call[data-form="4"] .yc-face { color: #ff4fb0; } .youth-call[data-form="5"] .yc-face { color: #fff; }
@keyframes yc-wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes yc-pop { 0% { transform: scale(.6) rotate(-8deg); } 60% { transform: scale(1.15) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .yc-face-btn:hover .yc-face, .yc-face-btn.pop .yc-face { animation: none; } }
.yc-bubble { position: relative; padding: 14px 18px; border: 2px solid rgba(255,255,255,.75); border-radius: 18px 18px 18px 4px; background: rgba(15,13,18,.7); }
.yc-bubble::after { content: ""; position: absolute; right: -14px; top: 50%; width: 0; height: 0; border: 10px solid transparent; border-left-color: rgba(255,255,255,.75); transform: translateY(-50%); }
@media (max-width: 720px) { .yc-head { grid-template-columns: 1fr 84px; gap: 12px; } .yc-face { width: 84px; height: 84px; } .yc-speed { width: 130px; height: 130px; } }
.youth-call::before { content: "draft · yours to rewrite"; position: absolute; top: -11px; right: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--moss); padding: 3px 8px; border-radius: 2px; transform: rotate(2deg); }
.youth-call .kicker { color: var(--moss); }
.youth-call h3 { margin: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1.05; color: #fff; font-weight: 400; }
.yc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; position: relative; }
.yc-list li { font-family: var(--mono); font-size: 13.5px; line-height: 1.5; color: var(--moss); padding-left: 1.4rem; position: relative; }
.yc-list li::before { content: "//"; position: absolute; left: 0; color: rgba(127,211,161,.6); }
.yc-note { position: relative; margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed rgba(127,211,161,.4); font-family: var(--brush); font-size: 18px; line-height: 1.3; color: var(--parch); }
.yc-note .wiki-link { display: inline-block; margin-top: 4px; }

.pos-gate .gate-q { color: var(--flame, #ff8a3d); }
.pos-gate strong { color: #fff; font-weight: 600; }

/* from the actual table */
.table { max-width: 1000px; margin: 0 auto; padding: 8px 22px 64px; display: grid; gap: 14px; }
.table .brush { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.05; margin: 0; color: var(--parch); }
.table .lede { color: var(--parch-dim); max-width: 620px; margin: 0; font-size: 18px; }
.table-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; margin-top: 22px; }
.table figure { margin: 0; transform: rotate(var(--r, 0deg)); display: grid; gap: 12px; }
.table figure a { display: block; } .table img { display: block; width: 100%; height: auto; border-radius: 3px; border: 1px solid rgba(201,163,92,.3); box-shadow: 0 22px 50px rgba(0,0,0,.65), 0 2px 0 rgba(255,255,255,.04) inset; background: #1a1620; }
.table figcaption { font-family: var(--hand); font-size: 16px; line-height: 1.35; color: var(--parch-dim); transform: rotate(calc(var(--r, 0deg) * -1)); } .table figcaption b { color: var(--parch); font-weight: 600; } .table figcaption .mono { font-size: 11px; letter-spacing: .12em; color: var(--brass2); text-transform: uppercase; }
.table-fine { margin-top: 18px; color: var(--brass2); opacity: .85; }
@media (max-width: 720px) { .table { padding: 0 18px 48px; } .table-row { grid-template-columns: 1fr 1fr; gap: 18px; } .table-row figure:last-child { grid-column: 1 / -1; max-width: 360px; margin: 0 auto; } .table figcaption { font-size: 15px; } }

/* the collaboration salon pitch */
.salon-pitch { max-width: 1060px; margin: 0 auto; padding: 8px 22px 72px; display: grid; gap: 14px; }
.salon-pitch .brush { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.05; margin: 0; color: var(--parch); max-width: 820px; }
.sp-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 34px; align-items: start; margin-top: 18px; }
.sp-copy { display: grid; gap: 14px; } .sp-copy .pos-p { margin: 0; }
.sp-q { color: var(--flame, #ff8a3d); margin: 4px 0 0; }
.sp-acts { display: grid; gap: 12px; justify-items: start; margin-top: 8px; }
.sp-shot { margin: 0; display: grid; gap: 12px; transform: rotate(.6deg); }
.sp-shot a { display: block; } .sp-shot img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid rgba(201,163,92,.35); box-shadow: 0 26px 60px rgba(0,0,0,.7), 0 0 0 6px rgba(15,13,18,1), 0 0 0 7px rgba(201,163,92,.25); background: #f5eedd; }
.sp-shot figcaption { font-family: var(--hand); font-size: 16px; line-height: 1.35; color: var(--parch-dim); transform: rotate(-.6deg); } .sp-shot figcaption .mono { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass2); margin-bottom: 4px; }
@media (max-width: 900px) { .sp-grid { grid-template-columns: 1fr; gap: 24px; } .sp-shot { transform: none; } .sp-shot figcaption { transform: none; } }
@media (max-width: 720px) { .salon-pitch { padding: 0 18px 52px; } }

/* the essence: what this is, in one breath */
.essence { max-width: 860px; margin: 0 auto; padding: 64px 22px 24px; display: grid; gap: 12px; }
.essence .brush { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.02; margin: 0; color: var(--parch); }
.es-stage { margin-top: 10px; border: 1px solid rgba(201,163,92,.4); border-radius: 12px; background: radial-gradient(ellipse at 50% 55%, rgba(201,163,92,.08), transparent 60%), rgba(255,255,255,.02); padding: 12px 12px 10px; cursor: pointer; }
.es-svg { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--hand); }
.es-svg text { fill: var(--parch); } .es-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; fill: var(--brass2) !important; } .es-sub { font-size: 18px; fill: var(--parch-dim) !important; }
.es-svg g { transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); transform-box: fill-box; transform-origin: center; }
.es-card rect { fill: #f5eedd; stroke: var(--brass); stroke-width: 1.5; } .es-heart { fill: #ff4fb0; } .es-lines { stroke: #3a2f45; stroke-width: 1.5; stroke-linecap: round; opacity: .6; } .es-card .es-tag { fill: var(--brass2); }
.es-dk rect { fill: #f5eedd; stroke: var(--brass); stroke-width: 1.2; } .es-dk path { stroke: #3a2f45; stroke-width: 1.3; stroke-linecap: round; opacity: .55; } .es-lit { fill: var(--parch) !important; font-size: 22px; }
.es-compass circle { fill: none; stroke-width: 2; } .es-compass line { stroke-width: 1; stroke-dasharray: 2 5; } .es-compass.you circle, .es-compass.you line { stroke: #7aa6ff; } .es-compass.them circle, .es-compass.them line { stroke: #ff4fb0; }
.es-lens path { fill: rgba(180,140,255,.0); stroke: #b48cff; stroke-width: 0; transition: fill 1s, stroke-width .6s; } .es-omni { font-family: var(--eng); font-size: 16px; letter-spacing: .25em; fill: #d9c6ff !important; }
.es-ring { fill: none; stroke: rgba(201,163,92,.5); stroke-width: 1.5; stroke-dasharray: 3 7; } .es-people circle, .es-people path { fill: #2a2236; stroke: var(--brass2); stroke-width: 1.3; }
.es-flame { fill: #ff8a3d; stroke: #b35a1e; stroke-width: 1; } .es-flame-in { fill: #fff2c2; }
.es-hand path { fill: none; stroke: var(--brass2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* states */
.es-deck, .es-compass, .es-lens, .es-fire { opacity: 0; }
.es-compass.you { transform: translateX(-200px); } .es-compass.them { transform: translateX(200px); }
.essence[data-step="0"] .es-card { opacity: 1; transform: none; } .essence[data-step="0"] .es-hand { opacity: 1; }
.essence[data-step="1"] .es-card { opacity: 0; transform: translateY(-40px) scale(.7); } .essence[data-step="1"] .es-hand { opacity: 0; }
.essence[data-step="1"] .es-deck { opacity: 1; } .essence[data-step="1"] .es-dk.d1 { transform: rotate(-9deg); } .essence[data-step="1"] .es-dk.d2 { transform: rotate(-4deg); } .essence[data-step="1"] .es-dk.d3 { transform: rotate(4deg); } .essence[data-step="1"] .es-dk.d4 { transform: rotate(9deg); }
.essence[data-step="2"] .es-card, .essence[data-step="2"] .es-hand, .essence[data-step="2"] .es-deck { opacity: 0; }
.essence[data-step="2"] .es-compass { opacity: 1; } .essence[data-step="2"] .es-compass.you { transform: translateX(-60px); } .essence[data-step="2"] .es-compass.them { transform: translateX(60px); }
.essence[data-step="2"] .es-lens { opacity: 1; transition-delay: .7s; } .essence[data-step="2"] .es-lens path { fill: rgba(180,140,255,.35); stroke-width: 1.5; transition-delay: .7s; }
.essence[data-step="3"] .es-card, .essence[data-step="3"] .es-hand, .essence[data-step="3"] .es-deck, .essence[data-step="3"] .es-compass, .essence[data-step="3"] .es-lens { opacity: 0; }
.essence[data-step="3"] .es-fire { opacity: 1; } .essence[data-step="3"] .es-flame { animation: es-flicker 1.1s ease-in-out infinite alternate; transform-origin: 380px 190px; }
@keyframes es-flicker { from { transform: scale(1) skewX(0); } to { transform: scale(1.06, 1.1) skewX(-2deg); } }
.es-cap { margin: 10px 4px 0; font-size: 12px; letter-spacing: .06em; color: var(--parch); min-height: 2.6em; }
.es-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.es-step { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--parch-dim); background: none; border: 1px solid rgba(201,163,92,.45); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.es-step:hover { color: var(--parch); border-color: var(--brass2); } .es-step.on { background: var(--brass2); color: var(--ink); border-color: var(--brass2); }
.es-more { margin-left: auto; }
@media (max-width: 720px) { .essence { padding: 44px 18px 12px; } .es-sub { font-size: 20px; } .es-tag { font-size: 12.5px; } .es-cap { font-size: 12.5px; } .es-more { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .es-svg g, .es-lens path { transition: none; } .es-flame { animation: none !important; } }
