/* T35-02: the public video pages (/videos, /videos/{slug}) in the landing page's look:
   the white nav, the fixed banner photo, the dark / green / orange bands for title, blurb
   and facts, and white shadowed panels on tinted bands. The series gantt has its own
   sheet (series-gantt.css), shared with the landing page. No third-party requests. */
:root{
  --ink:#212529;--ink-2:#5a6268;--white:#fff;--soft:#f7f9fa;
  --title:rgba(39,34,37,.78);--green:rgba(37,169,34,.85);--orange:rgba(228,136,13,.86);
  --blue:#0e7bb8;--blue-ink:#0a5f8f;--blue-band:rgba(14,123,184,.88);--tint:rgba(165,213,230,.38);
  --hivis:#e4880d;--g1:#0e7bb8;--g2:#25a922;--g3:#e4880d;--g2-ink:#1b7f19;
  --rule:#dfe3e6;--rule-2:#c9cfd4;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;font:400 16px/1.5 var(--sans);color:var(--ink);
  background:var(--white) url("/images/home-banner.jpg") center / cover fixed no-repeat;-webkit-font-smoothing:antialiased}
main{flex:1}
h1,h2,h3,p{margin:0}
img{max-width:100%}
a{color:var(--blue-ink);text-underline-offset:.18em}
a:hover{color:var(--ink)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[id]{scroll-margin-top:16px}

/* ---------- nav: the landing page's ---------- */
.top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:6px clamp(16px,6vw,96px);
  background:var(--white);border-bottom:1px solid var(--rule);box-shadow:0 .25rem .75rem rgba(0,0,0,.05)}
.top ul{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;list-style:none;font-size:15px;font-weight:700;letter-spacing:.02em}
.top ul a{color:var(--ink);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.top ul a:hover{border-bottom-color:var(--ink)}
.top ul a[aria-current]{border-bottom-color:var(--hivis)}
.top .r{justify-content:flex-end}
.brand img{display:block;width:240px;height:auto}

/* ---------- the three bands ---------- */
.bands{margin-top:40px;color:var(--white);text-align:center}
.bands > *{padding-inline:16px}
.b-title{background:var(--title);padding-block:18px 20px}
.b-title h1{max-width:28ch;margin:0 auto;font-size:clamp(28px,3.6vw,44px);font-weight:400;line-height:1.15;text-wrap:balance}
.b-blurb{background:var(--green);font-size:19px;line-height:1.45;padding-block:4px 6px}
.b-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 22px;background:var(--orange);font-size:16px;padding-block:3px 4px;font-variant-numeric:tabular-nums}
.b-facts b{font-weight:700}

.sec-h{margin-top:48px;padding:4px 16px 6px;background:var(--blue-band);color:var(--white);text-align:center;font-size:20px;line-height:1.35;font-weight:400}
.sec-h small{display:block;font-size:14px;opacity:.92}
.wrap{background:var(--tint);padding:24px 16px}
.panel{max-width:1240px;margin:0 auto;background:var(--white);border-radius:6px;box-shadow:0 4px 8px rgba(0,0,0,.2)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 14px;border:0;border-radius:4px;cursor:pointer;
  font:700 14px/1.2 var(--sans);letter-spacing:.03em;text-transform:uppercase;text-decoration:none}
.btn-go{background:var(--hivis);color:#1d2124}
.btn-go:hover{background:#f19a26;color:#1d2124}
.btn-ink{background:#1d2124;color:var(--white)}
.btn-ink:hover{background:#000;color:var(--white)}
.btn-line{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn-line:hover{background:var(--ink);color:var(--white)}

/* ---------- series page: the cards ---------- */
.grp + .grp{margin-top:28px}
.grp-h{max-width:1240px;margin:0 auto 14px;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:15px;font-weight:400;color:var(--ink)}
.grp-h b{padding:3px 10px;border-radius:3px;font-size:14px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--white);background:var(--g1)}
.grp-h b.g2{background:var(--g2-ink)}
.grp-h b.g3{background:var(--g3);color:#1d2124}
.grp-h span{padding:2px 8px;border-radius:3px;background:rgba(255,255,255,.85);font-size:14px}
.cards{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.vc{position:relative;display:flex;flex-direction:column;background:var(--white);border-radius:6px;box-shadow:0 4px 8px rgba(0,0,0,.2);overflow:hidden;transition:transform .3s,box-shadow .3s}
.vc:hover{transform:scale(1.03);box-shadow:0 10px 20px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.06)}
.vc:has(a:focus-visible){outline:3px solid var(--blue);outline-offset:3px}
.vc .th{position:relative;aspect-ratio:16/9;background:#1d2124}
.vc .th img{display:block;width:100%;height:100%;object-fit:cover}
.vc .th::after{content:"";position:absolute;inset:0;box-shadow:inset 0 -1px 0 rgba(29,33,36,.16)}
.play{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:var(--hivis);display:flex;align-items:center;justify-content:center;transition:transform .2s}
.play svg{margin-left:3px}
.vc:hover .play{transform:scale(1.1)}
.dur{position:absolute;right:6px;bottom:6px;padding:2px 6px;border-radius:3px;background:rgba(0,0,0,.75);color:#fff;font-size:12px;line-height:1.3;font-variant-numeric:tabular-nums}
.vc-b{padding:12px 14px 16px;display:flex;flex-direction:column;gap:6px}
.vc h3{font-size:16px;font-weight:500;line-height:1.3;text-transform:uppercase}
.vc h3 a{color:var(--ink);text-decoration:none}
.vc h3 a::after{content:"";position:absolute;inset:0}
.vc h3 a:focus-visible{outline:0}
.vc p{font-size:14px;line-height:1.5;color:var(--ink-2)}

/* ---------- watch page ---------- */
.watch{display:grid;grid-template-columns:minmax(0,1fr) 330px}
.wmain{min-width:0;padding:14px 20px 18px;display:flex;flex-direction:column;gap:12px}
.crumbs{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;font-size:14px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.crumbs a{display:inline-flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs svg{width:14px;height:14px;flex:none}
.crumbs .pn{display:flex;gap:18px}
.crumbs .off{color:var(--rule-2)}
.frame{position:relative;aspect-ratio:16/9;max-width:100%;overflow:hidden;border-radius:4px;background:#1d2124;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.frame video{position:absolute;inset:0;display:block;width:100%;height:100%;background:#1d2124}
.vmsg{margin-top:10px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;padding:10px 14px;border-radius:4px;background:#fff4e5;font-size:15px;font-weight:600}
.vmsg[hidden]{display:none}
.segs{display:flex;gap:3px;height:14px}
.seg{flex:1 1 0;min-width:4px;border-radius:2px;opacity:.45;transition:opacity .2s;background:var(--g1)}
.seg.g2{background:var(--g2)}
.seg.g3{background:var(--g3)}
.seg:hover{opacity:1}
.seg.now{opacity:1;box-shadow:0 0 0 2px var(--white),0 0 0 3.5px var(--ink)}
.strip p{margin-top:7px;font-size:13px;color:var(--ink-2)}
.side{min-width:0;display:flex;flex-direction:column;gap:18px;padding:16px 18px 20px;background:var(--soft);border-left:1px solid var(--rule);border-radius:0 6px 6px 0}
.k{display:block;margin-bottom:6px;font-size:11.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-2)}
.linkbar{display:flex;align-items:stretch;overflow:hidden;border:1px solid var(--rule-2);border-radius:4px;background:var(--white)}
.linkbar .url{flex:1;min-width:0;padding:9px 10px;font-size:14px;font-weight:500;color:var(--ink);overflow-wrap:anywhere;user-select:all}
.linkbar .btn{border-radius:0;flex:none}
.copymsg{min-height:1.3em;margin-top:4px;font-size:13px;color:var(--ink-2);overflow-wrap:anywhere}
.card{position:relative;background:var(--white);border-radius:6px;box-shadow:0 4px 8px rgba(0,0,0,.16);overflow:hidden;transition:transform .3s,box-shadow .3s}
.next{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:center;padding:8px}
.next:hover{transform:scale(1.03);box-shadow:0 10px 20px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.06)}
.next:has(a:focus-visible){outline:3px solid var(--blue);outline-offset:3px}
.next .th{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:3px;background:#1d2124}
.next .th img{display:block;width:100%;height:100%;object-fit:cover}
.next .th .play{width:30px;height:30px;margin:-15px 0 0 -15px}
.next p{font-size:12.5px;color:var(--ink-2)}
.next a{display:block;margin-top:2px;font-size:14px;font-weight:500;line-height:1.25;text-transform:uppercase;color:var(--ink);text-decoration:none}
.next a::after{content:"";position:absolute;inset:0}
.next a:focus-visible{outline:0}
.next.end{grid-template-columns:1fr;padding:12px 14px}
.try{padding:14px 14px 16px;text-align:center}
.try h3{margin-bottom:6px;font-size:17px;font-weight:400;text-transform:uppercase}
.try p{margin-bottom:12px;font-size:13px;color:var(--ink-2)}
.try .acts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}

/* transcript: a calm reading column on a white panel */
.tr{display:flex;justify-content:center;padding:26px 20px 30px}
.transcript{width:100%;max-width:68ch}
.transcript h3{margin:26px 0 8px;font-size:18px;font-weight:700}
.transcript h3:first-child{margin-top:0}
.transcript p{margin-bottom:14px;font-size:17px;line-height:1.65}
.transcript .src{margin-top:20px;padding-top:10px;border-top:1px solid var(--rule);font-size:13px;color:var(--ink-2)}

/* ---------- not found ---------- */
.nf{max-width:640px;padding:22px 24px;text-align:center}
.nf .acts{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 18px}

/* ---------- closing band and footer ---------- */
.closer{margin-top:48px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px;padding:8px 16px;background:var(--orange);color:var(--white);font-size:20px;text-align:center}
footer{margin-top:48px;background:var(--title);color:var(--white)}
.closer + footer{margin-top:0}
.foot{max-width:1240px;margin:0 auto;padding:18px 16px 22px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px}
.foot nav{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14px;font-weight:600}
.foot nav a{color:var(--white);text-decoration:underline;text-decoration-color:rgba(255,255,255,.45)}
.foot nav a:hover{text-decoration-color:var(--white)}
.foot .legal{font-size:13px;opacity:.85}

@media (max-width:980px){
  .watch{grid-template-columns:minmax(0,1fr)}
  .side{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start;border-left:0;border-top:1px solid var(--rule);border-radius:0 0 6px 6px}
}
@media (max-width:760px){
  .top{grid-template-columns:1fr auto;padding-block:8px}
  .brand{grid-column:1 / -1;grid-row:1;justify-self:center}
  .brand img{width:200px}
  .top ul{font-size:14px;gap:6px 14px}
}
@media (max-width:620px){
  .bands{margin-top:20px}
  .b-blurb{font-size:16px}
  .b-facts{font-size:14px;gap:0 14px}
  .sec-h{margin-top:32px}
  .wrap{padding:16px 10px}
  .wmain{padding:12px 12px 14px}
  .frame{border-radius:3px}
  .tr{padding:20px 16px 24px}
  .transcript p{font-size:16px}
  .closer{font-size:17px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
