/* Story Engine base stylesheet. Every color and face comes from the brand
   block's custom properties (brand.css, generated by assemble.py from
   tokens.json). No component carries a color or font of its own. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-anchor: none; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--c-stage-bg); color: var(--c-stage-fg);
  font-family: var(--f-body); font-size: var(--t-body); line-height: var(--t-lh);
  -webkit-font-smoothing: antialiased; font-feature-settings: "lnum" 1;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Surfaces ---------- */
/* The accent follows the surface: brand.css sets --c-stage-accent / --c-beat-accent
   and their -rgb triplets, so a client brand can run a different accent per surface. */
html { --acc: var(--c-stage-accent); --acc-rgb: var(--c-stage-accent-rgb); }
html[data-surface="beat"] { --acc: var(--c-beat-accent); --acc-rgb: var(--c-beat-accent-rgb); }
.surface-stage { --acc: var(--c-stage-accent); --acc-rgb: var(--c-stage-accent-rgb); background: var(--c-stage-bg); color: var(--c-stage-fg); --fg: var(--c-stage-fg); --muted: var(--c-stage-muted); --line: var(--c-dark-gray); --accent-text: var(--acc); --art-ink: var(--c-white); --art-soft: var(--c-dark-gray); }
.surface-beat { --acc: var(--c-beat-accent); --acc-rgb: var(--c-beat-accent-rgb); background: var(--c-beat-bg); color: var(--c-beat-fg); --fg: var(--c-beat-fg); --muted: var(--c-beat-muted); --line: var(--c-dark-gray); --accent-text: var(--c-beat-fg); --art-ink: var(--c-black); --art-soft: var(--c-medium-gray); }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .9; }
.accent { font-family: var(--f-display); font-style: italic; font-weight: 500; color: var(--accent-text); letter-spacing: .02em; }
.label { font-family: var(--f-label); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-label-track); font-size: 14px; line-height: 1.2; }
.rule { display: block; height: var(--rule); width: 100%; background: var(--acc); transform-origin: 0 50%; }

/* ---------- Beat frame ---------- */
.beat { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 112px; overflow: hidden; }
.beat > .safe { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; }

/* ---------- D ring line art (brand signature, drawn on arrival) ---------- */
.dring { position: absolute; z-index: 1; pointer-events: none; color: var(--acc); }
.dring path, .dring circle { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.title .dring { width: min(118vh, 92vw); right: -18vw; top: 50%; translate: 0 -50%; -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 68%); mask-image: linear-gradient(to bottom, #000 58%, transparent 68%); }
.stage .dring { width: min(96vh, 80vw); right: -26vw; top: 50%; translate: 0 -50%; opacity: .9; }

/* ---------- Title stage (chapter 0) ---------- */
.title.beat { justify-content: flex-start; padding-top: clamp(96px, 14vh, 150px); }
.title-h { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .86; font-size: clamp(56px, 7.4vw, 128px); max-width: 13ch; }
.title-h .accent { display: block; font-size: 1.08em; line-height: .9; }
.title .rule-wrap { width: min(100%, 520px); margin: 28px 0 22px; }
.title-sub { font-size: calc(var(--t-body) * 1.12); max-width: 46ch; }
.title-meta { margin-top: 8px; color: var(--muted); }
.title-line { margin-top: 18px; font-weight: 600; max-width: 40ch; }
.strip { position: absolute; z-index: 2; left: 0; bottom: 96px; display: flex; gap: 18px; padding-left: var(--gutter); will-change: transform; }
.strip figure { margin: 0; width: clamp(160px, 14vw, 230px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: var(--c-near-black); flex: none; }
.strip img, .strip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.title-how { margin-top: 26px; color: var(--muted); font-size: 16px; font-weight: 600; }

/* ---------- Chapter opener ---------- */
.stage .safe { display: flex; flex-direction: column; align-items: flex-start; }
.stage-num { color: var(--acc); margin-bottom: 26px; font-size: 16px; }
.stage-title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .86; font-size: clamp(56px, min(10vw, 15vh), 168px); max-width: 11ch; }
.stage-title .accent { display: block; }
.stage .rule-wrap { width: min(100%, 520px); margin: 36px 0 28px; }
.stage-line { font-size: calc(var(--t-body) * 1.2); max-width: 30ch; }
.stage-logo { position: absolute; z-index: 3; left: var(--gutter); bottom: 42px; width: 168px; height: auto; }

/* ---------- Sequence: pinned, one result per screen ---------- */
.seq { position: relative; }
.seq-track { display: block; }
.seq.h { height: 100vh; height: 100svh; overflow: hidden; }
.seq.h .seq-track { display: flex; height: 100%; width: max-content; will-change: transform; }
.moment { position: relative; width: 100vw; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(32px, 5vw, 88px); padding: 88px calc(var(--gutter) + 56px) 104px var(--gutter); overflow: hidden; }
.seq.h .moment { height: 100%; min-height: 0; flex: none; }
.m-art { position: relative; width: 100%; height: min(62vh, 640px); }
.m-art svg { width: 100%; height: 100%; overflow: visible; }
.m-text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.m-index { color: var(--muted); margin-bottom: 22px; }
.surface-stage .m-index { color: var(--acc); }
.m-num { font-family: var(--f-display); font-weight: 500; letter-spacing: .01em; line-height: .82; font-size: clamp(110px, 13.5vw, 232px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-name { font-size: clamp(34px, 3.6vw, 60px); line-height: .95; text-transform: uppercase; margin-top: 32px; }
.m-text .rule { width: 96px; margin: 26px 0 22px; }
.m-ctx { max-width: 32ch; color: var(--fg); }
.m-art-label { margin-top: 12px; color: var(--muted); font-size: 16px; font-weight: 600; }
.m-more { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; font-size: 17px; color: var(--fg); }
.m-more .plus { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--acc); display: grid; place-items: center; color: var(--fg); font-size: 20px; line-height: 1; transition: transform .35s ease-out, background-color .35s ease-out; }
.m-more:hover .plus, .m-more:focus-visible .plus { transform: rotate(90deg); background: var(--acc); color: var(--c-black); }
.m-more:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
.seq-progress { position: absolute; z-index: 5; left: var(--gutter); right: calc(var(--gutter) + 56px); bottom: 48px; height: 2px; background: var(--c-dark-gray); display: none; }
.seq.h .seq-progress { display: block; }
.seq-progress span { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); }

/* Art primitives */
.art-photos { position: absolute; inset: 0; }
.art-photos > * { position: absolute; object-fit: cover; border-radius: 3px; }
.art-photos > :nth-child(1) { left: 0; top: 0; width: 70%; height: 78%; }
.art-photos > :nth-child(2) { right: 0; top: 16%; width: 46%; height: 54%; z-index: 2; }
.art-photos > :nth-child(3) { right: 12%; bottom: 0; width: 34%; height: 34%; z-index: 3; }
.m-art .art-dots-row { position: absolute; overflow: visible; left: 0; width: 100%; bottom: 0; height: 15%; }
.m-art.has-photos { height: min(70vh, 680px); }
.m-art.has-photos .art-photos { bottom: 21%; }

/* Art inks: every mark reads a surface variable, gold is the point */
.m-art .ink, .m-art .person { fill: var(--art-ink); }
.m-art .ring { fill: none; stroke: var(--acc); stroke-width: 2; }
.m-art .tile { fill: var(--art-ink); }
.m-art .check { fill: none; stroke: var(--acc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-art .spoke { stroke: var(--art-soft); stroke-width: 1.5; }
.m-art .node { fill: var(--art-ink); }
.m-art .kit, .m-art .hub, .m-art .gold-dot { fill: var(--acc); }
.m-art .ring-soft { fill: none; stroke: var(--c-medium-gray); stroke-width: 1.5; }
.m-art .tick { stroke: var(--art-ink); stroke-width: 2; }
.m-art text { fill: var(--fg); font-family: var(--f-body); font-size: 17px; font-weight: 600; }

/* ---------- Recap (Figures) ---------- */
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; row-gap: 46px; }
.figs-head { grid-column: 1 / -1; justify-self: start; display: inline-flex; flex-direction: column; margin-bottom: 6px; }
.figs-title { font-size: clamp(40px, 5.2vw, 84px); }
.figs-head .rule { margin-top: 18px; }
.fig { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; padding-top: 18px; border-top: 1px solid var(--line); }
.fig:nth-child(-n+4) { border-top: 0; padding-top: 0; }
.fig-num { font-size: clamp(54px, 5.6vw, 92px); line-height: .9; font-variant-numeric: tabular-nums; }
.fig-name { margin-top: 12px; font-weight: 600; font-size: 20px; line-height: 1.3; display: flex; gap: 10px; align-items: center; }
.fig-name .plus { color: var(--acc); font-size: 24px; line-height: 1; transition: transform .3s ease-out; }
.fig-ctx { margin-top: 4px; color: var(--muted); font-size: 17px; line-height: 1.45; max-width: 34ch; }
.fig:hover .plus, .fig:focus-visible .plus { transform: rotate(90deg); }
.fig:focus-visible { outline: 2px solid var(--fg); outline-offset: 8px; }

/* ---------- Next cue ---------- */
.cue { position: absolute; z-index: 4; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap; text-decoration: none; color: var(--fg); }
.cue svg { width: 18px; height: 18px; color: var(--acc); }
.cue:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }

/* ---------- Rail ---------- */
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; --rail-fg: var(--c-stage-fg); --rail-dim: var(--c-stage-muted); --rail-panel: var(--c-stage-bg); }
html[data-surface="beat"] .rail { --rail-fg: var(--c-beat-fg); --rail-dim: var(--c-beat-muted); --rail-panel: var(--c-beat-bg); }
.rail-icon { width: 22px; height: 28px; position: relative; margin-bottom: 6px; }
.rail-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rail-icon .track { color: var(--rail-dim); opacity: .55; }
.rail-icon .fill { color: var(--acc); clip-path: inset(calc(100% - var(--progress, 0%)) 0 0 0); }
.rail ol { list-style: none; margin: 0; padding: 10px 0 10px 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rail.peek ol, .rail:focus-within ol { background: var(--rail-panel); box-shadow: 0 0 0 10px var(--rail-panel); }
.rail a, .rail .soon { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 30px; min-width: 64px; text-decoration: none; color: var(--rail-dim); font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: var(--t-label-track); text-transform: uppercase; padding: 3px 0; cursor: pointer; }
.rail a:hover { color: var(--rail-fg); opacity: 1; }
.rail a, .rail .soon { opacity: .55; }
.rail .soon { opacity: .32; cursor: default; }
.rail a[aria-current="true"] { opacity: 1; }
.title-how .how-phone { display: none; }
.rail .name { opacity: 0; visibility: hidden; transform: translateX(6px); transition: opacity .3s ease-out, transform .3s ease-out, visibility 0s linear .3s; }
.rail .tick { width: 14px; height: var(--rule); background: currentColor; transition: width .4s ease-out; }
.rail a[aria-current="true"] { color: var(--rail-fg); }
.rail a[aria-current="true"] .tick { width: 28px; background: var(--acc); }
.rail.peek .name, .rail:focus-within .name { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rail a:focus-visible { outline: 2px solid var(--rail-fg); outline-offset: 4px; }
.rail-toggle { display: none; }

/* ---------- HUD: progress bar and controls ---------- */
html { --hud-fg: var(--c-stage-fg); --hud-dim: var(--c-stage-muted); --hud-track: var(--c-medium-gray); --hud-bg: var(--c-stage-bg); }
html[data-surface="beat"] { --hud-fg: var(--c-beat-fg); --hud-dim: var(--c-beat-muted); --hud-track: var(--c-medium-gray); --hud-bg: var(--c-beat-bg); }
.progress { position: fixed; z-index: 25; top: 0; left: 0; right: 0; display: flex; gap: 4px; padding: 0 4px; height: 22px; align-items: flex-start; }
.seg { position: relative; flex: 1; height: 22px; display: block; padding-top: 8px; cursor: pointer; }
.seg::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 4px; background: var(--hud-track); opacity: .55; transition: opacity .2s ease-out; }
.seg-fill { position: absolute; left: 0; right: 0; top: 8px; height: 4px; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); }
.seg:hover::before { opacity: 1; }
.seg-tip { position: absolute; top: 20px; left: 0; white-space: nowrap; padding: 6px 10px; background: var(--hud-bg); color: var(--hud-fg); font-family: var(--f-label); font-size: 13px; letter-spacing: var(--t-label-track); text-transform: uppercase; opacity: 0; visibility: hidden; transition: opacity .2s ease-out; pointer-events: none; }
.seg:last-child .seg-tip { left: auto; right: 0; }
.seg:hover .seg-tip, .seg:focus-visible .seg-tip { opacity: 1; visibility: visible; }
.seg:focus-visible { outline: 2px solid var(--hud-fg); outline-offset: 2px; }
.ctrl { position: fixed; z-index: 25; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 12px; color: var(--hud-fg); }
.ctrl-where { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 15px; color: var(--hud-dim); max-width: 34ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctrl-where .label { color: var(--acc); font-size: 13px; }
.ctrl-count { font-family: var(--f-label); font-size: 14px; letter-spacing: var(--t-label-track); min-width: 64px; text-align: right; color: var(--hud-fg); }
.ctrl-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--acc); display: grid; place-items: center; color: var(--hud-fg); background: var(--hud-bg); transition: background-color .2s ease-out, color .2s ease-out; }
.ctrl-btn svg { width: 18px; height: 18px; }
.ctrl-btn:hover { background: var(--acc); color: var(--c-black); }
.ctrl-btn:focus-visible { outline: 2px solid var(--hud-fg); outline-offset: 3px; }
.ctrl-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* ---------- Deeper panel ---------- */
.deeper-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .35s ease-out; }
html.deeper-open .deeper-scrim { opacity: 1; pointer-events: auto; }
.deeper { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(540px, 100%); background: var(--c-stage-bg); color: var(--c-stage-fg); border-left: var(--rule) solid var(--acc); transform: translateX(102%); visibility: hidden; transition: transform .55s cubic-bezier(.22, .8, .24, 1), visibility 0s linear .55s; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 32px 44px 44px; }
html.deeper-open .deeper { transform: none; visibility: visible; transition-delay: 0s; }
.deeper-close { align-self: flex-end; min-height: 44px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.deeper-close:focus-visible { outline: 2px solid var(--c-stage-fg); outline-offset: 4px; }
.deeper-kicker { color: var(--acc); margin-top: 22px; }
.deeper-num { font-family: var(--f-display); font-weight: 500; font-size: 96px; line-height: .85; margin-top: 18px; }
.deeper-title { font-family: var(--f-display); font-style: italic; font-weight: 500; text-transform: uppercase; color: var(--acc); font-size: 38px; line-height: 1; margin-top: 12px; }
.deeper .rule { width: 120px; margin: 24px 0 18px; }
.deeper-body ul { margin: 0; padding: 0; list-style: none; }
.deeper-body li { font-size: 19px; padding: 14px 0; border-top: 1px solid var(--c-dark-gray); }
.deeper-body li:first-child { border-top: 0; }
.deeper-status { margin-top: 22px; color: var(--c-stage-muted); font-size: 16px; }
.deeper-status strong { color: var(--c-stage-fg); font-weight: 600; }
.deeper-src { margin-top: auto; padding-top: 32px; color: var(--c-stage-muted); font-size: 15px; }

/* ---------- Present mode ---------- */
.notes { display: none; }
html.present.notes-on .notes { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 34vh; overflow: auto; background: var(--c-near-black); color: var(--c-white); padding: 18px 32px 22px; font-size: 18px; border-top: var(--rule) solid var(--acc); }
html.present.cursor-hidden, html.present.cursor-hidden * { cursor: none !important; }
/* live presenting (present.js): builds, stage clips, blank screen, key map */
html.present { scrollbar-width: none; }  /* no scrollbar on the projected screen; keys and the wheel still move */
html.present::-webkit-scrollbar { display: none; }
html.present .b-off { visibility: hidden; }
.p-fs { position: fixed; z-index: 60; top: 34px; right: 22px; min-height: 44px; padding: 0 16px; border: 2px solid var(--acc); border-radius: 3px; background: var(--hud-bg); color: var(--hud-fg); cursor: pointer; transition: opacity .3s ease-out, background-color .2s ease-out, color .2s ease-out; }
.p-fs:hover { background: var(--acc); color: var(--c-black); }
.p-fs:focus-visible { outline: 2px solid var(--hud-fg); outline-offset: 3px; }
html.is-full .p-fs, html.present.cursor-hidden .p-fs:not(:focus-visible) { opacity: 0; pointer-events: none; }
.p-clip { position: fixed; inset: 0; z-index: 70; background: #000; opacity: 0; visibility: hidden; transition: opacity .35s ease-out, visibility 0s linear .35s; }
.p-clip.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.p-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: none; }
.p-clip video.on { display: block; }
.p-blank { position: fixed; inset: 0; z-index: 90; background: #000; display: none; }
.p-blank.on { display: block; }
.p-blank[data-tone="white"] { background: #fff; }
.p-keys { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .78); }
.p-keys[hidden] { display: none; }
.p-keys-card { width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--c-stage-bg); color: var(--c-stage-fg); border-top: var(--rule) solid var(--c-stage-accent); padding: 28px 32px; }
.p-keys-k { color: var(--c-stage-accent); margin-bottom: 14px; }
.p-keys table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.35; }
.p-keys th, .p-keys td { text-align: left; vertical-align: top; padding: 9px 14px 9px 0; border-top: 1px solid rgba(var(--c-stage-accent-rgb), .3); }
.p-keys thead th { font-family: var(--f-label); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-label-track); font-size: 13px; color: var(--c-stage-muted); border-top: 0; }
.p-keys tbody th { font-weight: 600; }
.p-keys-foot { margin-top: 14px; font-size: 15px; color: var(--c-stage-muted); }
@media (prefers-reduced-motion: reduce) { .p-clip, .p-fs { transition: none; } }

/* ---------- Cast: expert cutouts over overlapping shapes ---------- */
.cast { position: absolute; z-index: 1; right: calc(var(--gutter) + 40px); bottom: 0; width: min(46vw, 820px); height: min(84vh, 860px); pointer-events: none; }
.stage:has(.cast) .stage-title { font-size: clamp(56px, min(7.2vw, 12vh), 136px); max-width: 11ch; }
.cast-disc { position: absolute; left: 16%; bottom: 18%; width: 66%; aspect-ratio: 1; border-radius: 50%; background: var(--c-near-black); }
.cast-ring { position: absolute; left: 6%; bottom: 26%; width: 60%; overflow: visible; color: var(--acc); }
.cast-ring circle, .reel-ring circle { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.cast-dot { position: absolute; right: 14%; top: 16%; width: 20px; height: 20px; border-radius: 50%; background: var(--acc); }
.cast-p { position: absolute; bottom: 0; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); }
.cast-p.p1 { left: -3%; height: 58%; }
.cast-p.p2 { left: 50%; translate: -50% 0; height: 76%; z-index: 2; }
.cast-p.p3 { right: -3%; height: 62%; }

/* Duo: two people side by side, heads level and the same size (scales set
   from each photo's head-to-frame ratio), cropped at the waist by the frame. */
.cast.duo { width: min(52vw, 900px); bottom: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.cast.duo .cast-p { -webkit-mask-image: none; mask-image: none; }
.cast.duo .cast-p.p1 { left: 0; top: 38%; bottom: auto; height: 62%; translate: none; z-index: 2; }
.cast.duo .cast-p.p2 { left: auto; right: 0; top: 38%; bottom: auto; height: 69%; translate: none; z-index: 1; }
.cast.duo .cast-disc { left: 22%; bottom: 8%; width: 60%; }

/* ---------- Video ---------- */
video[data-vid] { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c-near-black); }

/* ---------- Pillars: what innovation means ---------- */
.pillars .safe { max-width: 1320px; }
.pil-head { display: flex; flex-direction: column; align-items: flex-start; }
.pil-kicker { color: var(--muted); font-size: 15px; }
.pil-h { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .9; font-size: clamp(44px, 4.6vw, 80px); margin-top: 14px; }
.pils { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); margin-top: clamp(26px, 4vh, 44px); }
.pil { display: flex; flex-direction: column; background: var(--c-black); color: var(--c-white); border-radius: 6px; padding: clamp(22px, 2vw, 32px); min-height: min(40vh, 380px); }
.pil-n { color: var(--acc); font-size: 14px; }
.pil-name { font-family: var(--f-display); font-weight: 500; font-style: italic; text-transform: uppercase; letter-spacing: .02em; color: var(--c-white); font-size: clamp(32px, 2.9vw, 50px); line-height: .92; margin-top: 18px; min-height: 1.84em; }
.pil .rule { width: 48px; margin: 18px 0 16px; }
.pil-def { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--c-white); }
.pil-ex { list-style: none; margin: auto 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pil-ex li { border: 1px solid var(--acc); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--c-white); }
.pil-foot { margin-top: clamp(22px, 3.4vh, 36px); font-size: calc(var(--t-body) * 1.15); font-weight: 600; }

/* ---------- Reel: video, capture clip and cutouts, overlapping ---------- */
.reel.beat { padding-right: calc(var(--gutter) + 56px); }
.reel-grid { position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.reel-text { display: flex; flex-direction: column; align-items: flex-start; }
.reel-kicker { color: var(--muted); margin-bottom: 18px; }
.reel-title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .88; font-size: clamp(56px, 6.4vw, 112px); }
.reel-title .accent { display: block; }
.reel-text .rule { width: 96px; margin: 24px 0 20px; }
.reel-line { max-width: 34ch; }
.reel-fig { display: flex; align-items: flex-end; gap: 18px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.reel-num { font-family: var(--f-display); font-weight: 500; font-size: clamp(64px, 6vw, 104px); line-height: .85; font-variant-numeric: tabular-nums; }
.reel-ctx { max-width: 26ch; color: var(--muted); font-size: 17px; line-height: 1.4; padding-bottom: 4px; }
.reel .m-more { margin-top: 22px; }
.reel-media { position: relative; height: min(72vh, 680px); }
.reel-ring { position: absolute; width: 36%; right: -12%; bottom: -6%; color: var(--acc); overflow: visible; }
.reel-main, .reel-phone { position: absolute; margin: 0; overflow: hidden; background: var(--c-near-black); }
.reel-main { left: 0; top: 6%; width: 94%; aspect-ratio: 16 / 9; border-radius: 6px; box-shadow: 0 26px 60px rgba(0, 0, 0, .26); }
.reel-phone { z-index: 3; right: -2%; bottom: 0; width: 23%; aspect-ratio: 9 / 16; border-radius: 22px; border: 6px solid var(--c-black); box-shadow: 0 20px 44px rgba(0, 0, 0, .3); }
.reel-main img, .reel-phone img { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 3px; background: rgba(0, 0, 0, .62); color: var(--c-white); font-size: 12px; }
.reel-phone figcaption { left: 8px; top: auto; bottom: 10px; font-size: 11px; }
.vid-toggle { position: absolute; z-index: 4; left: calc(94% - 56px); top: calc(6% + 12px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .62); color: var(--c-white); border: 2px solid var(--acc); }
.vid-toggle svg { width: 18px; height: 18px; }
.vid-toggle .i-play, .vid-toggle[aria-pressed="true"] .i-pause { display: none; }
.vid-toggle[aria-pressed="true"] .i-play { display: block; }
.vid-toggle:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.vid-sound { position: absolute; z-index: 4; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: var(--c-white); border: 2px solid var(--acc); font-weight: 600; font-size: 14px; }
.vid-sound svg { width: 20px; height: 20px; }
.vid-sound .w1, .vid-sound .w2 { display: none; }
.vid-sound[aria-pressed="true"] .w1, .vid-sound[aria-pressed="true"] .w2 { display: inline; }
.vid-sound[aria-pressed="true"] .x { display: none; }
.vid-sound:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

@media (max-width: 767px) {
  .stage.beat { justify-content: flex-start; padding-top: 96px; }
  .cast { right: -4vw; width: 104vw; height: 48vh; }
  .cast-dot { width: 14px; height: 14px; }
  .pils { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .pil { padding: 14px; min-height: 0; }
  .pil-n { font-size: 12px; }
  .pil-name { font-size: 21px; margin-top: 8px; min-height: 0; }
  .pil .rule { width: 32px; margin: 10px 0 8px; }
  .pil-def { font-size: 13px; line-height: 1.35; }
  .pil-ex { padding-top: 10px; gap: 5px; }
  .pil-ex li { font-size: 11px; padding: 4px 8px; border-radius: 10px; }
  .pil-h { font-size: 36px; margin-top: 8px; }
  .pil-kicker { font-size: 12px; }
  .pil-foot { margin-top: 14px; font-size: 15px; }
  .pillars.beat { justify-content: flex-start; padding-top: 64px; }
  .reel.beat { padding: 64px var(--gutter) 88px; justify-content: flex-start; }
  .reel-grid { grid-template-columns: 1fr; gap: 18px; }
  .reel-media { order: -1; height: 40vh; height: 40svh; }
  .reel-main { width: 100%; top: 0; }
  .reel-phone { width: 24%; left: auto; right: 4%; bottom: 0; border-width: 4px; border-radius: 14px; }
  .reel-phone figcaption { display: none; }
  .reel-main figcaption { max-width: calc(100% - 72px); font-size: 10px; line-height: 1.35; }
  .reel-ring { width: 64%; left: auto; right: -18%; top: auto; bottom: -8%; }
  .vid-toggle { left: auto; right: 10px; top: 10px; width: 40px; height: 40px; }
  .vid-sound { bottom: 10px; left: 10px; min-height: 36px; font-size: 13px; }
  .cast.duo { right: -2vw; width: 104vw; height: 46vh; bottom: 72px; }
      .reel-kicker { margin-bottom: 10px; font-size: 12px; }
  .reel-title { font-size: 46px; }
  .reel-text .rule { margin: 14px 0 12px; width: 72px; }
  .reel-line { font-size: 15px; }
  .reel-fig { margin-top: 14px; padding-top: 12px; }
  .reel-num { font-size: 56px; }
  .reel-ctx { font-size: 14px; }
  .reel .m-more { margin-top: 10px; }
}

/* ---------- Content beats: shared head and foot ---------- */
.stats .safe, .steps-beat .safe, .cards-beat .safe, .table-beat .safe { max-width: 1320px; }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(24px, 4vh, 44px); }
.sec-kicker { color: var(--muted); font-size: 15px; }
.surface-stage .sec-kicker { color: var(--acc); }
.sec-title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .9; font-size: clamp(44px, 4.6vw, 80px); margin-top: 12px; max-width: 24ch; }
.sec-head .rule { width: 96px; margin-top: 20px; }
.sec-foot { margin-top: clamp(20px, 3vh, 34px); color: var(--muted); font-size: 15px; max-width: 90ch; }
.sec-line { margin-top: clamp(20px, 3vh, 32px); font-size: calc(var(--t-body) * 1.15); font-weight: 600; max-width: 52ch; }

/* ---------- Stats ---------- */
.stat-grid { display: grid; gap: clamp(20px, 3vw, 48px); grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.stat-grid.n3 { --n: 3; }
.stat-grid.n2 { --n: 2; }
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat-v { font-family: var(--f-display); font-weight: 500; font-size: clamp(64px, 7vw, 124px); line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat.is-text .stat-v { font-style: italic; text-transform: uppercase; font-size: clamp(40px, 3.8vw, 66px); line-height: .95; white-space: normal; }
.stat-l { margin-top: 14px; font-weight: 700; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.3; }
.stat-s { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(24px, 4vh, 40px); max-width: 1000px; }
.callouts p { font-size: 18px; line-height: 1.45; border-left: var(--rule) solid var(--acc); padding-left: 16px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(24px, 4vh, 40px); }
.cmp { border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; }
.cmp.is-new { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.cmp-l { color: var(--muted); font-size: 13px; }
.cmp.is-new .cmp-l { color: var(--acc); }
.cmp-v { font-family: var(--f-display); font-weight: 500; font-size: clamp(40px, 3.6vw, 60px); line-height: .95; margin-top: 10px; }
.cmp-b { margin-top: 10px; font-size: 17px; line-height: 1.4; }

/* ---------- Steps: timeline, gates ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 18px; position: relative; }
.steps.n4 { --n: 4; } .steps.n6 { --n: 6; } .steps.n7 { --n: 7; } .steps.n8 { --n: 8; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--acc); opacity: .55; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 30px; }
.step-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--c-black); border: 3px solid var(--acc); }
.step-when { font-size: 15px; color: var(--fg); }
.step-what { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; font-weight: 600; }
.step-sub { font-size: 15px; color: var(--muted); }
.gates .step-when { font-family: var(--f-display); font-size: clamp(34px, 3vw, 52px); letter-spacing: .01em; line-height: 1; }
.gates .step-what { font-family: var(--f-display); font-style: italic; text-transform: uppercase; font-weight: 500; font-size: clamp(22px, 1.8vw, 30px); line-height: 1; }
.chips-row, .mini-cards { margin-top: clamp(26px, 4.4vh, 46px); }
.chips-row .label, .mini-cards > .label { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1.5px solid var(--c-black); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 16px; }
.mc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mc { background: var(--c-black); color: var(--c-white); border-radius: 6px; padding: 20px 22px; }
.mc h3 { font-family: var(--f-display); font-style: italic; font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2vw, 34px); line-height: .95; }
.mc p { margin-top: 10px; font-size: 16px; line-height: 1.45; }
.mc .mc-meta { color: var(--acc); font-weight: 700; font-size: 14px; }

/* ---------- Cards ---------- */
.grps { display: grid; gap: clamp(18px, 2.4vh, 28px); }
.grps.g3 { grid-template-columns: 2fr 2fr 3fr; align-items: start; }
.grp-label { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.cd-grid { display: grid; gap: 14px; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.grp.n2 .cd-grid { --n: 1; } .grp.n4 .cd-grid { --n: 4; } .grp.n3 .cd-grid { --n: 3; }
.grps.g3 .grp.n5 .cd-grid { --n: 1; gap: 8px; }
.cd { background: var(--c-black); color: var(--c-white); border-radius: 6px; padding: clamp(18px, 1.6vw, 26px); display: flex; flex-direction: column; }
.cd-meta { color: var(--acc); font-size: 13px; margin-bottom: 10px; }
.cd-title { font-family: var(--f-display); font-style: italic; font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 38px); line-height: .95; }
.cd .rule { width: 40px; margin: 14px 0 12px; }
.cd-body { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; }
.cd-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cd-items li { position: relative; padding-left: 16px; font-size: clamp(14px, 1.08vw, 17px); line-height: 1.4; }
.cd-items li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.grps.g3 .grp.n5 .cd { flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 16px; }
.grps.g3 .grp.n5 .cd-title { font-size: 20px; min-width: 7.5em; }
.grps.g3 .grp.n5 .cd .rule { display: none; }
.grps.g3 .grp.n5 .cd-body { font-size: 15px; }

/* ---------- Table ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: clamp(15px, 1.2vw, 19px); }
.tbl th, .tbl td { text-align: left; padding: clamp(9px, 1.4vh, 14px) 14px; border-bottom: 1px solid rgba(0, 0, 0, .14); vertical-align: top; }
.tbl thead th { font-family: var(--f-label); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-label-track); font-size: 13px; color: var(--muted); border-bottom: 2px solid var(--c-black); }
.tbl td:last-child { font-weight: 700; }
.type-chip { display: inline-block; background: var(--c-black); color: var(--c-white); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ---------- Statement ---------- */
.statement .safe { max-width: 1240px; }
.st-line { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .9; font-size: clamp(48px, min(5.6vw, 10vh), 100px); max-width: 20ch; margin-top: 18px; }
.surface-beat .st-line { color: var(--c-black); }
.statement .rule { display: block; width: 120px; margin: 28px 0 22px; }
.st-sub { font-size: calc(var(--t-body) * 1.2); max-width: 40ch; }
.st-asks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; }
.st-asks li { border-top: var(--rule) solid var(--acc); padding-top: 14px; font-size: 18px; line-height: 1.4; }
.st-asks .label { display: block; color: var(--acc); margin-bottom: 8px; font-size: 14px; }
.st-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 4vh, 40px); }
.st-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--acc); color: var(--c-stage-bg, #000); font-family: var(--f-label); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--acc); transition: transform .2s ease-out, background-color .2s ease-out; }
.st-btn:hover { transform: translateY(-2px); }
.st-btn.secondary { background: transparent; color: var(--fg); }
@media (max-width: 600px) { .st-actions { gap: 10px; margin-top: 18px; } .st-btn { padding: 14px 20px; font-size: 12px; width: 100%; justify-content: center; } }
.frames { position: absolute; z-index: 1; right: calc(var(--gutter) + 56px); bottom: clamp(70px, 12vh, 120px); display: flex; align-items: flex-end; gap: 16px; }
.frame { margin: 0; overflow: hidden; background: var(--c-near-black); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.frame.f-wide { width: clamp(180px, 15vw, 260px); aspect-ratio: 16 / 9; border-radius: 6px; }
.frame.f-phone { width: clamp(80px, 6.4vw, 112px); aspect-ratio: 9 / 16; border-radius: 16px; border: 5px solid var(--c-black); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.statement:has(.frames) .st-sub { max-width: 30ch; }
.statement:has(.frames) .st-line { max-width: 13ch; }
.steps-beat .frames { position: static; margin-top: clamp(24px, 4vh, 40px); justify-content: flex-start; }
.frames.inline { position: static; margin-top: clamp(22px, 3.5vh, 36px); justify-content: flex-start; flex-wrap: wrap; }
.frames.inline figcaption { font-family: var(--f-label); font-size: 11px; letter-spacing: var(--t-label-track); text-transform: uppercase; color: var(--muted); padding: 8px 0 0; }
.frames.inline .frame { background: none; box-shadow: none; }
.frames.inline .frame.f-wide { width: clamp(200px, 19vw, 320px); border-radius: 0; }
.frames.inline .frame.f-wide video, .frames.inline .frame.f-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.stats.has-frames .stat-grid { margin-bottom: 0; }
.sizzle { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 3vw, 56px); margin-top: clamp(22px, 3.6vh, 40px); padding-top: clamp(16px, 2.4vh, 26px); border-top: 1px solid var(--rule-c, rgba(128, 128, 128, .35)); }
.sizzle .frames.inline { margin: 0; flex: 0 0 auto; }
.sizzle .frames.inline .frame.f-wide { width: clamp(150px, 13.5vw, 210px); }
.logo-row { flex: 1 1 auto; min-width: 0; }
.logo-row-m { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(18px, 2.4vw, 40px); margin-top: 14px; }
.logo-row img { height: 30px; width: auto; max-width: 170px; opacity: .86; filter: brightness(0) invert(1); }
html[data-surface="beat"] .logo-row img { filter: brightness(0); opacity: .7; }
.logo-row-l { color: var(--muted); }
.cd-logo { display: block; height: 36px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.cd-grid:has(.cd-logo) .cd:not(:has(.cd-logo)) .cd-title { margin-top: 50px; }
.cards-beat[data-surface="beat"] .cd-logo { filter: brightness(0); opacity: .8; }
.stats.has-frames .stat-grid { margin-bottom: 0; }
@media (max-width: 760px) { .sizzle { flex-direction: column; align-items: stretch; gap: 18px; } .logo-row-m { gap: 14px 22px; } .logo-row img { height: 22px !important; max-width: 110px; } .sizzle .frames.inline { display: flex; gap: 10px; } .sizzle .frames.inline .frame.f-wide { width: calc(50% - 5px); } .sizzle .frames.inline figcaption { display: none; } .lineup .safe, .stats.has-frames .safe { padding-bottom: 96px; } .cd-logo { height: 36px !important; } }

/* ---------- Stage with a background video ---------- */
.stage-bg { position: absolute; inset: 0; z-index: 0; }
.stage-bg video, .stage-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.stage-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 18%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .2)); }

/* ---------- Pillar cards as links ---------- */
a.pil { text-decoration: none; position: relative; transition: translate .3s ease-out, box-shadow .3s ease-out; }
a.pil:hover, a.pil:focus-visible { translate: 0 -6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
a.pil:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
.pil-go { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--acc); display: grid; place-items: center; color: var(--c-white); transform: rotate(-90deg); }
.pil-go svg { width: 16px; height: 16px; }

/* ---------- Result as its own screen ---------- */
.moment.solo { min-height: 100vh; min-height: 100svh; }

/* ---------- Build: a live visual beside the slide's line ---------- */
.build.beat { padding-right: calc(var(--gutter) + 56px); }
.build-grid { position: relative; z-index: 2; width: 100%; max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 3vw, 60px); align-items: center; }
.build-text { display: flex; flex-direction: column; align-items: flex-start; }
.build-title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .88; font-size: clamp(48px, 5vw, 92px); margin-top: 12px; }
.build-status { margin-top: 14px; border: 1px solid var(--acc); color: var(--c-white); border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.build-text .rule { width: 96px; margin: 22px 0 18px; }
.build-line { max-width: 40ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; }
.build-proof { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; max-width: 42ch; }
.build-proof li { position: relative; padding-left: 22px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.45; color: var(--c-white); }
.build-proof li::before { content: ""; position: absolute; left: 0; top: .35em; width: 10px; height: 10px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); }
.build .m-more { margin-top: 22px; color: var(--c-white); }
.build .sec-foot { color: var(--c-stage-muted); }
.vis { position: relative; width: 100%; height: min(80vh, 760px); }
.vis-fallback { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: center; height: 100%; }
.vis-fallback li { border: 1px solid var(--acc); border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.vis.ready .vis-fallback { display: none; }

@media (max-width: 767px) {
  .sec-title { font-size: 34px; margin-top: 8px; }
  .sec-head { margin-bottom: 18px; }
  .sec-head .rule { margin-top: 12px; width: 64px; }
  .sec-kicker { font-size: 12px; }
  .sec-foot { font-size: 12px; margin-top: 14px; }
  .sec-line { font-size: 15px; margin-top: 14px; }
  .stats.beat, .steps-beat.beat, .cards-beat.beat, .table-beat.beat { justify-content: flex-start; padding-top: 64px; }
  .stat-grid, .stat-grid.n3 { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .stat-v { font-size: 48px; }
  .stat.is-text .stat-v { font-size: 28px; }
  .stat-l { font-size: 14px; margin-top: 8px; }
  .stat-s { font-size: 12px; }
  .callouts, .compare { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .callouts p { font-size: 13px; }
  .cmp { padding: 12px 14px; }
  .cmp-v { font-size: 30px; margin-top: 4px; }
  .cmp-b { font-size: 13px; margin-top: 4px; }
  .steps, .steps.n4, .steps.n6, .steps.n7, .steps.n8 { grid-template-columns: 1fr; gap: 12px; padding-left: 28px; }
  .steps::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .steps li { padding-top: 0; gap: 2px; }
  .step-dot { left: -28px; top: 2px; }
  .step-what { font-size: 14px; }
  .step-when { font-size: 12px; }
  .gates .steps { grid-template-columns: 1fr 1fr; padding-left: 0; gap: 10px 12px; }
  .gates .steps::before, .gates .step-dot { display: none; }
  .gates .step-when { font-size: 24px; }
  .gates .step-what { font-size: 18px; }
  .mc-grid { grid-template-columns: 1fr; gap: 8px; }
  .mc { padding: 12px 14px; }
  .mc h3 { font-size: 20px; }
  .mc p { font-size: 13px; margin-top: 4px; }
  .chips li { font-size: 13px; padding: 6px 12px; }
  .grps.g3 { grid-template-columns: 1fr; }
  .cd-grid, .grp.n4 .cd-grid, .grp.n3 .cd-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grp.n2 .cd-grid { grid-template-columns: 1fr 1fr; }
  .grps.g3 .grp.n5 .cd-grid { grid-template-columns: 1fr; }
  .cd { padding: 12px; }
  .cd-title { font-size: 19px; }
  .cd .rule { margin: 8px 0 6px; width: 28px; }
  .cd-body, .cd-items li { font-size: 12px; }
  .cd-items { gap: 4px; }
  .tbl { font-size: 12px; }
  .tbl th, .tbl td { padding: 7px 6px; }
  .type-chip { font-size: 10px; padding: 3px 8px; }
  .st-line { font-size: 46px; }
  .st-sub { font-size: 16px; }
  .st-asks { grid-template-columns: 1fr; gap: 10px; }
  .st-asks li { font-size: 14px; }
  .frames { right: var(--gutter); bottom: 90px; gap: 8px; }
  .frame.f-wide { width: 120px; } .frame.f-phone { width: 56px; border-width: 3px; border-radius: 10px; }
  .pil-go { width: 26px; height: 26px; right: 10px; top: 10px; }
  .build.beat { padding: 60px var(--gutter) 90px; justify-content: flex-start; }
  .build-grid { grid-template-columns: 1fr; gap: 12px; }
  .vis { order: -1; height: 42vh; height: 42svh; }
  .build-title { font-size: 40px; margin-top: 6px; }
  .build-status { margin-top: 8px; font-size: 10px; }
  .build-text .rule { margin: 12px 0 10px; width: 64px; }
  .build-line { font-size: 14px; }
  .build-proof { margin-top: 12px; gap: 6px; }
  .build-proof li { font-size: 13px; }
  .build .m-more { margin-top: 10px; font-size: 15px; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .beat { padding: 76px var(--gutter) 96px; }
  .title.beat { padding-top: 92px; }
  .title .dring { width: 150vw; right: -104vw; top: 30%; opacity: .55; }
  .stage .dring { width: 140vw; right: -96vw; opacity: .6; }
  .title .rule-wrap, .stage .rule-wrap { margin: 24px 0 20px; }
  .title-line { margin-top: 18px; }
  .strip { bottom: 92px; gap: 10px; }
  .strip figure { width: 150px; }
  .title-how { margin-top: 16px; font-size: 15px; }
  .strip figure { width: 150px; }
  .stage-num { margin-bottom: 18px; font-size: 14px; }
  .stage-logo { width: 140px; top: 28px; bottom: auto; }
  .moment { grid-template-columns: 1fr; grid-template-rows: minmax(0, 40%) auto; align-items: end; gap: 22px; padding: 70px var(--gutter) 108px; }
  .m-art, .m-art.has-photos { height: 100%; min-height: 220px; }
  .m-num { font-size: clamp(84px, 27vw, 120px); }
  .m-name { font-size: 30px; margin-top: 24px; }
  .m-art text { font-size: 26px; }
  .title-how .how-wide { display: none; }
  .title-how .how-phone { display: inline; }
  .m-index { margin-bottom: 14px; }
  .m-text .rule { margin: 18px 0 14px; width: 72px; }
  .m-more { margin-top: 16px; }
  .seq-progress { right: var(--gutter); bottom: 76px; }
  .figs { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 22px; }
  .fig:nth-child(-n+4) { border-top: 1px solid var(--line); padding-top: 12px; }
  .fig:nth-child(-n+3) { border-top: 0; padding-top: 0; }
  .fig { padding-top: 12px; }
  .fig-num { font-size: 46px; }
  .fig-name { font-size: 16px; margin-top: 8px; }
  .fig-ctx { display: none; }
  .ctrl { right: var(--gutter); bottom: 16px; gap: 10px; }
  .ctrl-where { display: none; }
  .ctrl-count { min-width: 0; font-size: 13px; }
  .ctrl-btn { width: 42px; height: 42px; }
  .seg-tip { display: none; }
  .progress { gap: 3px; padding: 0 3px; }
  .rail { bottom: 16px; }
  .cue .cue-name { display: none; }
  .rail { top: auto; bottom: 20px; right: auto; left: var(--gutter); transform: none; }
  .rail ol, .rail-icon { display: none; }
  .rail-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-right: 8px; font-family: var(--f-label); font-size: 14px; letter-spacing: var(--t-label-track); color: var(--rail-fg); }
  .rail-toggle svg { width: 18px; height: 22px; color: var(--acc); }
  .rail.open ol { display: flex; position: fixed; inset: 0; z-index: 30; align-items: flex-start; justify-content: center; padding: 0 var(--gutter); background: var(--c-stage-bg); box-shadow: none; gap: 4px; }
  .rail.open a, .rail.open .soon { color: var(--c-stage-muted); font-size: 16px; min-height: 48px; flex-direction: row-reverse; }
  .rail.open .name { opacity: 1; visibility: visible; transform: none; }
  .rail.open a[aria-current="true"] { color: var(--c-stage-fg); }
  .rail.open .rail-toggle { position: fixed; z-index: 31; left: var(--gutter); bottom: 20px; color: var(--c-stage-fg); }
  .deeper { padding: 20px var(--gutter) 36px; border-left: 0; border-top: var(--rule) solid var(--acc); }
  .deeper-num { font-size: 76px; }
  .deeper-title { font-size: 30px; }
  .deeper-body li { font-size: 17px; }
}

/* ---------- Reduced motion: everything visible, fades only ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print: one beat per page ---------- */
@media print {
  .rail, .cue, .deeper, .deeper-scrim, .notes, .seq-progress, .m-more { display: none !important; }
  .beat, .moment { min-height: auto; page-break-after: always; break-after: page; }
}

/* ---------- Live visuals (visuals.js) ---------- */
.vis-svg { width: 100%; height: 100%; overflow: visible; display: block; }
.vis-svg .vt { fill: var(--c-white); font-family: var(--f-body); font-size: 21px; font-weight: 600; }
.vis-svg .vt-s { font-size: 17px; font-weight: 600; fill: var(--c-medium-gray); }
.vis-svg .vt-l { font-size: 19px; }
.vis-svg .vt-h { font-family: var(--f-label); font-size: 15px; letter-spacing: var(--t-label-track); text-transform: uppercase; fill: var(--acc); }
.vis-svg .vt-n { font-family: var(--f-display); font-size: 26px; fill: var(--acc); }
.vis-svg .vt-gold { fill: var(--acc); }
.vis-svg .vt-core { font-family: var(--f-display); font-size: 26px; text-transform: uppercase; fill: #000; }
.vis-svg .vt-eng { font-family: var(--f-label); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; fill: var(--c-white); }
.vis-svg .vt-tool { font-family: var(--f-display); font-style: italic; font-size: 26px; text-transform: uppercase; }
.vis-svg .vt-hub { font-family: var(--f-display); font-style: italic; font-size: 38px; text-transform: uppercase; fill: var(--acc); }
.vis-svg .vt-base { font-family: var(--f-display); font-size: 40px; fill: #000; }
.vis-svg .vt-base-s { font-size: 16px; font-weight: 600; fill: #000; }
.vis-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.cb-overlay { position: absolute; inset: 0; pointer-events: none; }
.cb-count { position: absolute; left: 0; display: flex; flex-direction: column; }
.cb-count:nth-child(1) { top: 2%; } .cb-count:nth-child(2) { top: 17%; }
.cb-num { font-family: var(--f-display); font-size: clamp(40px, 3.6vw, 64px); line-height: .9; color: var(--c-white); font-variant-numeric: tabular-nums; }
.cb-lab { font-family: var(--f-label); text-transform: uppercase; letter-spacing: var(--t-label-track); font-size: 12px; color: var(--acc); margin-top: 6px; }
.cb-legend { position: absolute; left: 0; bottom: 2%; list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; font-size: 14px; font-weight: 600; color: var(--c-medium-gray); }
.cb-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.cb-legend .raw { background: var(--c-medium-gray); } .cb-legend .inf { background: var(--c-white); } .cb-legend .app { background: var(--acc); }
.cb-out { position: absolute; right: 0; bottom: 2%; color: var(--acc); font-size: 18px; border: 1px solid var(--acc); border-radius: 999px; padding: 8px 16px; }
.cb-out:empty { display: none; }
@media (max-width: 767px) {
  .vis-svg .vt { font-size: 22px; } .vis-svg .vt-s { font-size: 19px; } .vis-svg .vt-l { font-size: 21px; }
  .cb-num { font-size: 30px; } .cb-lab { font-size: 9px; } .cb-count:nth-child(2) { top: 20%; }
  .cb-legend { font-size: 11px; gap: 10px; } .cb-out { font-size: 13px; padding: 5px 10px; }
}

.statement .dring { opacity: .35; }

/* ---------- Concept interfaces (apps.js): believable product UI, dark ---------- */
.app.beat { padding: 64px calc(var(--gutter) + 56px) 80px var(--gutter); }
.app-wrap { position: relative; z-index: 2; width: 100%; max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .44fr) minmax(0, 1.56fr); gap: clamp(24px, 2.4vw, 44px); align-items: center; }
.app-title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .88; font-size: clamp(40px, 3.6vw, 68px); margin-top: 10px; }
.app-line { margin-top: 16px; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; max-width: 32ch; color: var(--c-stage-muted); }
.app-tag { margin-top: 18px; color: var(--acc); font-size: 12px; }
.app-frame { position: relative; border-radius: 12px; overflow: hidden; background: #08090B; box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 0 1px rgba(var(--acc-rgb), .35), 0 0 80px rgba(var(--acc-rgb), .08); }
.app-chrome { height: 30px; background: #111215; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #1E2024; }
.app-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #2C2E33; }
.app-url { margin-left: 14px; font-size: 11px; color: #7E8086; background: #0A0B0D; border: 1px solid #1E2024; border-radius: 999px; padding: 2px 14px; letter-spacing: .02em; }
.app-body { --ink: #E9E6DF; --sub: #8C8E94; --hair: rgba(255, 255, 255, .08); --panel: rgba(255, 255, 255, .025); color: var(--ink); background: radial-gradient(1200px 500px at 70% -10%, rgba(var(--acc-rgb), .10), transparent 60%), #08090B; font-family: var(--f-body); height: min(72vh, 660px); overflow: hidden; display: flex; flex-direction: column; position: relative; font-size: 13.5px; line-height: 1.45; }
.app-body.ready > .vis-fallback { display: none; }
.app-body button:focus-visible, .app-body select:focus-visible, .app-body input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.app-body code { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .92em; background: rgba(255, 255, 255, .06); border: 1px solid var(--hair); border-radius: 4px; padding: 1px 5px; color: #F2D9A8; }
.app-body svg { display: inline-block; }

/* Slack: the AI SDR's front door */
.sl { display: grid; grid-template-columns: 210px 1fr; grid-template-rows: minmax(0, 1fr); height: 100%; min-height: 0; }
.sl-side { background: #121016; border-right: 1px solid var(--hair); padding: 14px 10px; color: #B9B6BE; }
.sl-ws { font-weight: 800; color: #fff; font-size: 15px; padding: 0 8px 12px; border-bottom: 1px solid var(--hair); margin-bottom: 10px; }
.sl-sec { font-size: 12px; font-weight: 700; color: #8E8A95; margin: 12px 8px 4px; }
.sl-ch { list-style: none; margin: 0; padding: 0; }
.sl-ch li { padding: 4px 8px; border-radius: 6px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.sl-ch li.on { background: rgba(var(--acc-rgb), .9); color: #000; font-weight: 800; }
.sl-main { display: flex; flex-direction: column; min-height: 0; background: #1A1D21; }
.sl-head { padding: 10px 18px; border-bottom: 1px solid var(--hair); display: flex; align-items: baseline; gap: 14px; flex: none; }
.sl-head p { font-weight: 800; font-size: 15px; color: #fff; }
.sl-topic { color: var(--sub); font-size: 12px; }
.sl-feed { flex: 1; overflow: auto; padding: 14px 18px 8px; min-height: 0; scroll-behavior: smooth; }
.sl-msg { display: grid; grid-template-columns: 38px 1fr; gap: 10px; margin-bottom: 14px; }
.sl-av { width: 36px; height: 36px; border-radius: 8px; background: #000; border: 1px solid rgba(var(--acc-rgb), .6); color: var(--acc); display: grid; place-items: center; }
.sl-av svg { width: 14px; height: 18px; }
.sl-av.person { background: #3B3F46; color: #fff; font-weight: 800; font-size: 12px; border-color: transparent; }
.sl-av.sm { width: 20px; height: 20px; border-radius: 5px; }
.sl-av.sm svg { width: 8px; height: 10px; }
.sl-meta { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: #fff; }
.sl-meta span { color: var(--sub); font-size: 11.5px; }
.sl-app { font-size: 9.5px; font-weight: 800; background: rgba(255, 255, 255, .1); border-radius: 3px; padding: 1px 4px; color: #C8C8C8; }
.sl-body > p { color: #D1D2D3; margin-top: 2px; }
.sl-typing { color: var(--sub); font-size: 12px; font-style: italic; margin: 0 0 10px 48px; }
.kit { margin-top: 8px; border: 1px solid rgba(255, 255, 255, .1); border-left: 4px solid var(--acc); border-radius: 8px; padding: 12px 14px; background: rgba(0, 0, 0, .18); max-width: 760px; }
.kit.held { border-left-color: #8C8E94; }
.kit-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.kit-t { font-weight: 800; color: #fff; font-size: 14.5px; }
.kit-s { color: var(--sub); font-size: 11.5px; font-style: italic; }
.kit-score { display: flex; flex-direction: column; align-items: flex-end; }
.ks-n { font-family: var(--f-display); font-size: 46px; line-height: .85; color: var(--acc); }
.ks-l { font-size: 11px; color: var(--sub); font-weight: 700; }
.kit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.kh { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); margin-bottom: 6px; }
.kv { color: #E7E7E7; font-size: 12.5px; margin-bottom: 8px; }
.gate { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.gate li { display: grid; grid-template-columns: 14px 1fr; gap: 6px; font-size: 12px; color: #D1D2D3; line-height: 1.3; }
.gate li span { width: 12px; height: 12px; border-radius: 50%; margin-top: 2px; border: 2px solid var(--acc); }
.gate li.ok span { background: var(--acc); }
.gate li.hit span { border-color: #fff; background: #fff; }
.fx { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.fx li { display: grid; grid-template-columns: 1fr 44px 34px; gap: 6px; align-items: center; font-size: 11.5px; color: #D1D2D3; }
.fx i { height: 5px; background: rgba(255, 255, 255, .1); border-radius: 3px; overflow: hidden; }
.fx b { display: block; height: 100%; background: var(--acc); transition: width .9s ease-out; }
.fx em { font-style: normal; color: var(--sub); text-align: right; }
.kit-note { color: #C9C9C9; font-size: 12px; margin-top: 8px; }
.kit-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.kb { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 6px 12px; font-weight: 800; font-size: 12.5px; color: #fff; }
.kb.primary { background: var(--acc); border-color: var(--acc); color: #000; }
.kb:hover:not(:disabled) { border-color: var(--acc); }
.kb:disabled { opacity: .55; cursor: default; }
.lv { border-collapse: collapse; font-size: 12.5px; margin-top: 4px; }
.lv td { padding: 3px 18px 3px 0; color: #D1D2D3; }
.lv td:last-child { color: #fff; font-weight: 800; }
.sl-thread { margin-top: 8px; border-left: 2px solid rgba(255, 255, 255, .12); padding-left: 10px; display: grid; gap: 6px; }
.sl-reply { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 12.5px; color: #D1D2D3; }
.sl-sugg { display: flex; gap: 8px; padding: 6px 18px; flex-wrap: wrap; flex: none; }
.sl-sugg button { border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: #E7E7E7; font-family: Consolas, Menlo, monospace; }
.sl-sugg button:hover { border-color: var(--acc); }
.sl-sugg .new-lead { font-family: var(--f-body); font-weight: 800; background: rgba(var(--acc-rgb), .16); border-color: rgba(var(--acc-rgb), .6); }
.sl-comp { margin: 4px 18px 14px; display: flex; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; overflow: hidden; flex: none; }
.sl-comp input { flex: 1; background: transparent; border: 0; color: #fff; padding: 9px 12px; font: inherit; }
.sl-comp button { padding: 0 14px; color: var(--acc); }
.app-body.paused .sl-main { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }

/* Comms Engine console */
.cx { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cx-top { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--hair); flex: none; flex-wrap: wrap; }
.cx-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; text-transform: uppercase; font-size: 22px; color: #fff; margin-right: 6px; }
.cx-brand svg, .cb-brand svg { width: 13px; height: 17px; color: var(--acc); }
.cx-pill, .cb-pill { border: 1px solid rgba(var(--acc-rgb), .55); color: #E7D3AE; border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
.cx-cols { display: grid; grid-template-columns: 1.1fr 1.2fr .85fr; grid-template-rows: minmax(0, 1fr); flex: 1; min-height: 0; }
.cx-panel { padding: 14px 16px; border-right: 1px solid var(--hair); overflow: auto; min-height: 0; position: relative; }
.cx-panel:last-child { border-right: 0; }
.cx-h { font-family: var(--f-label); text-transform: uppercase; letter-spacing: var(--t-label-track); font-size: 10.5px; color: var(--acc); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.cx-h.mt { margin-top: 18px; }
.cx-link { margin-left: auto; color: #fff; font-size: 11.5px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; font-family: var(--f-body); letter-spacing: 0; text-transform: none; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { background: var(--panel); border: 1px solid var(--hair); border-radius: 8px; padding: 9px 10px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.cx-src { grid-column: 1; font-size: 10.5px; color: var(--sub); font-weight: 700; }
.facts .st { grid-column: 2; grid-row: 1; justify-self: end; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.facts li p { font-weight: 700; color: #fff; }
.cf { border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 800; color: #fff; }
.facts li.ok { border-color: rgba(var(--acc-rgb), .7); background: rgba(var(--acc-rgb), .08); }
.facts li.ok .st { color: var(--acc); }
.facts li.ok .cf { background: var(--acc); color: #000; border-color: var(--acc); }
.docp { background: rgba(255, 255, 255, .015); }
.doc { background: #F4F1EA; color: #141414; border-radius: 6px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); min-height: 62%; }
.doc-t { font-family: var(--f-display); text-transform: uppercase; font-size: 26px; line-height: 1; border-bottom: 3px solid var(--acc); padding-bottom: 8px; margin-bottom: 10px; }
.claims { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.claims li { font-size: 13px; font-weight: 600; transition: background-color .2s; border-radius: 4px; padding: 2px 4px; }
.claims li.scan { background: #F0DDB4; }
.claims sup { color: #8A6A35; font-weight: 800; margin-left: 2px; }
.pass { margin-left: 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: #141414; border-radius: 999px; padding: 1px 7px; }
.pass[hidden], .doc-empty[hidden] { display: none; }
.doc-empty { color: #6A655D; font-size: 13px; font-style: italic; }
.cx-run { margin-top: 12px; background: var(--acc); color: #000; border-radius: 6px; padding: 8px 14px; font-weight: 800; font-size: 13px; }
.cx-run:disabled { opacity: .35; }
.reg { margin: 0; padding-left: 18px; font-size: 11.5px; color: var(--sub); display: grid; gap: 4px; }
.reg li.hl { color: #fff; font-weight: 800; }
.meas { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.meas p { font-size: 12.5px; font-weight: 700; color: #E7E7E7; }
.m-bar { display: block; height: 6px; background: rgba(255, 255, 255, .1); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.m-bar i { display: block; height: 100%; width: 100%; background: #6B6E74; transition: width 1.1s ease-in-out, background-color .3s; }
.meas li.hit .m-bar i { background: var(--acc); box-shadow: 0 0 12px rgba(var(--acc-rgb), .7); }
.m-v { font-family: var(--f-display); font-size: 28px; color: #fff; }

/* Cerebro console */
.cb { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cb-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--hair); flex: none; flex-wrap: wrap; }
.cb-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; text-transform: uppercase; font-size: 24px; color: #fff; }
.cb-stat { font-size: 12px; color: var(--sub); } .cb-stat b { color: #fff; font-family: var(--f-display); font-size: 18px; font-weight: 500; margin-right: 4px; }
.cb-lens { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); display: flex; align-items: center; gap: 8px; }
.cb-lens select { background: #0E0F12; color: #fff; border: 1px solid rgba(var(--acc-rgb), .5); border-radius: 6px; padding: 4px 8px; font: 600 12px var(--f-body); letter-spacing: 0; text-transform: none; }
.cb-asof { font-size: 11px; color: var(--sub); }
.cb-body { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, .95fr); grid-template-rows: minmax(0, 1fr); flex: 1; min-height: 0; }
.cb-nav { border-right: 1px solid var(--hair); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.cb-nav button { text-align: left; padding: 7px 8px; border-radius: 6px; font-weight: 700; font-size: 12.5px; color: var(--sub); display: flex; align-items: center; gap: 8px; }
.cb-nav button i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.cb-nav button.on { color: #fff; background: rgba(var(--acc-rgb), .14); }
.cb-nav button.on i { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 8px var(--acc); }
.cb-stage { position: relative; border-right: 1px solid var(--hair); background: radial-gradient(closest-side, rgba(var(--acc-rgb), .08), transparent); overflow: hidden; }
.cb-stage::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.cb-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.cb-hud { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.cb-focus { color: var(--acc); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cb-trace { color: var(--sub); }
.cb-console { padding: 14px 16px; overflow: auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-q { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(var(--acc-rgb), .55); border-radius: 8px; padding: 9px 12px; background: rgba(0, 0, 0, .3); box-shadow: 0 0 24px rgba(var(--acc-rgb), .12) inset; }
.cb-caret { color: var(--acc); font-size: 20px; line-height: 1; }
.cb-qt { color: #fff; font-weight: 700; min-height: 1.4em; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-chips button { border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 4px 10px; font-size: 11.5px; color: #D9D9D9; text-align: left; }
.cb-chips button.on, .cb-chips button:hover { border-color: var(--acc); color: #fff; }
.cb-think { color: var(--sub); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.cb-think span { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: cbpulse 0.9s ease-in-out infinite; }
@keyframes cbpulse { 50% { opacity: .2; transform: scale(.6); } }
.ans { border: 1px solid var(--hair); border-radius: 10px; padding: 12px 14px; background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
.ans-h { font-family: var(--f-label); text-transform: uppercase; letter-spacing: var(--t-label-track); font-size: 10.5px; color: var(--acc); }
.ans-lead { font-size: 15px; font-weight: 700; color: #fff; }
.ans-f { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ans-f li { font-size: 13px; color: #E2E2E2; border-bottom: 1px solid var(--hair); padding-bottom: 6px; }
.ans-f b { color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 18px; margin-right: 4px; }
.ans-f sup, .ans p sup { color: var(--acc); font-weight: 800; }
.ans-f.dec li { display: flex; align-items: center; gap: 10px; }
.dbtn { margin-left: auto; border: 1px solid var(--acc); color: var(--acc); border-radius: 6px; padding: 3px 9px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.dbtn:disabled { color: var(--sub); border-color: var(--hair); }
.tchip { display: inline-block; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 1px 8px; font-size: 10.5px; font-weight: 800; color: #D9D9D9; vertical-align: 1px; }
.tchip.gold { border-color: var(--acc); color: var(--acc); }
.abst { background: rgba(255, 255, 255, .04); border-left: 2px solid #8C8E94; border-radius: 4px; padding: 8px 10px; font-size: 12.5px; color: #CFCFCF; }
.lock { color: var(--sub); font-style: italic; }
.lock::before { content: ""; display: inline-block; width: 8px; height: 8px; border: 1.5px solid var(--sub); border-radius: 2px; margin-right: 8px; }
.srcs { margin: 2px 0 0; padding-left: 18px; font-size: 11.5px; color: var(--sub); display: grid; gap: 3px; }
.ans-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.muted { color: var(--sub); font-size: 12px; }
.cb-foot { flex: none; border-top: 1px solid var(--hair); padding: 7px 16px; overflow: hidden; white-space: nowrap; font-size: 11.5px; color: var(--sub); }
.cb-tick { display: inline-block; animation: cbtick 40s linear infinite; }
.cb-tick b { color: var(--acc); letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; margin-right: 10px; }
.cb-tick em { font-style: normal; color: #fff; font-family: var(--f-display); font-size: 14px; margin: 0 4px; }
.cb-tick s { text-decoration: none; margin: 0 10px; color: #3A3C41; }
@keyframes cbtick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cb-tick, .cb-think span { animation: none; } }

@media (max-width: 767px) {
  .app.beat { padding: 60px var(--gutter) 84px; justify-content: flex-start; }
  .app-wrap { grid-template-columns: 1fr; gap: 12px; }
  .app-title { font-size: 34px; } .app-line { font-size: 13px; margin-top: 8px; } .app-tag { margin-top: 8px; font-size: 10px; }
  .app-body { height: 58vh; height: 58svh; font-size: 12px; }
  .sl { grid-template-columns: 1fr; } .sl-side { display: none; }
  .kit-grid { grid-template-columns: 1fr 1fr; }
  .cx-cols { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: max-content; overflow: auto; } .cx-panel { border-right: 0; border-bottom: 1px solid var(--hair); overflow: visible; }
  .cb-body { grid-template-columns: 1fr; grid-template-rows: 160px minmax(0, 1fr); } .cb-nav { display: none; } .cb-stage { border-right: 0; border-bottom: 1px solid var(--hair); }
  .cb-stat, .cb-asof { display: none; } .cb-lens { margin-left: 0; }
  .app-chrome { height: 24px; }
}

/* ---------- Clean pass (Todd, 10/14): one decision per screen, readable in three seconds ---------- */
.app-wrap .build-text { align-self: center; }
.app-wrap .build-title { font-size: clamp(44px, 4.2vw, 80px); }
.app-wrap .app-tag { margin-top: 20px; }
.sl { grid-template-columns: 190px 1fr; }
.sl-ch li { padding: 6px 10px; font-size: 15px; }
.sl-feed { padding: 18px 22px 8px; }
.sl-body > p { font-size: 14.5px; }
.sl-meta span:last-child { margin-left: 2px; }
.kit { padding: 16px 18px; max-width: 640px; }
.kit-row { align-items: center; gap: 14px; justify-content: flex-start; }
.kit .lead-av { width: 46px; height: 46px; border-radius: 50%; background: #2B2E33; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.kit-who { flex: 1; }
.kit-t { font-size: 17px; }
.kit-o { color: #B9BBC0; font-size: 14px; }
.ks-n { font-size: 58px; }
.ks-l { font-size: 12px; }
.ok-list { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 9px; }
.ok-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #E9E9E9; font-weight: 600; }
.ck { width: 18px; height: 18px; border-radius: 50%; background: var(--acc); flex: none; position: relative; }
.ck::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ok-list li.hold .ck { background: #8C8E94; }
.ok-list li.hold .ck::after { left: 4px; top: 8px; width: 10px; height: 0; border-width: 0 0 2px 0; transform: none; }
.kit-actions { margin-top: 16px; }
.kb { padding: 9px 16px; font-size: 14px; }
.kit-s { margin-top: 12px; }
.sl-thread { margin-top: 10px; display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; font-size: 14px; color: #E2E2E2; border-left: 2px solid rgba(var(--acc-rgb), .6); padding-left: 10px; }
.sl-sugg { padding: 8px 22px; }
.sl-sugg button { font-family: var(--f-body); font-weight: 800; font-size: 13px; padding: 6px 14px; }
.sl-sugg .new-lead { background: rgba(var(--acc-rgb), .16); border-color: rgba(var(--acc-rgb), .6); }
.sl-comp { margin: 4px 22px 16px; padding: 10px 12px; color: #6E7177; font-size: 13.5px; }
.cb-top { gap: 16px; padding: 12px 18px; flex-wrap: nowrap; }
.cb-top .cb-q { flex: 1; padding: 8px 14px; }
.cb-qt { font-size: 15px; }
.cb-seg { display: inline-flex; border: 1px solid rgba(var(--acc-rgb), .55); border-radius: 999px; overflow: hidden; flex: none; }
.cb-seg button { padding: 6px 14px; font-size: 12.5px; font-weight: 800; color: #CFCFCF; }
.cb-seg button.on { background: var(--acc); color: #000; }
.cb-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.cq-count { position: absolute; left: 16px; bottom: 12px; z-index: 1; font-size: 12px; color: #9A9CA2; }
.cq-count b { color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 18px; }
.cq-count span { margin: 0 6px; color: #3A3C41; }
.cb-console { padding: 18px 20px; gap: 14px; }
.cb-chips button { font-size: 13px; padding: 7px 12px; }
.cq-out .ans { padding: 16px 18px; gap: 12px; }
.ans-q { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.3; }
.ans-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ans-l li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: #E6E6E6; line-height: 1.4; }
.ans-l b { color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 20px; }
.ans-l .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); flex: none; transform: translateY(-2px); }
.ans-l li.lock { color: #9A9CA2; font-style: italic; }
.ans-l li.lock .dot { background: transparent; border: 1.5px solid #9A9CA2; }
.ans-no { font-size: 13.5px; color: #B9BBC0; border-left: 2px solid #6E7177; padding-left: 10px; }
.ans-src { font-size: 12px; color: #8C8E94; }
@media (max-width: 767px) {
  .cb-top { flex-wrap: wrap; } .cb-top .cb-q { order: 3; flex-basis: 100%; }
  .cb-body { grid-template-columns: 1fr; grid-template-rows: 190px minmax(0, 1fr); }
  .kit-row { flex-wrap: wrap; } .ks-n { font-size: 40px; }
  .ok-list li { font-size: 13px; }
}
@media (max-width: 767px) {
  .app .build-proof, .app .m-more, .app .build-status { display: none; }
  .app .build-line { font-size: 13px; }
  .app-wrap .build-title { font-size: 36px; }
  .app-body { height: 60vh; height: 60svh; }
  .sl { grid-template-columns: 1fr; } .sl-side { display: none; }
  .sl-feed { padding: 12px; } .kit { padding: 12px; }
  .sl-sugg { padding: 6px 12px; } .sl-comp { display: none; }
}

/* ---------- CD-00 executive pass (10/14) ---------- */
@media (min-width: 768px) {
  .stats.beat, .steps-beat.beat, .cards-beat.beat, .table-beat.beat, .statement.beat, .pillars.beat, .reel.beat, .about.beat, .demo.beat, .shelf.beat { padding-right: calc(var(--gutter) + 80px); }
  .stage .safe { padding-right: 80px; }
}
.build-status { line-height: 1.35; padding: 6px 12px; }
.sec-kicker { line-height: 1.3; }
.m-unit { margin-top: 10px; font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); color: var(--fg); }
.m-art-label { position: absolute; left: 0; bottom: -34px; color: var(--muted); }
.ans-l li.lock::before { display: none; }
.m-t { display: block; font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.statement.surface-stage .st-line { font-size: clamp(44px, min(4.6vw, 8.5vh), 84px); max-width: 24ch; }
.statement.surface-stage .dring { opacity: .15; }
@media (max-width: 767px) {
  .beat, .moment.solo { padding-bottom: 140px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tr { border-bottom: 1px solid rgba(0, 0, 0, .14); padding: 8px 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
  .tbl th, .tbl td { border: 0; padding: 0; }
  .tbl th[scope="row"] { grid-row: span 3; }
  .tbl td:nth-of-type(2)::before { content: "Baseline "; color: var(--muted); font-weight: 600; }
  .tbl td:nth-of-type(3)::before { content: "2027 target "; color: var(--muted); font-weight: 600; }
  .m-unit { font-size: 14px; margin-top: 6px; }
  .m-art-label { display: none; }
}

/* ---------- CD-00 re-check (10/14) ---------- */
.vis-svg .vt-eng { font-size: 12px; letter-spacing: 0; }
@media (max-width: 767px) {
  /* A solid band behind the phone controls so nothing reads underneath them */
  body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 88px; z-index: 24; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--hud-bg) 30%); }
  /* Diagrams become a clean stacked list on phone */
  .vis-ccos .vis, .vis-map .vis, .vis-council .vis { height: auto; }
  .vis-ccos .vis-svg, .vis-map .vis-svg, .vis-council .vis-svg { display: none; }
  .vis-ccos .vis.ready .vis-fallback, .vis-map .vis.ready .vis-fallback, .vis-council .vis.ready .vis-fallback { display: flex; }
  .vis-fallback { gap: 8px; height: auto; }
  .vis-fallback li { font-size: 14px; font-weight: 700; color: var(--c-white); }
  .cq-count { background: rgba(8, 9, 11, .85); padding: 4px 8px; border-radius: 6px; }
}
@media (max-width: 767px) { .rail { z-index: 26; } }

/* ---------- Client beats: co-brand lockup, audit, focus, agent view, plan, voice ---------- */
.stage-logo.lockup { width: auto; display: flex; align-items: center; gap: 14px; }
.lockup .lk-client { height: 30px; width: auto; }
.lockup .lk-x { color: var(--c-stage-muted); font-size: 20px; line-height: 1; }
.lockup .lk-tdc { width: 150px; height: auto; }
.frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame figcaption { display: none; }

/* audit scorecard */
.audit-grid { margin-top: clamp(18px, 3vh, 30px); }
.audit-chart { position: relative; max-width: 980px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.m-chip { font-family: var(--f-label); font-size: 13px; letter-spacing: var(--t-label-track); text-transform: uppercase; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--fg); color: var(--fg); min-height: 40px; transition: background-color .2s ease-out, color .2s ease-out; }
.m-chip[aria-pressed="true"] { background: var(--fg); color: var(--c-beat-bg); }
.m-chip:focus-visible, .bar:focus-visible, .pl-item:focus-visible, .av-toggle button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.bars { list-style: none; margin: 0; padding: 0; position: relative; height: calc(var(--n) * 58px); }
.bars .bar { position: absolute; left: 0; right: 0; top: 0; height: 50px; transform: translateY(calc(var(--rank) * 58px)); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  display: grid; grid-template-columns: minmax(150px, 230px) 1fr 52px; align-items: center; gap: 14px; outline: none; }
.bar-name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.bar-track { height: 26px; position: relative; }
.bar-track::before { content: ""; position: absolute; inset: 12px 0; background: currentColor; opacity: .14; border-radius: 2px; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 1%); background: var(--fg); border-radius: 0 4px 4px 0; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.bar.is-focus .bar-fill { background: var(--c-stage-bg); box-shadow: inset 0 0 0 3px var(--acc-strong, var(--fg)); }
.bar-v { font-family: var(--f-display); font-size: 34px; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.bars-scale { display: grid; grid-template-columns: minmax(150px, 230px) 1fr auto 1fr 52px; gap: 14px; margin-top: 4px; font-size: 11px; color: var(--muted); }
.bars-scale span:nth-child(1) { grid-column: 2; } .bars-scale span:nth-child(2) { grid-column: 3; } .bars-scale span:nth-child(3) { grid-column: 4; text-align: right; }
.bar-tip { position: absolute; z-index: 5; width: 240px; padding: 12px 14px; background: var(--c-stage-bg); color: var(--c-stage-fg); border-radius: 8px; font-size: 14px; line-height: 1.5; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .15s ease-out; }
.tip-on .bar-tip { opacity: 1; }
.bar-tip strong { display: block; margin-bottom: 4px; }
.bar-tip span { display: flex; justify-content: space-between; } .bar-tip em { font-style: normal; color: var(--c-stage-muted); }
.callout { margin-top: clamp(18px, 3vh, 28px); max-width: 980px; font-size: 18px; line-height: 1.5; font-weight: 600; padding: 16px 20px; border-left: 6px solid var(--fg); background: rgba(255, 255, 255, .45); }

/* focus */
.fx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(20px, 3vh, 32px); align-items: start; }
.fx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.fx-v { font-family: var(--f-display); font-size: clamp(64px, 6.4vw, 112px); line-height: .85; font-variant-numeric: tabular-nums; }
.fx-l { font-weight: 700; font-size: 15px; margin-top: 8px; }
.bars.keep .bar { grid-template-columns: minmax(120px, 170px) 1fr 44px; }
.fx-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.fx-list li { font-size: 18px; line-height: 1.45; padding-left: 18px; border-left: 3px solid var(--fg); }

/* agent view */
.av-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); margin-top: clamp(20px, 3vh, 32px); align-items: start; }
.av-panel { background: var(--c-stage-bg); color: var(--c-stage-fg); border-radius: 14px; padding: 22px 24px 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.av-toggle { display: inline-flex; border: 2px solid var(--c-stage-accent); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.av-toggle button { font-family: var(--f-label); font-size: 13px; letter-spacing: var(--t-label-track); text-transform: uppercase; padding: 10px 18px; min-height: 42px; color: var(--c-stage-fg); transition: background-color .25s ease-out, color .25s ease-out; }
.av-toggle button[aria-pressed="true"] { background: var(--c-stage-accent); color: var(--c-stage-bg); }
.av-page { color: var(--c-stage-muted); font-size: 12px; margin-bottom: 10px; }
.sigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sig { display: grid; grid-template-columns: 16px 170px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.sig-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c-stage-muted); transition: background-color .35s ease-out, border-color .35s ease-out, box-shadow .35s ease-out; }
.sig-name { font-weight: 700; font-size: 16px; }
.sig-say { font-size: 15px; line-height: 1.4; color: #D9D9D9; position: relative; }
.say-agent { display: none; }
.av-panel[data-view="agent"] .say-agent { display: inline; } .av-panel[data-view="agent"] .say-shopper { display: none; }
.av-panel[data-view="shopper"] .sig[data-shopper="on"] .sig-dot, .av-panel[data-view="agent"] .sig[data-agent="on"] .sig-dot { background: var(--c-stage-accent); border-color: var(--c-stage-accent); box-shadow: 0 0 12px rgba(var(--c-stage-accent-rgb), .7); }
.av-panel[data-view="agent"] .sig[data-agent="off"] .sig-name { opacity: .55; }
.av-score { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: var(--c-stage-muted); }
.av-n { font-family: var(--f-display); font-size: 34px; color: var(--c-stage-fg); vertical-align: -4px; margin-right: 4px; }
.finds { display: grid; gap: 14px; }
.find { border-left: 6px solid var(--fg); padding: 4px 0 4px 18px; }
.find h3 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); font-size: clamp(26px, 2.2vw, 36px); line-height: .95; }
.find p { font-size: 16px; line-height: 1.45; margin-top: 6px; }

/* content plan */
.pl-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(18px, 3vh, 30px); align-items: start; }
.pl-list { display: grid; gap: 8px; }
.pl-item { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; padding: 14px 16px; border-radius: 10px; border: 2px solid transparent; background: rgba(255, 255, 255, .42); transition: background-color .2s ease-out, border-color .2s ease-out; }
.pl-item:hover { border-color: var(--fg); }
.pl-item[aria-selected="true"] { background: var(--c-stage-bg); color: var(--c-stage-fg); }
.pl-n { grid-row: span 2; font-size: 14px; padding-top: 3px; }
.pl-item[aria-selected="true"] .pl-n { color: var(--c-stage-accent); }
.pl-what { font-weight: 800; font-size: 18px; line-height: 1.25; }
.pl-sku { font-size: 15px; opacity: .75; }
.pl-right { background: var(--c-stage-bg); color: var(--c-stage-fg); border-radius: 14px; padding: 22px 24px; min-height: 100%; }
.pl-teams ul { list-style: none; margin: 8px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pl-teams li { font-size: 14px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .25); color: var(--c-stage-muted); transition: all .25s ease-out; }
.pl-teams li.on { background: var(--c-stage-accent); border-color: var(--c-stage-accent); color: var(--c-stage-bg); }
.pl-teams .label, .pl-k { color: var(--c-stage-muted); font-size: 12px; }
.pl-place { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 6px 0 16px; }
.pl-fmt { list-style: none; margin: 6px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pl-fmt li { font-family: var(--f-label); font-size: 13px; letter-spacing: var(--t-label-track); text-transform: uppercase; padding: 7px 12px; border: 1.5px solid var(--c-stage-accent); color: var(--c-stage-accent); border-radius: 6px; }
.pl-ex { display: flex; gap: 14px; align-items: flex-end; }
.pl-ex .frame.f-wide { width: min(100%, 360px); }
.pl-ex .frame.f-phone { width: 112px; }
.pl-ex .frame { position: relative; }
.pl-ex .frame figcaption { display: block; position: absolute; left: 8px; bottom: 8px; right: 8px; font-size: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }

/* voice */
.voice-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: clamp(28px, 5vw, 80px); align-items: center; }
.voice-title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); line-height: .9; font-size: clamp(48px, 5.4vw, 96px); }
.voice-text .rule { width: 120px; margin: 24px 0 20px; }
.voice-line { font-size: calc(var(--t-body) * 1.15); font-weight: 600; max-width: 34ch; }
.voice-who { margin-top: 22px; font-size: 16px; color: var(--muted); } .voice-who strong { color: var(--fg); }
.voice-vid.frame.f-phone { position: relative; width: clamp(220px, 19vw, 300px); border-width: 8px; border-radius: 28px; }
.voice-vid .vid-sound { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); }

@media (max-width: 767px) {
  .bars .bar { grid-template-columns: 112px 1fr 40px; gap: 8px; height: 44px; transform: translateY(calc(var(--rank) * 50px)); }
  .bars { height: calc(var(--n) * 50px); }
  .bar-name { font-size: 13px; } .bar-v { font-size: 26px; }
  .bars-scale { grid-template-columns: 112px 1fr auto 1fr 40px; gap: 8px; }
  .callout { font-size: 14px; padding: 12px 14px; }
  .fx-grid, .av-grid, .pl-grid { grid-template-columns: 1fr; gap: 18px; }
  .fx-v { font-size: 54px; } .fx-list li { font-size: 14px; }
  .sig { grid-template-columns: 14px 104px 1fr; gap: 8px; padding: 9px 0; } .sig-name { font-size: 13px; } .sig-say { font-size: 12.5px; }
  .finds { display: none; }
  .pl-item { padding: 10px 12px; } .pl-what { font-size: 15px; } .pl-sku { font-size: 13px; }
  .pl-right { padding: 16px; } .pl-place { font-size: 15px; } .pl-ex .frame.f-wide { width: 100%; } .pl-ex .frame.f-phone { display: none; }
  .voice-grid { grid-template-columns: 1fr; } .voice-vid.frame.f-phone { width: 170px; margin: 0 auto; }
  .lockup .lk-client { height: 22px; } .lockup .lk-tdc { width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .bars .bar, .bar-fill, .sig-dot { transition: none; }
}

/* client beats, review pass */
.title .lockup { left: var(--gutter); bottom: auto; top: 40px; }
.title-h.long { font-size: clamp(48px, 5.4vw, 96px); max-width: 15ch; }
.cards-beat .lead { margin-top: 14px; margin-bottom: clamp(18px, 3vh, 28px); max-width: 70ch; }
.lay-cols .grp.n2 .cd-grid { --n: 2; }
.lay-cols .cd-items { gap: 14px; margin-top: 4px; }
.lay-cols .cd-items li { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.45; }
.lay-cols .cd-title { font-size: clamp(26px, 2.1vw, 36px); }
.stat.is-big .stat-v { white-space: nowrap; }
.voice-vid.frame.f-phone { border-color: var(--c-stage-accent); }
.fx-meter { display: block; height: 10px; margin-top: 12px; position: relative; }
.fx-meter::before { content: ""; position: absolute; inset: 4px 0; background: currentColor; opacity: .18; border-radius: 2px; }
.fx-meter span { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 1%); background: var(--fg); border-radius: 0 4px 4px 0; }
.fx-scale { margin-top: 12px; font-size: 11px; color: var(--muted); }
.bars .bar:not(.is-focus) .bar-fill { opacity: .55; }
.bar.is-focus .bar-fill { background: var(--fg); box-shadow: none; }
.bar.is-focus .bar-name::after { content: "Pilot anchor"; display: block; font-family: var(--f-label); font-size: 10px; letter-spacing: var(--t-label-track); text-transform: uppercase; margin-top: 3px; }
.bars .bar { height: 46px; transform: translateY(calc(var(--rank) * 52px)); }
.bars { height: calc(var(--n) * 52px); }
.av-toggle button { white-space: nowrap; }
@media (min-width: 768px) {
  .plan-beat.beat, .audit.beat, .focus.beat, .agentview.beat { padding-right: calc(var(--gutter) + 80px); padding-bottom: 120px; }
}
@media (max-width: 767px) {
  .title .lockup { top: 22px; }
  .title-h.long { font-size: 44px; }
  .lay-cols .grp.n2 .cd-grid { grid-template-columns: 1fr; }
  .lay-cols .cd-items li { font-size: 12.5px; } .lay-cols .cd-items { gap: 6px; }
  .bars .bar { height: 42px; transform: translateY(calc(var(--rank) * 46px)); } .bars { height: calc(var(--n) * 46px); }
}
.title-h.long { font-size: clamp(44px, 4.8vw, 86px); }
.title:has(.lockup) .strip { bottom: 44px; }
.audit .sec-title, .plan-beat .sec-title, .focus .sec-title, .agentview .sec-title { font-size: clamp(36px, 3.6vw, 62px); max-width: 26ch; }
.audit .sec-line, .plan-beat .sec-line, .focus .sec-line { font-size: calc(var(--t-body) * .95); max-width: 72ch; }
.pl-right { min-height: 0; }
.pl-ex .frame.f-wide { width: min(100%, 300px); }
.pl-ex .frame.f-phone { width: 92px; }
.audit .callout { margin-top: 14px; font-size: 16px; padding: 12px 16px; }
@media (max-width: 767px) { .title:has(.lockup) .strip { bottom: 92px; } }
@media (max-width: 767px) {
  .lay-cols .lead, .audit .sec-line, .plan-beat .sec-line, .focus .sec-line { display: none; }
  .lay-cols .cd { padding: 10px 12px; } .lay-cols .cd-title { font-size: 17px; } .lay-cols .cd-items li { font-size: 11.5px; line-height: 1.35; }
  .m-chips { flex-wrap: nowrap; gap: 6px; margin-bottom: 12px; } .m-chip { font-size: 10px; padding: 6px 9px; min-height: 34px; letter-spacing: .04em; }
  .audit .callout { font-size: 12.5px; }
  .av-panel { padding: 14px; } .av-toggle { display: flex; } .av-toggle button { flex: 1; white-space: normal; font-size: 10px; padding: 8px 8px; min-height: 40px; }
  .pl-list { grid-template-columns: 1fr 1fr; gap: 6px; } .pl-item { grid-template-columns: 24px 1fr; padding: 8px 10px; } .pl-sku { display: none; } .pl-what { font-size: 13px; }
  .pl-teams .label { display: none; } .pl-teams ul { margin-top: 0; margin-bottom: 10px; } .pl-teams li { font-size: 11px; padding: 5px 9px; }
  .pl-ex .frame.f-wide { width: 100%; max-height: 150px; }
  .cards-beat:not(.lay-cols) .grp.n6 .cd-body, .cards-beat .cd-grid:has(> .cd:nth-child(6)) .cd-body { display: none; }
}
/* Dark cards on a light surface take the dark surface's accent. */
.surface-beat .cd { --acc: var(--c-stage-accent); --acc-rgb: var(--c-stage-accent-rgb); }
.cd .cd-meta { color: var(--c-stage-accent); }
.lay-big .step-what { font-size: clamp(22px, 1.9vw, 32px); font-family: var(--f-display); text-transform: uppercase; font-weight: 500; letter-spacing: var(--t-display-track); line-height: 1; }
.lay-big .step-sub { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.45; color: var(--fg); }
.lay-big .step-when { font-size: 18px; }
@media (max-width: 767px) { .lay-big .step-what { font-size: 20px; } .lay-big .step-sub { font-size: 13.5px; } }
/* Co-brand: big lockup on the title and close, a badge on every screen */
.stage-logo.lockup.big { gap: 22px; }
.lockup.big .lk-client { height: clamp(56px, 5.6vw, 92px); }
.lockup.big .lk-x { font-size: 34px; }
.lockup.big .lk-tdc { width: clamp(180px, 15vw, 250px); }
.title .lockup.big { top: 56px; }
.title:has(.lockup.big) .safe { padding-top: clamp(90px, 13vh, 140px); }
.st-lockup { position: absolute; left: var(--gutter); top: 56px; bottom: auto; }
.statement:has(.st-lockup) .safe { padding-top: 90px; }
.cobrand-badge { position: fixed; z-index: 21; left: 22px; top: 22px; display: flex; align-items: center; gap: 8px; pointer-events: none; transition: opacity .3s ease-out; }
.cobrand-badge .lk-client { height: 22px; width: auto; }
.cobrand-badge .lk-x { font-size: 13px; color: var(--hud-dim); }
.cobrand-badge .lk-tdc { width: 92px; height: auto; }
html[data-surface="beat"]:not([data-beat-ink="light"]) .cobrand-badge .lk-tdc { filter: invert(1); }
/* dark beats (white ink): panels tint toward black instead of white */
html[data-beat-ink="light"] .pl-item { background: rgba(0, 0, 0, .3); }
html[data-beat-ink="light"] .callout { background: rgba(0, 0, 0, .35); border-left-color: var(--acc); }
.lockup .lk-client { filter: drop-shadow(0 0 0 transparent); }
/* the badge steps aside on screens that already carry the big lockup */
html.at-lockup .cobrand-badge { opacity: 0; }
@media (max-width: 767px) {
  .lockup.big .lk-client { height: 44px; } .lockup.big .lk-tdc { width: 130px; } .lockup.big .lk-x { font-size: 22px; }
  .title .lockup.big { top: 30px; } .title:has(.lockup.big) .safe { padding-top: 70px; }
  .cobrand-badge { left: 14px; top: 16px; } .cobrand-badge .lk-client { height: 16px; } .cobrand-badge .lk-tdc { width: 70px; }
}

/* ---------- lineup: expert cutouts breaking out of circles ---------- */
.xp-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); margin-top: clamp(22px, 4vh, 40px); align-items: start; }
.xp-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: clamp(14px, 2.4vh, 26px); margin-top: clamp(14px, 2.4vh, 24px); }
.xp-row.four .xp { --d: clamp(96px, 8vw, 128px); }
.xp-row.four .xp-name { font-size: clamp(18px, 1.4vw, 24px); margin-top: 10px; }
.xp-row.four .xp-cred { font-size: 12px; margin-top: 4px; }
.xp-row.four .xp-role { font-size: 10px; margin-top: 4px; }
.lineup:has(.xp-row.four) .sec-title { font-size: clamp(30px, 3.4vw, 50px); }
.lineup:has(.xp-row.four) .xp-also { font-size: 12px; }
.xp-row.four + .xp-also { margin-top: 16px; }
.xp-row.many { row-gap: clamp(14px, 2.4vh, 26px); margin-top: clamp(14px, 2.4vh, 24px); }
.xp-row.many .xp { --d: clamp(88px, 7.4vw, 120px); }
.xp-row.many .xp-name { font-size: clamp(17px, 1.25vw, 22px); margin-top: 10px; }
.xp-row.many .xp-cred { font-size: 11px; margin-top: 4px; }
.xp-row.many .xp-role { font-size: 10px; margin-top: 4px; }
.lineup:has(.xp-row.many) .sec-title { font-size: clamp(30px, 3.4vw, 50px); }
.lineup:has(.xp-row.many) .xp-also { font-size: 12px; }
.xp-row.many + .xp-also { margin-top: 14px; }
.xp { --d: clamp(130px, 11.5vw, 200px); position: relative; text-align: center; outline: none; cursor: default; }
.xp-photo { position: relative; width: var(--d); height: calc(var(--d) * 1.32); margin: 0 auto; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.xp-disc { position: absolute; left: 0; bottom: 0; width: var(--d); height: var(--d); border-radius: 50%; background: var(--c-stage-bg); box-shadow: 0 0 0 4px var(--c-beat-bg), 0 0 0 6px var(--fg); }
.xp-photo img { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--d) / 2) no-repeat, radial-gradient(circle calc(var(--d) / 2) at 50% calc(100% - var(--d) / 2), #000 99%, transparent 100%);
          mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--d) / 2) no-repeat, radial-gradient(circle calc(var(--d) / 2) at 50% calc(100% - var(--d) / 2), #000 99%, transparent 100%); }
.xp:hover .xp-photo, .xp:focus-within .xp-photo, .xp:focus .xp-photo { transform: translateY(-8px) scale(1.04); }
.xp-name { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--t-display-track); font-size: clamp(22px, 1.7vw, 30px); line-height: .95; margin-top: 16px; }
.xp-role { font-size: 11px; margin-top: 6px; }
.xp-cred { font-size: 14px; line-height: 1.35; font-weight: 700; margin-top: 8px; }
.xp-body { font-size: 14px; line-height: 1.4; margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease-out, opacity .25s ease-out; }
.xp:hover .xp-body, .xp:focus .xp-body { max-height: 160px; opacity: 1; }
.xp-tag { position: absolute; z-index: 2; top: 6px; right: 0; background: var(--c-stage-bg); color: var(--c-stage-accent); font-size: 10px; padding: 5px 8px; border-radius: 999px; }
.xp-also { list-style: none; margin: clamp(18px, 3vh, 28px) 0 0; padding: 12px 0 0; border-top: 2px solid var(--fg); font-size: 15px; }
@media (min-width: 768px) { .lineup.beat { padding-right: calc(var(--gutter) + 80px); } }
@media (max-width: 767px) {
  .xp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; margin-top: 14px; }
  .xp-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .xp-row.four .xp { --d: 112px; }
  .xp { --d: 92px; } .xp-name { font-size: 15px; margin-top: 10px; } .xp-role { font-size: 8.5px; } .xp-cred { font-size: 10.5px; margin-top: 4px; }
  .xp-tag { font-size: 8px; padding: 3px 6px; top: 0; } .xp-also { font-size: 12px; }
}
/* the co-brand badge already carries the lockup; openers drop their small copy */
.stage .stage-logo.lockup:not(.big) { display: none; }
.xp-tag { left: auto; transform: none; position: relative; display: inline-block; margin-top: -14px; }
@media (max-width: 767px) {
  .lockup.big { flex-wrap: nowrap; gap: 10px; max-width: calc(100vw - 2 * var(--gutter)); }
  .lockup.big .lk-client { height: 30px; } .lockup.big .lk-tdc { width: 120px; } .lockup.big .lk-x { font-size: 16px; }
}

.xp-tag { margin-top: 10px; }
/* pop-out frame: wider than the circle so full heads of hair fit; nothing is cropped at the sides */
.xp-photo { width: calc(var(--d) * 1.3); height: calc(var(--d) * 1.4); }
.xp-disc { left: calc(var(--d) * .15); }
.xp-photo img { object-fit: contain; object-position: 50% 100%; }
@media (max-width: 767px) { .lineup .xp-also { font-size: 11px; line-height: 1.35; } .lineup.beat { padding-bottom: 150px; } }
/* the tag rides above the photo so every name sits on the same line */
.xp-photo .xp-tag { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); margin: 0; right: auto; white-space: nowrap; }
@media (max-width: 767px) { .xp-photo .xp-tag { top: -16px; } }
.xp-photo .xp-tag { top: calc(var(--d) * .4 - 30px); z-index: 4; }
@media (max-width: 767px) { .xp-photo .xp-tag { top: calc(var(--d) * .4 - 18px); } }

/* ---------- price cards and the markup split ---------- */
.cd-price { font-family: var(--f-display); font-size: clamp(48px, 4.4vw, 76px); line-height: .9; color: var(--c-stage-accent); margin-top: 10px; font-variant-numeric: tabular-nums; }
.cd-price span { font-size: .38em; margin-left: 6px; color: var(--c-stage-fg); }
.mk-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 56px); margin-top: clamp(18px, 3vh, 30px); align-items: start; }
.mk-split { background: var(--c-stage-bg); color: var(--c-stage-fg); border-radius: 14px; padding: 22px 24px; }
.mk-split .m-chip { border-color: var(--c-stage-accent); color: var(--c-stage-fg); }
.mk-split .m-chip[aria-pressed="true"] { background: var(--c-stage-accent); color: var(--c-stage-bg); }
.mk-bar { display: flex; height: 120px; border-radius: 10px; overflow: hidden; margin-top: 8px; gap: 3px; }
.mk-bar > span { flex: 0 0 calc(var(--w) * 1%); display: flex; flex-direction: column; justify-content: center; padding: 0 16px; transition: flex-basis .6s cubic-bezier(.2, .8, .2, 1); min-width: 0; }
.mk-tdc { background: #2B2B28; } .mk-dg { background: var(--c-stage-accent); color: var(--c-stage-bg); }
.mk-bar b { font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 3vw, 52px); line-height: .9; }
.mk-bar i { font-style: normal; font-size: 13px; font-weight: 700; margin-top: 4px; }
.mk-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; color: #D9D9D9; }
.mk-margin { font-family: var(--f-label); text-transform: uppercase; letter-spacing: var(--t-label-track); font-size: 13px; color: var(--c-stage-accent); }
.mk-models { display: grid; gap: 14px; }
.mk-model { border-left: 6px solid var(--fg); padding: 2px 0 2px 16px; }
.mk-how { font-size: 16px; line-height: 1.45; margin-top: 6px; }
.mk-gain { font-size: 15px; line-height: 1.4; margin-top: 6px; color: var(--muted); } .mk-gain strong { color: var(--fg); }
@media (min-width: 768px) { .markup.beat { padding-right: calc(var(--gutter) + 80px); } }
@media (max-width: 767px) {
  .mk-grid { grid-template-columns: 1fr; gap: 14px; } .mk-bar { height: 84px; } .mk-bar b { font-size: 28px; }
  .mk-how { font-size: 12.5px; } .mk-gain { font-size: 12px; } .markup .sec-line { display: none; } .cd-price { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .mk-bar > span { transition: none; } }
.lay-price .grps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
.lay-price .grp.n2 .cd-grid { --n: 1; }
.lay-price .cd-items li { font-size: clamp(13px, 1vw, 15px); }
@media (max-width: 767px) { .lay-price .grps { grid-template-columns: 1fr; } .lay-price .lead { display: none; } .lay-price .cd-items li { font-size: 11px; } }
.lay-price .grp .cd-grid { --n: 1; grid-template-columns: 1fr; }
.lay-price .lead { display: none; }
.lay-price .grp:first-child .cd-items { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.lay-price .cd-body { font-size: clamp(14px, 1.05vw, 16px); }
@media (min-width: 768px) { .lay-price.beat { padding-right: calc(var(--gutter) + 80px); } }
@media (max-width: 767px) { .lay-price .grp:first-child .cd-items { grid-template-columns: 1fr; } .lay-price .cd-body { font-size: 11.5px; } .lay-price .grp:first-child .cd-items li:nth-child(n+4) { display: none; } }
@media (max-width: 767px) {
  .lay-price .grp:first-child .cd-body { display: none; }
  .lay-price .grp:last-child .cd-body { font-size: 11px; }
  .lay-price .cd-price { font-size: 34px; } .lay-price .cd { padding: 10px 12px; }
  .mk-gain { display: none; } .mk-how { font-size: 12px; line-height: 1.35; }
}
/* Title screen: the video strip sits in the flow under the text, never over it,
   and a long title runs wide so the line fills left to right. */
.title .strip, .title:has(.lockup) .strip { position: relative; left: auto; bottom: auto; margin: auto calc(-1 * var(--gutter)) 0; padding-top: 28px; }
.title.beat { padding-bottom: 40px; }
.title-h.long { max-width: 21ch; font-size: clamp(44px, 6vw, 112px); }
.title-h.long .accent { display: inline; }
.title-sub { max-width: 62ch; }
@media (min-width: 768px) { .title .safe { padding-right: 80px; } }
@media (max-width: 767px) { .title.beat { padding-bottom: 92px; } .title .strip, .title:has(.lockup) .strip { padding-top: 18px; } .title-h.long { font-size: 40px; } }
/* Agent view toggle stays inside its panel. */
.av-toggle { display: flex; width: 100%; max-width: 100%; }
.av-toggle button { flex: 1 1 0; min-width: 0; padding: 10px 12px; font-size: 12px; white-space: normal; line-height: 1.2; }
.title-h.long { max-width: min(1060px, 74vw); font-size: clamp(44px, 5.6vw, 104px); }
.title-h.long .accent { display: block; }
@media (min-width: 768px) { .title .strip figure { width: clamp(150px, 12.5vw, 210px); } }
@media (max-width: 767px) { .title-h.long { font-size: 40px; max-width: none; } }
@media (max-width: 767px) { .av-toggle button { font-size: 10px; padding: 8px; } }
/* Audit rows can carry a product shot; the focus tag reads from the row. */
.bar.is-focus .bar-name::after { content: attr(data-tag); }
.bars.tall { height: calc(var(--n) * 112px); }
.bars.tall .bar { height: 100px; transform: translateY(calc(var(--rank) * 112px)); grid-template-columns: 72px minmax(150px, 230px) 1fr 52px; }
.bar-img { width: 72px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }
@media (max-width: 767px) {
  .bars.tall { height: calc(var(--n) * 84px); }
  .bars.tall .bar { height: 76px; transform: translateY(calc(var(--rank) * 84px)); grid-template-columns: 48px 104px 1fr 40px; }
  .bar-img { width: 48px; height: 72px; }
}
/* Statement screens: product hero shots, or one large example video. */
.st-hero { position: absolute; z-index: 1; right: calc(var(--gutter) + 110px); top: 12%; bottom: 10%; width: min(40vw, 620px); display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.st-hero::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 6%; aspect-ratio: 1; border-radius: 50%; background: rgba(var(--acc-rgb), .16); }
.st-hero img { position: relative; height: 82%; width: auto; filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .5)); }
.st-hero img + img { height: 74%; margin-left: -7%; }
.statement:has(.st-hero) .safe, .statement:has(.frames.big) .safe { max-width: none; margin: 0; width: min(46vw, 640px); }
.statement .frames.big { right: calc(var(--gutter) + 90px); top: 50%; bottom: auto; translate: 0 -50%; }
.statement .frames.big .frame.f-wide { width: min(42vw, 640px); }
.surface-beat .bars.tall .bar .bar-fill, .bars.tall .bar .bar-fill { opacity: 1; }
@media (max-width: 767px) {
  .st-hero { position: relative; right: auto; top: auto; bottom: auto; width: 100%; height: 34vh; margin-top: 18px; }
  .statement:has(.st-hero) .safe, .statement:has(.frames.big) .safe { width: 100%; }
  .statement .frames.big { position: relative; right: auto; top: auto; translate: none; margin-top: 18px; }
  .statement .frames.big .frame.f-wide { width: 100%; }
}
.bars.tall .bar .bar-fill { background: var(--acc); }
.bars.tall { height: calc(var(--n) * 150px); }
.bars.tall .bar { height: 136px; transform: translateY(calc(var(--rank) * 150px)); grid-template-columns: 96px minmax(160px, 250px) 1fr 64px; }
.bars.tall .bar-img { width: 96px; height: 132px; }
.bars.tall .bar-name { font-size: 20px; }
.bars.tall .bar-v { font-size: 48px; }
.bars.tall + .bars-scale, .audit-chart:has(.bars.tall) .bars-scale { margin-left: 374px; }
@media (max-width: 767px) {
  .bars.tall { height: calc(var(--n) * 96px); }
  .bars.tall .bar { height: 88px; transform: translateY(calc(var(--rank) * 96px)); grid-template-columns: 56px 100px 1fr 40px; }
  .bars.tall .bar-img { width: 56px; height: 84px; } .bars.tall .bar-name { font-size: 13px; } .bars.tall .bar-v { font-size: 28px; }
  .audit-chart:has(.bars.tall) .bars-scale { margin-left: 0; }
}
@media (max-width: 767px) { .audit-chart:has(.bars.tall) .bars-scale { display: none; } .steps-beat.lay-big .sec-foot { display: none; } }
/* CD-00 10/15: decorative rings never cross text or the chapter rail. */
.statement .dring { -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 50%, #000 66%); mask-image: linear-gradient(to right, transparent 0, transparent 50%, #000 66%); }
.rail::before { content: ""; position: absolute; z-index: -1; right: -18px; top: -12px; bottom: -12px; width: 104px; border-radius: 14px 0 0 14px; background: var(--c-stage-bg); }
html[data-surface="beat"] .rail::before { background: var(--c-beat-bg); }
@media (max-width: 767px) { .rail::before { display: none; } }
@media (max-width: 767px) { .title .dring { display: none; } }
/* Cast that sits clear of the footer controls. */
.cast.lift { bottom: 96px; height: min(72vh, 720px); }
.cast.lift.duo { bottom: 96px; }
/* Long plan lists run in two columns; captions sit under the example, not on it. */
.pl-list.many { grid-template-columns: 1fr 1fr; gap: 6px; }
.pl-list.many .pl-item { padding: 9px 12px; grid-template-columns: 28px 1fr; }
.pl-list.many .pl-what { font-size: 15px; } .pl-list.many .pl-sku { font-size: 12px; }
.pl-ex .frame { overflow: visible; }
.pl-ex .frame figcaption { position: static; text-shadow: none; color: var(--fg); padding: 8px 0 0; background: none; }
.surface-beat .pl-right .pl-ex .frame figcaption { color: var(--c-white); }
/* Audit axis lines up with the bar track. */
.audit-chart:has(.bars.tall) .bars-scale { display: flex; justify-content: space-between; margin-left: 374px; margin-right: 78px; }
/* Podcast screen: sound pill clear of burned-in captions; eyebrow breathing room. */
.voice-vid .vid-sound { top: 14px; bottom: auto; left: auto; right: 14px; transform: none; }
.voice .sec-kicker { margin-bottom: 18px; }
/* Brand card color when a brand defines one. */
.cd { background: var(--c-card, var(--c-black)); }
.st-hero-cap { position: absolute; bottom: -2%; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); }
@media (max-width: 767px) {
  .plan-beat.beat { padding-bottom: 104px; }
  .pl-list.many .pl-what { font-size: 12.5px; }
  .pl-list.many .pl-item { padding: 7px 9px; }
  .plan-beat .pl-ex { display: none; }
  .cast.lift, .cast.lift.duo { bottom: 84px; height: 40vh; }
  .st-hero-cap { bottom: -18px; font-size: 10px; }
}
.st-hero { bottom: 14%; }
.st-hero-cap { bottom: -40px; }
.cast.lift img.cast-p:only-of-type { left: 50%; translate: -50% 0; height: 82%; }
.plan-beat:has(.pl-list.many) .sec-foot { display: none; }
@media (max-width: 767px) { .st-hero { bottom: auto; } .st-hero-cap { bottom: -18px; } }
@media (max-width: 767px) { .st-hero-cap { display: none; } .plan-beat:has(.pl-list.many) .pl-teams { display: none; } }
.st-hero-cap { top: calc(100% + 28px); bottom: auto; white-space: nowrap; }
@media (max-width: 767px) {
  .stage .dring, .statement .dring { display: none; }
  .plan-beat:has(.pl-list.many) .pl-k { display: none; }
  .plan-beat:has(.pl-list.many) .pl-place { font-size: 13px; margin-bottom: 8px; }
  .plan-beat:has(.pl-list.many) .pl-right { padding: 12px 14px; }
  .plan-beat:has(.pl-list.many) .sec-line { display: none; }
}
@media (max-width: 767px) { .cast.lift .cast-ring, .cast.lift .cast-dot { display: none; } }
.plan-beat:has(.pl-list.many) .pl-ex .frame.f-wide { width: min(100%, 270px); }
@media (min-width: 768px) { .plan-beat:has(.pl-list.many) .pl-ex .frame.f-wide { width: 240px; } .plan-beat:has(.pl-list.many) .sec-line { font-size: 18px; margin-top: 4px; margin-bottom: 18px; } .plan-beat:has(.pl-list.many).beat { padding-top: 72px; } }
/* The focus tag sits inside the focus bar, never under the product name. */
.bar.is-focus .bar-name::after { content: none; display: none; }
.bar.is-focus .bar-fill::after { content: attr(data-tag); position: absolute; left: 12px; top: 50%; translate: 0 -50%; white-space: nowrap; font-family: var(--f-label); font-size: 10px; letter-spacing: var(--t-label-track); text-transform: uppercase; color: var(--c-stage-fg); }
@media (max-width: 767px) { .bar.is-focus .bar-fill::after { left: 8px; font-size: 8.5px; } }
.audit .callout { max-width: 860px; } @media (max-width: 767px) { .bars-scale span:nth-child(2) { visibility: hidden; } }
/* Price cards in a column layout stay inside the screen. */
.lay-cols .cd.has-price .cd-items li { font-size: clamp(12px, .9vw, 14px); line-height: 1.35; }
.lay-cols .cd.has-price .cd-price { font-size: clamp(40px, 3.6vw, 60px); }
.lay-cols .cd.has-price { padding: 16px 18px; }
@media (max-width: 767px) {
  .tbl td:nth-of-type(2)::before, .tbl td:nth-of-type(3)::before { content: none; }
  .tbl td[data-label]::before { content: attr(data-label) " "; color: var(--muted); font-weight: 600; }
  .tbl.stack tr { display: block; padding: 10px 0; }
  .tbl.stack th[scope="row"] { margin-bottom: 6px; }
  .tbl.stack .type-chip { white-space: normal; font-size: 11px; line-height: 1.3; border-radius: 10px; }
  .tbl.stack td { margin-top: 3px; }
  .lay-cols .grp:has(.cd.has-price) .cd-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .lay-cols .cd.has-price { padding: 10px 8px; }
  .lay-cols .cd.has-price .cd-price { font-size: 26px; }
  .lay-cols .cd.has-price .cd-items li { display: none; }
  .lay-cols .cd.has-price .cd-items li:nth-child(3), .lay-cols .cd.has-price .cd-items li:nth-child(5) { display: list-item; font-size: 10.5px; }
  .steps-beat .sec-foot { display: none; }
}
@media (max-width: 767px) { .table-beat:has(.tbl.stack) .sec-foot { display: none; } }

/* ---------- Steps beside a large example video (is-side) ---------- */
.steps-beat.is-side .side-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 72px); align-items: center; margin-top: clamp(12px, 2.4vh, 28px); }
.is-side .steps, .is-side .steps.n4 { grid-template-columns: 1fr; gap: clamp(16px, 2.6vh, 28px); padding-left: 34px; }
.is-side .steps::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
.is-side .steps li { padding-top: 0; gap: 6px; }
.is-side .step-dot { left: -34px; top: 2px; }
.is-side .frames { position: static; margin: 0; display: block; }
.is-side .frame.f-wide { width: 100%; border-radius: 10px; position: relative; }
.is-side .frame figcaption { display: block; position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 12px; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 5px rgba(0, 0, 0, .85); }
@media (max-width: 767px) {
  .steps-beat.is-side .side-split { grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
  .is-side .steps { padding-left: 28px; gap: 10px; }
  .is-side .step-dot { left: -28px; }
  .is-side .frame figcaption { font-size: 10px; left: 8px; bottom: 6px; }
}

/* ---------- Audit: what the scores mean ---------- */
.audit-grid.has-ctx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(28px, 3.6vw, 56px); align-items: start; }
.audit-ctx { border-left: 2px solid var(--acc); padding: 4px 0 4px clamp(18px, 1.8vw, 26px); }
.audit-ctx > .label { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.ctx-read { margin: 0 0 16px; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.45; font-weight: 600; }
.ctx-ms { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ctx-m { display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; line-height: 1.45; color: var(--muted); opacity: .62; transition: opacity .3s; }
.ctx-m strong { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.audit-grid:has(.m-chip[data-m="0"][aria-pressed="true"]) .ctx-m[data-m="0"],
.audit-grid:has(.m-chip[data-m="1"][aria-pressed="true"]) .ctx-m[data-m="1"],
.audit-grid:has(.m-chip[data-m="2"][aria-pressed="true"]) .ctx-m[data-m="2"] { opacity: 1; color: var(--fg); }
@media (max-width: 1100px) { .audit-grid.has-ctx { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .audit-grid.has-ctx { gap: 14px; }
  .audit-ctx { padding-left: 12px; }
  .ctx-read { font-size: 13.5px; margin-bottom: 6px; }
  .ctx-m { display: none; font-size: 12.5px; }
  .audit-grid:has(.m-chip[data-m="0"][aria-pressed="true"]) .ctx-m[data-m="0"],
  .audit-grid:has(.m-chip[data-m="1"][aria-pressed="true"]) .ctx-m[data-m="1"],
  .audit-grid:has(.m-chip[data-m="2"][aria-pressed="true"]) .ctx-m[data-m="2"] { display: flex; }
}

/* ---------- Plan with three or fewer rows: the example video sits beside the approach ---------- */
@media (min-width: 768px) {
  .pl-grid.few { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
  .pl-grid.few .pl-pane:not([hidden]) { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(18px, 2vw, 32px); align-items: start; }
  .pl-grid.few .pl-pane > * { grid-column: 1; }
  .pl-grid.few .pl-pane > .pl-ex { grid-column: 2; grid-row: 1 / span 4; display: block; }
  .pl-grid.few .pl-ex .frame.f-wide { width: 100%; border-radius: 8px; }
  .pl-grid.few .pl-ex .frame figcaption { font-size: 11px; }
}
.is-side .frames .frame { overflow: visible; }
.is-side .frame video, .is-side .frame img { border-radius: 10px; }
.is-side .frame figcaption { position: static; text-shadow: none; color: var(--muted); padding: 10px 0 0; }
.is-side .frame.f-wide { aspect-ratio: auto; background: none; box-shadow: none; }
.is-side .frame video, .is-side .frame img { aspect-ratio: 16 / 9; height: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }

/* ---------- Call to action (closing screen) ---------- */
.cta .safe { max-width: 1240px; }
.cta-opts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(22px, 3.6vh, 40px); }
.cta-opts.n2 { --n: 2; } .cta-opts.n4 { --n: 4; }
.cta-opt { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2vw, 26px); border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--fg) 22%, transparent); color: var(--fg); text-decoration: none; transition: border-color .25s, transform .25s, background .25s; }
.cta-opt:hover, .cta-opt:focus-visible { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); transform: translateY(-3px); outline: none; }
.cta-o-k { font-size: 13px; color: var(--acc); }
.cta-o-p { font-family: var(--f-display); font-size: clamp(34px, 3.2vw, 52px); line-height: 1; letter-spacing: var(--t-display-track); }
.cta-o-s { font-size: 14.5px; line-height: 1.45; color: var(--muted); flex: 1; }
.cta-o-go { align-self: flex-start; margin-top: 6px; padding: 9px 16px; border-radius: 999px; background: var(--acc); color: var(--c-black); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: clamp(18px, 3vh, 30px); }
.cta-sec { color: var(--fg); font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1.5px solid var(--acc); padding-bottom: 3px; }
.cta-sec:hover, .cta-sec:focus-visible { color: var(--acc); outline: none; }
.cta-who { margin: 0; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.cta-who .label { font-size: 12px; color: var(--muted); }
.cta-who a { color: var(--fg); }
@media (max-width: 767px) {
  .cta.beat { justify-content: flex-start; padding-top: 64px; }
  .cta-opts, .cta-opts.n2, .cta-opts.n4 { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
  .cta-opt { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k go" "p go"; gap: 2px 12px; padding: 12px 14px; align-items: center; }
  .cta-o-k { grid-area: k; } .cta-o-p { grid-area: p; font-size: 28px; } .cta-o-s { display: none; } .cta-o-go { grid-area: go; margin: 0; padding: 8px 12px; font-size: 12px; }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 14px; }
  .cta-sec { font-size: 14px; } .cta-who { font-size: 12.5px; }
}
.cta.beat { padding-right: calc(var(--gutter) + 80px); }
.cta-opt { background: color-mix(in srgb, var(--fg) 5%, transparent); }
@media (max-width: 767px) { .cta.beat { padding-right: var(--gutter); } }

/* ---------- CD-00 10/15 round 1 ---------- */
/* title strip in the flow must clear the bottom nav when there is no lockup */
@media (min-width: 768px) { .title.beat:not(:has(.lockup)) { padding-bottom: 104px; } }
/* score context panel never widens the phone page */
.audit-grid.has-ctx > * { min-width: 0; }
.audit-grid.has-ctx .m-chips { flex-wrap: wrap; }
.ctx-m { opacity: 1; color: var(--muted); padding-left: 10px; border-left: 3px solid transparent; transition: border-color .3s, color .3s; }
.ctx-m strong { color: var(--muted); }
.audit-grid:has(.m-chip[data-m="0"][aria-pressed="true"]) .ctx-m[data-m="0"],
.audit-grid:has(.m-chip[data-m="1"][aria-pressed="true"]) .ctx-m[data-m="1"],
.audit-grid:has(.m-chip[data-m="2"][aria-pressed="true"]) .ctx-m[data-m="2"] { border-left-color: var(--acc); }
.audit-grid:has(.m-chip[data-m="0"][aria-pressed="true"]) .ctx-m[data-m="0"] strong,
.audit-grid:has(.m-chip[data-m="1"][aria-pressed="true"]) .ctx-m[data-m="1"] strong,
.audit-grid:has(.m-chip[data-m="2"][aria-pressed="true"]) .ctx-m[data-m="2"] strong { color: var(--fg); }
/* example-video captions sit below the frame, sentence case, never on top of the video */
.pl-ex .frame.f-wide { aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; }
.pl-ex .frame.f-wide video, .pl-ex .frame.f-wide img { aspect-ratio: 16 / 9; height: auto; border-radius: 6px; }
.pl-ex .frame figcaption { position: static; display: block; padding: 8px 0 0; font-size: 12px; line-height: 1.35; letter-spacing: 0; text-transform: none; text-shadow: none; color: var(--c-stage-fg); opacity: .72; font-family: inherit; font-weight: 400; }
.pl-grid:not(.few) .pl-ex .frame.f-wide { width: min(100%, 250px); }
.frames.big .frame figcaption { display: block; position: static; padding: 10px 0 0; font-size: 12px; color: var(--c-stage-fg); opacity: .72; }
.frames.big .frame:has(figcaption) { aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; }
.frames.big .frame:has(figcaption) video, .frames.big .frame:has(figcaption) img { aspect-ratio: 16 / 9; height: auto; border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
@media (max-width: 767px) {
  .is-side .frame figcaption { font-size: 12px; }
  .pl-grid.few .pl-list { grid-template-columns: 1fr; }
  .pl-grid.few .pl-ex .frame.f-wide { display: block; width: 100%; max-height: none; }
  .pl-grid.few .pl-item .pl-sku { display: none; }
  .cta-opt { grid-template-areas: "k go" "p go" "s s"; }
  .cta-o-s { display: block; grid-area: s; font-size: 12px; margin-top: 2px; }
}
.cta-who .sep { white-space: nowrap; }
@media (max-width: 767px) { .plan-beat:has(.pl-grid.few) .sec-foot { display: none; } }
.grps.g3 .grp.n5 .cd { align-items: center; }

/* ---------- Letter of intent: the letter on the left, sign on the right ---------- */
.loi .safe { max-width: 1240px; }
.loi.beat { padding-right: calc(var(--gutter) + 80px); }
.loi-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(22px, 3vw, 48px); margin-top: clamp(14px, 2.6vh, 26px); align-items: start; }
.loi-doc { background: #fff; color: #14212b; border-radius: 10px; padding: clamp(18px, 2vw, 30px); box-shadow: 0 24px 60px rgba(0, 0, 0, .14); font-size: 14px; line-height: 1.5; max-height: 64vh; overflow: auto; }
.loi-doc .loi-k { color: #56636b; font-size: 11px; margin: 0 0 6px; }
.loi-doc h3 { margin: 0 0 10px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: var(--t-display-track); font-size: clamp(22px, 1.9vw, 30px); line-height: 1; font-weight: 500; }
.loi-lead { margin: 0 0 12px; }
.loi-tier { border: 1px solid #c9d3d6; border-radius: 8px; padding: 12px 16px; margin: 0 0 12px; }
.loi-tier-h { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
.loi-tier-h span { color: #3b4a52; font-size: 13px; }
.loi-tier ul { margin: 0; padding-left: 18px; font-size: 13px; color: #3b4a52; }
.loi-terms p { margin: 0 0 8px; font-size: 12.5px; color: #3b4a52; }
.loi-sig { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #c9d3d6; font-size: 12.5px; }
.loi-sig-line { color: #56636b; font-size: 12px; }
.loi-form { display: flex; flex-direction: column; gap: 12px; }
.loi-form > .label { color: var(--muted); font-size: 13px; margin: 0; }
.loi-chips { margin-bottom: 4px; }
.loi-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--fg); }
.loi-form input { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 12px; border-radius: 8px; border: 1.5px solid color-mix(in srgb, var(--fg) 25%, transparent); background: #fff; color: #14212b; }
.loi-form input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 30%, transparent); }
.loi-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.loi-go { margin-top: 4px; padding: 14px 18px; border: 0; border-radius: 999px; background: var(--acc); color: var(--c-black); font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.loi-go:hover, .loi-go:focus-visible { filter: brightness(1.08); outline: 2px solid var(--fg); outline-offset: 2px; }
.loi-go:disabled { opacity: .6; cursor: progress; }
.loi-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.loi-status { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 600; color: var(--fg); }
.loi-status a { color: inherit; }
.loi-done { border-left: 3px solid var(--acc); padding: 6px 0 6px 18px; }
.loi-done h3 { margin: 4px 0 8px; font-family: var(--f-display); text-transform: uppercase; font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; }
.loi-done p { margin: 0; font-size: 15px; line-height: 1.5; }
@media (max-width: 767px) {
  .loi.beat { justify-content: flex-start; padding-top: 64px; padding-right: var(--gutter); }
  .loi-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 10px; }
  .loi-doc { padding: 12px 14px; max-height: none; font-size: 12.5px; }
  .loi-doc .loi-k, .loi-lead, .loi-terms, .loi-sig, .loi-tier ul { display: none; }
  .loi-doc h3 { font-size: 20px; margin: 0 0 6px; }
  .loi-tier { margin: 0; padding: 8px 10px; }
  .loi-tier-h { margin: 0; }
  .loi-form { gap: 8px; }
  .loi-form input { padding: 9px 10px; }
  .loi-note { font-size: 11.5px; }
  .loi .sec-foot { display: none; }
}
/* CD-00 LOI round 1 */
.loi-go { background: var(--c-stage-accent, var(--acc)); color: #000; }
.loi-form input { border-color: color-mix(in srgb, var(--fg) 48%, transparent); }
.loi-more { display: none; }
@media (max-width: 767px) {
  .loi-doc .loi-terms { display: block; }
  .loi-doc .loi-terms p { display: none; }
  .loi-doc .loi-terms p:last-child { display: block; margin: 8px 0 0; font-size: 11.5px; }
  .loi-more { display: inline-block; margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: #14212b; text-decoration: underline; cursor: pointer; }
  .loi-doc.full .loi-k, .loi-doc.full .loi-lead, .loi-doc.full .loi-sig, .loi-doc.full .loi-tier ul, .loi-doc.full .loi-terms p { display: block; }
  .loi-doc.full .loi-tier ul { padding-left: 16px; margin-top: 6px; }
  .loi-grid { gap: 22px; }
  .cta-opt { grid-template-areas: "k p" "s s" "go go"; grid-template-columns: auto 1fr; align-items: baseline; }
  .cta-o-p { justify-self: end; }
  .cta-o-go { justify-self: stretch; text-align: center; margin-top: 6px; }
  .cta-who { flex-direction: column; align-items: flex-start; gap: 2px; }
}
.loi-form[hidden], .loi-done[hidden] { display: none; }
.cta-who .org::before { content: "·"; margin-right: 8px; } .cta-who .org::after { content: "·"; margin-left: 8px; }
@media (max-width: 767px) { .cta-who .org::before, .cta-who .org::after { content: none; } .loi-note { display: none; } }
@media (max-width: 767px) { .loi-doc.full .loi-sig { display: flex; } }
/* the hidden chapter names take no room, so only the visible numbers open the chapter menu
   (before this, an invisible ~450px band on the right opened it over the content) */
.rail .name { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; }
.rail:hover .name, .rail:focus-within .name, .rail.open .name { max-width: 28em; }

/* ---------- Guided Story: the living guide, stage direction, the choice screen, the turn ---------- */
/* The guide is a fixed box: the stage (the keyed live feed, or a labeled frame of the same
   size until an engine is attached), the caption bubble and the controls. guide.js sets
   data-pos (bl, br, center, off), data-size (full, aside, chip) and data-motion (walk, fade,
   cut); the collision engine measures this box against the beat's content. */
.guide { position: fixed; z-index: 24; bottom: var(--guide-floor, 108px); --gh: 34vh; pointer-events: none; transition: transform .7s cubic-bezier(.6, 0, .2, 1), opacity .5s; }
.guide[data-pos="br"] { right: calc(var(--gutter) + 72px); left: auto; }
.guide[data-pos="bl"] { left: var(--gutter); right: auto; }
.guide[data-pos="center"] { left: 50%; right: auto; bottom: 30vh; transform: translateX(-50%); }
.guide[data-pos="mr"] { right: calc(var(--gutter) + 72px); left: auto; bottom: calc(50vh - var(--gh) / 2); }
.guide[data-pos="ml"] { left: var(--gutter); right: auto; bottom: calc(50vh - var(--gh) / 2); }
.guide[data-pos="off"] { opacity: 0; pointer-events: none; }
.guide[data-pos="off"][data-side="right"], .guide[data-pos="off"]:not([data-side]) { right: calc(var(--gutter) + 72px); left: auto; transform: translateX(140%); }
.guide[data-pos="off"][data-side="left"] { left: var(--gutter); right: auto; transform: translateX(-140%); }
.guide[data-pos="off"] > * { pointer-events: none; }
.guide[data-size="aside"] { --gh: 18vh; }
.guide[data-size="chip"] { --gh: 10vh; }
.guide[data-motion="fade"] { transition: opacity .5s; }
.guide[data-motion="cut"], .guide.no-anim, .guide.still { transition: none !important; }
.guide.no-anim *, .guide.still * { transition: none !important; animation: none !important; }
.guide-stage { position: relative; height: var(--gh); width: calc(var(--gh) * .75); transition: height .5s ease-out, width .5s ease-out; }
.guide[data-motion="walk"]:not([data-pos="off"]) .guide-stage { animation: guide-walk .7s cubic-bezier(.6, 0, .2, 1); }
@keyframes guide-walk { 0% { transform: translateY(6px); } 35% { transform: translateY(-5px); } 70% { transform: translateY(3px); } 100% { transform: none; } }
/* no frame: the keyed feed is a cutout over the deck. The outline shows only in test mode so placement can be seen in screenshots. */
.guide-view { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; }
.guide.debug .guide-view { outline: 1.5px dashed rgba(var(--acc-rgb), .7); outline-offset: -1px; }
.guide-feed { display: none; }
.guide.debug .guide-feed { display: block; }
.guide-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.guide-feed { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; font-size: 10px; color: var(--hud-fg); opacity: .7; }
.guide.has-feed .guide-view { background: transparent; border-color: transparent; box-shadow: none; }
.guide.has-feed .guide-feed { display: none; }
.guide-shadow { position: absolute; left: 12%; right: 12%; bottom: -6px; height: 14px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(8px); opacity: 0; }
.guide.has-feed .guide-shadow { opacity: 1; }
/* captions and controls: a film-style bar in the bottom band every beat reserves; data-at="top" is the fallback band */
.guide-bar { position: fixed; z-index: 24; left: var(--gutter); bottom: 20px; max-width: min(720px, calc(100vw - 2 * var(--gutter) - 380px)); display: grid; gap: 8px; pointer-events: none; }
.guide-bar > * { pointer-events: auto; }
.guide-bar[data-at="top"] { bottom: auto; top: 50px; }
.guide-bar[data-at="top-right"] { bottom: auto; top: 34px; left: auto; right: calc(var(--gutter) + 90px); justify-items: end; }
.guide-off .guide-bar { opacity: 0; transition: opacity .5s; }
.guide-bar[hidden] { display: none; }
.guide-cap { margin: 0; padding: 10px 16px; border-radius: 12px; background: var(--hud-bg); color: var(--hud-fg); border: 1px solid rgba(var(--acc-rgb), .5); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); font-size: 15px; line-height: 1.4; }
.guide-bar.is-talking .guide-cap { border-color: var(--acc); }
.guide-cap[hidden], .guide-bar.no-cap .guide-cap { display: none; }
.guide-ctl { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-ctl .s { display: none; }
.guide-ctl button { font: inherit; font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 999px; border: 1.5px solid rgba(var(--acc-rgb), .6); background: var(--hud-bg); color: var(--hud-fg); cursor: pointer; }
.guide-ctl button[aria-pressed="true"] { background: var(--acc); color: var(--hud-bg); border-color: var(--acc); }
/* Next lights when the line ends; the viewer advances */
.ctrl-next.is-lit { background: var(--acc); color: var(--c-black); animation: next-lit 1.4s ease-in-out infinite; }
@keyframes next-lit { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .6); } 50% { box-shadow: 0 0 0 10px rgba(var(--acc-rgb), 0); } }
.guide-off .guide { transform: translateX(140%); opacity: 0; }
.guide-chip { position: fixed; z-index: 24; right: calc(var(--gutter) + 72px); bottom: 92px; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1.5px solid var(--acc); background: var(--hud-bg); color: var(--hud-fg); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.guide-chip-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--acc); }
.guide-choice { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(0, 0, 0, .72); backdrop-filter: blur(10px); padding: 20px; }
.guide-choice[hidden] { display: none; }
.gc-card { width: min(520px, 100%); background: var(--c-stage-bg); color: var(--c-stage-fg); border: 1px solid rgba(255, 255, 255, .14); border-top: var(--rule) solid var(--c-stage-accent); border-radius: 18px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.gc-card .label { margin: 0 0 4px; color: var(--c-stage-muted); font-size: 12px; }
.gc-card h2 { margin: 0; font-family: var(--f-display); text-transform: uppercase; font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; letter-spacing: var(--t-display-track); }
.gc-role { margin: 2px 0 10px; font-size: 14px; color: var(--c-stage-muted); }
.gc-greet { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.gc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.gc-go, .gc-browse { font: inherit; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; cursor: pointer; }
.gc-go { background: var(--c-stage-accent); color: #000; border: 0; }
.gc-browse { background: none; color: var(--c-stage-fg); border: 1.5px solid rgba(255, 255, 255, .4); }
/* the turn */
.turn { position: relative; overflow: hidden; }
.turn .safe { position: relative; z-index: 2; max-width: 520px; }
.turn .st-line { font-family: var(--f-display); text-transform: uppercase; font-weight: 500; font-size: clamp(30px, 3.4vw, 54px); line-height: 1; letter-spacing: var(--t-display-track); max-width: 12ch; }
.turn-frame { position: absolute; z-index: 1; right: calc(var(--gutter) + 80px); top: 50%; width: min(46vw, 760px); aspect-ratio: 16 / 9; transform: translateY(-50%); border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: all 1.25s cubic-bezier(.7, 0, .2, 1); transition-property: width, right, top, transform, border-radius; }
.turn-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.turn-cap { position: absolute; left: 14px; bottom: 10px; margin: 0; color: #fff; opacity: .8; font-size: 11px; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.turn.is-in .turn-frame { right: 0; top: 0; width: 100vw; height: 100vh; aspect-ratio: auto; transform: none; border-radius: 0; }
.turn.is-in .safe { opacity: 0; transition: opacity .5s; }
.turn.is-in ~ * .hud, .guide-off .hud, .guide-off .rail { opacity: 0; transition: opacity .5s; }
@media (max-width: 767px) {
  .guide { --gh: 24vh; bottom: var(--guide-floor, 100px); }
  .guide[data-pos="br"], .guide[data-pos="mr"], .guide[data-pos="off"][data-side="right"], .guide[data-pos="off"]:not([data-side]) { right: var(--gutter); }
  .guide[data-size="aside"] { --gh: 16vh; }
  .guide-ctl button { font-size: 11px; padding: 6px 9px; }
  .guide-bar { bottom: 64px; max-width: calc(100vw - 2 * var(--gutter)); gap: 6px; }
  .guide-bar[data-at="top"] { top: 30px; }
  .guide-bar[data-at="top-right"] { top: 30px; right: var(--gutter); }
  .guide-cap { font-size: 12.5px; padding: 7px 11px; line-height: 1.35; }
  .guide-ctl { gap: 4px; }
  .guide-ctl button { font-size: 11.5px; padding: 5px 8px; }
  .guide-ctl .l { display: none; } .guide-ctl .s { display: inline; }
  .guide-chip { right: var(--gutter); bottom: 78px; font-size: 12px; }
  .gc-card { padding: 18px; }
  .turn-frame { right: var(--gutter); left: var(--gutter); top: auto; bottom: 110px; width: auto; transform: none; }
  .turn.is-in .turn-frame { left: 0; right: 0; bottom: 0; top: 0; width: 100vw; height: 100vh; }
}
@media (prefers-reduced-motion: reduce) { .ctrl-next.is-lit { animation: none; } .guide-stage { animation: none !important; transition: none; } }
.guide-bar.still * { transition: none !important; }
.guide[hidden], .guide-chip[hidden] { display: none; }

/* ---------- Film: a full-screen interlude ---------- */
.film { background: #000; padding: 0; }
.film-frame { position: absolute; inset: 0; z-index: 0; }
.film-vid { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; transition: opacity 1.4s ease; }
.film.is-done .film-vid { opacity: 0; }
.film-after { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1.6s ease .2s; pointer-events: none; }
.film.is-done .film-after { opacity: 1; }
.film > .film-safe { position: absolute; z-index: 2; left: var(--gutter); top: clamp(96px, 14vh, 150px); width: auto; max-width: 560px; margin: 0; opacity: 0; transition: opacity .9s ease; }
.film.is-done .film-safe { opacity: 1; }
.film-kicker { color: var(--acc); }
.film-line { font-family: var(--f-display); text-transform: uppercase; font-weight: 500; font-size: clamp(34px, 4.2vw, 72px); line-height: .92; letter-spacing: var(--t-display-track); max-width: 12ch; margin-top: 14px; }
.film-ctl { position: absolute; z-index: 3; left: var(--gutter); bottom: 96px; display: flex; align-items: center; gap: 10px; }
.film-sound, .film-replay { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: var(--c-white); border: 2px solid var(--acc); font-weight: 600; font-size: 14px; cursor: pointer; }
.film-replay { padding: 0 14px; display: none; }
.film.is-done .film-replay { display: inline-flex; }
.film-sound svg { width: 20px; height: 20px; }
.film-sound .w1, .film-sound .w2 { display: none; }
.film-sound[aria-pressed="true"] .w1, .film-sound[aria-pressed="true"] .w2 { display: inline; }
.film-sound[aria-pressed="true"] .x { display: none; }
.film-sound:focus-visible, .film-replay:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.film-cap { margin: 0 0 0 6px; color: var(--muted); font-size: 11px; }
.film-cue { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); margin: 0; color: var(--muted); opacity: 0; transition: opacity .6s ease 1.2s; }
.film.is-done .film-cue { opacity: 1; }
@media (max-width: 767px) {
  .film > .film-safe { top: 96px; max-width: calc(100vw - 2 * var(--gutter)); }
  .film-vid { object-fit: contain; }
  .film-ctl { bottom: 84px; flex-wrap: wrap; }
  .film-cap { display: none; }
}
/* The alt cutouts sit over the real ones and fade out on arrival (engine.js).
   Without JavaScript or under reduced motion the real photos show. */
.cast-alt { z-index: 3; opacity: 0; }
.motion .cast-alt { opacity: 1; }
.cast.duo .cast-alt.p1 { z-index: 4; }
.cast.duo .cast-alt.p2 { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .cast-alt { display: none; } }
/* the live feed (bake-off): a cutout, no clip, a status line while it connects */
.guide.has-feed .guide-view { border-radius: 0; }
.guide[data-feed="connecting"] .guide-feed { display: block; bottom: auto; top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 8px; background: var(--hud-bg); opacity: .9; }
.guide[data-feed="connecting"] .guide-view { outline: 1px dashed rgba(var(--acc-rgb), .35); outline-offset: -1px; }
.guide.needs-tap ~ .guide-bar [data-g="sound"] { background: var(--acc); color: var(--c-black); border-color: var(--acc); }
.guide[data-size="aside"] .guide-feed, .guide[data-size="chip"] .guide-feed { display: none !important; }

/* ---------------------------------------------------------------- Janice scene
   Her own HUD inside the story: near-black teal ground, the point-sphere orb,
   windows that open on real sources, and a transcript line. Identity colors
   from the real HUD: rest teal #1fe6c4, speaking yellow #ffd54a. */
.scene.beat { padding: 0; justify-content: stretch; background: #04090a; }
.scene .scene-body { position: absolute; inset: 0; height: auto; display: block; background: none; font-size: 16px; line-height: 1.45; }
.scene-body.ready .vis-fallback { display: none; }
.jx { --jt: 31, 230, 196; --jy: 255, 213, 74; --jfg: #dff7f2; --jdim: rgba(223, 247, 242, .62);
  position: absolute; inset: 0; overflow: hidden; color: var(--jfg); font-family: var(--f-body); cursor: pointer;
  background: radial-gradient(ellipse 70% 60% at 50% 46%, #0c1d1f 0%, #061011 55%, #04090a 100%); }
.jx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(var(--jt), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--jt), .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%); }
.jx-bar { position: absolute; z-index: 6; top: 34px; left: var(--gutter); right: calc(var(--gutter) + 72px); display: flex; align-items: center; gap: 24px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(var(--jt), .2); font-family: var(--f-label); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.jx-bar p { margin: 0; }
.jx-name { display: flex; align-items: center; gap: 10px; color: var(--jfg); }
.jx-name i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--jt)); box-shadow: 0 0 12px rgb(var(--jt)); }
.jx-state { color: rgb(var(--jt)); transition: color .3s ease-out; }
.jx[data-state="speaking"] .jx-state { color: rgb(var(--jy)); }
.jx[data-state="speaking"] .jx-name i { background: rgb(var(--jy)); box-shadow: 0 0 14px rgb(var(--jy)); }
.jx-clock { margin-left: auto !important; color: var(--jdim); }
.jx-orbwrap { position: absolute; z-index: 2; left: 50%; top: 46%; width: min(64vh, 620px); aspect-ratio: 1; max-width: 86vw;
  transform: translate(-50%, -50%); transition: left .9s cubic-bezier(.65, 0, .35, 1), top .9s cubic-bezier(.65, 0, .35, 1), width .9s cubic-bezier(.65, 0, .35, 1); }
.jx-orb { width: 100%; height: 100%; display: block; }
.jx.work .jx-orbwrap { left: calc(var(--gutter) + 110px); top: 205px; width: 260px; }
.jx-feed { position: absolute; z-index: 3; left: var(--gutter); top: 340px; bottom: 170px; width: 250px; opacity: 0; transition: opacity .5s ease-out .5s; overflow: hidden; }
.jx.work .jx-feed { opacity: 1; }
.jx-feed-h { margin: 0 0 10px; font-family: var(--f-label); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--jt)); }
.jx-feed ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; mask-image: linear-gradient(transparent 0, #000 44px); -webkit-mask-image: linear-gradient(transparent 0, #000 44px); }
.jx-feed li { display: grid; grid-template-columns: 46px 1fr; column-gap: 8px; font-size: 12.5px; line-height: 1.35; color: var(--jdim); }
.jx-feed li span { font-family: var(--f-label); font-size: 10.5px; letter-spacing: .12em; color: rgba(var(--jt), .8); padding-top: 2px; }
.jx-feed li b { font-weight: 600; color: var(--jfg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jx-feed li em { grid-column: 2; font-style: normal; }
.jx-feed li.ok em::before { content: "\2713  "; color: rgb(var(--jt)); }
.jx-desk { position: absolute; z-index: 4; left: calc(var(--gutter) + 280px); right: calc(var(--gutter) + 72px); top: 92px; bottom: 182px; pointer-events: none; }
.jx-canvas { position: absolute; left: 50%; top: 0; transform-origin: top center; transform: translateX(-50%) scale(var(--k, 1)); }
.jx-cal { position: absolute; z-index: 5; right: calc(var(--gutter) + 88px); top: 112px; width: 330px; padding: 18px 20px; border-radius: 12px;
  background: rgba(8, 22, 24, .9); border: 1px solid rgba(var(--jt), .35); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.jx-cal p { margin: 0; }
.jx-cal-k { font-family: var(--f-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--jt)); }
.jx-cal-t { font-family: var(--f-display); font-size: 54px; line-height: 1; margin-top: 8px !important; }
.jx-cal-n { font-weight: 600; font-size: 17px; margin-top: 4px !important; }
.jx-cal-s { display: inline-block; margin-top: 12px !important; padding: 4px 10px; border-radius: 999px; font-family: var(--f-label); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(var(--jt), .5); color: rgb(var(--jt)); }
.jx-cal.late { border-color: rgba(255, 107, 107, .7); }
.jx-cal.late .jx-cal-s { border-color: #ff6b6b; color: #ff8b8b; animation: jx-pulse 1.2s ease-in-out infinite; }
@keyframes jx-pulse { 50% { background: rgba(255, 107, 107, .18); } }
.jx-cap { position: absolute; z-index: 6; isolation: isolate; left: 50%; bottom: 66px; transform: translateX(-50%); width: min(1120px, calc(100% - 2 * var(--gutter) - 160px)); text-align: center; pointer-events: none; }
.jx-cap p { margin: 0; }
.jx-cap::before { content: ""; position: absolute; z-index: -1; inset: -26px -60px -22px; background: radial-gradient(ellipse at 50% 55%, rgba(4, 9, 10, .9) 30%, rgba(4, 9, 10, 0) 72%); }
.jx-say span { opacity: 0; transition: opacity .12s linear; }
.jx-say span.on { opacity: 1; }
.jx-who { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; min-height: 1.2em; color: var(--jdim); }
.jx-who[data-who="janice"] { color: rgb(var(--jy)); }
.jx-say { margin-top: 8px !important; font-size: clamp(19px, 1.95vw, 28px); line-height: 1.3; font-weight: 600; text-wrap: balance; min-height: 2.64em; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.jx-who[data-who="todd"] + .jx-say { color: var(--jdim); font-weight: 400; font-style: italic; }
.jx-cue { position: absolute; z-index: 7; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 14px; font-family: var(--f-label); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(223, 247, 242, .4); }
.jx-dots { display: flex; gap: 6px; opacity: .45; }
.jx-skip { opacity: 0; transition: opacity .2s ease-out; }
.jx:hover .jx-skip, .jx-skip:focus-visible { opacity: 1; }
.jx-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(var(--jt), .6); }
.jx-dots i.on { background: rgb(var(--jt)); }
.jx-cue button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: rgba(223, 247, 242, .55); background: none; border: 1px solid rgba(var(--jt), .3); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.jx-cue button:hover { color: var(--jfg); border-color: rgb(var(--jt)); }
.jx-replay:not([hidden]) { color: var(--jfg); border-color: rgb(var(--jt)); }
.jx[data-state="done"] .jx-hint { visibility: hidden; }

/* windows */
.jw { position: absolute; left: var(--x); top: var(--y); width: var(--ww); max-height: calc(100% - var(--y)); display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; cursor: default;
  border-radius: 10px; background: #0a1517; border: 1px solid rgba(var(--jt), .3); box-shadow: 0 24px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(18px) scale(.92) rotate(var(--r)); filter: blur(6px);
  transition: opacity .45s ease-out, transform .55s cubic-bezier(.2, .9, .3, 1.15), filter .45s ease-out; }
.jw.open { opacity: 1; transform: none; transform: rotate(var(--r)); filter: none; }
.jw.back { opacity: .12; transform: scale(.95) rotate(var(--r)); filter: saturate(.4) blur(4px); transition-duration: .7s; }
.jw.gone { opacity: 0; transform: scale(.85) rotate(var(--r)); filter: blur(8px); }
.jw-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #0f2124; border-bottom: 1px solid rgba(var(--jt), .2); }
.jw-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(223, 247, 242, .2); }
.jw-bar p { margin: 0 0 0 8px; flex: 1; min-width: 0; font-size: 12px; color: var(--jdim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jw-bar b { font-family: var(--f-label); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--jt)); }
.jw-bar b::before { content: "\2713"; margin-right: 5px; }
.jw-brief .jw-bar b { color: rgb(var(--jy)); }
@keyframes jx-blink { 50% { opacity: .25; } }
.jw-body { min-height: 0; overflow: hidden; }
.jw-shot img, .jw-video video { display: block; width: 100%; height: auto; }
.jw-video { background: #000; }
.jw-cap { margin: 0; padding: 7px 12px; font-size: 12px; color: var(--jdim); background: #0a1517; }
.jw-k { margin: 0 0 8px; font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--jt)); }
.jw-team .jw-body, .jw-record .jw-body, .jw-notice .jw-body, .jw-stat .jw-body, .jw-quote .jw-body { padding: 16px 18px 18px; }
.jw-team ul.jw-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jw-team li { display: flex; gap: 10px; align-items: center; min-width: 0; }
.jw-team li img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex: none; border: 1px solid rgba(var(--jt), .3); }
.jw-team li p { margin: 0; font-size: 12px; line-height: 1.3; color: var(--jdim); min-width: 0; }
.jw-team li p b { display: block; font-size: 13.5px; color: var(--jfg); white-space: nowrap; }
.jw-team li.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 92px auto minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid rgba(var(--jt), .18); }
.jw-team li.lead > p { flex: none; }
.jw-team li.lead img { width: 92px; height: 92px; }
.jw-team li.lead p b { font-size: 18px; }
.jw-bio { list-style: none; min-width: 0; margin: 0; padding: 0 0 0 16px; border-left: 1px solid rgba(var(--jt), .25); display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.35; }
.jw-bio li { display: block; position: relative; padding-left: 12px; }
.jw-bio li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--jt)); }
.jw-big { margin: 0; font-family: var(--f-display); font-size: 58px; line-height: 1; color: var(--jfg); }
.jw-sub { margin: 4px 0 0; font-size: 13px; color: var(--jdim); }
.jw-bars { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.jw-bars li { display: grid; grid-template-columns: 40px 1fr 56px; align-items: center; gap: 10px; font-size: 12px; color: var(--jdim); }
.jw-bars i { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, rgba(var(--jt), .5), rgb(var(--jt))); width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1) .3s; }
.jw.open .jw-bars i { width: var(--w); }
.jw-bars em { font-style: normal; color: var(--jfg); text-align: right; }
.jw-foot { margin: 12px 0 0; font-size: 11.5px; color: var(--jdim); }
.jw-title { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.3; }
.jw-dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; line-height: 1.35; }
.jw-dl dt { color: var(--jdim); }
.jw-dl dd { margin: 0; color: var(--jfg); }
.jw-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.jw-stats li { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: baseline; }
.jw-stats b { font-family: var(--f-display); font-weight: 400; font-size: 50px; line-height: 1; color: rgb(var(--jy)); grid-row: span 2; }
.jw-stats span { font-size: 14px; line-height: 1.35; }
.jw-stats em { font-style: normal; font-size: 11.5px; color: var(--jdim); }
.jw-quote blockquote { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 600; }
.jw-quote blockquote::before { content: "\201C"; color: rgb(var(--jt)); }
.jw-quote blockquote::after { content: "\201D"; color: rgb(var(--jt)); }

/* the brief: where she lands */
.jw-brief { left: 50%; width: 82%; transform: translate(-50%, 18px) scale(.92); border-color: rgba(var(--jy), .45); box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 60px rgba(var(--jy), .08); }
.jw-brief.open { transform: translateX(-50%); }
.jb { padding: 22px 26px 22px; }
.jb h3 { margin: 2px 0 0; font-family: var(--f-body); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.jb-s { margin: 6px 0 0; font-size: 14px; color: var(--jdim); }
.jb .jb-stats { list-style: none; margin: 16px 0 0; padding: 12px 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 36px; border-top: 1px solid rgba(var(--jt), .2); border-bottom: 1px solid rgba(var(--jt), .2); }
.jb-stats li { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--jdim); }
.jb-stats b { font-family: var(--f-display); font-weight: 400; font-size: 44px; line-height: 1; color: rgb(var(--jy)); }
.jb-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; margin-top: 16px; }
.jb-h { margin: 0 0 8px; font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--jt)); }
.jb-cols ol, .jb-cols ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.4; }
.jb ol li::marker { color: rgb(var(--jt)); font-family: var(--f-label); font-size: 12px; }
.jb ul li::marker { color: rgb(var(--jy)); }
.jb-f { margin: 16px 0 0; font-size: 12.5px; color: var(--jdim); }

@media (max-width: 1100px) {
  .jx-desk { left: calc(var(--gutter) + 210px); }
  .jx-feed { width: 190px; }
  .jx.work .jx-orbwrap { left: calc(var(--gutter) + 85px); width: 200px; top: 190px; }
  .jx-feed { top: 300px; }
}
@media (max-width: 767px) {
  .jx-bar { top: 30px; right: var(--gutter); gap: 12px; font-size: 11px; }
  .jx-clock { display: none; }
  .jx-orbwrap { top: 40%; width: 86vw; }
  .jx.work .jx-orbwrap { left: 50%; top: 104px; width: 110px; }
  .jx-feed { display: none; }
  .jx-desk { left: var(--gutter); right: var(--gutter); top: 162px; bottom: 270px; }
  .jw { left: 0; width: 100%; top: 0; max-height: 100%; }
  .jw.back { opacity: 0; }
  .jw-brief { left: 50%; width: 100%; top: 0; }
  .jb-cols > div:first-child { display: none; }
  .jb h3 { font-size: 38px; }
  .jw-team ul.jw-team { grid-template-columns: 1fr 1fr; }
  .jw-team li.lead img { width: 64px; height: 64px; }
  .jw-team li.lead { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; }
  .jw-team li.lead img { width: 56px; height: 56px; }
  .jw-bio { grid-column: 1 / -1; padding-left: 0; border-left: 0; font-size: 12.5px; }
  .jb-f, .jb-s { display: none; }
  .jb .jb-stats { margin-top: 10px; padding: 8px 0; }
  .jb-cols { margin-top: 10px; }
  .jb-cols ol, .jb-cols ul { font-size: 13px; gap: 4px; }
  .jb-cols { grid-template-columns: 1fr; gap: 12px; }
  .jb-stats { gap: 18px; }
  .jb-stats b { font-size: 32px; }
  .jx-cal { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 290px; }
  .jx-cap { bottom: 150px; width: calc(100% - 2 * var(--gutter)); }
  .jx-say { font-size: 17px; }
  .jx-cue { bottom: 104px; flex-wrap: wrap; }
  .jx-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jw, .jx-orbwrap, .jw-bars i { transition: none; }
}

/* ---- Janice listening: the wake button (fluent360, 10/22) */
.jx-wake { position: absolute; z-index: 8; left: 50%; bottom: clamp(110px, 15vh, 170px); transform: translateX(-50%); font: inherit; font-family: var(--f-label); letter-spacing: var(--t-label-track); text-transform: uppercase; font-size: 15px; color: #04110e; background: rgb(var(--jt)); border: 0; border-radius: 999px; padding: 16px 32px; cursor: pointer; box-shadow: 0 0 0 6px rgba(var(--jt), .18); }
.jx-wake:hover, .jx-wake:focus-visible { box-shadow: 0 0 0 10px rgba(var(--jt), .22); }

/* ---- live demos framed in place, and the demo shelf (fluent360, 10/22) */
.beat.demo .demo-safe, .beat.shelf .demo-safe { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 24px); min-height: 100vh; min-height: 100svh; padding-top: clamp(64px, 9vh, 96px); padding-bottom: clamp(84px, 11vh, 110px); box-sizing: border-box; }
.demo-head .label { margin: 0 0 8px; }
.demo-h { margin: 0; font-family: var(--f-display); text-transform: uppercase; letter-spacing: var(--t-display-track); font-size: clamp(34px, 4.2vw, 64px); line-height: .95; text-wrap: balance; }
.demo-line { margin: 10px 0 0; max-width: 62ch; color: var(--muted); font-size: clamp(16px, 1.2vw, 20px); }
.beat.demo .demo-body { position: relative; flex: 1; height: auto; min-height: 380px; }
.dx { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #0b0d0e; box-shadow: 0 24px 70px rgba(0, 0, 0, .32); }
.dx:fullscreen { border-radius: 0; }
.dx iframe { display: block; flex: 1; min-height: 0; width: 100%; height: auto; border: 0; background: #0b0d0e; }
.dx-launch { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 45%, rgba(var(--acc-rgb), .16), transparent 62%), #0b0d0e; }
.dx-run { font: inherit; font-family: var(--f-label); letter-spacing: var(--t-label-track); text-transform: uppercase; font-size: 15px; color: var(--c-white); background: var(--acc); border: 0; border-radius: 999px; padding: 16px 30px; cursor: pointer; transition: transform .2s ease-out; }
.dx-run:hover, .dx-run:focus-visible { transform: translateY(-2px); }
.dx-bar { position: static; display: flex; justify-content: flex-end; gap: 8px; padding: 8px 10px; background: #0b0d0e; }
.dx-btn { font: inherit; font-family: var(--f-label); letter-spacing: var(--t-label-track); text-transform: uppercase; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .62); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.dx-btn:hover, .dx-btn:focus-visible { background: rgba(0, 0, 0, .85); }
.dx-over { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; background: #050607; }
.dx-over[hidden] { display: none; }
.dx-over-bar { display: flex; align-items: center; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.dx-over-bar p { flex: 1; margin: 0; color: #fff; font-family: var(--f-label); letter-spacing: var(--t-label-track); text-transform: uppercase; font-size: 12px; }
.dx-over-frame { flex: 1; min-height: 0; }
.dx-over-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dx-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.dx-tile { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 10px; width: 100%; height: 100%; min-height: clamp(170px, 24vh, 260px); padding: clamp(18px, 1.8vw, 28px); border-radius: 8px; background: var(--c-black); color: var(--c-white); transition: translate .25s ease-out, box-shadow .25s ease-out; }
.dx-tile:hover, .dx-tile:focus-visible { translate: 0 -5px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.dx-tile .label { margin: 0; color: var(--acc); }
.dx-tile b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: var(--t-display-track); font-weight: 400; font-size: clamp(26px, 2.2vw, 36px); line-height: .95; }
.dx-tile span { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.4; flex: 1; }
.dx-tile i { font-style: normal; font-family: var(--f-label); letter-spacing: var(--t-label-track); text-transform: uppercase; font-size: 12px; color: var(--acc); }
html.demo-open { overflow: hidden; }
@media (max-width: 767px) {
  .beat.demo .demo-body { min-height: 62vh; }
}

/* ---- about the speaker: the record in numbers beside the photos (fluent360, 10/22) */
.about .ab { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: center; max-width: 1400px; min-height: 100vh; min-height: 100svh; padding-block: clamp(70px, 10vh, 110px); box-sizing: border-box; }
.ab-stats { list-style: none; margin: clamp(16px, 2.6vh, 30px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vh, 26px) clamp(18px, 2vw, 36px); }
.ab-stats li { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--acc); padding-top: 12px; min-width: 0; }
.ab-stats b { font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 4.8vw, 84px); line-height: .9; color: var(--acc); }
.ab-stats span { font-size: clamp(15px, 1.1vw, 19px); line-height: 1.35; }
.ab-roles { list-style: none; margin: clamp(18px, 3vh, 30px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ab-roles li { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.35; color: var(--muted); min-width: 0; }
.ab-roles .label { margin: 0; color: var(--fg); }
.ab-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ab-photos.n1 { grid-template-columns: 1fr; }
.ab-ph { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ab-ph img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.ab-photos.n2 .ab-ph:first-child { margin-top: clamp(24px, 6vh, 64px); }
.ab-ph figcaption { font-family: var(--f-label); letter-spacing: var(--t-label-track); text-transform: uppercase; font-size: 11px; color: var(--muted); }
@media (max-width: 1100px) { .ab-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .about .ab { grid-template-columns: 1fr; min-height: 0; }
  .ab-photos.n2 .ab-ph:first-child { margin-top: 0; }
}
.beat.shelf .shelf-body { height: auto; min-height: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; padding: 0; }
@media (min-width: 1200px) { .dx-shelf { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* the demo screen is exactly one viewport: the section's own padding clears the HUD, the frame takes the rest */
.beat.demo { height: 100vh; height: 100svh; min-height: 0; box-sizing: border-box; display: flex; flex-direction: column; }
.beat.demo .demo-safe { flex: 1; min-height: 0; width: 100%; padding-top: 0; padding-bottom: 0; }
.beat.shelf .demo-safe { min-height: 0; padding-top: 0; padding-bottom: 0; }
@media (min-width: 768px) and (max-height: 760px) { .pillars.beat { padding-top: 30px; padding-bottom: 96px; } }

/* ---- a story co-brand on the title and the close: client logo x brand mark (fluent360, 10/22) */
.cobrand-top { position: absolute; z-index: 3; left: max(var(--gutter), calc((100% - 1240px) / 2)); top: clamp(18px, 3.4vh, 40px); display: flex; align-items: center; gap: clamp(12px, 1.2vw, 20px); }
.cobrand-top .cb-client { display: block; height: clamp(46px, 4.8vw, 92px); width: auto; }
.cobrand-top .cb-x { color: var(--c-stage-muted); font-size: clamp(18px, 1.5vw, 26px); line-height: 1; }
.cobrand-top .cb-own { display: block; height: clamp(32px, 3.3vw, 62px); width: auto; }
@media (max-width: 767px) { .cobrand-top { top: 18px; } .cobrand-top .cb-client { height: 40px; } .cobrand-top .cb-own { height: 30px; } }
.stage:has(.cobrand-top) .stage-logo { display: none; }
@media (min-width: 768px) { .title:has(.cobrand-top) .safe { padding-top: 24px; } }
@media (min-width: 768px) and (max-height: 800px) { .title:has(.cobrand-top) .safe, .stage:has(.cobrand-top) .safe { padding-top: 48px; } }

/* ---------- flip: audience tiles, profile front and sample-persona back ---------- */
.flip-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(14px, 2.4vh, 26px); }
.flip { perspective: 1600px; cursor: pointer; height: min(62vh, 560px); }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.22, .8, .24, 1); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.flip-front { background: var(--c-black); color: var(--c-white); justify-content: flex-end; }
.flip-front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flip-front::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78)); }
.fl-front-text { position: relative; z-index: 1; padding: clamp(16px, 1.6vw, 24px); }
.fl-demo { font-size: 11px; margin: 0 0 6px; }
.fl-title { font-family: var(--f-display); font-size: clamp(22px, 1.9vw, 32px); line-height: 1.02; margin: 0 0 8px; }
.fl-desc { font-size: 14px; line-height: 1.4; margin: 0 0 14px; }
.flip-btn { font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; border: 2px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: 10px 16px; cursor: pointer; min-height: 44px; }
.flip-btn:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.flip-back { transform: rotateY(180deg); background: var(--c-white); color: var(--fg); padding: clamp(16px, 1.6vw, 24px); overflow-y: auto; }
.fl-tag { font-size: 10px; color: var(--acc); margin: 0 0 8px; }
.fl-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.05; margin: 0; }
.fl-who { font-size: 13px; margin: 4px 0 10px; color: var(--muted); }
.fl-quote { font-size: 15px; line-height: 1.35; font-weight: 600; margin: 0 0 12px; }
.fl-rows { margin: 0 0 12px; display: grid; gap: 8px; }
.fl-row dt { font-size: 10px; color: var(--acc); margin: 0 0 2px; }
.fl-row dd { margin: 0; font-size: 13px; line-height: 1.35; }
.flip-btn.back { margin-top: auto; align-self: flex-start; color: var(--acc); }
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; transform: none !important; }
  .flip-face { backface-visibility: visible; transition: opacity .2s linear; }
  .flip-back { transform: none; opacity: 0; visibility: hidden; }
  .flip.is-flipped .flip-back { opacity: 1; visibility: visible; }
  .flip.is-flipped .flip-front { visibility: hidden; }
}
@media (max-width: 767px) {
  .flip-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .flip-row::-webkit-scrollbar { display: none; }
  .flip { flex: 0 0 82%; scroll-snap-align: center; height: min(60vh, 520px); }
}

/* ---------- gallery: captioned mockups or a night in pictures ---------- */
.gl-grid { display: grid; grid-template-columns: repeat(var(--gl-n, 4), minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(12px, 2vh, 22px); }
.gl-grid.n3 { --gl-n: 3; } .gl-grid.n2 { --gl-n: 2; }
.gl-fig { margin: 0; }
.gl-fig img { display: block; width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 36px rgba(0, 0, 0, .14); }
.gl-fig figcaption { font-size: 13px; line-height: 1.35; padding-top: 8px; color: var(--muted); }
.gl-fig figcaption strong { display: block; color: var(--fg); font-size: 15px; }
.gl-tag { margin-top: 14px; font-size: 11px; color: var(--muted); }
.lay-mosaic .gl-grid { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; }
.lay-mosaic .gl-fig:first-child { grid-row: span 2; }
.lay-mosaic .gl-fig:first-child img { aspect-ratio: auto; height: calc(100% - 52px); min-height: 280px; }
.lay-mosaic .gl-fig:nth-child(4) { grid-column: 2 / span 2; }
.lay-mosaic .gl-fig:nth-child(4) img { aspect-ratio: 16 / 7; }
.lay-mosaic .gl-fig img { aspect-ratio: 4 / 3; }
@media (max-width: 767px) {
  .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gl-fig figcaption { font-size: 11px; padding-top: 5px; } .gl-fig figcaption strong { font-size: 12px; }
  .gl-fig figcaption span, .gl-fig figcaption { -webkit-line-clamp: 3; }
  .lay-mosaic .gl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lay-mosaic .gl-fig:first-child { grid-row: auto; grid-column: 1 / -1; }
  .lay-mosaic .gl-fig:first-child img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .lay-mosaic .gl-fig:nth-child(4) { grid-column: auto; }
  .lay-mosaic .gl-fig img, .lay-mosaic .gl-fig:nth-child(4) img { aspect-ratio: 1 / 1; }
}

/* ---------- listen: a show pitch with its pilot ---------- */
.ls-hosts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); margin: clamp(14px, 2.4vh, 26px) 0; }
.ls-host { background: var(--c-white); color: var(--fg); border-radius: 8px; padding: clamp(16px, 1.6vw, 26px); box-shadow: 0 14px 32px rgba(0, 0, 0, .1); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.ls-host img, .ls-initials { grid-row: span 3; width: clamp(64px, 6vw, 96px); height: clamp(64px, 6vw, 96px); border-radius: 50%; object-fit: cover; }
.ls-initials { display: grid; place-items: center; background: var(--acc); color: var(--c-white); font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 2vw, 34px); }
.ls-role { font-size: 10px; color: var(--acc); margin: 0; }
.ls-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 1.9vw, 32px); margin: 2px 0; line-height: 1.05; }
.ls-line { font-size: 14px; line-height: 1.4; margin: 0; }
.ls-player { margin: 0; background: var(--c-black); color: var(--c-white); border-radius: 8px; padding: clamp(14px, 1.4vw, 22px); max-width: 760px; }
.ls-ep { font-size: 11px; margin: 0 0 10px; }
.ls-player audio { width: 100%; display: block; }
.ls-player figcaption { font-size: 13px; margin-top: 10px; opacity: .85; }
@media (max-width: 767px) {
  .ls-hosts { grid-template-columns: 1fr; gap: 10px; margin: 12px 0; }
  .ls-host { padding: 12px 14px; }
}
.ls-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; margin-top: clamp(12px, 2vh, 22px); }
.ls-art { margin: 0; } .ls-art img { display: block; width: 100%; border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }
.has-art .ls-hosts { grid-template-columns: 1fr; gap: 8px; margin: 12px 0; }
.has-art .ls-host { padding: 10px 14px; display: block; } .has-art .ls-side .sec-line.lead { margin-top: 0; }
.ls-segs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.ls-segs li { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.ls-jump, .ls-break { font: inherit; font-size: 13px; cursor: pointer; border-radius: 999px; min-height: 36px; padding: 6px 12px; }
.ls-jump { background: transparent; border: 0; color: inherit; text-align: left; padding-left: 0; text-transform: capitalize; }
.ls-break { background: var(--c-white); color: var(--c-black); border: 0; font-weight: 700; white-space: nowrap; }
.ls-break[aria-pressed="true"] { background: var(--c-black); color: var(--c-white); }
.ls-jump:focus-visible, .ls-break:focus-visible { outline: 3px solid var(--c-white); outline-offset: 2px; }
@media (max-width: 767px) {
  .ls-split { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .has-art .ls-hosts, .has-art .ls-side .sec-line.lead { display: none; }
}
.has-art .ls-hosts { grid-template-columns: 1fr 1fr; }
.has-art .ls-host { padding: 8px 12px; box-shadow: none; } .has-art .ls-name { font-size: clamp(17px, 1.3vw, 22px); } .has-art .ls-line { font-size: 12px; line-height: 1.3; }
.has-art .ls-player { padding: 12px 16px; } .has-art .ls-player figcaption { margin-top: 6px; }
.has-art .ls-segs { margin-top: 8px; gap: 2px; } .has-art .ls-jump, .has-art .ls-break { min-height: 32px; padding-top: 4px; padding-bottom: 4px; font-size: 12px; }
.listen.has-art .sec-title { font-size: clamp(30px, 3vw, 50px); }
@media (max-width: 767px) { .has-art .ls-ep { display: none; } .has-art .ls-player { padding: 10px 12px; } .has-art .ls-player figcaption { font-size: 12px; } .listen.has-art .sec-title { font-size: clamp(28px, 8vw, 36px); } .listen.has-art .sec-foot { font-size: 11px; margin-top: 6px; } }
.ls-segs .ls-jump { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
.ls-live { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--c-black); color: var(--c-white); }
.ls-live[hidden] { display: none; } .ls-state { margin: 0; font-size: 13px; font-weight: 600; }
.ls-end { background: var(--c-white); color: var(--c-black); }
.ls-split > *, .ls-side, .ls-player, .ls-segs li { min-width: 0; }
@media (max-width: 767px) { .ls-split { grid-template-columns: minmax(0, 1fr); } }
.ls-segs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ls-segs .ls-jump { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; padding-top: 0; padding-bottom: 0; min-height: 0; max-height: 2.6em; align-self: center; }
.ls-break { flex: 0 0 auto; }
@media (min-width: 768px) { .listen.has-art .ls-split { margin-right: clamp(64px, 6vw, 96px); } }
.ls-segs .ls-jump { padding-left: 2px; }
@media (min-width: 768px) and (max-width: 1199px), (min-width: 768px) and (max-height: 820px) { .has-art .ls-side .sec-line.lead { font-size: 15px; margin-bottom: 0; } .has-art .ls-hosts { display: none; } }

/* ---------- flip: text tiles (roles) and the back's item list ---------- */
.flip.is-text .flip-front { background: var(--c-white); color: var(--fg); justify-content: flex-start; border-top: 6px solid var(--acc); }
.flip.is-text .flip-front::after { display: none; }
.flip.is-text .fl-front-text { display: flex; flex-direction: column; height: 100%; }
.flip.is-text .fl-desc { font-size: 15px; } .flip.is-text .flip-btn { margin-top: auto; align-self: flex-start; }
.flip.is-text.is-pick .flip-front { background: var(--acc); color: var(--c-white); border-top-color: var(--c-white); }
.fl-items { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.35; }
.flip-row.n3 .flip.is-text { height: min(46vh, 420px); }
@media (max-width: 767px) { .flip.is-text { height: min(52vh, 440px); } .fl-items { font-size: 13px; gap: 4px; } }

/* ---------- gallery: open a mockup large ---------- */
.gl-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; }
.gl-open:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.gl-zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--c-white); color: var(--c-black); display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
dialog.lightbox { border: 0; padding: 0; width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border-radius: 12px; background: var(--c-white); color: var(--c-black); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .62); }
.lb-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); max-height: calc(100vh - 32px); }
.lb-grid > img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: contain; background: #111; display: block; }
.lb-card { padding: clamp(18px, 2vw, 30px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.lb-tag { font-size: 10px; margin: 0; } .lb-title { font-family: var(--f-display); font-size: clamp(22px, 2vw, 32px); line-height: 1.05; margin: 0; }
.lb-what { font-size: 15px; line-height: 1.45; margin: 0; }
.lb-sec p { font-size: 10px; margin: 6px 0 4px; } .lb-sec ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.4; display: grid; gap: 3px; }
.lb-close { margin-top: auto; align-self: flex-start; font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; border: 2px solid currentColor; background: transparent; color: inherit; }
@media (max-width: 767px) { .lb-grid { grid-template-columns: 1fr; overflow-y: auto; } .lb-grid > img { max-height: 46vh; height: auto; } .lb-card { overflow: visible; } }

/* ---------- listen: the show running in a phone ---------- */
.has-phone .ls-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 56px); align-items: center; }
.has-phone .ls-hosts { grid-template-columns: 1fr 1fr; }
.ls-how { font-size: 15px; line-height: 1.45; margin: 10px 0; max-width: 46ch; }
.ls-cap { font-size: 11px; color: var(--acc); }
.ph-wrap { display: flex; justify-content: center; }
.ph { position: relative; width: min(340px, calc((100vh - 120px) * .48)); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 11px; background: #17110f; box-shadow: 0 30px 70px rgba(0, 0, 0, .3), inset 0 0 0 2px #3a2d28; }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--c-white); display: flex; flex-direction: column; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 22px 4px; font-size: 12px; font-weight: 700; color: var(--c-black); }
.ph-isl { width: 84px; height: 22px; border-radius: 12px; background: #17110f; }
.ph-app { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 90px; scrollbar-width: none; }
.ph-app::-webkit-scrollbar { display: none; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 10px; }
.ph-logo { width: 34px; height: 16px; color: var(--acc); }
.ph-ed { font-family: var(--f-label); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-black); }
.ph-show img { display: block; width: 100%; border-radius: 12px; }
.ph-sec { font-size: 10px; margin: 14px 2px 8px; color: var(--acc); }
.ph-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ph-story { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--c-black); background: none; border: 0; padding: 0; }
.ph-story img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.ph-story.is-lead { grid-template-columns: 1fr; }
.ph-story.is-lead img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.ph-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ph-kick { font-family: var(--f-label); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.ph-h { font-family: var(--f-display); font-weight: 800; font-size: 13px; line-height: 1.2; }
.ph-story.is-lead .ph-h { font-size: 16px; }
.ph-play { display: inline-flex; align-self: flex-start; align-items: center; gap: 4px; margin-top: 3px; padding: 4px 9px 4px 6px; border-radius: 999px; background: var(--acc); color: var(--c-white); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.ph-play svg { width: 12px; height: 12px; }
.ph-story.is-play { cursor: pointer; } .ph-story.is-play:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
.ph-story.is-on .ph-play { background: var(--c-black); }
.ph-player { position: absolute; left: 8px; right: 8px; bottom: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 10px 10px 14px 14px; border-radius: 18px; background: var(--c-black); color: var(--c-white); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ph-player[hidden], .ph-talk[hidden] { display: none; }
.ph-np { min-width: 0; display: flex; flex-direction: column; } .ph-k { font-size: 8px; color: var(--acc); }
.ph-t { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-pp { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--c-white); color: var(--c-black); display: grid; place-items: center; cursor: pointer; }
.ph-pp svg { width: 18px; height: 18px; } .ph-pp svg + svg { display: none; } .ph:not(.is-playing) .ph-pp svg:first-child { display: none; } .ph:not(.is-playing) .ph-pp svg + svg { display: block; }
.ph-ask { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--acc); color: var(--c-white); font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ph-ask svg { width: 16px; height: 16px; } .ph-ask[hidden] { display: none; }
.ph-prog { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; } .ph-prog i { display: block; height: 100%; width: 0; background: var(--acc); }
.ph-talk { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px 22px; text-align: center; background: var(--c-black); color: var(--c-white); }
.ph-orb { position: relative; width: 110px; height: 110px; margin-bottom: 10px; }
.ph-orb i { position: absolute; inset: 0; border-radius: 50%; background: var(--acc); opacity: .35; animation: ph-pulse 1.8s ease-out infinite; }
.ph-orb i:nth-child(2) { animation-delay: .6s; } .ph-orb i:nth-child(3) { animation-delay: 1.2s; }
.ph-talk[data-state="speaking"] .ph-orb i { animation-duration: .9s; }
@keyframes ph-pulse { from { transform: scale(.45); opacity: .7; } to { transform: scale(1); opacity: 0; } }
.ph-tkk { font-size: 10px; color: var(--acc); margin: 0; } .ph-tkctx { font-size: 13px; font-weight: 700; margin: 0; } .ph-tkstate { font-size: 13px; margin: 0; min-height: 3em; }
.ph-end { margin-top: 8px; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--acc); color: var(--c-white); font-weight: 700; font-size: 12px; cursor: pointer; }
.ph-fine { font-size: 10px; opacity: .7; margin: 6px 0 0; }
@media (prefers-reduced-motion: reduce) { .ph-orb i { animation: none; opacity: .5; transform: scale(.8); } }
@media (max-width: 767px) {
  .has-phone .ls-split { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .has-phone .ls-side { display: none; }
  .ph { width: 100%; aspect-ratio: auto; height: min(62vh, 560px); border-radius: 30px; padding: 7px; }
  .ph-screen { border-radius: 24px; } .ph-status { display: none; }
  .ph-app { padding-top: 6px; }
}
.flip-row.n3 .flip.is-text { height: min(58vh, 520px); } .flip.is-text .fl-items { font-size: 13px; gap: 4px; } .flip.is-text .fl-who { font-size: 12px; }
@media (max-width: 767px) { .flip.is-text { height: min(60vh, 500px); } }
.has-phone .ls-host { display: block; padding: 10px 12px; box-shadow: none; } .has-phone .ls-name { font-size: clamp(17px, 1.3vw, 22px); } .has-phone .ls-line { font-size: 12px; line-height: 1.3; }
.has-phone .ls-split { align-items: start; margin-top: clamp(8px, 1.4vh, 16px); }
.ph { width: auto; height: min(calc(100vh - 230px), 660px); }
@media (max-width: 767px) { .ph { width: 100%; height: min(calc(100vh - 330px), 520px); } }
.ph { height: min(calc(100vh - 340px), 620px); } @media (max-width: 767px) { .ph { height: min(calc(100vh - 340px), 520px); } }
@media (min-width: 768px) { .has-phone .ls-split { margin-right: clamp(64px, 6vw, 96px); } .ph { height: min(calc(100vh - 300px), 640px); } }
@media (min-width: 768px) {
  .listen.has-phone { position: relative; }
  .has-phone .ls-split { display: block; margin-right: 0; max-width: calc(100% - min(360px, (100vh - 150px) * .47) - 140px); }
  .has-phone .ph-wrap { position: absolute; top: 70px; bottom: 70px; right: calc(var(--gutter) + clamp(64px, 6vw, 96px)); display: flex; align-items: center; }
  .has-phone .ph { height: min(calc(100vh - 150px), 720px); }
}
@media (min-width: 768px) { .has-phone .sec-head, .has-phone .sec-foot { max-width: calc(100% - min(360px, (100vh - 150px) * .47) - 140px); } .has-phone .sec-title { font-size: clamp(30px, 3vw, 50px) !important; } }

/* ---------- flip: WebKit-safe faces (iOS Safari draws the back face's mirror through
   backface-visibility). Both faces carry the prefixed property and their own Z, and once
   the turn passes 90 degrees the face pointing away is taken out with visibility. ---------- */
.flip { transform: none; }  /* the rise-in motion runs on .flip-row, so a tile is never a transformed 3D parent */
.flip-inner { -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.flip-face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip-front { -webkit-transform: rotateY(0deg) translateZ(1px); transform: rotateY(0deg) translateZ(1px); visibility: visible; transition: visibility 0s linear .35s; }
.flip-back { -webkit-transform: rotateY(180deg) translateZ(1px); transform: rotateY(180deg) translateZ(1px); visibility: hidden; transition: visibility 0s linear .35s; }
.flip.is-flipped .flip-front { visibility: hidden; }
.flip.is-flipped .flip-back { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .flip-front, .flip-back { -webkit-transform: none; transform: none; transition: none; }
}

/* ---------------- live-show layer (opt-in, Global Mixx panel 11/10) ----------------
   Beat background: story.json "bg" on any beat but stage lays a muted loop under the beat
   with a scrim (--bg-overlay replaces it). Show bar: story.json "showbar", present mode only.
   Present transition: story.json "present": {"transition": "wipe"}. Clip lower third: "lower"
   on a beat's clip. Stories that set none of these render exactly as before. */
.beat.has-bg { isolation: isolate; }
.beat-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #000; }
.beat-bg video, .beat-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--bg-pos, 50% 50%); display: block; }
.beat-bg::after { content: ""; position: absolute; inset: 0; background: var(--bg-overlay, linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .58))); }
.showbar { display: none; }
.present .showbar { position: fixed; z-index: 75; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); pointer-events: none; color: var(--c-stage-fg); transition: opacity .4s ease-out; }
.sb-parts { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sb-parts li { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; padding: 4px 10px; opacity: .5; transition: opacity .4s ease-out, background-color .4s ease-out, color .4s ease-out; }
.sb-parts li.past { opacity: .8; }
.sb-parts li[aria-current] { opacity: 1; background: var(--c-stage-accent); color: var(--c-stage-bg); }
.sb-title { margin-left: auto; text-align: right; }
.sb-t, .sb-s { margin: 0; }
.sb-logo { display: block; height: 32px; width: auto; }
.p-tx { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
.p-tx.in-beat, .p-tx.out-beat, .p-tx.in-part, .p-tx.out-part { visibility: visible; }
.tx-dip { position: absolute; inset: 0; background: #000; opacity: 0; }
.p-tx.in-beat .tx-dip { animation: tx-dip-in .16s ease-in both; }
.p-tx.out-beat .tx-dip { animation: tx-dip-out .34s ease-out both; }
@keyframes tx-dip-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tx-dip-out { from { opacity: 1; } to { opacity: 0; } }
.tx-bars { position: absolute; inset: 0; display: flex; }
.tx-bars i { flex: 1; background: var(--tx-c, var(--c-stage-accent)); transform: translateY(-101%); }
.tx-bars i:nth-child(even) { --tx-c: var(--c-stage-bg); }
.p-tx.in-part .tx-bars i { animation: tx-bar-in .26s cubic-bezier(.55, 0, .45, 1) both; }
.p-tx.out-part .tx-bars i { animation: tx-bar-out .26s cubic-bezier(.55, 0, .45, 1) both; transform: translateY(0); }
.tx-bars i:nth-child(2) { animation-delay: .035s !important; } .tx-bars i:nth-child(3) { animation-delay: .07s !important; } .tx-bars i:nth-child(4) { animation-delay: .105s !important; }
.tx-bars i:nth-child(5) { animation-delay: .14s !important; } .tx-bars i:nth-child(6) { animation-delay: .175s !important; } .tx-bars i:nth-child(7) { animation-delay: .21s !important; } .tx-bars i:nth-child(8) { animation-delay: .245s !important; }
@keyframes tx-bar-in { from { transform: translateY(-101%); } to { transform: translateY(0); } }
@keyframes tx-bar-out { from { transform: translateY(0); } to { transform: translateY(101%); } }
.clip-lower { display: none; }
.p-clip .clip-lower { position: absolute; z-index: 2; left: 6vw; bottom: 10vh; align-items: center; gap: 24px; }
.p-clip .clip-lower.on { display: flex; }
.cl-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.cl-box { background: rgba(0, 0, 0, .82); color: #fff; padding: 14px 24px; }
.cl-name, .cl-role, .cl-kicker { margin: 0; }
@media (prefers-reduced-motion: reduce) { .p-tx { display: none; } }
