/* SmallGroupTV: black cherry and raisin surfaces, petal and celadon accents, warm chalk text. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #201520;
  --plum-1: #221626;
  --plum-2: #311f32;
  --plum-3: #3a2541;
  --plum-4: #4b3053;
  --rust: #b4482f;
  --rust-deep: #8f3624;
  --rust-soft: #e98c6f;
  --cream: #fbf1e6;
  --paper: #f6e7d4;
  --paper-ink: #2a1520;
  --paper-muted: #6a4a5c;
  --muted: #d8bbc9;
  --lamp: #f0c7da;
  --sage: #b5dca4;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lamp); text-underline-offset: 3px; }
a:hover { color: #ffc888; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 650; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.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(--lamp); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.eyebrow { font-weight: 700; font-size: .82rem; letter-spacing: .08em; color: var(--lamp); margin-bottom: .7em; }
.lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: #efdccd; max-width: 40em; }
.small { font-size: .92rem; color: var(--muted); }

/* ---------- header ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: rgba(26, 17, 28, .92); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@supports (backdrop-filter: blur(8px)) { .masthead { background: rgba(26, 17, 28, .78); backdrop-filter: blur(12px); } }
.masthead-inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: var(--display); font-size: 1.5rem; font-weight: 750; letter-spacing: -.055em; }
.brand b { color: var(--rust-soft); font-weight: 750; }
.brand:hover { color: var(--cream); }
.mark { width: 36px; height: 36px; flex: none; }
.topnav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.topnav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 9px 14px; border-radius: 999px; }
.topnav a:hover { background: var(--plum-3); color: #fff; }
.topnav a[aria-current="page"] { background: var(--plum-3); box-shadow: inset 0 -3px 0 var(--rust-soft); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 0; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sage); color: var(--ink); }
.btn-primary:hover { background: #c8efb8; color: var(--ink); }
.btn-ghost { background: rgba(248, 233, 216, .12); color: var(--cream); box-shadow: inset 0 0 0 2px rgba(248, 233, 216, .5); }
.btn-ghost:hover { background: rgba(248, 233, 216, .22); color: #fff; }
.btn-quiet { background: var(--plum-3); color: var(--cream); }
.btn-quiet:hover { background: var(--plum-4); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .9rem; background: var(--paper-ink); color: var(--paper); }
.btn-small:hover { background: #45253a; }
.save .save-on, .save[aria-pressed="true"] .save-off, [data-done] .save-on, [data-done][aria-pressed="true"] .save-off { display: none; }
.save[aria-pressed="true"] .save-on, [data-done][aria-pressed="true"] .save-on { display: inline; }
.save[aria-pressed="true"], [data-done][aria-pressed="true"] { background: var(--sage); color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--lamp); text-decoration: underline; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; overflow: hidden; background: #211723; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 65% 0 0; z-index: -1; background: linear-gradient(transparent, var(--ink)); }
.hero-inner { width: 100%; max-width: var(--max); margin: auto; padding: clamp(52px, 5.5vw, 86px) var(--gutter) clamp(42px, 4.5vw, 72px); }
.hero-label, .frame-kicker { font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; }
.hero-label { color: var(--sage); margin-bottom: 1.25rem; }
.hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: .98; font-weight: 750; letter-spacing: -.05em; margin-bottom: 1.15rem; }
.hero .lede { max-width: 37ch; font-size: 1.09rem; line-height: 1.5; }
.hero-meta { color: var(--muted); font-weight: 650; font-size: .95rem; margin-bottom: .85rem; }
.hero-meta span { padding: 0 .3em; }
.hero-meta a { color: var(--cream); }
.hero-details { display: inline-block; margin-top: 1.2rem; padding-block: .25rem; text-underline-offset: .3em; color: var(--cream); font-size: .94rem; }
.trailer-dialog { width: min(760px, 94vw); max-height: 92dvh; background: var(--plum-2); color: var(--cream); border: 0; border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); }
.trailer-dialog::backdrop { background: rgb(12 7 12 / .87); }
.trailer-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.trailer-head .eyebrow { color: var(--sage); }
.trailer-screen { background: #140e15; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.trailer-screen iframe { width: 100%; height: 100%; border: 0; }
.trailer-dialog [role="status"] { margin: .75rem 0; color: var(--muted); }
.trailer-dialog .actions { margin-top: 1rem; }
/* ---------- rows ---------- */
.row-sec { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 44px) var(--gutter) 8px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.row-head h2 { margin: 0; }
.row-head a { font-weight: 700; white-space: nowrap; }
.row-note { color: var(--muted); max-width: 52em; margin-top: -4px; }
.row { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 20px; display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--plum-4) transparent; }
.row > li { scroll-snap-align: start; }
.row-wide { grid-auto-columns: calc((100% - 36px) / 3); }
.row-poster { grid-auto-columns: minmax(200px, 240px); }
/* Credits have no links, so this row wraps instead of scrolling: nothing in it could take keyboard focus. */
.row.row-credit { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); overflow: visible; scroll-snap-type: none; margin-inline: 0; padding-inline: 0; }

/* The supplied neutral frames retain their full 16:9 and 2:3 compositions. */
.frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #2d202b url("/images/small-group-tv-widescreen-template.webp") center / 100% 100% no-repeat; color: var(--cream); border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .3rem; padding: 7% 8%; }
.frame-kicker { color: #f2c7ac; font-size: .75rem; }
.frame-title { font-family: var(--display); font-weight: 700; letter-spacing: -.04em; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.05; text-wrap: balance; }
.frame-poster { aspect-ratio: 2 / 3; justify-content: center; padding: 12% 11%; background-image: url("/images/small-group-tv-poster-template.webp"); }
.frame-poster .frame-title { overflow-wrap: anywhere; }

.ep-card a, .poster-card a { display: grid; gap: 10px; text-decoration: none; color: var(--cream); border-radius: var(--radius); padding: 8px; margin: -8px; transition: background-color .15s ease, transform .2s ease; }
.ep-card a:hover, .poster-card a:hover { background: var(--plum-2); transform: translateY(-3px); color: #fff; }
.ep-card a[aria-current="page"] { background: var(--plum-2); box-shadow: inset 0 0 0 3px var(--rust-soft); }
.ep-meta, .poster-meta { display: grid; gap: 3px; }
.ep-num { font-size: .85rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-title, .poster-title { font-weight: 700; line-height: 1.3; }
.poster-title { font-family: var(--display); font-size: 1.2rem; font-weight: 650; }
.poster-line { color: #efdccd; font-size: .95rem; line-height: 1.4; }
.poster-small { color: var(--muted); font-size: .85rem; }
.now { color: var(--rust-soft); font-weight: 700; font-size: .85rem; }
.bar { display: block; height: 5px; border-radius: 5px; background: var(--plum-3); overflow: hidden; }
.bar .fill { display: block; height: 100%; width: 0; background: var(--sage); border-radius: 5px; }
.bar:not(.has) { visibility: hidden; }

.badge { justify-self: start; display: inline-block; margin: 0; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.badge-live { background: var(--sage); color: var(--ink); }
.badge-guide { background: var(--lamp); color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-credit { background: var(--plum-4); color: var(--cream); }

.credit-card .credit-inner { height: 100%; padding: 22px; border-radius: var(--radius); background: linear-gradient(160deg, var(--plum-3), var(--plum-1)); }
.credit-title { font-family: var(--display); font-size: 1.35rem; font-weight: 650; margin: 12px 0 2px; }
.credit-with { color: var(--lamp); font-weight: 700; margin-bottom: 10px; }
.credit-note { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- how ---------- */
.how { margin-top: clamp(28px, 5vw, 56px); background: linear-gradient(180deg, var(--plum-1), var(--ink)); }
.how-inner { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.steps li { background: var(--plum-2); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rust); color: #fff6ec; font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 14px; }

/* ---------- church access ---------- */
.access-band { margin-top: clamp(32px, 5vw, 64px); background: var(--plum-2); }
.access-inner { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter); display: flex; flex-wrap: wrap; gap: 20px 44px; align-items: center; justify-content: space-between; }
.access-inner p { color: var(--muted); margin: 0; }
.page-head .actions + .small { margin-top: .9rem; max-width: 62ch; }

/* ---------- join ---------- */
.join { background: var(--paper); color: var(--paper-ink); }
.join-inner { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px 56px; align-items: start; }
.join p { color: var(--paper-muted); }
.join h2 { color: var(--paper-ink); }
.join-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: end; }
.join-form .btn, .join-form .form-help { grid-column: 1 / -1; justify-self: start; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 500; color: var(--paper-muted); }
input[type="email"], input[type="text"], input[type="search"] { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 2px solid #b99aa9; background: #fffaf3; color: var(--paper-ink); font: inherit; }
input:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-color: var(--rust); }
input:user-invalid { border-color: #b3261e; }
.form-help { font-size: .9rem; margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- page heads ---------- */
.page-head { background: radial-gradient(80% 140% at 100% 0%, var(--plum-3) 0%, var(--plum-1) 60%, var(--ink) 100%); }
.page-head-inner { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 7vw, 88px) var(--gutter) clamp(32px, 4vw, 48px); }
.page-head-center .page-head-inner { text-align: center; padding-bottom: clamp(64px, 10vw, 120px); }
.page-head-center .lede { margin-inline: auto; }
.page-head-center .actions { justify-content: center; }

/* ---------- browse ---------- */
.browse { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 24px; }
.browse-tools { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 16px 28px; align-items: end; margin-bottom: 26px; }
.browse-tools .field label { color: var(--cream); }
.browse-tools input[type="search"] { background: var(--plum-2); color: var(--cream); border-color: var(--plum-4); }
.browse-tools input::placeholder { color: #a99aa4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 0; background: var(--plum-2); color: var(--cream); font: 700 .95rem/1 var(--sans); cursor: pointer; }
.chip:hover { background: var(--plum-3); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.count { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; }
.grid-posters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 20px; }
.grid-posters .credit-card { grid-column: span 1; }
.empty { color: var(--muted); }

/* ---------- series ---------- */
.series-hero { background: radial-gradient(90% 120% at 0% 0%, #4d2230 0%, var(--plum-1) 55%, var(--ink) 100%); }
.series-hero.tone-plum { background: radial-gradient(90% 120% at 0% 0%, #46305a 0%, var(--plum-1) 55%, var(--ink) 100%); }
.series-hero.tone-sage { background: radial-gradient(90% 120% at 0% 0%, #2f4a40 0%, var(--plum-1) 55%, var(--ink) 100%); }
.series-hero-inner { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gutter); display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.series-poster { box-shadow: 0 30px 60px rgba(0,0,0,.45); border-radius: var(--radius); }
.series-copy > p:not(.eyebrow):not(.lede):not(.small) { color: #efdccd; max-width: 44em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.4em 0 0; max-width: 760px; }
.facts div { background: rgba(26,17,28,.5); border-radius: 14px; padding: 12px 16px; }
.facts dt { font-size: .8rem; font-weight: 700; color: var(--lamp); letter-spacing: .04em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.sessions-inner, .guide-promo-inner { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) 8px; }
.session-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.session-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--plum-1); text-decoration: none; color: var(--cream); transition: background-color .15s ease; }
.session-item:hover { background: var(--plum-2); color: #fff; }
.session-n { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--rust); color: #fff6ec; font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.session-body { display: grid; gap: 4px; }
.session-title { font-family: var(--display); font-size: 1.2rem; font-weight: 650; }
.session-time { font-size: .9rem; color: var(--lamp); font-weight: 600; }
.session-idea { color: var(--muted); font-size: .97rem; }
.session-item .bar { grid-column: 2; }
.guide-promo-inner { padding-bottom: 0; }
.guide-promo-inner p { max-width: 46em; color: #efdccd; }

/* ---------- watch ---------- */
.watch-inner { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 28px 36px; align-items: start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--lamp); }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.5); aspect-ratio: 16 / 9; }
.player .frame-player { position: absolute; inset: 0; border-radius: 0; padding: 6% 7%; aspect-ratio: auto; }
.player .frame-player .frame-title { font-size: clamp(1.4rem, 3vw, 2.4rem); max-width: 16em; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { width: 100%; border: 0; font: inherit; cursor: pointer; position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-decoration: none; color: var(--cream); background: rgba(26,17,28,.15); }
.play-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--sage); box-shadow: 0 12px 34px rgba(0,0,0,.45); position: relative; transition: transform .2s ease, background-color .2s ease; }
.play-icon::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--ink); }
.play-text { font-weight: 700; background: rgba(26,17,28,.7); padding: 6px 14px; border-radius: 999px; }
.play:hover .play-icon, .play:focus-visible .play-icon { transform: scale(1.06); background: #c8efb8; }
.play:focus-visible { outline-offset: -6px; }
.player-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.player-note [data-resume-note]:not(:empty) { color: var(--lamp); font-weight: 600; margin-right: 6px; }
.watch-title { margin-top: 22px; }
.watch-title h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.watch-title .actions { margin-top: .6em; }
.ep-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.ep-step { display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: var(--plum-1); color: var(--cream); text-decoration: none; font-weight: 600; }
.ep-step:hover { background: var(--plum-2); color: #fff; }
.ep-step-next { text-align: right; background: var(--plum-2); }
.ep-step-label { font-size: .8rem; color: var(--lamp); font-weight: 700; letter-spacing: .04em; }

.guide { position: sticky; top: 84px; background: var(--paper); color: var(--paper-ink); border-radius: var(--radius); padding: 24px 24px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); max-height: calc(100vh - 100px); overflow: auto; }
.guide :focus-visible { outline-color: var(--paper-ink); }
.guide-head { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; margin-bottom: 8px; }
.guide-kicker { grid-column: 1 / -1; margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--rust-deep); }
.guide h2 { font-size: 1.35rem; margin: 0; color: var(--paper-ink); }
.guide-block { padding: 12px 0 6px; }
.guide h3 { font-family: var(--sans); font-size: .82rem; font-weight: 800; letter-spacing: .06em; color: var(--paper-muted); margin-bottom: 6px; }
.guide p, .guide li { font-size: 1rem; line-height: 1.55; }
.guide ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.ref { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: #ecd5c0; font-weight: 700; color: var(--paper-ink); }
.guide-small, .guide-source { font-size: .85rem; color: var(--paper-muted); }
.guide-source { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #eed9c4; }

/* ---------- my list, prose, faq ---------- */
.clear-inner { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 40px; }
.faq-inner, .prose { max-width: 820px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter); }
.prose h2 { margin-top: 1.4em; }
.prose p { color: #efdccd; }
details { background: var(--plum-1); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
summary { list-style: none; cursor: pointer; font-weight: 700; padding: 14px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); }
.support-page { background: var(--cream); color: var(--ink); color-scheme: light; }
.support-page .page-head { background: var(--paper); }
.support-page .page-head-inner { max-width: 820px; }
.support-page .eyebrow, .support-page .lede, .support-page .prose p, .support-page details p { color: var(--paper-muted); }
.support-page details { background: var(--paper); }
.support-page a { color: var(--paper-ink); }
.support-page :focus-visible { outline-color: var(--paper-ink); }

/* ---------- footer ---------- */
.site-foot { margin-top: 0; background: #120b14; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 48px; }
.foot-brand p { color: var(--muted); margin-top: 12px; max-width: 28em; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: start; }
.site-foot nav a { color: var(--cream); font-weight: 600; padding: 6px 0; }
.foot-small { grid-column: 1 / -1; font-size: .85rem; color: #a99aa4; margin: 8px 0 0; }
.foot-inner .family-links { grid-column: 1 / -1; display: block; }
.family-links h2 { font-size: 1rem; margin: 0; }
.family-links ul { display: flex; flex-wrap: wrap; gap: 0 1.125rem; padding: 0; margin: 0; list-style: none; }
.family-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .watch-inner { grid-template-columns: minmax(0, 1fr); }
  .guide { position: static; max-height: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 108px; }
  body { font-size: 1rem; }
  .masthead-inner { padding-top: 10px; padding-bottom: 8px; gap: 6px 16px; }
  .topnav { margin-left: -8px; flex: 1 1 100%; gap: 0; }
  .topnav { flex-wrap: nowrap; justify-content: space-between; }
  .topnav a { padding: 8px 6px; font-size: .86rem; white-space: nowrap; }
  .player .frame-player .frame-title { display: none; }
  .hero { --image-height: clamp(210px, 55vw, 350px); padding-top: clamp(135px, 34vw, 210px); }
  .hero-img { height: var(--image-height); object-position: 95% 40%; }
  .hero::after { inset: 0; background: linear-gradient(to bottom, transparent calc(var(--image-height) * .55), #211723 var(--image-height), var(--ink)); }
  .hero-inner { padding-top: .9rem; padding-bottom: 1.4rem; }
  .hero .lede { max-width: 38ch; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); }
  .hero-label { margin-bottom: .9rem; }
  .join-inner, .series-hero-inner, .foot-inner { grid-template-columns: minmax(0, 1fr); }
  .series-poster { max-width: 240px; }
  .join-form { grid-template-columns: 1fr; }
  .browse-tools { grid-template-columns: 1fr; }
  .grid-posters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .grid-posters .credit-card { grid-column: 1 / -1; }
  .ep-nav { grid-template-columns: 1fr; }
  .ep-step-next { text-align: left; }
  .row-wide { grid-auto-columns: 78%; }
  .row-poster { grid-auto-columns: 58%; }
  .session-item { grid-template-columns: 48px 1fr; padding: 16px; gap: 6px 14px; }
  .session-n { width: 46px; height: 46px; font-size: 1.25rem; }
  .play-icon { width: 68px; height: 68px; }
  .play-icon::after { left: 27px; top: 20px; border-width: 14px 0 14px 22px; }
}
@media (max-width: 374px) {
  html { scroll-padding-top: 146px; }
  .topnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- print: the guide only ---------- */
@media print {
  body { background: #fff; color: #000; }
  .masthead, .site-foot, .watch-main, .row-sec, .skip, [data-print] { display: none !important; }
  .watch-inner { display: block; padding: 0; }
  .guide { position: static; box-shadow: none; max-height: none; overflow: visible; background: #fff; color: #000; padding: 0; }
  .ref { background: none; padding: 0 8px 0 0; }
}

/* ---------- inline questions ---------- */
.faq-inline { margin-top: 24px; max-width: 52em; }
.page-head .actions { margin-top: 1.2rem; }
.row:empty { display: none; }
.clear-sec { min-height: 104px; }

/* Transcript under the player (watch pages) */
.transcript-wrap { margin-top: 20px; }
.tx-captions { font-size: .94rem; color: var(--muted); margin-bottom: 10px; max-width: 52em; }
.tx-captions a { color: var(--cream); text-underline-offset: .2em; }
.transcript summary { font-size: 1.02rem; }
.tx-body { padding-top: 4px; }
.tx-body p { color: var(--cream); line-height: 1.65; max-width: 44em; margin: 0 0 1em; }
.transcript .tx-body .tx-cue { color: var(--muted); font-style: italic; }
.transcript .tx-source { font-size: .88rem; margin: 6px 0 16px; }
