@font-face{font-family:Newsreader;src:url('fonts/newsreader-latin.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:Newsreader;src:url('fonts/newsreader-latin-ext.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{
 --bg:#16100f;--ink:#fff3e2;--muted:#e5cdb8;--accent:#ffd1a1;--surface:#241714;--line:#9e7964;
 --stage-bg:#1e1213;--stage-light:#622f27;--bar:3.7rem;color-scheme:dark;
}
:root[data-theme=light]{--bg:#f2e6d4;--ink:#241713;--muted:#503328;--accent:#7d2b20;--surface:#fcf3e5;--line:#846447;--stage-bg:#ead6b9;--stage-light:#f7ecd8;color-scheme:light}
body[data-project=cetera-din-oas]{
 --bg:#101719;--ink:#ffebd4;--muted:#e0cfb7;--accent:#f2c17e;--surface:#182527;--line:#8b8270;
 --stage-bg:#101d23;--stage-light:#284249;
}
:root[data-theme=light] body[data-project=cetera-din-oas]{
 --bg:#eee9da;--ink:#1d2326;--muted:#443e32;--accent:#6b3e10;--surface:#f9f3e5;--line:#7c6a50;
 --stage-bg:#dedcc9;--stage-light:#f7ede0;
}
:root{background:var(--bg);scroll-behavior:smooth;scroll-padding-top:calc(var(--bar) + .75rem)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1rem/1.7 system-ui,-apple-system,sans-serif}
button,input{font:inherit}
a{color:var(--accent);text-underline-offset:.22em}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.topbar{position:fixed;inset:0 0 auto;z-index:30;height:var(--bar);display:grid;grid-template-columns:1fr max-content 1fr;align-items:center;gap:.7rem;padding-inline:clamp(.9rem,3vw,3.4rem);border-bottom:1px solid var(--line);background:var(--bg)}
.topbar a{text-decoration:none}
.masthead,.place,.actions{color:var(--ink);font:600 clamp(.69rem,1vw,.83rem)/1.4 system-ui,sans-serif}
.place{text-align:center;letter-spacing:.085em;text-transform:uppercase;color:var(--muted)}
.actions{display:flex;align-items:center;justify-content:flex-end;gap:clamp(.65rem,2vw,1.4rem)}
.actions>a,.actions>button{min-height:44px;display:grid;place-items:center}
.actions>a:hover{text-decoration:underline}
button{background:var(--surface);color:var(--ink);border:1px solid var(--line);cursor:pointer;min-height:44px;padding:.35rem .68rem}
button[aria-pressed=true]{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.topbar #theme[aria-pressed=true]{background:var(--surface);color:var(--ink);border-color:var(--line)}
.skip{position:fixed;z-index:40;left:1rem;top:-10rem;background:var(--bg);padding:.4rem 1rem}
.skip:focus{top:.5rem}
.stage{position:fixed;inset:var(--bar) 0 0 38%;margin:0;isolation:isolate;z-index:0;background:radial-gradient(ellipse at 52% 42%,var(--stage-light),var(--stage-bg) 73%);overflow:hidden}
.stage canvas,.stage .poster{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.stage canvas{visibility:hidden}
.stage[data-ready=true] canvas{visibility:visible}
.stage[data-ready=true] .poster{display:none}
.stage figcaption{position:absolute;max-width:min(34rem,70%);left:clamp(.7rem,2vw,2rem);bottom:clamp(.7rem,2vw,1.65rem);padding:.4rem .65rem;z-index:3;background:var(--bg);color:var(--muted);border-left:2px solid var(--line);font-size:.83rem;line-height:1.44}
.rail{position:fixed;top:43%;right:.8rem;z-index:9;display:grid;gap:.3rem}
.rail a{display:grid;place-items:center;text-decoration:none;width:2.25rem;height:2.25rem;min-width:36px;min-height:36px;border:1px solid var(--line);background:var(--bg);color:var(--muted);font:650 .67rem/1 system-ui,sans-serif}
.rail a[aria-current]{background:var(--accent);border-color:var(--accent);color:var(--bg)}
.story{position:relative;z-index:2;padding-top:var(--bar)}
.story-step{min-height:88svh;display:flex;align-items:center;width:45%;padding:clamp(2.5rem,10svh,6rem) 1rem clamp(3rem,10svh,6rem) clamp(1.35rem,5vw,6rem)}
.copy{max-width:32rem;padding:1.5rem clamp(.6rem,1.6vw,1.6rem) 1.5rem 0;background:linear-gradient(90deg,var(--bg) 86%,transparent);border-top:1px solid var(--line)}
.hero{min-height:calc(100svh - var(--bar));align-items:center}
.hero .copy{border:0;padding-bottom:3.1rem}
h1,h2{font-family:Newsreader,Georgia,serif;font-weight:500;letter-spacing:-.044em;text-wrap:balance}
h1{font-size:clamp(3rem,7.3vw,8.3rem);line-height:.88;margin:1.1rem 0 1.45rem}
h2{font-size:clamp(2rem,4.1vw,4.6rem);line-height:.99;margin:.65rem 0 1.1rem}
.copy p{margin:0 0 1.03em}
.copy p:not(.eyebrow){max-width:32rem}
.copy .deck{font-size:clamp(1rem,1.22vw,1.26rem);color:var(--muted);max-width:37ch}
.copy .eyebrow{font:650 .72rem/1.6 system-ui,sans-serif;color:var(--accent);letter-spacing:.14em;text-transform:uppercase}
.begin{display:inline-flex;gap:1rem;align-items:center;margin-top:.7rem;line-height:1.3;min-height:44px;font-weight:600}
.ref{margin-inline:.22ch;font-size:.72em;vertical-align:super;padding:0 .2em}
.instrument{margin-top:1.4rem;padding:.9rem 1rem;background:var(--surface);border:1px solid var(--line);border-top:2px solid var(--accent)}
.instrument label{font-weight:650}
.instrument p{font-size:.81rem;line-height:1.5;color:var(--muted)}
.instrument p:last-child{margin-bottom:0}
.instrument output{letter-spacing:.02em;font-variant-numeric:tabular-nums}
.slider{display:grid;grid-template-columns:1fr 4.2rem;gap:.7rem;align-items:center;padding-block:.4rem}
.slider input{width:100%;height:2.75rem;accent-color:var(--accent)}
.switch,.strings,.sound-read{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}
.switch,.strings{margin-bottom:.65rem}
.strings button{min-width:44px}
.sound-read{justify-content:space-between;margin-block:.55rem}
.sound .switch button{font-weight:600}
.sound-read output{font-size:1.38rem;font-family:Newsreader,Georgia,serif}
#sound-status:empty{display:none}
.record{position:relative;z-index:11;margin:0;border-top:1px solid var(--line);background:var(--bg);padding:clamp(2.6rem,8vw,7rem) clamp(1.35rem,6vw,6rem)}
.record-inner{max-width:60rem;margin:auto}
.record li{margin-bottom:.75rem}
.record li p{margin:.18rem 0;font-size:.94rem;color:var(--muted)}
.record h2{font-size:clamp(2.4rem,4vw,4rem)}
footer{position:relative;z-index:11;display:flex;flex-wrap:wrap;gap:.85rem 1.4rem;background:var(--surface);border-top:1px solid var(--line);padding:1.25rem clamp(1.35rem,5vw,5rem);color:var(--muted);font-size:.84rem}
@media(max-width:820px){
 :root{--bar:3.35rem;--phone-stage:clamp(228px,43svh,382px);scroll-padding-top:calc(var(--bar) + var(--phone-stage) + .6rem)}
 .topbar{grid-template-columns:1fr auto;gap:.3rem}
 .place,.rail{display:none}
 .stage{inset:var(--bar) 0 auto;height:var(--phone-stage);z-index:5;border-bottom:1px solid var(--line)}
 .stage figcaption{max-width:calc(100% - 1.3rem);font-size:.81rem;line-height:1.36;bottom:.5rem}
 .story{padding-top:calc(var(--bar) + var(--phone-stage))}
 .story-step{width:100%;min-height:initial;padding:1.6rem 1.15rem 3.1rem;align-items:flex-start}
 .copy,.hero .copy{max-width:39rem;width:100%;margin-inline:auto;padding:.65rem 0 0;background:var(--bg)}
 h1{font-size:clamp(3rem,13vw,5rem);line-height:.9;margin:.8rem 0 1.03rem}
 h2{font-size:clamp(2.15rem,8.5vw,3.5rem)}
 .record{padding-top:2.65rem}
}
@media(max-width:350px){.actions{gap:.55rem}.topbar{padding-inline:.64rem}.story-step{padding-inline:.88rem}.instrument{padding-inline:.66rem}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
