/* Jargonica: the site stylesheet, from the OE site engine (opuselixir.com player and card deck). */
:root {
  /* PROPOSED palette for Jargonica, taken from its logo (cream, ink, honey) and its character sheet (deep teal ground,
     coral lid). Waits for the owner's approval; never another brand's palette (owner, OE-291). Contrast on cream:
     ink 17:1, muted 8:1, accent text 7:1; honey is a fill only (ink on honey 10:1), coral is decoration only. */
  --bg: #fcf9f0;
  --bg-alt: #f6eedb;
  --text: #14141c;
  --muted: #45454f;
  --line: #e3d7ba;
  --navy: #14141c;
  --accent: #7a4a00;
  --accent-ink: #ffffff;
  --accent-hover: #5c3700;
  --tint: #fbecc4;
  --honey: #ffb81c;
  --honey-hover: #ffc847;
  --ink: #14141c;
  --coral: #e8503a;
  --screen: #0f3f4a;
  --screen-2: #0b3039;
  --poster: #ffb81c;
  --foot: #0b3039;
  --foot-text: #fff6e3;
  --head-bg: rgba(252, 249, 240, .94);
  --focus: #0b57d0;
  --err: #b42318;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 16px;
  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b3039; --bg-alt: #0f3f4a; --text: #fff6e3; --muted: #cfdcd8; --line: #2a5d69; --navy: #fff6e3;
  --accent: #ffb81c; --accent-ink: #14141c; --accent-hover: #ffc847; --tint: #134a56; --screen: #072229; --screen-2: #0b3039;
  --foot: #072229; --head-bg: rgba(11, 48, 57, .94); --focus: #ffd36b; --err: #ff9b8a; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 20px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; }
.eyebrow, .tag { font: 700 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 .5rem; }
.accent { color: var(--accent); }
.badge { display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--tint); color: var(--accent); padding: 6px 8px; border-radius: 6px; margin-right: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 0 20px; border-radius: 10px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost, .btn-ghost-dark { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover, .btn-ghost-dark:hover { border-color: var(--navy); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--head-bg); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
/* The films' logo (OE-334): the shield R as two CSS masks, so the shield follows the theme and the stroke stays gold. */
.mark { position: relative; width: 27px; height: 32px; flex: none; }
.mark i { position: absolute; inset: 0; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.mark .mark-body { background: var(--navy); -webkit-mask-image: url(brand/mark-body.png); mask-image: url(brand/mark-body.png); }
.mark .mark-stroke { background: #c9a03e; -webkit-mask-image: url(brand/mark-stroke.png); mask-image: url(brand/mark-stroke.png); }
.wordmark { font: 800 1.2rem/1 var(--sans); letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--text); text-decoration: none; padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: .96rem; }
.site-nav a:not(.btn):hover { background: var(--bg-alt); }
.site-nav a[aria-current]:not(.btn) { color: var(--accent); }
.site-nav .btn { margin-left: 8px; background: var(--accent); color: var(--accent-ink); }
.head-tools { display: flex; align-items: center; order: 3; }
.theme-toggle, .nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; color: var(--navy); cursor: pointer; }
.theme-toggle:hover { background: var(--bg-alt); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun, :root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav-toggle { display: grid; margin-right: -10px; }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; } .bars::after { top: 7px; }
  [aria-expanded="true"] .bars { background: transparent; }
  [aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { margin: 16px 0 0; justify-content: center; }
}

/* Hero: the promise, then the video that explains it */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--bg-alt), var(--bg) 70%); }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto clamp(28px, 4vw, 44px); }
.hero-copy .lede { margin: 0 auto 1.6em; }
.hero-copy .cta-row { justify-content: center; }

/* Sections */
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-alt { background: var(--bg-alt); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; flex: 1; }
.split-v { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .split-v { grid-template-columns: 1fr; } }

/* Video slots: idea title first, then the explainer */
.vslot { margin: 0; display: flex; flex-direction: column; }
.vslot figcaption { display: grid; gap: 2px; margin-bottom: 12px; }
.vslot .q { font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--navy); }
.vs-screen { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 100% at 50% 0, var(--screen-2), var(--screen)); }
.vs-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vs-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--poster); }
.vs-play:disabled { cursor: default; }
.vs-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vs-play:not(:disabled):hover .vs-thumb { transform: scale(1.03); }
.vs-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.vs-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.vs-play:disabled .vs-btn { display: none; }
.vs-play:not(:disabled):hover .vs-btn { transform: scale(1.08); }
.vs-badge { position: absolute; right: 10px; bottom: 10px; font: 700 .66rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); padding: 6px 8px; border-radius: 6px; }
.vrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.vrow.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .vrow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .vrow, .vrow.two { grid-template-columns: 1fr; } }

/* Hero poster motion (the ward): five areas light in turn; paused off screen; off for reduced motion */
.ward .stop-a { stop-color: var(--poster); }
.ward .rings { stroke: var(--poster); }
.ward .core path { fill: var(--screen); stroke: var(--poster); }
.ward .core circle { fill: #fff; }
.ward .sweep { transform-origin: 220px 220px; animation: sweep 9s linear infinite; }
.ward .node circle { fill: var(--screen); stroke: var(--poster); stroke-width: 2.5; animation: ping 9s linear infinite; }
.ward .node text { fill: #9fb0c3; font: 600 15px var(--sans); animation: label 9s linear infinite; }
.ward .n2 * { animation-delay: 1.8s; } .ward .n3 * { animation-delay: 3.6s; } .ward .n4 * { animation-delay: 5.4s; } .ward .n5 * { animation-delay: 7.2s; }
@keyframes sweep { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@keyframes ping { 0%, 4% { fill: var(--screen); } 7%, 22% { fill: var(--poster); } 30%, 100% { fill: var(--screen); } }
@keyframes label { 0%, 4% { fill: #9fb0c3; } 7%, 22% { fill: #fff; } 30%, 100% { fill: #9fb0c3; } }
.ward.paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .ward * { animation: none !important; } }

/* Page heads, topics, lists */
.page-head { background: var(--bg-alt); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20em; }
.page-head .split-v h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.jump, .chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a, .chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: .92rem; text-decoration: none; }
.jump a:hover { border-color: var(--accent); color: var(--accent); }
.page-head .chips { margin-bottom: 24px; }
.topics { padding-top: 16px; padding-bottom: 48px; }
.topic { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px clamp(24px, 5vw, 56px); align-items: start; padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.topic:last-child { border-bottom: 0; }
.topic h2 { font-size: 1.4rem; }
.next-h { font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }
@media (max-width: 760px) { .topic { grid-template-columns: 1fr; } }
.flow { list-style: none; counter-reset: f; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; margin: 20px 0; }
.flow li { counter-increment: f; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; color: var(--navy); }
.flow li::before { content: counter(f, decimal-leading-zero) "  "; color: var(--accent); }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; }
.ticks li { padding: 4px 0; }
.ticks li::before, .promise-line li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 700; }
.promise-line { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.prose-page { max-width: 760px; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 88px); }
.prose-page h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose-page h2:first-child { margin-top: 0; }

/* Watch: a light page around the player, the channel's list beside it */
.theatre { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.theatre h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.theatre-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .theatre-grid { grid-template-columns: 1fr; } }
.now { padding: 18px 2px 0; }
.now-kick { font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; min-height: 1em; }
.now-title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: .2em; }
.now-meta { color: var(--muted); }
.now-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.auto { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; color: var(--muted); }
.auto input { width: 18px; height: 18px; accent-color: var(--accent); }
.queue-col { border: 1px solid var(--line); border-radius: 16px; padding: 16px 8px 8px; max-height: 680px; display: flex; flex-direction: column; background: var(--bg); }
.q-h { font-size: 1rem; padding: 0 10px 10px; margin: 0; }
.queue { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.q-none { padding: 0 10px 10px; }
.note { margin-top: 24px; }

/* Contact form */
.cform { display: grid; gap: 18px; margin-bottom: 48px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid #cbd5e1; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { border-color: var(--line); background: var(--bg-alt); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--err); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .btn { justify-self: start; }
.form-status { min-height: 1.5em; margin: 0; }
.form-status.err { color: var(--err); }
.done { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 40px; }

/* Footer */
.site-foot { background: var(--foot); color: var(--foot-text); padding: 52px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { font-weight: 800; font-size: 1.25rem; color: #fff; margin: 0 0 .3em; }
.foot-tag { color: #fff; margin-bottom: .3em; }
.site-foot .muted { color: var(--foot-text); }
.foot-h { font: 700 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 6px 0 14px; }
.site-foot nav a { display: block; color: var(--foot-text); text-decoration: none; padding: 6px 0; }
.site-foot nav a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-base p { margin: 0; max-width: 46em; }
.foot-base a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Gentle, transform-only reveal (never hides content) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .band .wrap > *, .topic { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes drift { from { transform: translateY(24px); } to { transform: none; } }

/* Preview only */
.preview-bar { background: #fde68a; color: #0f172a; font: 600 .86rem/1.4 var(--sans); text-align: center; padding: 8px 16px; }
.is-preview [data-confirm] { outline: 2px dashed #d97706; outline-offset: 6px; border-radius: 4px; }

/* Titles of different lengths keep the screens in a row aligned */
@media (min-width: 621px) { .vrow .vslot figcaption { min-height: 3.9em; } }

/* Without its video a block is text only (OE-300) */
.split-v:has(> .vslot[hidden]), .topic:has(> .vslot[hidden]) { grid-template-columns: 1fr; }
.topic:has(> .vslot[hidden]) { padding: 28px 0; }
.sec-head + .jump { margin-top: 0; }
.jump { list-style: none; }
.band:has([data-video-group][hidden]) { padding: clamp(32px, 5vw, 56px) 0; }
.band:has([data-video-group][hidden]) .promise-line { margin-top: 0; }

/* Explainer cards play in the one player; the card that is playing says so */
.vs-play:not(:disabled):hover .vs-btn, .vs-play:focus-visible .vs-btn { transform: scale(1.08); }
.vslot.is-now .vs-screen { box-shadow: 0 0 0 3px var(--accent); }
.vslot.is-now .vs-badge { background: var(--accent); color: var(--accent-ink); }
.vslot.is-now .vs-badge::before { content: "Now playing · "; }

/* Home: the player leads, with what comes after the latest beside it */
.stage-wrap { max-width: 1160px; margin: 0 auto; display: grid; gap: 24px; }
.stage-wrap:has(> [data-rail]:not([hidden])) { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
@media (max-width: 960px) { .stage-wrap:has(> [data-rail]:not([hidden])) { grid-template-columns: 1fr; } }
.rail-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; margin: 2px 0 10px; }
.rail-h .more { font-size: .9rem; }
.rail-list, .queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.queue { overflow-y: auto; }

/* Lists of the channel's videos: every item plays in the player */
[data-library] button { width: 100%; display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: start; padding: 8px; background: none; border: 0; border-radius: 10px; color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: background .2s; }
.rail-list button { grid-template-columns: 112px 1fr; }
[data-library] button:hover { background: var(--bg-alt); }
[data-library] button[aria-current="true"] { background: var(--tint); }
.lib-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; background: var(--screen); aspect-ratio: 16 / 9; }
.lib-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
[data-library] button:hover .lib-thumb img { transform: scale(1.05); }
.lib-badge { position: absolute; left: 6px; top: 6px; font: 700 .6rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 4px 6px; border-radius: 4px; }
.lib-now { position: absolute; inset: 0; display: none; place-content: center; grid-auto-flow: column; align-items: end; gap: 3px; background: rgba(5, 10, 20, .55); }
[aria-current="true"] .lib-now { display: grid; }
.lib-now i { width: 3px; height: 14px; border-radius: 2px; background: var(--poster); transform-origin: 50% 100%; transform: scaleY(.4); }
@media (prefers-reduced-motion: no-preference) { .rw-playing [aria-current="true"] .lib-now i { animation: eq 1s ease-in-out infinite; } .rw-playing [aria-current="true"] .lib-now i:nth-child(2) { animation-delay: -.3s; } .rw-playing [aria-current="true"] .lib-now i:nth-child(3) { animation-delay: -.6s; } }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.lib-text { min-width: 0; }
.qt { font-size: .92rem; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qd { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* Home hero with the player: shorter copy block so the screen starts above the fold */
.home .hero { padding-top: clamp(28px, 4vw, 52px); }
.home .hero-copy { margin-bottom: clamp(22px, 3vw, 34px); }
.home .hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.home .hero-copy .lede { margin-bottom: 1.1em; }
.vslot.is-now .vs-badge { font-size: 0; }
.vslot.is-now .vs-badge::before { content: "Now playing"; font-size: .66rem; }

/* ---------- The audience deck (OE-320) ----------
   Modelled on opuselixir.com's "three ways in": a horizontal row of cards, a scene on each, a number, the audience
   and one line. Arrows step card by card at the row's edges; phones swipe, with the next card peeking. */
.band-ways { padding-top: clamp(40px, 6vw, 72px); }
.band-ways .sec-head { align-items: end; }
.band-ways .sec-head .eyebrow { margin-bottom: .4rem; }
.deck-wrap { position: relative; --gutter: var(--pad); }
.deck {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  touch-action: pan-x pan-y; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  margin: -24px calc(-1 * var(--gutter)) -28px; padding: 24px var(--gutter) 28px; scroll-padding: 0 var(--gutter);
}
.deck::-webkit-scrollbar { display: none; }
.deck > * { scroll-snap-align: start; }
.deck:focus-visible { outline-offset: -3px; }
@media (max-width: 1000px) { .deck { grid-auto-columns: calc((100% - 20px) / 2.15); } }
@media (max-width: 620px) { .deck { grid-auto-columns: calc((100% + var(--gutter) - 14px) / 1.15); gap: 14px; } }
.deck-wrap.has-more::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(-1 * var(--gutter)); width: 40px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--bg)); }
@media (max-width: 620px) { .deck-wrap.has-more::after { width: 18px; } }
.deck-btn { position: absolute; z-index: 4; top: var(--arrow-y, 35%); transform: translateY(-50%); width: 60px; height: 60px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; transition: opacity .3s, visibility .3s; }
.deck-btn::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 10px 28px -10px rgba(11, 37, 69, .45); transition: background .25s, box-shadow .25s; }
.deck-btn svg { position: relative; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deck-btn.prev { left: calc(-1 * var(--gutter) + 2px); } .deck-btn.next { right: calc(-1 * var(--gutter) + 2px); }
@media (min-width: 1290px) { .deck-btn.prev { left: -34px; } .deck-btn.next { right: -34px; } }
.deck-btn:hover:not(:disabled), .deck-btn:focus-visible { color: var(--accent-ink); }
.deck-btn:hover:not(:disabled)::before, .deck-btn:focus-visible::before { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.deck-btn:focus-visible { outline: none; }
.deck-btn:disabled { opacity: 0; visibility: hidden; }
@media (hover: none) { .deck-btn { width: 44px; height: 44px; opacity: .9; } .deck-btn::before { inset: 5px; } .deck-btn svg { width: 16px; height: 16px; } }

.way { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.way:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(11, 37, 69, .45); }
.way-art { position: relative; aspect-ratio: 400 / 230; border-radius: 10px; overflow: hidden; background: var(--screen); margin-bottom: 8px; }
.way-art > a { display: block; width: 100%; height: 100%; }
.way-art .motif { width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.way:hover .motif { transform: scale(1.04); }
.way-art .m-eye { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .way:hover .m-eye, .way.is-now .m-eye { animation: blink 2.4s var(--ease) infinite; } }
@keyframes blink { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }
.way-soon { position: absolute; right: 10px; bottom: 10px; font: 700 .64rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .55); padding: 6px 8px; border-radius: 6px; pointer-events: none; }
.way-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; font: inherit; }
.way-btn { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.way-btn svg { width: 24px; height: 24px; margin-left: 3px; }
.way-play:hover .way-btn, .way-play:focus-visible .way-btn { transform: scale(1.08); }
.way-play:focus-visible { outline-offset: -4px; }
.way-badge { position: absolute; right: 10px; bottom: 10px; font: 700 .64rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); padding: 6px 8px; border-radius: 6px; }
.way-eq { position: absolute; right: 12px; bottom: 12px; display: none; gap: 3px; align-items: end; height: 14px; }
.way-eq i { width: 3px; height: 14px; border-radius: 2px; background: var(--poster); transform-origin: 50% 100%; transform: scaleY(.4); }
.way.is-now { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -24px rgba(14, 124, 102, .5); }
.way.is-now .way-badge { display: none; }
.way.is-now .way-eq { display: flex; }
@media (prefers-reduced-motion: no-preference) { .rw-playing .way.is-now .way-eq i { animation: eq 1s ease-in-out infinite; } .rw-playing .way.is-now .way-eq i:nth-child(2) { animation-delay: -.3s; } .rw-playing .way.is-now .way-eq i:nth-child(3) { animation-delay: -.6s; } }
.way > b { font: 700 .72rem/1 var(--sans); letter-spacing: .18em; color: var(--accent); padding: 0 8px; }
.way h3 { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.25; margin: 0; padding: 0 8px; }
.way p { color: var(--muted); font-size: .94rem; margin: 0; padding: 0 8px; flex: 1; }
.way-more { align-self: flex-start; margin: 6px 8px 0; font-weight: 600; text-decoration: none; padding: 6px 0; }
.way-more:hover { text-decoration: underline; }
.way-more span { display: inline-block; transition: transform .25s var(--ease); }
.way:hover .way-more span { transform: translateX(3px); }

/* Audience pages and links between them */
.theatre-head .lede { margin-top: -.2em; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.aud-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.aud-links a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: .92rem; text-decoration: none; }
.aud-links a:hover { border-color: var(--accent); color: var(--accent); }
.aud-next { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); }
.aud-next .aud-links { margin-bottom: 0; }
.q-empty { padding: 4px 10px 12px; display: grid; gap: 6px; justify-items: start; }
.q-empty-h { font-weight: 700; color: var(--navy); margin: 0; }
.q-empty p { margin: 0; }
.q-empty .btn { margin-top: 8px; }

/* A short message over the page (opuselixir.com's toast) */
.rw-toast { position: fixed; z-index: 60; left: 50%; top: 80px; transform: translateX(-50%); margin: 0; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 10px; background: var(--navy); color: var(--bg); font-weight: 600; font-size: .92rem; box-shadow: 0 12px 30px -12px rgba(5, 10, 20, .5); }
@media (prefers-reduced-motion: no-preference) { .rw-toast:not([hidden]) { animation: toast-in .3s var(--ease); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -8px); } }

/* ---------- The one player, built as opuselixir.com's (OE-307, OE-368) ----------
   A bar along the foot of the screen while a video plays, and a now-playing view over the page with the screen,
   the controls and the queue. Pages show a picture where their video goes; pressing it plays in the player. */
.rwp { --mini: 72px; --safe-b: env(safe-area-inset-bottom, 0px); position: fixed; inset: auto 0 0 0; z-index: 50; color: #e6edf5; }
body.has-player { padding-bottom: calc(var(--mini) + var(--safe-b)); }
html.rwp-open { overflow: hidden; }
.rwp-kick { font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--poster); }
.rwp-btn { width: 44px; height: 44px; display: grid; place-items: center; flex: none; padding: 0; border: 0; border-radius: 50%; background: none; color: #c9d6e3; cursor: pointer; transition: background .2s, color .2s; }
.rwp-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.rwp-btn:disabled { opacity: .35; cursor: default; background: none; }
.rwp-btn[aria-pressed="true"] { color: var(--poster); }
.rwp-btn svg, .rwp-play svg { width: 22px; height: 22px; fill: currentColor; }
.rwp-btn svg.i-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rwp-play { width: 64px; height: 64px; display: grid; place-items: center; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--poster); color: #062018; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.rwp-play:hover { background: #7adfc6; }
.rwp-play:active { transform: scale(.94); }
.rwp-play.sm { width: 46px; height: 46px; }
.rwp-play svg { width: 26px; height: 26px; }
.rwp-play.sm svg { width: 20px; height: 20px; }
.rwp-play .i-pause, .rwp.playing .rwp-play .i-play { display: none; }
.rwp.playing .rwp-play .i-pause { display: block; }

/* The bar */
.rwp-mini { position: relative; height: calc(var(--mini) + var(--safe-b)); padding: 0 max(var(--pad), 12px) var(--safe-b); display: flex; align-items: center; gap: 12px;
  background: rgba(11, 23, 38, .94); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); border-top: 1px solid rgba(255, 255, 255, .08); }
.rwp-progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: rgba(79, 209, 176, .15); }
.rwp-progress i { display: block; height: 100%; background: var(--poster); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s linear; }
.rwp-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.rwp-art { width: 86px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; flex: none; background: var(--screen-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.rwp-art img { width: 100%; height: 100%; object-fit: cover; }
.rwp-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rwp-t { min-width: 0; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; }
.rwp-t > span { display: inline-block; }
.rwp-t.long { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
.rwp-t.roll > span { animation: roll var(--roll-t, 10s) ease-in-out 1.6s 1 both; }
@keyframes roll { 0%, 8% { transform: none; } 62%, 80% { transform: translateX(var(--roll)); } 100% { transform: none; } }
.rwp-m { font-size: .74rem; color: var(--poster); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rwp-open:hover .rwp-t { text-decoration: underline; text-underline-offset: .2em; }
.rwp-ctl { display: flex; align-items: center; gap: 4px; }
.rwp-vol { display: flex; align-items: center; padding: 0 6px; }
.rwp-vol input { width: 96px; }
.rwp-buffer { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(79, 209, 176, .25); border-top-color: var(--poster); animation: spin .8s linear infinite; display: none; flex: none; }
.rwp.buffering .rwp-buffer { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 620px) { .rwp .hide-s { display: none !important; } .rwp-art { width: 64px; } .rwp-mini { gap: 8px; } .rwp-open { gap: 10px; } }

.rwp input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; height: 28px; cursor: pointer; margin: 0; }
.rwp input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--poster) var(--p, 0%), rgba(255, 255, 255, .18) var(--p, 0%)); }
.rwp input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--poster) var(--p, 0%), rgba(255, 255, 255, .18) var(--p, 0%)); }
.rwp input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; box-shadow: 0 0 0 4px rgba(79, 209, 176, .25); }
.rwp input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }

/* The now-playing view */
.rwp-sheet { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(120% 70% at 50% 0, var(--screen-2), var(--screen) 70%); }
@media (prefers-reduced-motion: no-preference) { .rwp-sheet:not([hidden]) { animation: rise .4s var(--ease) both; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.rwp-sheet-in { max-width: 960px; margin: 0 auto; padding: max(10px, env(safe-area-inset-top)) var(--pad) calc(40px + var(--safe-b)); }
.rwp-sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.rwp-sheet-bar .rwp-kick { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rwp-slot { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -40px rgba(79, 209, 176, .45), 0 0 0 1px rgba(255, 255, 255, .08); margin-top: 6px; }
.rwp-stage { background: #000; }
.rwp-stage iframe, #yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rwp-stage.parked { position: fixed; left: -10000px; bottom: 0; width: 320px; height: 180px; opacity: 0; pointer-events: none; }
.rwp-stage:not(.parked) { position: fixed; z-index: 61; border-radius: 16px; overflow: hidden; }
.rwp-meta { margin-top: 22px; }
.rwp-title { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2.2rem); margin: 0; }
.rwp-sub { color: #9fb0c3; margin: 6px 0 0; }
.rwp-scrub { margin-top: 14px; }
.rwp-scrub input { width: 100%; }
.rwp-times { display: flex; justify-content: space-between; font-size: .8rem; color: #9fb0c3; font-variant-numeric: tabular-nums; }
.rwp-controls { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 3vw, 26px); margin-top: 8px; }
.rwp-opts { display: flex; justify-content: center; margin-top: 14px; }
.rwp-auto { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: #c9d6e3; cursor: pointer; }
.rwp-auto input { width: 18px; height: 18px; accent-color: var(--poster); }
.rwp-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.rwp-pill { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #e6edf5; font-size: .9rem; font-weight: 600; text-decoration: none; }
.rwp-pill:hover { border-color: var(--poster); color: var(--poster); }
.rwp-queue-wrap { margin-top: 36px; }
.rwp-queue { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.rwp-queue button { width: 100%; display: grid; gap: 6px; padding: 0 0 10px; text-align: left; border: 0; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); color: #e6edf5; cursor: pointer; font: inherit; }
.rwp-queue button:hover { background: rgba(255, 255, 255, .09); }
.rwp-queue .lib-thumb { border-radius: 0; }
.rwp-queue b { padding: 4px 10px 0; font-size: .74rem; letter-spacing: .14em; color: var(--poster); }
.rwp-queue .qt { padding: 0 10px; font-size: .86rem; -webkit-line-clamp: 2; }
.rwp-queue [aria-current="true"] { box-shadow: 0 0 0 2px var(--poster); }
.rwp-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

/* When a video ends with the view open: up next, with a short count */
.rwp-upnext { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 16px; text-align: center; background: rgba(5, 10, 20, .86); color: #fff; }
.rwp-un-title { font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.6rem); max-width: 22em; text-wrap: balance; }
.rwp-un-row { display: flex; gap: 10px; margin-top: 6px; }
.rwp-un-bar { width: min(220px, 60%); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.rwp-un-bar i { display: block; height: 100%; background: var(--poster); transform-origin: 0 50%; animation: count 6s linear both; }
@keyframes count { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* A page's picture where its video goes */
.player-anchor { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 100% at 50% 0, var(--screen-2), var(--screen)); color: #e6edf5; box-shadow: 0 30px 70px -40px rgba(11, 37, 69, .6); }
.rwp-poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--screen); color: #fff; cursor: pointer; font: inherit; text-align: left; }
.rwp-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rwp-poster:hover img { transform: scale(1.025); }
.rwp-poster:focus-visible { outline-offset: -4px; }
.rwp-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 20, 0) 40%, rgba(5, 10, 20, .85)); }
.rwp-big { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 124, 102, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .25s var(--ease), background .25s; }
.rwp-big::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(79, 209, 176, .5); }
.rwp-big svg { width: 34px; height: 34px; margin-left: 5px; fill: #fff; }
.rwp-poster:hover .rwp-big, .rwp-poster:focus-visible .rwp-big { background: #0e7c66; transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) { .rwp-big::after { animation: halo 2.8s var(--ease) infinite; } }
@keyframes halo { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.rwp-cap { position: absolute; left: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); bottom: clamp(14px, 3vw, 28px); display: grid; gap: 6px; }
.rwp-ftitle { font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.rwp-poster.is-now .rwp-big { background: var(--poster); }
.rwp-poster.is-now .rwp-big svg { fill: #062018; }
@media (max-width: 520px) { .rwp-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .rwp-big svg { width: 26px; height: 26px; } }

/* Before the channel's first video: the ward turns, one line, one action */
.rwp-empty { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .9fr) 1fr; align-items: center; gap: clamp(12px, 3vw, 32px); padding: clamp(16px, 4vw, 48px); }
.rwp-ward .ward { width: 100%; height: auto; max-height: 100%; }
.rwp-empty-copy { display: grid; gap: 12px; justify-items: start; }
.rwp-empty-h { font-weight: 700; font-size: clamp(1.1rem, 2.8vw, 2rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.rwp-empty .btn-primary { background: var(--poster); color: #062018; }
@media (max-width: 520px) { .rwp-empty { grid-template-columns: 96px 1fr; } .rwp-empty .btn { min-height: 34px; } }

/* ---------- The Topics page: two levels of cards (OE-368) ----------
   Level one is the audience deck; pressing a card opens its row of topic cards below; a topic card plays. */
a.way { color: inherit; text-decoration: none; }
a.way .way-more { color: var(--accent); }
.level1 { padding-bottom: clamp(24px, 4vw, 40px); }
.level1 .way.is-open { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -24px rgba(14, 124, 102, .5); }
.levels { padding-bottom: clamp(48px, 7vw, 88px); }
.level2 { padding-top: clamp(16px, 3vw, 32px); scroll-margin-top: 96px; }
.level2 .sec-head > div { flex: 1; min-width: 14em; }
.level2 + .level2 { margin-top: clamp(32px, 5vw, 56px); }
.levels.has-level .level2 { animation: none; }
@media (prefers-reduced-motion: no-preference) { .levels.has-level .level2:not([hidden]) { animation: rise .45s var(--ease) both; } }
.tcard { font: inherit; text-align: left; color: var(--text); cursor: pointer; width: 100%; }
.tcard .way-art, a.way .way-art { display: block; }
.t-art .t-bg { fill: var(--screen); }
.t-art .t-rings { fill: none; stroke: var(--poster); stroke-opacity: .16; stroke-width: 1.5; }
.t-art .t-icon { fill: none; stroke: var(--poster); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-art .t-icon * { vector-effect: non-scaling-stroke; }
.t-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard .way-btn { pointer-events: none; }
.tcard:hover .way-btn, .tcard:focus-visible .way-btn { transform: scale(1.08); }
.tcard.is-now { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -24px rgba(14, 124, 102, .5); }
.tcard.is-now .way-eq { display: flex; }
@media (prefers-reduced-motion: no-preference) { .rw-playing .tcard.is-now .way-eq i { animation: eq 1s ease-in-out infinite; } .rw-playing .tcard.is-now .way-eq i:nth-child(2) { animation-delay: -.3s; } .rw-playing .tcard.is-now .way-eq i:nth-child(3) { animation-delay: -.6s; } }
.t-n { font: 700 .72rem/1 var(--sans); letter-spacing: .18em; color: var(--accent); padding: 0 8px; }
.t-h { display: block; font-weight: 700; color: var(--navy); font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.25; letter-spacing: -.02em; padding: 0 8px; }
.t-p { display: block; color: var(--muted); font-size: .94rem; padding: 0 8px; flex: 1; }
.tcard .way-more { color: var(--accent); }
.tcard:not(.has-video) { cursor: default; }
.tcard:not(.has-video):hover { transform: none; }

/* ---------- The Learn menu (OE-370): Learn, and a drop-down with the three audiences ---------- */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-sub-toggle { width: 30px; height: 36px; margin-left: -8px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text); cursor: pointer; }
.nav-sub-toggle:hover { background: var(--bg-alt); }
.nav-sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { position: absolute; left: 0; top: calc(100% + 6px); min-width: 300px; display: none; flex-direction: column; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(11, 37, 69, .35); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-sub-toggle[aria-expanded="true"] + .nav-sub { display: flex; }
@media (hover: hover) and (min-width: 821px) { .nav-group:hover .nav-sub { display: flex; } }
.nav-sub a { display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.nav-sub b { font-size: .72rem; letter-spacing: .14em; color: var(--accent); }
@media (max-width: 820px) {
  .nav-group { flex-direction: column; align-items: stretch; }
  .nav-group > a { border-bottom: 0 !important; }
  .nav-sub-toggle { display: none; }
  .nav-sub { position: static; display: flex; min-width: 0; padding: 0 0 6px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; }
  .nav-sub a { padding: 10px 4px !important; border-bottom: 0 !important; font-size: .98rem !important; white-space: normal; }
}

/* Lists of videos on Learn and the audience pages: picture cards in a grid */
.vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.vgrid button { grid-template-columns: 1fr !important; gap: 10px !important; padding: 0 0 12px !important; background: var(--bg) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; overflow: hidden; }
.vgrid button:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)) !important; }
.vgrid button[aria-current="true"] { border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent); }
.vgrid .lib-thumb { border-radius: 0; }
.vgrid .lib-text { padding: 0 12px; }
.page-head + .band-ways { padding-top: clamp(32px, 5vw, 56px); }

/* ---------- Jargonica: made for every reader (children, seniors, readers new to English) ----------
   Large type and tap targets, sentence case (no small capitals to decode), honey buttons with an ink outline as in the
   logo, short lines, and a "Bigger text" choice kept per visitor. */
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.small, .note { font-size: 1rem; }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.4rem); color: var(--muted); max-width: 32em; }
p, li { max-width: 38em; }
.eyebrow, .tag, .rwp-kick, .rwp-m { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 700; }
.rwp-m { font-size: .9rem; }
.btn { min-height: 56px; padding: 0 26px; border-radius: 999px; font-size: 1.1rem; font-weight: 700; border-width: 2px; }
.btn-small { min-height: 48px; padding: 0 20px; font-size: 1rem; }
.btn-primary, .site-nav .btn, .skip, .vs-btn, .way-btn, .rwp-empty .btn-primary { background: var(--honey); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover, .rwp-empty .btn-primary:hover { background: var(--honey-hover); }
:root[data-theme="dark"] .btn-primary { border-color: var(--honey); }
.btn-ghost { border-color: var(--navy); }
.rwp-play, .rwp-empty .btn-primary { color: var(--ink); }
.site-nav a { font-size: 1.08rem; padding: 12px 14px; min-height: 48px; display: inline-flex; align-items: center; }
.theme-toggle, .nav-toggle, .size-toggle { width: 48px; height: 48px; }
.head-row { height: 72px; }
.mark { width: 44px; height: 44px; border-radius: 50%; background: #fcf9f0; overflow: hidden; box-shadow: 0 0 0 2px var(--ink); }
:root[data-theme="dark"] .mark { box-shadow: 0 0 0 2px var(--honey); }
.mark img { width: 100%; height: 100%; }
.wordmark { font-size: 1.45rem; font-weight: 900; letter-spacing: -.03em; }
.size-toggle { display: grid; place-items: center; background: none; border: 0; border-radius: 8px; color: var(--navy); cursor: pointer; font: 800 1.05rem/1 var(--sans); }
.size-toggle:hover, .say-btn:hover { background: var(--bg-alt); }
.size-toggle[aria-pressed="true"] { background: var(--tint); box-shadow: inset 0 0 0 2px var(--accent); }
:root.big { font-size: 125%; }
:root.big body { font-size: 24px; }
.say-btn { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: none; color: var(--navy); font: 700 1rem/1 var(--sans); cursor: pointer; margin-top: 8px; }
.say-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.say-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); }
.swoosh { display: block; width: min(320px, 70%); height: 14px; margin: 4px 0 18px; }
.swoosh path { fill: none; stroke: var(--honey); stroke-width: 6; stroke-linecap: round; }
.hero h1 .accent { color: var(--navy); background: linear-gradient(transparent 62%, var(--tint) 62%); }
.jar-hero { width: clamp(120px, 18vw, 180px); height: auto; border-radius: 50%; background: #fcf9f0; box-shadow: 0 0 0 3px var(--ink); margin-bottom: 18px; }
.promise { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 0; }
.promise li { padding: 24px; border: 2px solid var(--line); border-radius: var(--r); background: var(--bg); max-width: none; }
.promise b { display: block; font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.promise .pi { font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 10px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.rwp-empty .rwp-ward img { width: 120px; height: 120px; border-radius: 50%; background: #fcf9f0; }
.way-soon { font-size: .95rem; }
.t-p, .way-p { font-size: 1.02rem; }
.size-toggle small { font-size: .72em; }
.way-soon { text-transform: none; letter-spacing: 0; font-size: .9rem; padding: 7px 10px; }
.kid-note { padding: 14px 18px; border-radius: var(--r); background: var(--tint); border: 2px solid var(--line); }
.cform input, .cform select, .cform textarea { font-size: 1.1rem; min-height: 52px; }
.cform label { font-size: 1.1rem; font-weight: 700; }
.hero-copy .swoosh { margin: 2px auto 18px; }
.hero-copy .say-btn { margin: -8px auto 18px; }
.foot-h { font-size: 1rem; letter-spacing: 0; text-transform: none; }
.t-n { font-size: .95rem; letter-spacing: .04em; }
.rwp-empty .btn-small { min-height: 48px; height: auto; padding: 10px 18px; line-height: 1.2; white-space: normal; }
.way > b { font-size: .95rem; letter-spacing: .04em; }
.way h3 { font-size: 1.3rem; }
.way p, .t-p { font-size: 1.05rem; color: var(--muted); }
.way-more { font-size: 1.1rem; font-weight: 700; min-height: 48px; display: inline-flex; align-items: center; }
.next-h { font-size: 1rem; letter-spacing: 0; text-transform: none; }

/* Support pop-up (OE-397, add_support.py) */
.sup-dlg { max-width: min(30rem, calc(100vw - 32px)); width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 20px; background: var(--bg); color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.sup-dlg::backdrop { background: rgba(10, 14, 20, .55); }
.sup-dlg h2 { margin: 0 2.2rem .5rem 0; }
.sup-close { position: absolute; top: 10px; right: 10px; margin: 0; }
.sup-x { width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.sup-x:hover, .sup-x:focus-visible { background: var(--tint); }
.sup-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 14px; }
.sup-way { display: flex; flex-direction: column; gap: 4px; min-height: 56px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.sup-way:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sup-way b { font-size: 1.1rem; }
.sup-way span { font-size: .95rem; opacity: .85; }
.sup-way:hover { transform: translateY(-1px); }
@media (max-width: 420px) { .sup-ways { grid-template-columns: 1fr; } }
