/* SDUSD Customization & Wellness Gallery. Duotone stills are the language; each district wears its own colors. */
@font-face {
  font-family: "DM Sans";
  src: url("/wellness/g/assets/fonts/DMSans-Variable.ttf") format("truetype-variations");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

:root {
  --blue: #638EC5; --deep: #3F6BA3; --navy: #1F3F66; --night: #12233A; --night-2: #0C1A2D;
  --coral: #F37163; --coral-ink: #B63B2C; --light-blue: #D6E7F1;
  --bg: #FFFFFF; --tint: #EAF1F8; --card: #FFFFFF;
  --ink: #14202F; --muted: #4A5565; --faint: #6D7788;
  --hl: #FFE7A3; --sdusd: #005293;
  --exm-bg: #FFFFFF; --wave-off: #C9D3E0;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4.4vw, 64px);
  --wrap: 1320px;
  --nav-h: 64px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1620; --tint: #15202E; --card: #172231;
    --ink: #EDF2F8; --muted: #AEB9C8; --faint: #8794A6;
    --exm-bg: #182433; --wave-off: #3A485B;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: tabular-nums; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; transition: top .15s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h2 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; max-width: 16ch; }
.lede { margin-top: 20px; max-width: 36em; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--r); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: filter .15s, background .15s; }
.btn:active { filter: brightness(.94); }
.btn--coral { background: var(--coral); color: #14202F; }
.btn--coral:hover { background: #F78377; }
.btn--ghost { background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink); }
.btn--ghost:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 15%, transparent); }
.btn--dist { background: var(--dp, var(--deep)); color: var(--dp-on, #fff); }
.btn--dist:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .35; cursor: default; }
.textlink { border: 0; background: none; padding: 4px 0; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; color: inherit; }
.textlink:hover { text-decoration-color: var(--coral); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.tabs button { border: 0; background: none; padding: 8px 0; font-weight: 600; font-size: .98rem; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button:hover:not(:disabled) { color: var(--ink); }
.tabs button[aria-pressed="true"], .tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--coral); }
.tabs button:disabled { opacity: .35; cursor: default; }
.tabs--lg button { font-size: 1.25rem; }

/* ---------- duotone ----------
   Gradient-mapped still, multiplied over a light tint with the secondary color as a disc behind it. */
.duo { position: relative; display: block; overflow: hidden; background: var(--dl, #EAF1F8); isolation: isolate; }
.duo::before { content: ""; position: absolute; z-index: 0; width: var(--disc-s, 64%); aspect-ratio: 1; border-radius: 50%; right: var(--disc-x, -10%); bottom: var(--disc-y, -22%); background: var(--dc, var(--coral)); }
.duo img, .duo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--duo); mix-blend-mode: multiply; z-index: 1; }
.duo img.baked { filter: none; }
.duo--fill { position: absolute; inset: 0; }
.duo--row { width: 120px; aspect-ratio: 16 / 9; flex: none; --disc-s: 80%; --disc-x: -20%; --disc-y: -30%; }
.duo--wide { width: min(200px, 30vw); }
.plate { --h: 44px; display: inline-flex; align-items: center; justify-content: center; height: var(--h); min-width: var(--h); padding: 0 8px; background: #fff; border-radius: var(--r); color: #14202F; font-size: .8rem; font-weight: 700; text-align: center; line-height: 1.1; }
.plate img { height: calc(var(--h) - 12px); width: auto; max-width: 150px; object-fit: contain; }
.plate--lg { --h: 68px; position: absolute; z-index: 3; left: 24px; top: 24px; padding: 0 14px; }
.plate--lg img { max-width: 190px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); background: var(--bg); }
.nav__brand { display: block; width: 140px; flex: none; }
.logo { width: 100%; height: auto; aspect-ratio: 1866 / 517; }
@media (prefers-color-scheme: dark) { .nav__brand { background: #F1F0F0; padding: 7px 11px; border-radius: var(--r); width: 160px; } }
.nav__links { display: flex; gap: clamp(14px, 1.9vw, 30px); margin-left: auto; font-size: .94rem; font-weight: 500; white-space: nowrap; }
.nav__links a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.nav__links a:hover { color: var(--ink); }
.nav__menu { display: none; margin-left: auto; border: 0; background: var(--ink); color: var(--bg); min-height: 40px; padding: 0 18px; border-radius: var(--r); font-weight: 600; }
@media (max-width: 1240px) {
  .nav__menu { display: block; }
  .nav__links { display: none; position: absolute; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--bg); font-size: 1.1rem; }
  .nav__links a { padding: 12px 0; }
  .nav.is-open .nav__links { display: flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); display: flex; align-items: center; background: linear-gradient(120deg, #2A4F7E, #3F6BA3); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 44%; }
.hero__media .duo { position: absolute; inset: 0; --disc-s: 78% !important; --disc-x: -22% !important; --disc-y: -12% !important; }
.hero__copy { position: relative; z-index: 2; width: 56%; max-width: 820px; padding: 64px 0 96px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero__from { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 20px; }
.hero__q { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.14; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.hero__a { margin-top: 28px; max-width: 32em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: #E7F0F8; }
.hero__go { margin-top: 36px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__cap { position: absolute; z-index: 3; right: var(--gutter); top: 28px; max-width: 360px; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border: 0; border-radius: var(--r); text-align: left; background: rgb(12 26 45 / .84); color: #fff; font-size: 1.05rem; }
.hero__cap span { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero__media { position: relative; inset: auto; width: 100%; height: 46vh; order: -1; }
  .hero__copy { width: auto; padding: 36px var(--gutter) 56px; }
  .hero__cap { right: var(--gutter); left: var(--gutter); bottom: auto; top: 16px; max-width: none; }
}

/* ---------- what it could be ---------- */
.could { padding: clamp(72px, 9vw, 128px) 0 0; }
.could__grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(40px, 5vw, 72px); }
.ctile { position: relative; display: block; min-height: clamp(360px, 46vw, 640px); color: #fff; text-decoration: none; overflow: hidden; }
.ctile::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .86), rgb(8 20 36 / .1) 62%); pointer-events: none; }
.ctile .duo img { transition: transform .8s var(--ease); }
.ctile:hover .duo img { transform: scale(1.04); }
.ctile__t { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3vw, 44px); max-width: 640px; }
.ctile__t small { font-size: .9rem; font-weight: 600; opacity: .88; }
.ctile__t b { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.ctile__t span { font-size: 1.1rem; line-height: 1.45; max-width: 30em; opacity: .94; }
.ctile__t em { font-style: normal; font-weight: 600; margin-top: 6px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.ctile:hover em { text-decoration-color: var(--coral); }
@media (max-width: 760px) { .could__grid { grid-template-columns: 1fr; } .ctile { min-height: 420px; } }

/* ---------- survey vs voice ---------- */
.told { margin-top: clamp(72px, 9vw, 128px); padding: clamp(72px, 9vw, 128px) 0; background: var(--night); color: #fff; --muted: #B9C6D8; --ink: #fff; --faint: #94A3B8; }
.told h2 { color: #fff; }
.told__nums { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.stat { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.stat__n { display: flex; flex-wrap: wrap; gap: 4px 36px; align-items: flex-end; }
.stat__n p { display: flex; flex-direction: column; }
.stat__n b { font-size: clamp(3rem, 5.4vw, 4.8rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.stat__n span { font-size: .95rem; color: #D0DBE9; }
.stat__n small { flex-basis: 100%; margin-top: 10px; font-size: .95rem; color: #B9C6D8; max-width: 22em; }
.stat blockquote p { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.4; font-weight: 500; text-wrap: pretty; }
.stat footer { margin-top: 14px; font-size: .98rem; color: #B9C6D8; }
.stat footer a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.told__pivot { margin-top: clamp(72px, 9vw, 128px); }
.told__pivot .lede { color: #fff; max-width: 40em; margin-top: 28px; }
.pull { display: block; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; max-width: 30em; text-wrap: pretty; }
.pull__by { display: block; margin-top: 12px; font-size: 1rem; color: #B9C6D8; }
.pull__vol { display: block; margin-top: 28px; font-size: 1.15rem; line-height: 1.5; color: #D9E4F1; max-width: 38em; font-weight: 400; }
.pair { margin-top: clamp(32px, 4vw, 56px); }
.pair__nums { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 4px 6px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.pair__nums span { margin-right: 14px; font-weight: 600; color: #B9C6D8; white-space: nowrap; }
.pair__nums button { min-width: 36px; min-height: 40px; padding: 0 6px; border: 0; background: transparent; color: #B9C6D8; font-weight: 600; font-size: 1.15rem; border-bottom: 3px solid transparent; }
.pair__nums button:hover { color: #fff; }
.pair__nums button[aria-pressed="true"] { color: #fff; border-bottom-color: var(--coral); }
.pair__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.sitem { position: sticky; top: calc(var(--nav-h) + 24px); padding: clamp(22px, 3vw, 36px); background: #fff; color: #14202F; border-radius: var(--r); box-shadow: 0 0 0 1px rgb(20 32 47 / .14); }
.sitem__k { font-size: .9rem; font-weight: 600; color: #4A5565; }
.sitem__t { margin: 14px 0 28px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.22; font-weight: 600; letter-spacing: -.015em; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.scale label { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; text-align: center; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale__n { display: grid; place-items: center; width: 100%; height: 56px; border-radius: var(--r); box-shadow: inset 0 0 0 2px #AEBBCC; font-size: 1.2rem; font-weight: 600; color: #14202F; transition: background .12s, color .12s; }
.scale label:hover .scale__n { background: #E9F0F8; }
.scale input:checked + .scale__n { background: var(--sdusd); color: #fff; box-shadow: none; }
.scale input:focus-visible + .scale__n { outline: 3px solid var(--coral); outline-offset: 2px; }
.scale__l { overflow-wrap: anywhere; font-size: .85rem; line-height: 1.25; color: #3A4658; }
.sitem { container-type: inline-size; }
@container (max-width: 400px) {
  .scale { gap: 5px; }
  .scale label:not(:first-child):not(:last-child) .scale__l { visibility: hidden; height: 0; }
  .scale__l { font-size: .72rem; overflow-wrap: normal; hyphens: auto; }
}
.idea .pair__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sitem__n { margin-top: 24px; font-size: .92rem; color: #3A4658; }
.sitem__n a { color: var(--sdusd); }
.vhear { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vhear .tabs button { color: #B9C6D8; }
.vhear .tabs button[aria-selected="true"] { color: #fff; }
.vhear__k { font-weight: 600; color: #B9C6D8; }
.vhear__none { color: #B9C6D8; }
.vprompt { position: relative; aspect-ratio: 16 / 8; min-height: 0; border-radius: var(--r); overflow: hidden; color: #fff; }
.vprompt::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .84), rgb(8 20 36 / .05) 70%); }
.vprompt__q { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 20px; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.3; font-weight: 600; max-width: 30em; white-space: pre-line; }
.vprompt__go { position: absolute; z-index: 3; top: 16px; right: 16px; min-height: 44px; padding: 0 20px; }
.vclips:empty { display: none; }
.proposal { padding: 24px 28px; background: rgb(255 255 255 / .08); border-radius: var(--r); }
.proposal__k { font-size: .92rem; font-weight: 600; color: #FFB4AB; }
.proposal__t { margin-top: 8px; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.proposal__w { margin-top: 12px; color: #D0DBE9; }
.proposal__s { margin-top: 10px; font-weight: 600; color: #FFD9A8; }
.told__more { margin-top: 40px; }
@media (max-width: 900px) { .stat, .pair__grid { grid-template-columns: minmax(0, 1fr); } .sitem { position: static; } .vprompt { aspect-ratio: auto; height: 300px; } }

/* ---------- exemplar (a real student, audio only) ---------- */
.exm { container-type: inline-size; --ac: var(--dp, #2A4F7E); --wave-on: var(--ac); padding: clamp(18px, 2.4vw, 28px); background: var(--exm-bg); color: var(--ink); border-radius: var(--r); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); --muted: #4A5565; }
@media (prefers-color-scheme: dark) { .exm { --muted: #AEB9C8; --ac: var(--dm, #8FB0DD); } }
.told .exm, .idea .exm { --ink: #14202F; --exm-bg: #fff; --muted: #4A5565; --ac: #2A4F7E; --wave-off: #C9D3E0; }
@media (prefers-color-scheme: dark) { .told .exm, .idea .exm { --ink: #EDF2F8; --exm-bg: #182433; --muted: #AEB9C8; --ac: #8FB0DD; --wave-off: #3A485B; } }
.exm__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.exm__who { font-weight: 700; font-size: 1.05rem; }
.exm .tabs button { color: var(--muted); }
.exm .tabs button[aria-pressed="true"] { color: var(--ink); }
.exm__listen { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 18px; }
.exm__play { width: 56px; height: 56px; border: 0; border-radius: var(--r); background: var(--ac); color: #fff; display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .exm__play { color: #0E1620; } }
.exm__play svg { width: 26px; height: 26px; fill: currentColor; }
.exm__play .i-pause, .exm.is-playing .i-play { display: none; }
.exm.is-playing .i-pause { display: block; }
.exm__wave { position: relative; height: 64px; cursor: pointer; }
.exm__wave canvas { width: 100%; height: 100%; display: block; }
.exm__dots i { position: absolute; top: -3px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--c); }
.exm__time { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.exm__read { display: grid; gap: 24px; margin-top: 20px; }
@container (min-width: 760px) { .exm__read { grid-template-columns: minmax(0, 1fr) 280px; } }
.exm__txt { max-height: 21em; overflow-y: auto; scrollbar-width: thin; padding-right: 6px; scroll-behavior: smooth; }
.exm__text, .exm__tr { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.75; }
.exm__text .w { color: color-mix(in srgb, var(--ink) 78%, transparent); transition: color .1s; }
.exm__text .w.said { color: var(--ink); }
.exm__text .w.now { background: var(--hl); color: #14202F; border-radius: 3px; box-shadow: 0 0 0 3px var(--hl); }
.exm__text .w.a { cursor: pointer; background: color-mix(in srgb, var(--c) 20%, transparent); border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.exm__text .w { cursor: pointer; }
.exm__notes { display: flex; flex-direction: column; gap: 6px; align-self: start; }
.exm__notes li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r); font-size: .9rem; line-height: 1.4; color: var(--muted); transition: background .15s; }
.exm__notes li b { color: var(--ink); font-size: .95rem; }
.exm__comp { font-weight: 600; font-size: .82rem; }
.exm__comp::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: var(--c); border-radius: 2px; }
.exm__notes li.is-on { background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--ink); }
.exm__an { margin-top: 22px; padding: 18px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--ac) 9%, transparent); display: flex; flex-direction: column; gap: 8px; }
.exm__an h4 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.exm__an p { font-size: .98rem; line-height: 1.55; color: var(--ink); }

/* ---------- wellness ---------- */
.well { margin-top: 0; padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px); background: var(--tint); }
.well__feature { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; }
.wf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: clamp(420px, 46vw, 600px); }
.wf--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.wf--rev .wf__img { order: 2; }
.wf__img { position: relative; display: block; border: 0; padding: 0; min-height: 300px; overflow: hidden; background: none; color: #fff; text-align: left; }
.wf__img::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .8), rgb(8 20 36 / 0) 55%); }
.wf__quote { position: absolute; z-index: 3; left: clamp(24px, 3vw, 44px); right: clamp(24px, 3vw, 44px); bottom: clamp(24px, 3vw, 40px); font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.25; font-weight: 600; max-width: 24em; letter-spacing: -.015em; }
.wf__txt { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(32px, 5vw, 72px); background: var(--bg); }
.wf__org { font-size: 1rem; font-weight: 600; color: var(--muted); }
.wf__txt h3 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.wf__txt > p:not(.wf__org):not(.wf__meta) { font-size: 1.15rem; line-height: 1.55; max-width: 28em; }
.wf__meta { font-size: .95rem; color: var(--muted); }
.wf__go { display: flex; align-items: center; gap: 28px; margin-top: 10px; flex-wrap: wrap; }
.wf--full { display: block; position: relative; min-height: clamp(440px, 44vw, 580px); }
.wf--full .wf__img { position: absolute; inset: 0; }
.wf--full .wf__img::after { background: linear-gradient(to right, rgb(8 20 36 / .85), rgb(8 20 36 / .1) 70%); }
.wf--full .wf__quote { left: auto; right: clamp(24px, 4vw, 64px); bottom: auto; top: clamp(24px, 4vw, 56px); max-width: 16em; text-align: right; }
.wf--full .wf__txt { position: relative; z-index: 4; background: none; color: #fff; min-height: inherit; justify-content: flex-end; max-width: 560px; pointer-events: none; }
.wf--full .wf__txt * { pointer-events: auto; }
.wf--full .wf__org, .wf--full .wf__meta { color: #D6E1EE; }
.wf--full .btn--dist { background: var(--coral); color: #14202F; }
.well__more { margin-top: clamp(56px, 7vw, 96px); }
.well__h { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.rows { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(24px, 4vw, 64px); }
.rows button { width: 100%; display: flex; align-items: center; gap: 18px; padding: 8px 0; border: 0; background: none; text-align: left; }
.rows__t { display: flex; flex-direction: column; min-width: 0; }
.rows__t b { font-size: 1.1rem; line-height: 1.25; }
.rows__t span { font-size: .92rem; color: var(--muted); }
.rows button:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
@media (max-width: 900px) { .wf, .wf--rev { grid-template-columns: minmax(0, 1fr); } .wf--rev .wf__img { order: 0; } .rows { grid-template-columns: 1fr; } .wf--full .wf__quote { top: 24px; right: 24px; left: 24px; text-align: left; } }

/* ---------- customization chapters ---------- */
.custom { padding-top: clamp(72px, 9vw, 128px); }
.chap { margin-top: clamp(40px, 4vw, 64px); padding: clamp(48px, 6vw, 88px) 0; background: var(--bg); }
.custom > .wrap + div > .chap:first-child { margin-top: clamp(40px, 5vw, 72px); }
.chap--tint { background: var(--tint); }
.chap--night { background: #0C1A2D; color: #fff; --ink: #fff; --muted: #B9C6D8; }
.chap--blue { background: #3F6BA3; color: #fff; --ink: #fff; --muted: #E3EDF7; }
.chap--blue .chap__n { color: #FFC9C1; }
.chap__head { display: grid; grid-template-columns: clamp(96px, 14vw, 200px) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: start; }
.chap__n { font-size: clamp(4.5rem, 10vw, 9rem); line-height: .82; font-weight: 700; letter-spacing: -.05em; color: var(--coral); }
.chap__head h3 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.chap__head p { margin-top: 14px; max-width: 34em; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--muted); }
.chap__cmp { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 28px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.chap:nth-child(even) .chap__head { grid-template-columns: minmax(0, 1fr) clamp(96px, 14vw, 200px); }
.chap:nth-child(even) .chap__n { order: 2; text-align: right; }
.tri, .quad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.frame { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; min-height: 0; padding: 0; border: 0; overflow: hidden; background: none; color: #fff; text-align: left; }
.frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .9), rgb(8 20 36 / 0) 68%); pointer-events: none; }
.frame .duo img { transition: transform .8s var(--ease); }
.frame:hover .duo img { transform: scale(1.04); }
.frame--tall { aspect-ratio: 4 / 5; min-height: 0; }
.frame__t { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2.4vw, 32px); }
.frame__t b { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.frame__t span { font-size: .95rem; opacity: .92; }
.frame__t q { font-size: 1.05rem; line-height: 1.4; font-weight: 500; max-width: 26em; quotes: "\201C" "\201D"; }
.frame__band { position: absolute; z-index: 3; left: clamp(20px, 2.4vw, 32px); top: clamp(20px, 2.4vw, 32px); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.03em; }
.sw { display: flex; gap: 4px; margin-top: 6px; }
.sw i { width: 18px; height: 18px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); }
.langdemo { position: relative; aspect-ratio: 16 / 8.2; max-width: 1180px; overflow: hidden; border-radius: var(--r); }
.langdemo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .88), rgb(8 20 36 / .05) 70%); }
.langdemo__cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 44px); font-size: clamp(1.3rem, 2.8vw, 2.5rem); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: #fff; min-height: 4.6em; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 .3em; }
.langdemo__cap span { color: rgb(255 255 255 / .55); }
.langdemo__cap span.said { color: #fff; }
.langdemo__cap span.now { background: var(--coral); color: #14202F; border-radius: 4px; padding: 0 .12em; }
.chap--night .tabs--lg { margin-top: 20px; }
.langdemo__n { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.lens { display: flex; flex-direction: column; gap: 4px; }
.lens button { width: 100%; display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); align-items: center; gap: 20px; min-height: 36px; padding: 2px 0; border: 0; background: none; text-align: left; }
.lens__n { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.lens__n b { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lens__n span { font-size: .86rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lens__track { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lens__bar { display: flex; flex: none; gap: 2px; height: 22px; min-width: 6px; }
.lens__bar i { background: var(--dm); min-width: 3px; transition: filter .15s; }
.lens button:hover .lens__bar i { filter: brightness(.82); }
.lens button:hover b { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.lens__more { display: none; margin-top: 16px; padding: 8px 0; border: 0; background: none; font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; color: var(--ink); }
.lens__m { font-size: .92rem; color: var(--muted); white-space: nowrap; }
.modes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.modes__frame { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: var(--r); color: #fff; }
.modes__frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .86), rgb(8 20 36 / 0) 65%); }
.modes__q { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.3; font-weight: 600; }
.modes__panel { color: #fff; --ink: #fff; --muted: #E3EDF7; --faint: #CBD8E8; --tint: rgb(255 255 255 / .13); --dp: var(--coral); --dp-on: #14202F; --dm: #fff; --bg: #fff; }
.modes__panel .mode textarea { color: #14202F; background: #fff; box-shadow: none; }
.modes__panel .choice { background: rgb(255 255 255 / .14); box-shadow: none; color: #fff; }
.modes__panel .choice:hover { background: rgb(255 255 255 / .24); }
.modes__panel .choice[aria-checked="true"] { background: var(--coral); color: #14202F; }
.modes__panel .choice[aria-checked="true"]::before { box-shadow: inset 0 0 0 6px #14202F; }
.modes__panel .wave { background: rgb(255 255 255 / .12); }
.modes__panel .send { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .55); color: #fff; opacity: .8; }
.modes__panel .mode__hint { color: #fff; font-size: .95rem; }
.modes__panel .tabs { margin-bottom: 14px; }
.fw { display: flex; flex-direction: column; }
.fw button { width: 100%; display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); padding: 10px 0; border: 0; background: none; text-align: left; }
.fw__t { display: flex; flex-direction: column; min-width: 0; }
.fw__t b { font-size: clamp(1.4rem, 2.8vw, 2.3rem); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
.fw__t span { font-size: .95rem; color: var(--muted); }
.fw button:hover b { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (max-width: 900px) {
  .tri { grid-template-columns: minmax(0, 1fr); }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame { aspect-ratio: auto; height: 320px; min-height: 0; }
  .frame--tall { aspect-ratio: 3 / 4; height: auto; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .lens button { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 8px 0; }
  .lens--short [data-extra] { display: none; }
  .lens__more { display: block; }
  .lens__track { flex-wrap: wrap; gap: 2px 12px; }
  .lens__n span { display: none; }
  .chap__head { grid-template-columns: minmax(0, 1fr); }
  .fw button { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0 22px; }
  .duo--wide { width: 100%; aspect-ratio: 16 / 8; }
  .fw .duo { order: -1; }
}

/* ---------- brands ---------- */
.brands { padding: clamp(72px, 9vw, 128px) 0 0; }
.brands__wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); }
.bt { position: relative; display: block; aspect-ratio: 1 / 1; min-height: 0; padding: 0; border: 0; overflow: hidden; background: none; color: #fff; text-align: left; }
.bt::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .94), rgb(8 20 36 / .35) 45%, rgb(8 20 36 / 0) 72%); pointer-events: none; }
.bt--yours { background: var(--coral); color: #14202F; text-decoration: none; }
.bt--yours::after { display: none; }
.bt--yours .bt__t { top: 0; justify-content: flex-end; }
.bt--yours b { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.bt--yours em { margin-top: 8px; font-style: normal; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.bt .duo img { transition: transform .8s var(--ease); }
.bt:hover .duo img { transform: scale(1.04); }
.bt__t { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 24px; }
.bt__t b { font-size: 1.35rem; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.bt__t > span { font-size: .95rem; }
@media (max-width: 1100px) { .brands__wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .brands__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bt { aspect-ratio: auto; height: 240px; min-height: 0; } .plate--lg { --h: 52px; left: 14px; top: 14px; } }

/* ---------- best practices, tips ---------- */
.prac { padding: clamp(72px, 9vw, 128px) 0; }
.prac__body { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.prac__list { display: flex; flex-direction: column; gap: 2px; }
.prac__list button { border: 0; background: none; padding: 12px 0; text-align: left; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--faint); transition: color .15s, transform .25s var(--ease); }
.prac__list button:hover { color: var(--ink); }
.prac__list button[aria-current="true"] { color: var(--ink); transform: translateX(10px); }
.prac__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.prac__still { position: relative; display: block; aspect-ratio: 4 / 5; border: 0; padding: 0; overflow: hidden; background: none; border-radius: var(--r); }
.prac__txt h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.prac__txt p { margin-top: 16px; font-size: 1.2rem; line-height: 1.55; max-width: 28em; }
.cite { font-size: .95rem !important; line-height: 1.45 !important; color: var(--muted); }
@media (max-width: 900px) {
  .prac__body { grid-template-columns: minmax(0, 1fr); }
  .prac__list { flex-direction: row; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .prac__list button { white-space: nowrap; font-size: 1.05rem; }
  .prac__list button[aria-current="true"] { transform: none; box-shadow: inset 0 -3px 0 var(--coral); }
  .prac__panel { grid-template-columns: minmax(0, 1fr); }
  .prac__still { aspect-ratio: 16 / 10; }
}
.tips { padding: clamp(72px, 9vw, 128px) 0; background: var(--coral); color: #14202F; --muted: #3A2B2A; }
.tips h2, .tips .lede { color: #14202F; }
.tips .lede { opacity: .86; }
.tips__list { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px); }
.tip h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tip p { margin-top: 14px; font-size: 1.15rem; line-height: 1.55; max-width: 30em; }
.tip .cite { color: #3A2B2A; }
.tip--draft { padding: 22px 24px; outline: 2px dashed rgb(20 32 47 / .5); outline-offset: 0; }
@media (max-width: 800px) { .tips__list { grid-template-columns: 1fr; } }

/* ---------- inspiration gallery ---------- */
.gal { padding: clamp(72px, 9vw, 128px) 0 0; background: var(--tint); }
.filters { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px 44px; }
.fgroup { border: 0; padding: 0; margin: 0; min-width: 0; max-width: 100%; }
.fgroup legend { padding: 0; margin-bottom: 4px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.fgroup select { max-width: 100%; min-height: 44px; padding: 0 36px 0 0; border: 0; border-bottom: 2px solid var(--faint); border-radius: 0; background: transparent; font-weight: 600; font-size: .98rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238794a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
.filters__count { margin: 24px 0 28px; color: var(--muted); }
.gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gal__grid--prompts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gt { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: none; color: #fff; text-align: left; }
.gal__grid--prompts .gt { aspect-ratio: 16 / 11; }
.gt::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(8 20 36 / .88), rgb(8 20 36 / 0) 62%); pointer-events: none; }
.gt .duo img { transition: transform .8s var(--ease); }
.gt:hover .duo img { transform: scale(1.05); }
.gt__t { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; }
.gt__t b { font-size: 1.1rem; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.gt__t span { font-size: .82rem; opacity: .92; line-height: 1.35; }
.gal__grid--prompts .gt__t b { font-size: .95rem; }
.gal__grid--prompts .gt__t { padding: 12px 14px; }
.empty { grid-column: 1 / -1; padding: 72px var(--gutter); text-align: center; color: var(--muted); }
.empty .btn { margin-top: 18px; }
@media (max-width: 1100px) { .gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gal__grid--prompts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gal__grid--prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gt__t b { font-size: .98rem; } }

/* ---------- ideas ---------- */
.ideas { padding: clamp(72px, 9vw, 128px) 0; }
.ideas__list { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(56px, 7vw, 104px); }
.idea { padding: clamp(24px, 3.4vw, 48px); background: var(--night); color: #fff; border-radius: var(--r); --muted: #B9C6D8; --ink: #fff; }
.idea .pair { margin-top: 0; }

/* ---------- next, foot ---------- */
.next { padding: clamp(72px, 9vw, 128px) 0; background: var(--navy); color: #fff; }
.next h2 { color: #fff; }
.next__links { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.next__a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.next__a b { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--coral); }
.next__a span { font-size: 1.15rem; color: #D6E7F1; }
.next__sign { margin-top: clamp(64px, 8vw, 112px); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.next__who { margin: 16px 0 28px; max-width: 32em; font-size: 1.2rem; color: #D6E7F1; }
.foot { padding: 28px 0 40px; background: var(--night-2); color: #9FB0C6; font-size: .9rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 40px; justify-content: space-between; }
@media (max-width: 760px) { .next__links { grid-template-columns: 1fr; } }

/* ---------- keep a long page cheap: skip rendering far-off sections ---------- */
.told, .well, .chap, .brands, .prac, .tips, .gal, .ideas, .next { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
.gal__grid, .brands__wall { content-visibility: auto; contain-intrinsic-size: auto 1400px; }

/* ---------- player ---------- */
.player { --dp: var(--deep); --ds: var(--coral); --di: var(--navy); --dm: var(--deep); --dp-on: #fff; --ds-on: #14202F; width: min(1260px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--r); background: var(--bg); color: var(--ink); overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / .5); }
.player::backdrop { background: rgb(8 16 28 / .72); backdrop-filter: blur(4px); }
.player[open] { display: flex; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.player__shell { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 32px); overflow-y: auto; }
.pl-head { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 20px; background: var(--dp); color: var(--dp-on); }
.pl-head__id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pl-head__logo { flex: none; }
.pl-head__logo .plate { --h: 48px; }
.pl-head h2 { font-size: 1.2rem; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; max-width: none; }
.pl-head p { font-size: .88rem; opacity: .9; line-height: 1.3; }
.pl-head__prog { margin-left: auto; font-weight: 600; font-size: .92rem; text-align: right; white-space: nowrap; }
.pl-close { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r); background: rgb(255 255 255 / .22); color: inherit; font-weight: 600; }
.pl-close:hover { background: rgb(255 255 255 / .34); }
.pl-head :focus-visible, .pl-steps :focus-visible { outline-color: currentColor; }
.pl-steps { display: flex; gap: 3px; background: var(--dp); padding-bottom: 0; }
.pl-steps button { flex: 1; height: 8px; padding: 0; border: 0; border-radius: 0; background: rgb(255 255 255 / .28); position: relative; }
.pl-steps button::before { content: ""; position: absolute; inset: -10px 0; }
.pl-steps button.is-done { background: rgb(255 255 255 / .62); }
.pl-steps button[aria-current="step"] { background: var(--ds); }
.pl-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: clamp(16px, 2.4vw, 32px); }
.stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0f12; border-radius: var(--r); }
.stage video { width: 100%; height: 100%; object-fit: cover; background: #0d0f12; }
.stage__overlay { position: absolute; left: 14px; top: 14px; max-width: min(80%, 34em); padding: 12px 16px; border-radius: var(--r); background: rgb(12 18 28 / .7); color: #fff; font-weight: 600; font-size: clamp(.95rem, 1.5vw, 1.2rem); line-height: 1.3; white-space: pre-line; pointer-events: none; }
.stage__overlay:empty { display: none; }
.stage__logo { position: absolute; left: 14px; bottom: 14px; pointer-events: none; }
.stage__logo .plate { --h: 46px; }
.stage__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border: 0; border-radius: 50%; background: var(--ds); color: var(--ds-on); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .6); transition: transform .2s var(--ease), opacity .2s; }
.stage__play:hover { transform: scale(1.07); }
.stage__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.stage.is-playing .stage__play { opacity: 0; pointer-events: none; }
.stage__err { position: absolute; inset: auto 14px 14px 70px; padding: 10px 14px; border-radius: var(--r); background: rgb(12 18 28 / .8); color: #fff; font-size: .9rem; }
.ctrl { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.ctrl__btn { flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--dp); color: var(--dp-on); display: grid; place-items: center; }
.ctrl__btn svg { width: 22px; height: 22px; fill: currentColor; }
.ctrl__btn .i-pause { display: none; }
.stage.is-playing ~ .ctrl .i-pause { display: block; }
.stage.is-playing ~ .ctrl .i-play { display: none; }
.ctrl__seek { flex: 1; min-width: 0; accent-color: var(--dm); height: 28px; }
.ctrl__time { font-size: .88rem; color: var(--muted); min-width: 4.4em; text-align: right; }
.ctrl .tabs { flex: none; flex-wrap: nowrap; gap: 14px; }
.ctrl .tabs button { padding: 6px 0; font-size: .88rem; }
.caps { margin-top: 12px; min-height: 5.2em; padding: 14px 18px; border-radius: var(--r); background: #101822; color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.45; }
.caps .w { color: rgb(255 255 255 / .5); }
.caps .w.said { color: rgb(255 255 255 / .92); }
.caps .w.now { background: var(--ds); color: var(--ds-on); border-radius: 3px; box-shadow: 0 0 0 3px var(--ds); }
.caps__note { color: #AEB9C8; font-size: .95rem; font-weight: 400; }
.pitem { margin-top: 16px; padding: 18px 20px; background: var(--tint); border-radius: var(--r); }
.pitem__k { font-size: .85rem; font-weight: 600; color: var(--muted); }
.pitem__t { margin-top: 6px; font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
.scale--s { margin-top: 14px; gap: 6px; }
.scale--s li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .72rem; line-height: 1.2; color: var(--muted); }
.scale--s li span { display: grid; place-items: center; width: 100%; height: 30px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 35%, transparent); font-size: .9rem; font-weight: 600; color: var(--ink); }
.pitem__n { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.pl-panel { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pl-panel__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pl-panel__text { display: none; white-space: pre-line; color: var(--muted); }
.hear h4, .sample h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.hear { display: flex; flex-direction: column; gap: 12px; }
.ask { font-weight: 600; font-size: 1.1rem; }
.answer { display: flex; flex-direction: column; gap: 12px; }
.mode { padding: 18px 20px; border-radius: var(--r); background: var(--tint); display: flex; flex-direction: column; gap: 14px; }
.mode__hint { font-size: .92rem; color: var(--muted); line-height: 1.45; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 72px; padding: 0 8px; border-radius: var(--r); background: color-mix(in srgb, var(--dm, var(--deep)) 12%, var(--bg)); overflow: hidden; }
.wave i { flex: none; width: 4px; height: 6px; border-radius: 2px; background: var(--dm, var(--deep)); opacity: .55; }
.mode.is-live .wave i { animation: bar 1s ease-in-out infinite; opacity: 1; }
@keyframes bar { 0%, 100% { height: 6px; } 50% { height: var(--h, 40px); } }
.rec { display: flex; align-items: center; gap: 14px; }
.rec__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; white-space: nowrap; border: 0; border-radius: var(--r); background: var(--coral); color: #14202F; font-weight: 700; }
.rec__btn::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #14202F; }
.mode.is-live .rec__btn::before { border-radius: 2px; }
.rec__time { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.send { align-self: flex-start; min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--r); background: color-mix(in srgb, var(--ink) 12%, transparent); color: var(--faint); font-weight: 600; }
.mode textarea { width: 100%; min-height: 150px; padding: 14px 16px; border: 0; border-radius: var(--r); background: var(--bg); font-size: 1rem; line-height: 1.5; resize: vertical; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); }
.mode textarea:focus-visible { outline-offset: 0; }
.cam { aspect-ratio: 16 / 8; border-radius: var(--r); display: grid; place-items: center; text-align: center; padding: 16px; background: color-mix(in srgb, var(--dm, var(--deep)) 18%, var(--bg)); color: var(--muted); font-size: .92rem; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { min-height: 56px; padding: 12px 20px; border: 0; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent); text-align: left; font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; gap: 12px; transition: background .12s, color .12s; }
.choice::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--faint); }
.choice:hover { background: color-mix(in srgb, var(--dm, var(--deep)) 12%, var(--bg)); }
.choice[aria-checked="true"] { background: var(--dp); color: var(--dp-on); box-shadow: none; }
.choice[aria-checked="true"]::before { box-shadow: inset 0 0 0 6px var(--dp-on); }
.choice--go { justify-content: center; background: var(--dp); color: var(--dp-on); box-shadow: none; }
.choice--go::before { display: none; }
.sample { padding: 18px 20px; border-radius: var(--r); background: var(--tint); display: flex; flex-direction: column; gap: 12px; }
.sample:empty { display: none; }
.sample__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sample__row { display: flex; align-items: center; gap: 12px; }
.sample__play { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--bg); font-weight: 600; }
.sample__play svg { width: 16px; height: 16px; fill: currentColor; }
.sample__bar { flex: 1; height: 6px; background: color-mix(in srgb, var(--ink) 16%, transparent); overflow: hidden; }
.sample__bar i { display: block; height: 100%; width: 0; background: var(--coral); }
.sample__label { align-self: flex-start; padding: 5px 12px; border-radius: 2px; background: var(--ink); color: var(--bg); font-size: .85rem; font-weight: 700; }
.sample__txt { font-size: .95rem; line-height: 1.55; }
.sample__none { font-size: .9rem; color: var(--muted); }
.pl-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: auto; padding-top: 4px; }
@media (max-width: 900px) {
  .pl-main { grid-template-columns: minmax(0, 1fr); }
  .pl-stage { display: contents; }
  .stage { order: 1; } .ctrl { order: 2; margin-top: 0; } .caps { order: 3; margin-top: 0; } .pl-panel { order: 4; } .pl-item { order: 5; }
  .pl-main { gap: 12px; }
  .pl-panel { margin-top: 12px; }
}
@media (max-width: 560px) {
  .player { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .player__shell { max-height: 100dvh; }
  .pl-head { flex-wrap: wrap; row-gap: 8px; }
  .pl-head__id { flex: 1 1 0; }
  .pl-head__prog { order: 3; width: 100%; text-align: left; margin: 0; }
  .ctrl { flex-wrap: wrap; }
  .ctrl__seek { order: 5; flex-basis: 100%; }
  .stage__play { width: 64px; height: 64px; }
  .stage__overlay { font-size: .85rem; padding: 8px 12px 0; border-bottom: 8px solid transparent; max-width: calc(100% - 28px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pl-panel__text { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
