/* geist-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/2317fa4bb293c9c0b110e18315d529235c47a0ddd3338cea3d8c7955e927899e.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* geist-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/6894439694946a589d157ece003086960a6a4013d74a813dab7602efdb3d8c09.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-vietnamese-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/8fa40e5d248247735eb97a0bd593b8852440430600d6ba01364c31fe0abc1fe1.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* geist-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/824f485b5d26e2f2da3c2b236132ece1bc8e4e43373452950bb0e40548b4313f.woff2) format('woff2-variations');
  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;
}

/* geist-latin-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/19f9c92546aa300c312235e3125af1b81394d8db9a4bc4a425cd5b641d2d54e1.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Silver audio instrument. Layers: content 0, rail 1, toast 5, help 8. */
:root {
  color-scheme:light;
  --bg:#f1f3f4; --surface:#fcfdfd; --raised:#e6efed; --recessed:#e9edef;
  --ink:#202a2d; --muted:#59666c; --line:#cbd4d7;
  --accent:#24665f; --on-accent:#fcfdfd; --focus:#24665f;
  --error:#a03030; --error-bg:#fff0ed; --notice:#f3eee0;
  --shadow:0 12px 36px #243a4312; --ease-out:cubic-bezier(.23,1,.32,1);
  --radius:16px; --control-radius:10px;
}
:root[data-theme=dark] {
  color-scheme:dark;
  --bg:#131a1d; --surface:#1c2529; --raised:#293e3c; --recessed:#202d32;
  --ink:#e8eff0; --muted:#b2c0c5; --line:#46575e;
  --accent:#a1d1c8; --on-accent:#142e2c; --focus:#a1d1c8;
  --error:#ffb8aa; --error-bg:#3b2423; --notice:#333125;
  --shadow:0 12px 36px #070e122e;
}
* { box-sizing:border-box; }
html { scrollbar-color:var(--line) var(--bg); scrollbar-gutter:stable; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.6 'Geist Variable','Segoe UI',system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font:inherit; color:inherit; }
button { cursor:pointer; touch-action:manipulation; transition:transform 120ms var(--ease-out),background-color 140ms var(--ease-out),border-color 140ms var(--ease-out),color 140ms var(--ease-out); }
button:disabled { opacity:.5; cursor:not-allowed; }
button:active:not(:disabled) { transform:scale(.98); }
::selection { background:var(--accent); color:var(--on-accent); }
input,textarea { caret-color:var(--accent); }
a { color:var(--accent); text-underline-offset:4px; }
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
.skip-link { position:absolute; inset-inline-start:24px; top:8px; transform:translateY(-150%); background:var(--surface); padding:12px 20px; border-radius:var(--control-radius); z-index:8; }
.skip-link:focus { transform:none; }
header { max-width:1220px; padding:18px 24px; margin:24px auto 0; display:flex; align-items:center; justify-content:space-between; gap:24px; border-radius:18px; background:var(--surface); }
.brand { display:flex; gap:12px; align-items:center; font-size:21px; font-weight:650; letter-spacing:-.035em; }
.brand svg { width:34px; height:34px; color:var(--accent); }
.preferences { display:flex; gap:20px; align-items:end; }
.preferences label { display:grid; grid-template-columns:auto minmax(80px,160px); align-items:center; gap:10px; font-size:12px; font-weight:500; color:var(--muted); }
.preferences select { font-size:13px; min-height:40px; max-width:180px; padding:6px 12px; background:var(--bg); border-color:transparent; }
.shell { max-width:1220px; display:grid; grid-template-columns:152px minmax(0,1fr); gap:48px; padding:0 24px; margin:48px auto 0; }
aside { position:sticky; top:32px; height:fit-content; }
.steps { list-style:none; padding:0; margin:0; }
.steps li { display:flex; gap:12px; align-items:center; position:relative; margin-bottom:28px; color:var(--muted); font-size:13px; line-height:1.45; }
.step-num { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border:1px solid var(--line); border-radius:50%; font-size:12px; font-variant-numeric:tabular-nums; }
.step-num svg { width:16px; height:16px; }
.steps .active { color:var(--ink); font-weight:650; }
.steps .active .step-num { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.steps .complete .step-num { background:var(--raised); border-color:transparent; color:var(--accent); }
.side-note { font-size:12px; line-height:1.7; color:var(--muted); margin-top:44px; max-width:140px; }
main { min-width:0; }
#main { scroll-margin-top:24px; }
#main:focus { outline:none; }
h1 { font-size:2.5rem; line-height:1.14; letter-spacing:-.035em; margin:0 0 16px; font-weight:600; max-width:820px; text-wrap:balance; }
h2 { font-size:1.2rem; line-height:1.4; margin:0 0 12px; letter-spacing:-.02em; font-weight:600; }
p { margin:0 0 18px; max-width:68ch; text-wrap:pretty; }
.lead { font-size:16px; color:var(--muted); margin-bottom:28px; max-width:66ch; }
.small,.help { font-size:13px; color:var(--muted); }
.small { margin-block:8px; }
.step-instruction { font-size:15px; margin-block:0 14px; color:var(--ink); max-width:68ch; }
.card,.audio-card { background:var(--surface); border:0; border-radius:var(--radius); padding:28px; margin-bottom:24px; box-shadow:0 2px 2px #26394203; }
.row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.actions { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-block:28px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; background:var(--surface); border:1px solid var(--line); border-radius:var(--control-radius); padding:11px 19px; min-height:46px; font-size:14px; font-weight:600; text-align:center; }
.btn.primary { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.btn.primary:disabled { opacity:1; background:var(--recessed); border-color:var(--line); color:var(--muted); }
.btn.link { background:transparent; border-color:transparent; padding-inline:0; color:var(--muted); }
.ui-icon { display:inline-flex; flex:0 0 auto; }
.ui-icon svg,.btn>svg { width:19px; height:19px; }
.field { margin-bottom:24px; }
.field>label,legend { display:block; font-size:14px; font-weight:600; margin-bottom:10px; }
input[type=text],select,textarea { background:var(--surface); border:1px solid var(--line); border-radius:var(--control-radius); padding:11px 13px; min-height:46px; width:100%; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:1; }
textarea { resize:vertical; min-height:88px; line-height:1.6; }
.grid-two { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.checkline { display:flex; align-items:flex-start; gap:12px; cursor:pointer; font-size:14px; line-height:1.65; }
.checkline input { flex:0 0 19px; width:19px; height:19px; margin:3px 0 0; accent-color:var(--accent); }
fieldset { border:0; padding:0; margin:0 0 26px; min-width:0; }
.choices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.choices.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.choices.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.option { display:flex; align-items:center; justify-content:center; position:relative; text-align:center; border:1px solid var(--line); border-radius:var(--control-radius); padding:13px 10px; min-height:52px; line-height:1.4; cursor:pointer; background:var(--surface); font-size:13px; overflow-wrap:anywhere; transition:background-color 140ms var(--ease-out),border-color 140ms var(--ease-out); }
.option input { position:absolute; opacity:0; width:1px; height:1px; }
.option:has(input:checked) { background:var(--raised); border-color:var(--accent); box-shadow:inset 0 0 0 .5px var(--accent); color:var(--accent); font-weight:650; }
.option:has(input:focus-visible) { outline:3px solid var(--focus); outline-offset:3px; }
.option:has(input:disabled) { opacity:.6; cursor:not-allowed; }
.error { border:1px solid var(--error); border-radius:var(--control-radius); background:var(--error-bg); color:var(--error); padding:15px; margin-block:18px; font-size:14px; }
.error:empty { display:none; }
.notice { background:var(--notice); border-radius:var(--control-radius); padding:18px; margin-bottom:24px; font-size:14px; }
.notice p:last-child { margin-bottom:0; }
.audio-card { padding:24px; background:var(--surface); }
.players { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.play-btn { min-height:138px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:18px; border:1px solid var(--line); border-radius:12px; padding:20px; background:var(--surface); color:var(--ink); }
.play-btn.playing { border-color:var(--accent); background:var(--raised); box-shadow:inset 0 0 0 .5px var(--accent); }
.letter { font-size:38px; letter-spacing:-.03em; line-height:1; font-weight:500; }
.play-label { text-align:start; font-size:14px; font-weight:600; }
.play-label small { display:block; font-size:12px; color:var(--muted); font-weight:400; margin-top:5px; }
.play-icon { display:inline-block; width:16px; height:16px; margin-inline-end:6px; vertical-align:-3px; fill:currentColor; color:var(--accent); }
.audio-ready { display:flex; align-items:center; gap:8px; margin:0 0 20px; font-size:12px; font-weight:500; color:var(--accent); }
.audio-ready::before { content:''; width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:currentColor; }
.timeline { display:flex; gap:14px; align-items:center; margin-top:24px; direction:ltr; }
.timeline input { flex:1; min-width:20px; height:28px; accent-color:var(--accent); cursor:pointer; }
.clock { font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
.heard { display:grid; grid-template-columns:1fr 1fr; gap:12px; font-size:11px; text-align:center; color:var(--muted); margin-top:8px; }
.audio-foot { display:flex; align-items:center; gap:12px; margin-top:18px; flex-wrap:wrap; }
.audio-foot>.small { order:3; flex-basis:100%; font-size:12px; margin:0; }
.audio-foot #restart { margin-inline-start:auto; font-size:12px; min-height:40px; }
.audio-foot .transport-pause { font-size:12px; padding:8px 12px; min-height:40px; }
.audio-import { padding-top:16px; margin-top:12px; }
.audio-import input { display:block; max-width:100%; font-size:13px; margin-bottom:18px; }
.import-status { font-size:13px; padding:12px 0; overflow-wrap:anywhere; }
.import-status[data-status=error] { color:var(--error); }
.import-status[data-status=success] { color:var(--accent); }
.troubleshooting { border-top:1px solid var(--line); margin-top:20px; padding-top:10px; }
.troubleshooting summary { cursor:pointer; font-size:12px; color:var(--muted); padding-block:8px; }
.troubleshooting .audio-import { padding-top:0; margin-top:0; }
.keyboard-guide { margin-top:6px; }
.keyboard-guide summary { cursor:pointer; display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); padding-block:8px; width:fit-content; }
.keyboard-guide summary svg { width:17px; height:17px; }
.disclosure-icon { display:inline-flex; transition:transform 160ms var(--ease-out); }
.disclosure-icon svg { width:13px!important; height:13px!important; }
.keyboard-guide[open] .disclosure-icon { transform:rotate(180deg); }
.key-list { display:flex; flex-wrap:wrap; gap:10px 16px; padding-top:10px; font-size:12px; }
.key-list>span { display:inline-flex; gap:6px; align-items:center; }
kbd { border:1px solid var(--line); border-bottom-width:2px; border-radius:5px; padding:0 6px; font:11px/1.8 'Geist Variable',system-ui,sans-serif; background:var(--bg); }
.keyboard-guide .small { font-size:12px; }
.progress-copy { font-size:13px; color:var(--muted); margin-bottom:16px; font-variant-numeric:tabular-nums; }
.dots { display:flex; gap:5px; margin-bottom:26px; max-width:196px; }
.dot { height:3px; flex:1; background:var(--line); border-radius:4px; }
.dot.done { background:var(--accent); opacity:.45; }
.dot.current { background:var(--accent); }
.preview-row { display:grid; grid-template-columns:1fr 1fr auto; align-items:center; gap:16px; padding:14px 0; font-size:14px; border-bottom:1px solid var(--line); }
.preview-row:last-child { border:0; }
.preview-row strong { font-weight:550; }
.review-link { display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; color:var(--accent); padding:8px 0 8px 10px; min-height:40px; font-size:12px; }
.review-link svg { width:16px; height:16px; }
.download-main { width:100%; min-height:56px; margin-bottom:16px; }
.id { font:12px/1.5 Consolas,monospace; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; color:var(--muted); }
.readonly { font:12px/1.5 Consolas,monospace; min-height:250px; }
.hidden { display:none!important; }
footer { max-width:1220px; margin:40px auto 0; border-top:1px solid var(--line); padding:22px 24px 28px; display:flex; gap:24px; justify-content:space-between; font-size:11px; line-height:1.6; color:var(--muted); }
#toast { position:fixed; inset-block-end:20px; inset-inline-end:20px; max-width:min(420px,calc(100vw - 40px)); background:var(--surface); border-radius:12px; padding:16px 20px; box-shadow:var(--shadow); z-index:5; font-size:13px; }
#toast:empty { display:none; }
.welcome-intro { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:32px; align-items:center; margin-bottom:32px; }
.welcome-copy h1 { font-size:3.5rem; line-height:1.05; font-weight:550; margin-bottom:18px; }
.welcome-copy .lead { font-size:15px; margin-bottom:20px; }
.session-details { display:flex; gap:14px; flex-wrap:wrap; font-size:11px; color:var(--muted); margin-bottom:0; }
.welcome-art { padding:24px 26px; color:var(--accent); background:var(--raised); border-radius:var(--radius); overflow:hidden; }
.art-head { display:flex; justify-content:space-between; align-items:center; font-size:12px; letter-spacing:.06em; }
.art-head svg { width:28px; height:28px; }
.practice-wave { display:block; width:100%; height:100px; margin-block:12px; }
.art-versions { display:flex; gap:14px; align-items:center; font-size:16px; font-weight:500; }
.art-connector { flex:1; height:1px; background:currentColor; opacity:.35; }
.consent-panel h2 { font-size:16px; }
.consent-panel>.small { font-size:13px; margin-bottom:20px; }
.consent-detail { margin-inline-start:31px; margin-top:12px; margin-bottom:0!important; }
.welcome-actions { margin-block:24px 32px; }
.welcome-actions>.small { font-size:12px; }
.how-it-works { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-top:24px; border-top:1px solid var(--line); }
.how-it-works h2 { font-size:14px; letter-spacing:-.01em; margin-bottom:8px; }
.how-it-works p { font-size:12px; color:var(--muted); margin-bottom:0; }
.credit-section { border-top:1px solid var(--line); padding-top:24px; margin-top:28px; }
#namedCredit { margin-top:20px; }
.nojs { padding:30px; }
.file-source { font-size:13px; color:var(--muted); margin-bottom:14px; }
.success-icon { color:var(--accent); width:48px; height:48px; margin-bottom:24px; }
.success-icon svg { width:48px; height:48px; fill:none; stroke:currentColor; stroke-width:1.4; }
.help-tip { display:inline-block; position:relative; vertical-align:middle; margin-inline-start:8px; font-size:13px; font-weight:400; line-height:1.5; letter-spacing:normal; }
.help-trigger { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--muted); font-size:13px; line-height:1; padding:0; vertical-align:middle; }
.help-content { position:absolute; z-index:8; inset-block-start:calc(100% + 8px); inset-inline-end:0; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); padding:14px 16px; width:min(290px,calc(100vw - 56px)); text-align:start; font-size:13px; line-height:1.65; letter-spacing:normal; white-space:normal; }
.help-content[hidden] { display:none; }
.practice-coach { font-size:13px; color:var(--muted); margin-block:-8px 20px; }
.stuck-button { margin-top:8px; font-size:12px; }
dialog { color:var(--ink); background:var(--surface); border:0; border-radius:16px; padding:28px; width:min(580px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow:auto; box-shadow:var(--shadow); }
dialog::backdrop { background:#101b24b8; }
dialog p { font-size:15px; }
dialog .row { margin-top:24px; }
dialog h2 { font-size:24px; }
h1 .help-tip { vertical-align:middle; }
fieldset legend .help-tip { vertical-align:baseline; }
.rating-instruction { font-size:13px; color:var(--muted); margin-bottom:24px; }
@media(min-width:1200px) {
  .listening-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); gap:20px; align-items:start; }
  .listening-layout .audio-card { position:sticky; top:24px; }
  .rating-panel .choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rating-panel { padding:24px; }
  .rating-panel fieldset { margin-bottom:24px; }
  .rating-panel .option { min-height:46px; padding-block:10px; }
}
@media(hover:hover) and (pointer:fine) {
  .btn:hover:not(:disabled),.play-btn:hover:not(:disabled),.option:hover:has(input:not(:disabled)) { background:var(--raised); }
  .btn.primary:hover:not(:disabled) { background:var(--accent); filter:brightness(.94); }
  .review-link:hover { text-decoration:underline; text-underline-offset:4px; }
}
@media(max-width:1100px) {
  header { margin-inline:24px; }
  .shell { grid-template-columns:132px minmax(0,1fr); gap:32px; }
  .preferences label { grid-template-columns:1fr; gap:2px; }
  .welcome-intro { grid-template-columns:1.3fr 1fr; gap:20px; }
  .welcome-copy h1 { font-size:2.75rem; }
  .welcome-art { padding:20px; }
  .practice-wave { height:80px; }
  h1 { font-size:2.25rem; }
}
@media(max-width:760px) {
  html { scrollbar-gutter:auto; }
  header { padding:16px 20px; margin:12px 12px 0; flex-wrap:wrap; gap:16px; border-radius:16px; }
  .brand { font-size:20px; }
  .preferences { width:100%; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .preferences label { gap:4px; }
  .preferences select { max-width:none; min-height:42px; }
  .shell { display:block; padding-inline:20px; margin-top:28px; }
  aside { position:static; }
  .steps { display:flex; justify-content:space-between; gap:10px; margin-bottom:32px; }
  .steps li { flex-direction:column; gap:7px; font-size:10px; margin:0; text-align:center; max-width:68px; }
  .side-note { display:none; }
  h1 { font-size:2rem; line-height:1.2; }
  .lead,.step-instruction { font-size:14px; }
  .lead { margin-bottom:24px; }
  .card,.audio-card { padding:20px; }
  .grid-two { grid-template-columns:1fr; gap:0; }
  .choices { grid-template-columns:1fr 1fr; }
  .choices.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .option { font-size:13px; }
  .play-btn { padding:18px 16px; gap:16px; min-height:142px; }
  .letter { font-size:34px; }
  .play-label { font-size:13px; }
  .play-label small { font-size:11px; }
  .heard { font-size:11px; }
  .actions { gap:14px; }
  .actions .btn { padding-inline:13px; }
  footer { padding-inline:20px; flex-wrap:wrap; gap:10px; margin-top:32px; }
  .timeline { gap:10px; }
  .welcome-intro { grid-template-columns:1fr; gap:24px; margin-bottom:24px; }
  .welcome-copy h1 { font-size:2.75rem; line-height:1.08; max-width:600px; }
  .welcome-copy .lead { font-size:14px; margin-bottom:18px; }
  .welcome-art { display:none; }
  .session-details { gap:10px 14px; font-size:11px; }
  .welcome-actions { align-items:center; }
  .how-it-works { grid-template-columns:1fr; gap:20px; }
  .how-it-works h2 { margin-bottom:6px; }
  .how-it-works p { max-width:52ch; }
  .preview-row { gap:10px; font-size:12px; }
  .review-link { font-size:12px; }
  dialog { padding:24px; }
  .help-trigger { width:32px; height:32px; }
  #stuckButton { min-height:44px; }
}
@media(min-width:761px) and (max-width:900px) {
  .shell { grid-template-columns:112px minmax(0,1fr); gap:24px; }
  .welcome-intro { grid-template-columns:1fr; }
  .welcome-art { display:none; }
}
@media(prefers-contrast:more) { .card,.audio-card,header { outline:1px solid var(--line); } }
@media(prefers-reduced-transparency:reduce) { dialog::backdrop { background:#101b24ed; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

/* R6 monochrome studio; this presentation layer owns palette, shell and controls. */
:root {
 --bg:#fafafa;--surface:#ffffff;--raised:#eeeeee;--recessed:#f0f0f0;
 --ink:#151515;--muted:#616161;--line:#d5d5d5;--accent:#171717;--on-accent:#ffffff;
 --focus:#505050;--error:#242424;--error-bg:#eeeeee;--notice:#eaeaea;
 --shadow:0 12px 36px #00000012;--radius:24px;--control-radius:14px;
}
:root[data-theme=dark] {
 --bg:#101010;--surface:#191919;--raised:#303030;--recessed:#232323;
 --ink:#f1f1f1;--muted:#b0b0b0;--line:#454545;--accent:#f2f2f2;--on-accent:#161616;
 --focus:#c0c0c0;--error:#ededed;--error-bg:#2c2c2c;--notice:#292929;
 --shadow:0 12px 36px #00000038;
}
body { min-height:100dvh; }
header { max-width:1080px;margin:0 auto;padding:24px 24px 16px;background:transparent;border-radius:0; }
.brand { font-size:22px;letter-spacing:-.04em;gap:10px;font-weight:650; }
.brand svg { width:30px;height:30px; }
.preferences { gap:10px;display:flex;align-items:center;width:auto; }
.preferences .language-control { display:flex;position:relative;gap:0; }
#languageLabel { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
.language-icon { position:absolute;inset-inline-start:13px;top:13px;display:flex;pointer-events:none; }
.language-icon svg { width:18px;height:18px; }
.preferences #language { min-height:44px;font-size:13px;max-width:160px;min-width:118px;padding:9px 28px 9px 38px;padding-inline-start:38px;padding-inline-end:28px;border:1px solid var(--line);border-radius:999px;background:transparent; }
.preferences .theme-native { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
.icon-button { display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:transparent;flex:0 0 44px; }
.icon-button svg { width:21px;height:21px; }
.theme-menu { position:fixed;inset:auto;margin:0;padding:6px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);width:194px;transform-origin:top right; }
.theme-menu::backdrop { background:transparent; }
.theme-choice { display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:12px;background:transparent;font-size:13px;text-align:start; }
.theme-choice svg { width:19px;height:19px; }
.theme-choice[aria-pressed=true] { background:var(--raised);font-weight:650; }
.shell { display:block;max-width:1040px;margin:10px auto 0;padding:0 24px; }
aside { position:static; }
.steps { display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0 0 46px;padding:6px;background:var(--recessed);border-radius:999px; }
.steps li { display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;margin:0;padding:8px 16px;border-radius:999px;max-width:none;font-size:12px;line-height:1.4;min-width:0; }
.step-name { white-space:nowrap; }
.step-num { border:0;background:transparent;flex:0 0 23px;width:23px;height:23px;font-size:11px; }
.steps li.active { background:var(--ink);color:var(--bg);font-weight:550; }
.steps .active .step-num { background:var(--bg);color:var(--ink);border:0; }
.steps .complete .step-num { background:transparent;color:var(--ink); }
.side-note { display:none; }
h1 { font-size:2.5rem;font-weight:550;letter-spacing:-.04em;max-width:900px; }
.lead { font-size:15px;max-width:70ch;margin-bottom:28px; }
.welcome-intro { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;margin:0 0 26px;align-items:center; }
.welcome-copy h1 { font-size:3.9rem;line-height:1.04;font-weight:550;letter-spacing:-.045em;margin-bottom:22px; }
.welcome-copy .lead { max-width:40ch;font-size:15px;line-height:1.65; }
.session-details { gap:8px;font-size:11px; }
.session-details span { padding:5px 10px;border:1px solid var(--line);border-radius:999px;white-space:nowrap; }
.welcome-art { display:block;background:transparent;padding:0 18px;color:var(--ink);overflow:visible;border-radius:0; }
.record-sleeve { position:relative;aspect-ratio:1;max-width:280px;margin:auto; }
.record-sleeve::before { content:'';position:absolute;inset:5% -3% -2% 8%;background:var(--recessed);border:1px solid var(--line);border-radius:16px;transform:rotate(9deg); }
.record-face { position:absolute;inset:0;border-radius:50%;background:repeating-radial-gradient(circle at center,#1b1b1b 0 2px,#292929 2.5px 3px,#171717 3.5px 5px);box-shadow:inset 0 0 0 1px #404040,0 20px 36px #00000020;transition:transform 500ms cubic-bezier(.23,1,.32,1); }
.record-label { display:grid;place-items:center;position:absolute;inset:32%;border-radius:50%;background:#eeeeee;color:#111111;box-shadow:0 0 0 8px #111111; }
.record-label::after { content:'';position:absolute;inset:46%;border-radius:50%;background:#151515; }
.record-label svg { width:38%;height:38%;transform:translateY(-38%); }
.record-etch { position:absolute;inset:71% 27% 12%;color:#c0c0c0; }
.record-etch .practice-wave { width:100%;height:100%;margin:0; }
.art-versions { display:flex;align-items:center;gap:12px;max-width:250px;margin:24px auto 0;font-size:12px; }
.art-connector { opacity:.25; }
.consent-panel { padding:24px 0 0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;margin-bottom:0; }
.consent-panel h2 { font-size:15px;margin-bottom:8px; }
.consent-panel>.small { margin-bottom:16px; }
.consent-detail { font-size:12px;max-width:84ch; }
.welcome-actions { margin:22px 0 32px; }
.card { border-radius:20px;box-shadow:none; }
.card.consent-panel { border-radius:0; }
.btn { min-height:46px;border-radius:999px;padding:11px 21px;font-size:13px;font-weight:550;background:transparent; }
.btn.primary { padding:7px 8px 7px 22px;gap:18px;min-height:48px;background:var(--ink);border-color:var(--ink);color:var(--bg);font-weight:600; }
.btn.primary:disabled { background:var(--recessed);border-color:var(--line);color:var(--muted); }
.button-end { display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--bg);color:var(--ink);flex:0 0 32px; }
.button-end svg { width:17px;height:17px;transition:transform 180ms var(--ease-out); }
.btn.primary:disabled .button-end { background:var(--surface);color:var(--muted); }
.btn.link { padding-inline:0; }
.how-it-works { padding-top:22px;gap:32px; }
.how-it-works h2 { font-weight:600;font-size:13px; }
.how-it-works p { font-size:12px; }
.choices { padding:4px;background:var(--recessed);gap:4px;border-radius:16px; }
.option { border:0;background:transparent;border-radius:12px;min-height:47px;padding:12px 26px 12px 12px;padding-inline-end:26px;box-shadow:none;font-size:13px;font-weight:450;transition:background-color 160ms var(--ease-out),color 160ms var(--ease-out),transform 120ms var(--ease-out); }
.option:has(input:checked) { background:var(--ink);color:var(--bg);box-shadow:0 2px 5px #00000012;font-weight:550; }
.selection-check { position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%) scale(.8);display:flex;opacity:0;transition:transform 180ms var(--ease-out),opacity 180ms var(--ease-out); }
.selection-check svg { width:14px;height:14px; }
.option:has(input:checked) .selection-check { transform:translateY(-50%) scale(1);opacity:1; }
.option:active:has(input:not(:disabled)) { transform:scale(.98); }
input[type=text],select,textarea { border-radius:12px;background:transparent; }
.field>label,legend { font-weight:550; }
.audio-card { background:var(--recessed);border-radius:24px;padding:24px;box-shadow:none; }
.audio-ready { color:var(--muted);font-size:12px; }
.players { gap:14px; }
.play-btn { position:relative;min-height:188px;padding:22px;gap:24px;border:0;border-radius:20px;background:var(--ink);color:var(--bg);align-items:flex-start;justify-content:space-between;box-shadow:inset 0 0 0 1px var(--ink); }
.letter { font-size:3.6rem;font-weight:450;letter-spacing:-.045em; }
.play-label { font-size:13px;font-weight:550; }
.play-label small { color:inherit;opacity:.76;font-size:11px; }
.play-icon { color:inherit; }
.play-btn.playing { background:var(--ink);color:var(--bg);box-shadow:inset 0 0 0 3px var(--ink),inset 0 0 0 4px var(--bg); }
.activity-bars { position:absolute;top:24px;inset-inline-end:22px;display:flex;align-items:center;gap:3px;height:16px;opacity:.3; }
.activity-bars i { display:block;width:2px;height:5px;border-radius:1px;background:currentColor;transform-origin:center; }
.play-btn[data-active=true] .activity-bars { opacity:1; }
.play-btn[data-active=true] .activity-bars i { height:12px;animation:playback-activity .65s cubic-bezier(.45,0,.55,1) infinite alternate; }
.play-btn[data-active=true] .activity-bars i:nth-child(2) { animation-delay:-.22s; }
.play-btn[data-active=true] .activity-bars i:nth-child(3) { animation-delay:-.42s; }
@keyframes playback-activity { from { transform:scaleY(.35); } to { transform:scaleY(1); } }
body[data-page-hidden=true] .activity-bars i { animation-play-state:paused!important; }
.timeline { margin-top:22px; }
.timeline input { accent-color:var(--ink); }
.audio-foot .transport-pause { background:var(--surface);border-color:transparent;padding:9px 16px;min-height:40px;font-size:12px; }
.audio-foot #restart { font-weight:500; }
.troubleshooting { border-color:var(--line); }
.troubleshooting summary,.keyboard-guide summary { font-size:12px; }
.rating-panel { background:transparent;padding:12px 0 0; }
.rating-instruction { margin-bottom:22px;font-size:12px; }
.rating-panel fieldset { margin-bottom:26px; }
.rating-panel .option { min-height:44px; }
.rating-panel input,.rating-panel textarea { background:var(--surface); }
.listening-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:36px;align-items:start; }
.listening-layout .audio-card { position:sticky;top:24px; }
.rating-panel .choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
.progress-copy { font-size:12px;margin-bottom:12px; }
.dots { max-width:146px;margin-bottom:24px; }
.preview-row { padding:12px 0; }
.download-main { min-height:56px; }
.help-trigger { border-color:var(--line);background:transparent; }
.help-content { border-radius:14px; }
.success-icon { width:52px;height:52px;color:var(--ink); }
footer { max-width:1040px;margin-top:32px;font-size:11px; }
dialog::backdrop { background:#00000099; }
dialog { border-radius:22px; }
@media(hover:hover) and (pointer:fine) {
 .icon-button:hover,.theme-choice:hover { background:var(--raised); }
 .btn.primary:hover:not(:disabled) { background:var(--ink);filter:none;transform:translateY(-1px); }
 .btn.primary:hover:not(:disabled) .button-end svg { transform:rotate(-25deg); }
 .play-btn:hover:not(:disabled) { background:var(--ink);transform:translateY(-2px); }
 .option:hover:has(input:not(:checked):not(:disabled)) { background:var(--surface); }
 .option:hover:has(input:checked) { background:var(--ink); }
 .welcome-art:hover .record-face { transform:rotate(-8deg); }
}
@media(max-width:1100px) {
 header { margin-inline:auto; }
 .steps li { padding-inline:12px; }
 .welcome-copy h1 { font-size:3.4rem; }
 .listening-layout { gap:28px; }
}
@media(max-width:900px) {
 .listening-layout { display:block; }
 .listening-layout .audio-card { position:static; }
 .rating-panel { padding:12px 0 0; }
 .welcome-intro { display:grid;grid-template-columns:1.35fr 1fr;gap:22px; }
 .welcome-copy h1 { font-size:2.8rem; }
 .steps li { gap:5px;padding:8px 10px;font-size:11px; }
}
@media(max-width:600px) {
 header { margin:0;padding:20px 20px 14px;flex-wrap:nowrap;gap:12px; }
 .brand { font-size:18px;gap:8px; }
 .brand svg { width:27px;height:27px; }
 .preferences { display:flex;gap:7px;width:auto; }
 .preferences #language { min-width:0;width:130px;max-width:130px;font-size:12px;padding-inline-start:32px;padding-inline-end:20px; }
 .language-icon { inset-inline-start:10px; }
 .icon-button { width:42px;height:42px;flex-basis:42px; }
 .shell { padding:0 20px;margin-top:8px; }
 .steps { gap:2px;padding:5px;margin-bottom:30px;border-radius:999px; }
 .steps li { padding:7px 6px;gap:5px;flex-shrink:0; }
 .steps li.active { flex:1;justify-content:center; }
 .steps .step-name { white-space:normal;max-width:118px;text-align:start;font-size:11px; }
 .steps li:not(.active) .step-name { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
 h1 { font-size:1.9rem;line-height:1.17; }
 .lead,.step-instruction { font-size:14px; }
 .welcome-intro { display:grid;grid-template-columns:1fr;gap:22px;margin-bottom:28px; }
 .welcome-copy h1 { font-size:2.9rem;line-height:1.07;max-width:100%; }
 .welcome-copy .lead { font-size:14px;margin-bottom:18px; }
 .welcome-art { display:none; }
 .session-details { gap:6px; }
 .session-details span { font-size:10px;padding:4px 8px; }
 .consent-panel { padding:20px 0 0; }
 .welcome-actions>.small { max-width:120px;font-size:11px; }
 .btn.primary { padding:7px 7px 7px 18px;gap:12px;font-size:13px; }
 .actions .btn.primary { padding-inline:18px 7px; }
 .button-end { width:30px;height:30px;flex-basis:30px; }
 .audio-card { padding:20px;border-radius:22px; }
 .play-btn { min-height:178px;padding:20px 18px;gap:22px;border-radius:17px; }
 .letter { font-size:3.3rem; }
 .activity-bars { top:22px;inset-inline-end:18px; }
 .play-label { font-size:12px; }
 .rating-panel { padding:8px 0 0; }
 .rating-panel fieldset { margin-bottom:24px; }
 .rating-panel .option { font-size:13px; }
 .how-it-works { display:grid;grid-template-columns:1fr;gap:20px; }
 .choices { padding:4px; }
 .preview-row { grid-template-columns:1fr 1fr auto;gap:8px; }
 footer { padding-inline:20px; }
}
@media(max-width:359px) {
 header { padding-inline:16px;gap:8px; }
 .brand { font-size:15px;gap:6px; }
 .brand svg { width:24px;height:24px; }
 .preferences #language { width:108px;max-width:108px;padding-inline-start:28px;padding-inline-end:16px; }
 .shell { padding-inline:16px; }
 .welcome-copy h1 { font-size:2.5rem; }
}
@media(prefers-reduced-motion:reduce) {
 .activity-bars i { animation:none!important;transform:none!important; }
 .record-face,.button-end svg,.selection-check { transition:none!important; }
}

/* Native Windows menus need an explicit surface as well as a text colour. */
:root { color-scheme:light; }
:root[data-theme=dark] { color-scheme:dark; }
select option,select optgroup { color:var(--ink);background-color:var(--surface); }
#draftVersion { width:100%;max-width:100%;font-variant-numeric:tabular-nums; }
.turntable.welcome-art { display:block;padding:0;min-width:0;align-self:center; }
.turntable-stage { position:relative;width:100%;aspect-ratio:1.12;isolation:isolate; }
.turntable-stage canvas { position:relative;display:block;width:100%;height:100%;z-index:1; }
.turntable canvas[hidden] { display:none; }
.deck-caption { display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 6px;font-size:10px;color:var(--muted); }
.deck-tools { display:flex;align-items:center;gap:5px; }
.deck-tool { display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;border-radius:999px;color:var(--ink);min-height:36px;padding:6px 10px;font-size:11px; }
.deck-tool[hidden] { display:none; }
.deck-tool svg { width:16px;height:16px; }
.deck-tool:hover { background:var(--recessed); }
.deck-tool:disabled { opacity:.4;cursor:default; }
.deck-tool[aria-pressed=true] { background:var(--recessed); }
.deck-fallback { position:absolute;inset:14% 3% 13%;border:1px solid #a6a6a6;border-radius:7px;background:linear-gradient(135deg,#e5e5e5,#a9a9a9 45%,#e9e9e9 80%,#c6c6c6);box-shadow:0 20px 24px #0002,inset 0 2px 2px #fff;transform:perspective(700px) rotateX(20deg) rotateZ(-5deg); }
[data-renderer=webgl] .deck-fallback { display:none; }
.fallback-vinyl { position:absolute;inset:7% 25% 7% 4%;border-radius:50%;background:repeating-radial-gradient(circle,#181818 0 3px,#353535 4px,#161616 5px);box-shadow:0 0 0 4px #999,0 0 0 6px #ddd; }
.fallback-vinyl i { position:absolute;inset:36%;border-radius:50%;background:#dfdfdf; }
.fallback-vinyl i::after { content:'';position:absolute;inset:45%;background:#111;border-radius:50%; }
.fallback-arm { position:absolute;width:3%;height:67%;right:16%;top:9%;background:#202020;border:1px solid #777;transform-origin:top;transform:rotate(20deg);border-radius:3px;box-shadow:2px 2px 3px #0004; }
.fallback-arm::before { content:'';position:absolute;width:350%;aspect-ratio:1;left:-125%;top:-7%;background:#222;border:2px solid #888;border-radius:50%; }
.fallback-arm::after { content:'';position:absolute;width:240%;height:12%;left:-70%;bottom:-5%;background:#111; }
.fallback-knob { position:absolute;right:8%;bottom:10%;width:7%;aspect-ratio:1;border-radius:50%;background:#bbb;border:1px solid #777;box-shadow:inset 1px 1px 2px #fff; }
.deck-dialog { width:min(900px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:24px;background:var(--bg);color:var(--ink);box-shadow:0 24px 100px #0006;overflow:auto; }
.deck-dialog::backdrop { background:#0009;backdrop-filter:blur(8px); }
.inspect-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 28px 0; }
.deck-eyebrow { color:var(--muted);font-size:10px;letter-spacing:.10em;margin:0 0 6px; }
.inspect-heading h2 { font-size:22px;font-weight:550;letter-spacing:-.03em;margin:0; }
.deck-close { width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;font-size:26px;font-weight:300;border:1px solid var(--line);border-radius:50%;background:transparent; }
.deck-zoom { display:flex;gap:4px;margin-inline-start:auto;flex-shrink:0; }
.deck-zoom .deck-tool { width:36px;height:36px;font-size:22px;padding:0;background:var(--recessed); }
.inspect-stage { height:min(58dvh,530px);min-height:180px;width:100%; }
.inspect-stage canvas { display:block;width:100%;height:100%;touch-action:none;cursor:grab; }
.inspect-stage canvas.dragging { cursor:grabbing; }
.inspect-footer { display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 28px 24px; }
.inspect-footer p { font-size:12px;max-width:48ch;color:var(--muted);margin:0; }
.inspect-footer .btn { white-space:nowrap; }
.inspect-actions { display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end; }
@media(min-width:901px) { .welcome-intro { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px; } }
@media(max-width:600px) {
 .turntable.welcome-art { display:block;width:min(100%,340px);margin:-12px auto 0; }
 .welcome-intro { gap:0; }
 .turntable-stage { aspect-ratio:1.45; }
 .deck-caption { margin-top:-5px; }
 .deck-dialog { border-radius:18px; }
 .inspect-heading { padding:18px 18px 0; }
 .inspect-footer { padding:0 18px 18px;align-items:flex-start; }
 .inspect-footer { flex-wrap:wrap; }
 .inspect-footer p { font-size:11px; }
 .inspect-footer .btn { padding:8px 12px;font-size:11px;min-height:38px; }
}
/* cormorant-garamond-cyrillic-ext-400-normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/98c37535c223dcf78922473ab04be0dc76c9ba45f31350d67140a0bc5d5eaf13.woff2) format('woff2'), url(/assets/82f7f1ead93033c0c1fb693f1b1cf9386795a9a72c3e20de4a643ab0d4e72647.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* cormorant-garamond-cyrillic-400-normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/6a7a5159186f5d44f58adb15f56d5b861509667495b339638bb5e29e049a6af9.woff2) format('woff2'), url(/assets/b7017928d111983e5a11b8f40ee094b3b2ca3eb99c0b711f4f0a58ca4e357cfe.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* cormorant-garamond-vietnamese-400-normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/5070e60c8074a09fb7139ff026e0b95dd900950ade9800df92e63621a8c0fb34.woff2) format('woff2'), url(/assets/1644cf8601c6f7574f9a3af5297f7c3058145c7327860ee1074f413e48629c89.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* cormorant-garamond-latin-ext-400-normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/d438a1453ccc73244cb93a14a8eddbbb6de5dd3a3b3967110c70995c19cf11f7.woff2) format('woff2'), url(/assets/c2961416abd240164dc5504d7e4d6290e5eaec8f59669a41afbf7c558dac0b86.woff) format('woff');
  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;
}

/* cormorant-garamond-latin-400-normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/727acdbfd81848bcc9a5c2a6c64ba1b97ba93c69515382785483ce0cc068be08.woff2) format('woff2'), url(/assets/bad183348cc2cd7cf4a8ec708c0de5e66d70f5230edcbbb032c6d33fd5af5c5a.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* New kit only. The supplied black/silver reference is the palette authority. */
:root,:root[data-theme=dark] { color-scheme:dark;--bg:#000000;--surface:#111111;--raised:#222222;--recessed:#171717;--ink:#f5f5f5;--muted:#b8b8b8;--line:#3b3b3b;--accent:#f5f5f5;--on-accent:#111111;--focus:#e0e0e0;--error:#f0f0f0;--error-bg:#272727;--notice:#191919;--shadow:0 24px 80px #0008; }
html { background:var(--bg);scrollbar-color:#666 #111;scroll-padding-top:100px;scrollbar-gutter:stable both-edges; }
html:has(body[data-stage=welcome]) { scrollbar-gutter:auto; }
body { margin:0;background:var(--bg);font-weight:400; }
::selection { color:#000;background:#dedede; }
button,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible { outline:2px solid #eee;outline-offset:5px; }
.immersive-header { position:relative;z-index:2;width:100%;max-width:none;margin:0 auto;height:92px;padding:0 6%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;background:var(--bg); }
.immersive-header .brand { font-size:21px;letter-spacing:.22em;font-weight:500;white-space:nowrap; }
.immersive-header .brand svg { display:block;width:218px;height:42px;flex-shrink:0; }
.immersive-nav { display:flex;align-items:center;gap:48px; }
.immersive-nav button { background:transparent;border:0;padding:10px 0;min-height:44px;font-size:14px;font-weight:400;color:#dedede;border-radius:0; }
.immersive-nav button::after { content:'';display:block;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform 200ms cubic-bezier(.23,1,.32,1); }
.immersive-nav button:hover::after { transform:scaleX(1); }
.immersive-header .preferences { justify-self:end;gap:16px; }
.immersive-header .language-control { width:auto; }
.immersive-header .language-icon { display:none; }
.immersive-header .preferences #language { min-width:82px;max-width:110px;min-height:44px;width:auto;border:0;border-radius:0;background:transparent;font-size:13px;padding:10px 20px 10px 0;padding-inline-start:0; }
.immersive-header .icon-button { width:44px;height:44px;flex-basis:44px;border:1px solid #ffffff40;background:transparent; }
.immersive-header .icon-button svg { width:18px;height:18px; }
.immersive-header .icon-button:disabled { opacity:.45;cursor:default; }
.preferences .theme-native { display:none; }
.shell { max-width:1320px;padding:0 6%;margin:18px auto 0; }
body[data-stage=welcome] .shell { padding:0;width:100%;max-width:none;margin:0; }
body[data-stage=welcome] aside,body[data-stage=welcome] footer { display:none; }
.immersive-hero { position:relative;isolation:isolate;min-height:calc(100dvh - 92px);overflow:hidden;background:#000; }
.scene-reveal,.scene-parallax { position:absolute;inset:0;pointer-events:none; }
.scene-frame { position:absolute;right:0;bottom:0;width:100%;height:100%;overflow:hidden;pointer-events:none; }
.scene-base,.scene-arm,.scene-hub { position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none; }
.scene-hub { clip-path:ellipse(6.85% 12.17% at 82.15% 77.36%); }
.scene-arm { clip-path:none; }
/* Restore the original photographic rim, platter and record texture depth. */
.immersive-disc { position:absolute;width:57.18%;aspect-ratio:1;left:53.5%;top:26.53%;border-radius:50%;overflow:hidden;will-change:transform; }
.immersive-disc img { position:absolute;max-width:none;width:105%;height:105%;left:-2.58%;top:-2.74%; }
.power-glow { position:absolute;left:53.56%;top:29.44%;width:3.2%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;opacity:0;pointer-events:none;background:radial-gradient(circle,#ff9b7380 0%,#ff330066 35%,#ed13002e 64%,transparent 78%);box-shadow:0 0 14px #ff24009c,0 0 34px #e21b0052;mix-blend-mode:screen; }
.immersive-hero { display:flow-root; }
.hero-content { position:relative;float:left;z-index:1;width:45%;max-width:640px;padding:clamp(76px,calc(min(100vw,1536px)*.082),126px) 0 90px;margin-left:6%;margin-right:0; }
.hero-intro { display:flex;align-items:center;gap:28px;margin:0 0 38px;color:#ededed;font-size:11px;line-height:1.4;letter-spacing:.23em;text-transform:uppercase; }
.hero-intro::before { content:'';display:block;width:40px;height:1px;background:#eee;flex:0 0 40px; }
.hero-content h1 { max-width:100%;font:400 clamp(56px,5.3vw,84px)/.98 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin:0 0 37px;color:#f5f5f5; }
.hero-description { max-width:490px;margin:0 0 42px;color:#bdbdbd;font-size:clamp(16px,1.35vw,21px);line-height:1.5; }
.hero-actions { display:flex;align-items:center;gap:32px;flex-wrap:wrap; }
.mobile-info-links { display:none; }
.hero-primary { display:inline-flex;align-items:center;justify-content:space-between;gap:35px;flex:0 0 auto;padding:21px 32px;border:0;border-radius:999px;background:#f8f7f4;color:#151515;min-width:250px;min-height:64px;font-size:12px;font-weight:550;letter-spacing:.16em;text-transform:uppercase;transition:transform 150ms cubic-bezier(.23,1,.32,1),background-color 180ms cubic-bezier(.23,1,.32,1); }
.hero-primary svg { width:19px;height:19px;transition:transform 200ms cubic-bezier(.23,1,.32,1);flex-shrink:0; }
.hero-guide { display:flex;align-items:center;gap:17px;padding:0;border:0;background:transparent;color:#e7e7e7;min-height:60px;font-size:11px;letter-spacing:.15em;text-transform:uppercase;text-align:start;max-width:180px;line-height:1.8; }
.round-play { width:54px;height:54px;display:grid;place-items:center;border:1px solid #888;border-radius:50%;flex:0 0 54px;transition:background-color 200ms cubic-bezier(.23,1,.32,1); }
.round-play svg { width:21px;height:21px; }
.hero-primary:active,.hero-guide:active { transform:scale(.98); }
@media(hover:hover) and (pointer:fine) { .hero-primary:hover { background:#fff; }.hero-primary:hover svg { transform:translateX(4px); }.hero-guide:hover .round-play { background:#ffffff12; } }
.immersive-dialog { padding:0;border:1px solid #575757;border-radius:20px;background:#111;color:#f5f5f5;width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 30px 120px #0009; }
.immersive-dialog::backdrop { background:#000b;backdrop-filter:blur(10px); }
.modal-heading { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:30px 34px 20px; }
.modal-heading h2 { font:400 38px/1.1 'Cormorant Garamond',Georgia,serif;letter-spacing:-.02em;margin:0; }
.modal-close { display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:10px;border:1px solid #555;border-radius:50%;background:transparent; }
.modal-close svg { width:20px;height:20px; }
.info-content,.entry-contents { padding:0 34px 32px; }
.info-content p { font-size:15px;line-height:1.75;color:#c5c5c5; }
.entry-contents .consent-panel { margin-top:0;padding-top:22px; }
.entry-contents .actions { margin-bottom:0; }
.entry-contents .welcome-actions { margin:24px 0 0; }
.entry-contents .card { background:transparent; }
.entry-contents .notice { background:#202020;border-radius:14px; }
.entry-contents #start { margin-inline-start:auto; }
.entry-contents .stuck-button { margin:22px 0 0; }
.guide-sequence { list-style:none;padding:0;margin:12px 0 0; }
.guide-sequence li { display:grid;grid-template-columns:38px 1fr;gap:18px;margin:0 0 30px; }
.guide-sequence li:last-child { margin-bottom:0; }
.guide-number { width:32px;height:32px;display:grid;place-items:center;border:1px solid #777;border-radius:50%;font-size:12px;color:#ddd; }
.guide-sequence h3 { margin:3px 0 8px;font-size:16px;font-weight:550; }
.guide-sequence p { margin:0; }
.study-summary { display:flex;gap:60px;padding:20px 0; }
.study-summary strong { display:block;font:400 50px/1 'Cormorant Garamond',Georgia,serif; }
.study-summary span { display:block;margin-top:8px;font-size:12px;color:var(--muted); }
.steps { margin:8px 0 48px;background:transparent;padding:0;border-radius:0;gap:20px; }
.steps li { padding:8px 0;justify-content:flex-start;gap:9px;border-radius:0;color:#a0a0a0; }
.steps li.active { background:transparent;color:#f5f5f5;font-weight:500; }
.steps .active .step-num { background:#eee;color:#111; }
.steps li .step-num { border:1px solid #666;border-radius:50%;font-size:10px;width:23px;height:23px; }
.steps .complete .step-num { border:1px solid #555;color:#c9c9c9; }
.immersive-task { min-height:60dvh; }
.immersive-task h1 { font:400 clamp(38px,4.3vw,62px)/1.08 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin-bottom:16px; }
.immersive-task .lead { max-width:66ch;font-size:15px;color:#bfbfbf; }
.immersive-task .card { background:#111;border:1px solid #383838;padding:28px;border-radius:18px; }
.immersive-task .rating-panel { background:transparent;padding:0;border:0; }
.immersive-task .audio-card { background:linear-gradient(145deg,#222,#131313 60%,#1b1b1b);border:1px solid #454545;border-radius:20px;box-shadow:inset 0 1px #ffffff15;padding:26px; }
.immersive-task .play-btn { background:linear-gradient(135deg,#343434,#1b1b1b 65%,#292929);color:#f5f5f5;border:1px solid #6c6c6c;box-shadow:inset 0 1px #ffffff22;min-height:200px; }
.immersive-task .play-btn.playing { box-shadow:inset 0 0 0 2px #eee,inset 0 0 0 4px #161616; }
.immersive-task .letter { font:400 74px/.85 'Cormorant Garamond',Georgia,serif; }
.immersive-task .choices { border-radius:14px;background:#181818;padding:4px;border:1px solid #454545; }
.immersive-task .option { min-height:50px; }
.immersive-task .option:has(input:checked) { background:#eee;color:#111; }
.immersive-task legend,.immersive-task .field>label { font-size:14px;font-weight:500; }
.immersive-task input[type=text],.immersive-task select,.immersive-task textarea { border-color:#626262;background:#111;border-radius:12px; }
.immersive-task .audio-foot .transport-pause { border:1px solid #555;background:#1e1e1e; }
.btn { transition:transform 140ms cubic-bezier(.23,1,.32,1),background-color 180ms cubic-bezier(.23,1,.32,1); }
.btn:active:not(:disabled) { transform:scale(.98); }
.btn.primary { background:#ededed;color:#111;border-color:#ededed; }
.btn.primary:disabled { background:#292929;color:#aeaeae;border-color:#454545; }
.btn.primary .button-end { background:#171717;color:#eee; }
.btn.primary:disabled .button-end { background:#333;color:#aaa; }
.help-content { background:#272727;border-color:#777;color:#f5f5f5; }
.help-trigger { border-color:#777;color:#ddd; }
.progress-copy,.file-source { color:#bbb; }
.notice,.error { border-color:#555; }
body[data-motion=off] *,body[data-motion=off] *::before,body[data-motion=off] *::after { animation:none!important;scroll-behavior:auto!important; }
body[data-motion=off] button,body[data-motion=off] .option { transition:none!important; }
footer { max-width:1320px;padding-inline:6%;margin-top:50px; }
#toast { background:#202020;border-color:#666; }
@media(min-width:1500px) { .hero-content { width:39%;margin-left:max(6%,calc(100% - 1900px));margin-top:max(0px,calc(100dvh - 1000px)); }.hero-content h1 { font-size:84px; }.hero-description { max-width:520px; } }
@media(max-width:1200px) {
 .immersive-nav { gap:24px; }
 .immersive-header { padding-inline:5%;grid-template-columns:1fr auto auto;gap:25px; }
 .immersive-header .brand { font-size:17px; }
 .hero-content { margin-left:5%;width:43%; }
 .hero-content h1 { font-size:clamp(54px,5.4vw,70px); }
 .hero-actions { gap:20px; }
 .hero-primary { min-width:210px;padding:19px 25px;gap:24px; }
 .hero-guide { gap:12px;font-size:10px; }
 .round-play { width:46px;height:46px;flex-basis:46px; }
}
@media(max-width:1023px) {
 html { scrollbar-gutter:auto; }
 .immersive-header { height:80px;grid-template-columns:1fr auto; }
 .immersive-nav { display:none; }
 .mobile-info-links { display:flex;gap:22px;margin-top:28px;flex-wrap:wrap; }
 .mobile-info-links button { padding:4px 0;min-height:36px;background:transparent;border:0;color:#bdbdbd;font-size:12px;text-decoration:underline;text-underline-offset:4px; }
 .immersive-hero { min-height:calc(100dvh - 80px); }
 .hero-content { padding-top:90px;width:48%; }
 .hero-actions { align-items:flex-start;flex-direction:column;gap:24px; }
 .hero-content h1 { font-size:clamp(52px,6vw,66px); }
 .hero-description { font-size:16px;max-width:33ch; }
 .hero-intro { font-size:10px;gap:16px;margin-bottom:32px; }
 .steps { margin-bottom:32px; }
 .immersive-task .rating-panel { padding:0;border:0; }
}
@media(max-width:767px) {
 .immersive-header { padding:0 24px;height:76px;gap:16px; }
 .immersive-header .brand { font-size:16px;letter-spacing:.16em; }
 .immersive-header .brand svg { width:168px;height:34px; }
 .immersive-header .preferences { gap:8px; }
 .immersive-header .preferences #language { max-width:92px;min-width:66px;font-size:12px; }
 .immersive-header .icon-button { width:38px;height:38px;flex-basis:38px; }
 .immersive-hero { min-height:calc(100dvh - 76px);padding-bottom:280px; }
 .hero-content { float:none;width:auto;max-width:none;margin:0;padding:48px 24px 48px; }
 .hero-content h1 { font-size:clamp(42px,12vw,76px);line-height:1;max-width:100%;margin-bottom:25px; }
 .hero-intro { font-size:9px;letter-spacing:.17em;margin-bottom:26px; }
 .hero-intro::before { width:28px;flex-basis:28px; }
 .hero-description { font-size:15px;max-width:36ch;margin-bottom:28px; }
 .hero-actions { flex-direction:row;align-items:center;gap:22px; }
 .hero-primary { font-size:10px;padding:18px 22px;min-width:184px;min-height:56px;gap:22px;letter-spacing:.13em; }
 .hero-guide { font-size:9px;gap:10px;max-width:126px;line-height:1.5; }
 .round-play { width:42px;height:42px;flex-basis:42px; }
 .scene-frame { right:-6%;bottom:-70px; }
 .scene-reveal { mask-image:linear-gradient(to bottom,transparent 33%,#000 58%); }
 .shell { padding:0 24px; }
 .steps { gap:8px;margin-top:6px;margin-bottom:30px; }
 .steps li { padding:6px 0;flex:0 0 auto;min-width:0; }
 .steps li.active { flex:1; }
 .steps li:not(.active) .step-name { position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden; }
 .steps .step-name { font-size:12px;white-space:normal; }
 .immersive-task .card { padding:22px 18px; }
 .immersive-task .audio-card { padding:20px 18px; }
 .immersive-task .play-btn { min-height:176px;padding:20px 18px; }
 .immersive-task .letter { font-size:64px; }
 .immersive-task .rating-panel { padding:0;background:transparent;border:0; }
 .modal-heading { padding:24px 22px 20px; }
 .modal-heading h2 { font-size:32px; }
 .info-content,.entry-contents { padding:0 22px 26px; }
 .entry-contents .actions { flex-wrap:wrap; }
 .entry-contents .welcome-actions>.small { width:100%; }
 .entry-contents .btn { font-size:12px; }
 .guide-sequence li { gap:12px;grid-template-columns:30px 1fr; }
 .guide-sequence p { font-size:14px; }
 footer { padding-inline:24px; }
}
@media(max-width:359px) {
 .immersive-header { padding-inline:18px;gap:10px; }
 .immersive-header .brand { font-size:13px; }
 .immersive-header .brand svg { width:142px;height:30px; }
 .immersive-header .preferences #language { max-width:80px; }
 .hero-content { padding-inline:20px; }
 .hero-content h1 { font-size:40px; }
 .hero-primary { min-width:170px;padding:17px 18px;gap:15px; }
 .hero-actions { gap:14px; }
 .hero-guide { font-size:8px; }
 .round-play { width:38px;height:38px;flex-basis:38px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; }.scene-parallax { transform:none!important; } }
@media(prefers-reduced-transparency:reduce) { .immersive-dialog::backdrop { backdrop-filter:none;background:#000e; } }
@media(prefers-contrast:more) { :root { --muted:#dedede;--line:#888; }.hero-description { color:#ddd; }.immersive-task .play-btn,.immersive-task .choices { border-color:#aaa; } }

/* Surface layers: scene 0, semantic copy 1, floating island 20;
   native dialogs own the browser top layer. */
.immersive-header { height:92px;display:block;padding:0;background:transparent; }
.island-position { position:fixed;top:calc(20px + env(safe-area-inset-top,0px));left:50%;width:min(440px,calc(100% - 32px));transform:translateX(-50%);z-index:20; }
.island-shell { position:relative;margin-inline:auto;width:440px;height:54px;overflow:hidden;contain:layout;background:linear-gradient(178deg,#fff 0%,#f4f4f1 54%,#e9e9e6 100%);color:#171717;border-radius:27px;box-shadow:0 2px 3px #0008,0 9px 18px #0009,0 25px 54px #0008,0 0 25px #ffffff0b,inset 0 1px 1px #fff,inset 0 -2px 3px #00000014,inset 1px 0 #ffffffc0,inset -1px 0 #ffffff70; }
.island-shell::before { content:'';position:absolute;z-index:2;pointer-events:none;inset:0;border:1px solid #ffffffa0;border-bottom-color:#b9b9b833;border-radius:inherit; }
.island-inner { position:absolute;left:50%;top:0;transform:translateX(-50%);width:440px;height:54px;padding:5px 14px 5px 22px;display:flex;align-items:center;gap:18px; }
.immersive-header .island-inner .brand { color:#171717;letter-spacing:0; }
.immersive-header .island-inner .brand svg { width:152px;height:34px;color:#171717; }
.island-state { margin-left:auto;max-width:154px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:450;color:#626262;line-height:1.4; }
.island-state:empty { display:none; }
.island-toggle { margin-left:auto; }
.island-toggle { position:relative;display:grid;place-items:center;width:44px;min-height:44px;flex:0 0 44px;padding:6px;border:0;border-radius:50%;background:transparent;color:#242424;cursor:pointer; }
.island-toggle:active { transform:scale(.95); }
.island-toggle:focus-visible,.island-drawer button:focus-visible,.island-drawer select:focus-visible { outline-color:#333;outline-offset:-3px; }
.island-bars { width:32px;height:24px;display:flex;align-items:center;justify-content:space-between;transition:opacity 160ms cubic-bezier(.23,1,.32,1); }
.island-bars span { width:2px;background:currentColor;border-radius:2px;height:8px; }
.island-bars span:nth-child(2),.island-bars span:nth-child(6) { height:12px; }
.island-bars span:nth-child(3),.island-bars span:nth-child(5) { height:16px; }
.island-bars span:nth-child(4) { height:22px; }
.island-close { position:absolute;inset:10px;opacity:0;transition:opacity 160ms cubic-bezier(.23,1,.32,1); }
.island-close svg { width:24px;height:24px; }
.island-position[data-open=true] .island-bars { opacity:0; }
.island-position[data-open=true] .island-close { opacity:1; }
.island-drawer { position:absolute;top:54px;left:0;right:0;padding:8px 20px 18px;opacity:0; }
.island-drawer .immersive-nav { display:grid;gap:0; }
.island-drawer .immersive-nav button { min-height:44px;text-align:start;padding:8px 4px;color:#242424;white-space:normal;font-size:14px; }
.island-drawer .immersive-nav button::after { display:none; }
.island-drawer .immersive-nav button:hover { color:#000;background:#ededeb; }
.island-drawer .preferences { display:flex;align-items:center;justify-content:space-between;border-top:1px solid #17171716;margin-top:9px;padding-top:12px;gap:16px; }
.island-drawer .preferences .language-control { flex:1;max-width:calc(100% - 64px); }
.island-drawer .preferences #language { color:#171717;background:transparent;color-scheme:light;appearance:auto;width:100%;max-width:100%;padding:8px 4px;min-height:44px; }
.island-drawer .preferences #language option { color:#171717;background:#fafaf8; }
.island-drawer .preferences .icon-button { color:#171717;border-color:#17171730;background:transparent; }
.island-shell[data-stage=trial] .island-state { font-variant-numeric:tabular-nums; }
.mobile-info-links { display:none; }

/* The photo melts into the same field as the next chapter. All of its layers
   share one mask, so the arm, record and metal never dissolve separately. */
.scene-reveal { mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 150px),transparent 100%); }
.immersive-hero { overflow:clip; }

/* Optical light: the lens remains textured; the bezel catches a narrow,
   asymmetric red reflection; camera bloom is weaker than either surface. */
.power-glow { width:3.05%;background:none;box-shadow:none;mix-blend-mode:normal;isolation:isolate; }
.power-glow::before,.power-glow::after,.power-lens,.power-bezel,.power-bloom { content:'';position:absolute;border-radius:50%;pointer-events:none; }
.power-lens { inset:0;background:radial-gradient(ellipse at 37% 29%,#fff1c17a 0%,#ff754976 12%,#ff35145c 39%,#d80c0038 64%,transparent 76%);mix-blend-mode:screen;box-shadow:inset 0 0 3px #ff482270; }
.power-glow::before { inset:9% 12% 49% 14%;border-top:1px solid #ffceb17a;transform:rotate(-25deg);mix-blend-mode:screen; }
.power-bezel { inset:-42%;background:conic-gradient(from 20deg,transparent 0deg,#f74a1d2b 64deg,#ff8d4d52 112deg,transparent 162deg,#b609001c 230deg,transparent 292deg);mask-image:radial-gradient(circle,transparent 0 40%,#000 42% 58%,transparent 70%);mix-blend-mode:screen; }
.power-bloom { inset:-74%;background:radial-gradient(circle,#ff33111e 0%,#fc250014 34%,#ed1d0008 49%,transparent 70%);mix-blend-mode:screen; }
.power-glow::after { inset:-7%;border:1px solid #ff4b1838;mix-blend-mode:screen; }

.listening-story { position:relative;background:#000;isolation:isolate;overflow-x:clip; }
.story-stage { position:relative;min-height:100dvh;overflow:clip;background:#000; }
.ribbon-art { position:absolute;inset:0;pointer-events:none;mask-image:linear-gradient(to bottom,transparent,#000 15%,#000 87%,transparent); }
.ribbon-canvas,.ribbon-poster { position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover; }
.ribbon-canvas { opacity:0; }
.listening-story[data-renderer=webgl] .ribbon-canvas { opacity:1; }
.listening-story[data-renderer=webgl] .ribbon-poster { opacity:0; }
.story-copy { position:absolute;z-index:1;left:6%;top:clamp(120px,17dvh,200px);width:min(680px,58%); }
.story-beat { position:absolute;inset:0 auto auto 0;width:100%; }
.story-beat h2 { margin:0 0 25px;max-width:100%;font:500 clamp(40px,4.7vw,72px)/1.03 'Geist Variable',sans-serif;letter-spacing:-.035em;text-wrap:balance;color:#f5f5f5; }
.story-beat p { margin:0;max-width:47ch;font-size:clamp(16px,1.25vw,20px);line-height:1.6;color:#bdbdbd; }
.story-begin { margin-top:32px; }
.listening-story[data-mode=static] .story-stage { min-height:0;padding:40px 6% 90px; }
.listening-story[data-mode=static] .ribbon-art { position:relative;height:380px;margin:0 -7%; }
.listening-story[data-mode=static] .story-copy { position:relative;inset:auto;width:min(760px,100%); }
.listening-story[data-mode=static] .story-beat { position:relative;inset:auto;opacity:1;visibility:visible;transform:none;margin:0 0 100px; }
.listening-story[data-mode=static] .story-beat:last-child { margin-bottom:0; }

@media(min-width:1920px) { .story-copy { left:max(6%,calc((100% - 1600px)/2)); } }
@media(max-width:1023px) { .immersive-header { height:80px; }.story-copy { width:76%;top:140px; }.story-beat h2 { font-size:clamp(38px,6vw,60px); } }
@media(max-width:767px) {
 .immersive-header { height:92px;padding:0; }
 .island-position { width:min(300px,calc(100% - 32px));top:18px; }
 .island-inner { width:300px;padding-inline:20px 12px;gap:10px; }
 .immersive-header .island-inner .brand svg { width:146px;height:32px; }
 .island-state { font-size:10px;max-width:64px; }
 .island-shell[data-stage=welcome] .island-state { display:none; }
 .island-toggle { margin-left:auto; }
 .island-drawer { padding-inline:18px; }
 .immersive-hero { min-height:calc(100dvh - 92px); }
 .scene-reveal { mask-image:linear-gradient(to bottom,transparent 30%,#000 55%,#000 calc(100% - 100px),transparent 100%); }
 .story-copy { left:24px;right:24px;width:auto;top:120px; }
 .story-beat h2 { font-size:clamp(34px,8.8vw,48px);letter-spacing:-.025em;line-height:1.12; }
 .story-beat p { font-size:15px;line-height:1.65;max-width:36ch; }
 .listening-story[data-mode=static] .story-stage { padding-inline:24px; }
 .listening-story[data-mode=static] .ribbon-art { height:290px;margin-inline:-24px; }
 .listening-story[data-mode=static] .story-copy { left:auto;right:auto;top:auto; }
 .listening-story[data-mode=static] .story-beat { margin-bottom:72px; }
}
@media(max-width:359px) { .island-inner { width:288px; }.island-state { display:none; }.story-copy { left:20px;right:20px; }.story-beat h2 { font-size:32px; } }
/* This surface is fully opaque. Reduced transparency removes glass effects,
   while keeping its solid shading and elevation legible. */
@media(prefers-reduced-transparency:reduce) { .island-shell { backdrop-filter:none; } }
@media(prefers-contrast:more) { .island-shell { outline:1px solid #777; }.story-beat p { color:#e0e0e0; } }

/* The fade belongs to the actual photo frame, including its parallax overscan. */
.scene-frame { mask-image:linear-gradient(to bottom,#000 0%,#000 70%,transparent 100%); }
.scene-reveal { mask-image:none; }
@media(max-width:767px){.scene-reveal { mask-image:linear-gradient(to bottom,transparent 30%,#000 55%); }}
.permission-note { margin:0 0 24px;padding-bottom:24px;border-bottom:1px solid #444; }
.permission-note h3 { margin:0 0 10px;font-size:16px; }
.permission-note p { color:#c5c5c5;font-size:14px;line-height:1.65; }
.permission-note label { display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.6; }
.permission-note input { margin-top:4px;flex:0 0 auto;width:18px;height:18px;accent-color:#eee; }
.permission-note .permission-error { color:#fff;text-decoration:underline;text-underline-offset:3px; }
/* The footer shares the sculpture's black canvas, not a separate panel. */
.resources-section { position:relative;background:#000;color:#f5f5f5;padding:70px 6% 40px; }
.resources-grid { max-width:1280px;margin:auto;display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(48px,9vw,160px); }
.resources-directory h3 { color:#d8d8df;font-size:16px;font-weight:450;letter-spacing:-.01em;margin:0 0 26px; }
.resources-section h2 { font:400 clamp(38px,4vw,60px)/1.08 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin:0 0 24px; }
.resources-invitation>p { color:#a9a9b2;line-height:1.7;max-width:40ch;font-size:15px;margin:0 0 28px; }
.resource-note { display:block;font-size:11px;line-height:1.7;color:#9999a2;margin-top:18px; }
.resources-links a { display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid #ffffff1c;color:#d8d8df;text-decoration:none;font-size:14px;gap:20px;transition:color 180ms ease; }
.resources-links a:first-child { padding-top:0; }
.resources-links a svg { width:18px;height:18px;color:#91919c;transition:transform 180ms ease,color 180ms ease;flex-shrink:0; }
.resources-links a:hover { color:#fff; }.resources-links a:hover svg { transform:translateX(4px);color:#fff; }
.resource-link-note { color:#91919a;font-size:11px;line-height:1.65;margin-top:20px;max-width:36ch; }
.resources-meta { max-width:1280px;margin:80px auto 0;padding-top:28px;border-top:1px solid #ffffff1a;display:flex;align-items:center;gap:32px;color:#909099;font-size:11px;line-height:1.8; }
.footer-brand { color:#e6e6eb;display:block;margin-inline-end:auto; }.footer-brand svg { width:180px;height:42px;display:block; }
.back-top { display:grid;place-items:center;border:1px solid #ffffff30;background:transparent;color:#ddd;border-radius:50%;width:44px;height:44px;padding:12px;min-height:44px; }.back-top svg { transform:rotate(180deg);width:18px;height:18px; }
.back-top:active { transform:scale(.95); }
@media(max-width:767px){.resources-section { padding:35px 24px 28px; }.resources-grid { grid-template-columns:1fr;gap:52px; }.resources-meta { margin-top:52px;gap:18px;flex-wrap:wrap; }.resources-meta>span { order:3;flex-basis:100%; }.footer-brand svg { width:160px; }}

/* This overlay stays in the hero's own coordinate space when its image moves. */
.immersive-hero::after { content:'';position:absolute;left:0;right:0;bottom:0;height:220px;z-index:0;pointer-events:none;background:linear-gradient(to bottom,transparent,#000 98%); }

/* Single, unpinned sculpture chapter. The visual fades to black before the footer. */
.story-stage { min-height:760px;height:100dvh;max-height:1040px; }
.story-copy { top:100px;width:min(660px,55%);pointer-events:none; }
.story-beat { position:relative;inset:auto; }
.story-beat h2 { font-size:clamp(42px,4.3vw,68px);line-height:1.08;letter-spacing:-.04em;margin-bottom:20px; }
.story-beat h2 span { color:#aaaab5; }
.story-beat p { font-size:15px;line-height:1.65;max-width:37ch; }
.ribbon-art { pointer-events:auto;touch-action:pan-y;cursor:grab;mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 76%,transparent 99%); }
.ribbon-art[data-dragging=true] { cursor:grabbing; }
.listening-story[data-mode=static] .story-stage { min-height:760px;height:100dvh;max-height:1040px;padding:0; }
.listening-story[data-mode=static] .ribbon-art { position:absolute;inset:0;height:auto;margin:0; }
.listening-story[data-mode=static] .story-copy { position:absolute;left:6%;top:100px;width:min(660px,55%); }
.listening-story[data-mode=static] .story-beat { margin:0; }

/* Quieter typography and lighter, sentence-case controls. */
.hero-intro { letter-spacing:.13em;font-size:10px;margin-bottom:30px;color:#a5a5b0;gap:16px; }
.hero-intro::before { width:24px;flex-basis:24px;background:#777780; }
.hero-content h1 { font-size:clamp(64px,6vw,84px);line-height:.98;letter-spacing:-.04em;margin-bottom:30px; }
.hero-description { max-width:34ch;font-size:clamp(16px,1.25vw,19px);line-height:1.65;color:#a9a9b2;margin-bottom:30px; }
.hero-actions { gap:25px; }
.hero-primary { min-width:204px;min-height:54px;padding:15px 23px;font-size:13px;font-weight:500;letter-spacing:.01em;text-transform:none;gap:36px;background:#f3f3f5;box-shadow:0 2px 8px #ffffff08; }
.hero-guide { min-height:54px;max-width:190px;font-size:12px;font-weight:450;letter-spacing:0;text-transform:none;gap:10px;line-height:1.5;color:#c6c6ce; }
.round-play { width:38px;height:38px;flex-basis:38px;border-color:#ffffff38; }.round-play svg { width:16px;height:16px; }
.hero-context { color:#9999a3;font-size:11px;line-height:1.8;margin-top:24px;max-width:42ch; }
.island-language { display:grid;place-items:center;flex:0 0 40px;width:40px;min-height:44px;padding:10px;border:0;background:transparent;color:#48484c;border-radius:50%;margin-inline-start:auto; }
.island-language svg { width:21px;height:21px; }.island-language:hover { background:#e9e9e7; }.island-language:active { transform:scale(.94); }
.island-language:focus-visible { outline-color:#333;outline-offset:-3px; }.island-toggle { margin-inline-start:0; }
.island-inner { gap:10px; }.island-state { margin-inline-start:auto; }.island-state:not(:empty)+.island-language { margin-inline-start:0; }
@media(min-width:1920px){.hero-content h1 { font-size:84px; }}
@media(max-width:1023px){.story-copy,.listening-story[data-mode=static] .story-copy { width:75%; }.hero-content h1 { font-size:clamp(56px,7vw,76px); }}
@media(max-width:767px){
 .story-stage,.listening-story[data-mode=static] .story-stage { min-height:670px;height:90dvh;max-height:900px; }
 .story-copy,.listening-story[data-mode=static] .story-copy { left:24px;right:24px;top:78px;width:auto; }
 .story-beat h2 { font-size:clamp(36px,9vw,52px); }.story-beat p { font-size:14px;max-width:32ch; }
 .hero-content h1 { font-size:clamp(56px,12vw,76px);margin-bottom:22px; }.hero-description { font-size:15px;line-height:1.6;margin-bottom:25px;max-width:33ch; }
 .hero-intro { margin-bottom:24px; }.hero-actions { gap:18px; }.hero-primary { min-width:178px;padding-inline:20px;gap:25px; }.hero-guide { font-size:11px;max-width:145px;gap:8px; }.round-play { display:none; }
 .hero-context { font-size:10px;margin-top:18px; }
 .island-inner { gap:3px;padding-inline:16px 8px; }.immersive-header .island-inner .brand svg { width:130px;height:30px; }.island-state { max-width:56px;font-size:9px; }.island-language { flex-basis:38px;width:38px;padding:9px; }
}
