/* Designer Builder, Version 2: documentary. Night / day rhythm, condensed titles, film bands. */
:root{
  --fb-night:#121315;
  --fb-night-2:#1C1E21;
  --fb-night-3:#2A2D31;
  --fb-day:#E4E6E0;
  --fb-day-2:#F3F4EF;
  --fb-ink:#17181A;
  --fb-ink-2:#4A4E52;
  --fb-mute:#A3A79F;
  --fb-tally:#C9E24B;
  --fb-olive:#3F4A0C;
  --fb-alarm:#E0603A;
  --fb-title:"Big Shoulders Display",Impact,"Arial Narrow",sans-serif;
  --fb-text:"Commissioner",system-ui,-apple-system,"Segoe UI",sans-serif;
  --fb-col:42rem;
  --fb-pad:clamp(1.1rem,4.5vw,3.2rem);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:4.5rem}
body{margin:0;background:var(--fb-day);color:var(--fb-ink);font:400 1.0625rem/1.68 var(--fb-text);overflow-x:hidden}
img,video,svg{max-width:100%;height:auto;display:block}
a{color:var(--fb-olive);text-decoration-thickness:1.5px;text-underline-offset:.2em}
a:hover{color:var(--fb-ink);text-decoration-color:var(--fb-tally)}
:focus-visible{outline:3px solid var(--fb-tally);outline-offset:3px;box-shadow:0 0 0 6px var(--fb-night)}
h1,h2,h3{font-family:var(--fb-title);font-weight:800;text-transform:uppercase;line-height:.95;letter-spacing:.004em;margin:0 0 .5em}
h1{font-size:clamp(2.9rem,8.6vw,7rem)}
h2{font-size:clamp(2.05rem,4.6vw,3.2rem);margin-top:2.1em}
h3{font-size:clamp(1.4rem,2.6vw,1.75rem);font-weight:700;margin-top:1.8em}
p,ul,ol{margin:0 0 1.1em}
li{margin-bottom:.4em}
strong{font-weight:700}
.fb-skip{position:absolute;left:-999px;top:.5rem;background:var(--fb-tally);color:var(--fb-night);padding:.6rem 1rem;z-index:60;border-radius:99px;font-weight:700}
.fb-skip:focus{left:1rem}

/* top bar */
.fb-bar{position:sticky;top:0;z-index:40;background:rgba(18,19,21,.94);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.fb-bar-row{display:flex;align-items:center;gap:1.4rem;padding:.65rem var(--fb-pad);max-width:96rem;margin:0 auto}
.fb-brand{font-family:var(--fb-title);font-weight:800;font-size:1.55rem;text-transform:uppercase;letter-spacing:.02em;color:#fff;text-decoration:none;line-height:1;margin-right:auto;display:flex;flex-direction:column}
.fb-brand small{font-family:var(--fb-text);text-transform:none;font-weight:400;font-size:.74rem;letter-spacing:0;color:var(--fb-mute);margin-top:.2rem}
.fb-brand:hover{color:var(--fb-tally)}
.fb-links{display:flex;gap:1.3rem;font-weight:500}
.fb-links a{color:#E8E9E4;text-decoration:none}
.fb-links a:hover,.fb-links a[aria-current]{color:var(--fb-tally)}
.fb-menu>summary{list-style:none;cursor:pointer;font-weight:600;color:var(--fb-tally);border:1.5px solid var(--fb-tally);border-radius:99px;padding:.36rem 1rem;user-select:none}
.fb-menu>summary::-webkit-details-marker{display:none}
.fb-menu[open]>summary{background:var(--fb-tally);color:var(--fb-night)}
.fb-menu-panel{position:absolute;left:0;right:0;top:100%;background:var(--fb-night);border-top:1px solid var(--fb-night-3);max-height:calc(100vh - 4rem);overflow:auto;box-shadow:0 30px 60px rgba(0,0,0,.45)}
.fb-menu:not([open]) .fb-menu-panel{display:none}
.fb-menu-inner{max-width:96rem;margin:0 auto;padding:1.4rem var(--fb-pad) 2rem;display:grid;gap:1.6rem}
.fb-menu-ch{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.7rem}
.fb-menu-ch li{margin:0}
.fb-menu-ch a{display:block;color:#fff;text-decoration:none}
.fb-menu-ch img{aspect-ratio:16/10;object-fit:cover;width:100%;border-radius:8px;opacity:.82;transition:opacity .2s}
.fb-menu-ch a:hover img,.fb-menu-ch a[aria-current] img{opacity:1;outline:3px solid var(--fb-tally)}
.fb-menu-ch span{display:block;font-family:var(--fb-title);font-weight:700;text-transform:uppercase;font-size:1.2rem;line-height:1;margin-top:.5rem}
.fb-menu-ch small{display:block;font-family:var(--fb-text);text-transform:none;font-weight:500;font-size:.78rem;color:var(--fb-tally);margin-bottom:.25rem}
.fb-menu-h{font-family:var(--fb-title);text-transform:uppercase;font-weight:700;color:var(--fb-mute);font-size:1.1rem;margin:0 0 .5rem}
.fb-menu-tools{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.fb-menu-tools a{display:block;background:var(--fb-night-2);border-radius:10px;padding:.8rem 1rem;color:#fff;text-decoration:none;font-weight:600}
.fb-menu-tools a:hover{background:var(--fb-night-3)}
.fb-menu-tools small{display:block;font-weight:400;color:var(--fb-mute);font-size:.84rem}

/* film blocks */
.fb-film{position:relative;background:#000;overflow:hidden}
.fb-film video{width:100%;height:100%;object-fit:cover}
.fb-film-hero{height:min(74vh,720px);min-height:360px}
.fb-film-band{height:clamp(240px,46vw,560px);margin:3rem 0;width:100vw;margin-left:calc(50% - 50vw)}
.fb-pause{position:absolute;top:1rem;right:1rem;z-index:3;font:600 .82rem var(--fb-text);background:rgba(18,19,21,.72);color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:99px;padding:.35rem .85rem;cursor:pointer}
.fb-pause:hover{border-color:var(--fb-tally);color:var(--fb-tally)}
.fb-subtitle{position:absolute;left:50%;bottom:1.4rem;transform:translateX(-50%);width:min(44rem,90%);text-align:center;margin:0;z-index:2}
.fb-subtitle span{background:rgba(10,10,12,.78);color:#F2F2EE;padding:.2rem .55rem;font-size:.98rem;line-height:1.85;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* chapter title block: night */
.fb-title{background:var(--fb-night);color:#F1F2EE;padding:2.6rem var(--fb-pad) 3rem}
.fb-title>*{max-width:62rem;margin-left:auto;margin-right:auto}
.fb-chapter-no{font-weight:600;color:var(--fb-tally);font-size:.95rem;margin-bottom:1rem}
.fb-chapter-no span{color:var(--fb-mute);font-weight:400;margin-left:.9rem}
.fb-title h1{color:#fff;max-width:15ch;margin-left:auto;margin-right:auto}
.fb-title h1,.fb-title .fb-lede,.fb-title .fb-dateline,.fb-title .fb-chapter-no,.fb-title .fb-scenes{max-width:62rem}
.fb-lede{font-size:clamp(1.12rem,1.6vw,1.3rem);line-height:1.6;max-width:44rem}
.fb-title .fb-lede{color:#D9DBD5}
.fb-dateline{color:var(--fb-mute);font-size:.9rem}
.fb-scenes{margin-top:1.4rem}
.fb-scenes>summary{cursor:pointer;font-weight:600;color:#fff;display:inline-block;border-bottom:2px solid var(--fb-tally);padding-bottom:.1rem}
.fb-scenes ol{margin:1rem 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem}
.fb-scenes li{margin:0}
.fb-scenes a{display:inline-block;color:#E8E9E4;background:var(--fb-night-2);border-radius:99px;padding:.3rem .85rem;text-decoration:none;font-size:.92rem}
.fb-scenes a:hover{background:var(--fb-tally);color:var(--fb-night)}

/* reading column: day */
.fb-read{max-width:calc(var(--fb-col) + 2*var(--fb-pad));margin:0 auto;padding:1.4rem var(--fb-pad) 3rem}
.fb-read>h2:first-child{margin-top:1.4em}
.fb-read ul,.fb-read ol{padding-left:1.25rem}
.fb-still{width:100vw;margin:3.2rem 0 1rem calc(50% - 50vw);background:var(--fb-night)}
.fb-still img{width:100%;max-height:78vh;object-fit:cover}
.fb-still figcaption{color:#CFD1CB;font-size:.92rem;padding:.8rem var(--fb-pad) 1rem;max-width:calc(var(--fb-col) + 2*var(--fb-pad));margin:0 auto}
.fb-pic{margin:2rem 0}
.fb-pic img{border-radius:10px;width:100%}
.fb-pic figcaption{font-size:.9rem;color:var(--fb-ink-2);margin-top:.5rem}

/* notes, warnings, worked examples */
.fb-note{background:var(--fb-day-2);border-radius:14px;padding:1rem 1.2rem;margin:1.6rem 0;font-size:.98rem}
.fb-note p{margin:0}.fb-note p+p{margin-top:.6em}
.fb-note dfn,.fb-note b:first-child{font-style:normal;font-weight:700;box-shadow:inset 0 -.42em 0 rgba(201,226,75,.75)}
.fb-warn{background:var(--fb-night);color:#ECEDE8;border-radius:14px;padding:1.1rem 1.25rem;margin:1.8rem 0}
.fb-warn p{margin:0}
.fb-warn b:first-child{color:var(--fb-tally)}
.fb-warn a{color:var(--fb-tally)}
.fb-worked{background:var(--fb-night-2);color:#E9EAE5;border-radius:18px;padding:1.5rem clamp(1.1rem,3vw,2rem);margin:2.2rem 0}
.fb-worked h3{color:#fff;margin-top:0}
.fb-worked a{color:var(--fb-tally)}
.fb-worked strong{color:#fff}
.fb-steps{counter-reset:st;list-style:none;padding-left:0!important}
.fb-steps>li{counter-increment:st;position:relative;padding-left:2.8rem;margin-bottom:.95em}
.fb-steps>li::before{content:counter(st);position:absolute;left:0;top:.05em;width:2rem;height:2rem;border-radius:50%;background:var(--fb-night);color:var(--fb-tally);font:800 1.1rem/2rem var(--fb-title);text-align:center}
.fb-worked .fb-steps>li::before{background:var(--fb-tally);color:var(--fb-night)}

/* tables: soft banded rows, no rule grid */
.hb-table-wrap{overflow-x:auto;margin:1.8rem 0;border-radius:14px;background:var(--fb-day-2)}
.hb-table{width:100%;border-collapse:collapse;font-size:.95rem}
.hb-table caption{text-align:left;font-weight:700;padding:1rem 1rem .6rem;caption-side:top}
.hb-table thead th{background:var(--fb-night);color:#fff;text-align:left;font-weight:600;padding:.7rem 1rem}
.hb-table th,.hb-table td{padding:.65rem 1rem;vertical-align:top;text-align:left}
.hb-table tbody tr:nth-child(even){background:rgba(23,24,26,.045)}
.hb-table tbody th{font-weight:600}
.hb-table td.hb-num,.hb-table th.hb-num{text-align:right;font-variant-numeric:tabular-nums}

/* youtube explainers */
.fb-yt{margin:2.2rem 0;background:var(--fb-night);border-radius:18px;overflow:hidden;color:#E6E7E2}
.fb-yt-frame{position:relative;aspect-ratio:16/9;background:#000}
.fb-yt-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.fb-yt-play{all:unset;cursor:pointer;position:absolute;inset:0;display:block}
.fb-yt-play img{width:100%;height:100%;object-fit:cover;filter:brightness(.55) saturate(.8)}
.fb-yt-label{position:absolute;left:1.2rem;right:6rem;bottom:1.1rem;color:#fff}
.fb-yt-label b{display:block;font-family:var(--fb-title);font-weight:800;text-transform:uppercase;font-size:clamp(1.35rem,3vw,2rem);line-height:1}
.fb-yt-label small{color:#D8DAD3;font-size:.85rem}
.fb-yt-play i{position:absolute;right:1.2rem;bottom:1.1rem;width:3.6rem;height:3.6rem;border-radius:50%;background:var(--fb-tally)}
.fb-yt-play i::after{content:"";position:absolute;left:1.4rem;top:1.05rem;border-style:solid;border-width:.75rem 0 .75rem 1.15rem;border-color:transparent transparent transparent var(--fb-night)}
.fb-yt-play:hover i,.fb-yt-play:focus-visible i{transform:scale(1.08)}
.fb-yt-play:focus-visible{outline:3px solid var(--fb-tally);outline-offset:-3px}
.fb-yt figcaption{padding:1rem 1.25rem 1.2rem;font-size:.95rem}
.fb-yt figcaption p:last-child{margin:0}
.fb-yt-credit{color:var(--fb-mute);font-size:.86rem}
.fb-yt a{color:var(--fb-tally)}
.fb-yt-nojs{position:absolute;left:1rem;top:1rem;background:#fff;color:#000;padding:.4rem .7rem;border-radius:6px}

/* FAQ */
.fb-faq details{border-radius:12px;background:var(--fb-day-2);margin:.6rem 0;padding:0 1.1rem}
.fb-faq summary{cursor:pointer;list-style:none;padding:1rem 2rem 1rem 0;font-weight:700;position:relative}
.fb-faq summary::-webkit-details-marker{display:none}
.fb-faq summary::after{content:"+";position:absolute;right:0;top:.7rem;font:800 1.6rem/1 var(--fb-title);color:var(--fb-olive)}
.fb-faq details[open] summary::after{content:"\2212"}
.fb-faq details>p,.fb-faq details>ul{padding-bottom:1rem;margin:0}
.fb-sources{margin-top:2.6rem;font-size:.92rem;color:var(--fb-ink-2)}
.fb-sources p{font-weight:700;color:var(--fb-ink);margin-bottom:.4rem}

/* onward */
.fb-onward{background:var(--fb-night);padding-bottom:1.6rem}
.fb-next{position:relative;display:block;color:#fff;text-decoration:none;overflow:hidden;height:clamp(260px,40vw,480px)}
.fb-next img{width:100%;height:100%;object-fit:cover;filter:brightness(.5);transition:transform 1.2s ease,filter .4s}
.fb-next:hover img{transform:scale(1.03);filter:brightness(.62)}
.fb-next span{position:absolute;left:var(--fb-pad);right:var(--fb-pad);bottom:2rem}
.fb-next small{display:block;color:var(--fb-tally);font-weight:600;font-size:.95rem}
.fb-next b{display:block;font-family:var(--fb-title);font-weight:800;text-transform:uppercase;font-size:clamp(2.4rem,6.5vw,5.4rem);line-height:.92}
.fb-next em{font-style:normal;color:#DADCD6}
.fb-prev{display:block;max-width:96rem;margin:1.2rem auto 0;padding:0 var(--fb-pad);color:#D4D6D0;font-size:.95rem}
.fb-prev:hover{color:var(--fb-tally)}

/* credits footer */
.fb-credits{background:#0B0C0D;color:#BFC2BA;padding:4rem var(--fb-pad) 3rem;text-align:center}
.fb-credits-inner{max-width:68rem;margin:0 auto}
.fb-credits-title{font-family:var(--fb-title);font-weight:800;text-transform:uppercase;color:#fff;font-size:2.4rem;line-height:1;margin-bottom:.6rem}
.fb-credits-line{max-width:40rem;margin:0 auto 2.4rem;font-size:.95rem}
.fb-credits-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;text-align:center}
.fb-credits-h{font-size:.82rem;color:var(--fb-tally);font-weight:600;margin-bottom:.6rem}
.fb-credits ul{list-style:none;padding:0;margin:0}
.fb-credits li{margin:0 0 .35rem}
.fb-credits a{color:#E2E4DE;text-decoration:none;font-size:.95rem}
.fb-credits a:hover{color:var(--fb-tally);text-decoration:underline}
.fb-credits-small{font-size:.82rem;color:#8E9189;margin-top:1rem}

/* plain pages (about, privacy, 404) */
.fb-plain-head{background:var(--fb-night);color:#F1F2EE;padding:4rem var(--fb-pad) 3rem}
.fb-plain-head>*{max-width:52rem;margin-left:auto;margin-right:auto}
.fb-plain-head h1{color:#fff;font-size:clamp(2.6rem,7vw,5.4rem)}
.fb-plain-head .fb-lede{color:#D6D8D2}
.fb-plain-head p.fb-tag{color:var(--fb-tally);font-weight:600;margin-bottom:.8rem}
.fb-band-still img{width:100%;height:clamp(180px,30vw,380px);object-fit:cover}
.fb-cast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.6rem 0}
.fb-cast>div{background:var(--fb-day-2);border-radius:14px;padding:1rem 1.15rem}
.fb-cast h3{margin-top:0;font-size:1.35rem}
.fb-cast p{margin:0;font-size:.96rem}
.fb-404-list{list-style:none;padding:0!important;display:grid;gap:.5rem}
.fb-404-list a{display:block;background:var(--fb-day-2);border-radius:10px;padding:.8rem 1rem;font-weight:600;text-decoration:none;color:var(--fb-ink)}
.fb-404-list a:hover{background:var(--fb-tally)}

@media (max-width:1100px){
  .fb-menu-ch{grid-template-columns:repeat(4,minmax(0,1fr))}
  .fb-menu-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  body{font-size:1.02rem}
  .fb-links{display:none}
  .fb-brand{font-size:1.3rem}
  .fb-brand small{display:none}
  .fb-menu-ch{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fb-menu-tools{grid-template-columns:1fr}
  .fb-film-hero{height:58vh;min-height:300px}
  .fb-subtitle{bottom:.8rem}
  .fb-subtitle span{font-size:.86rem}
  .fb-chapter-no span{display:block;margin:.2rem 0 0}
  .fb-credits-cols{grid-template-columns:1fr}
  .fb-cast{grid-template-columns:1fr}
  .fb-yt-label{right:1rem;bottom:5.2rem}
  .hb-stack thead{position:absolute;left:-9999px}
  .hb-stack,.hb-stack tbody,.hb-stack tr,.hb-stack td,.hb-stack th{display:block;width:100%}
  .hb-stack caption{display:block;width:100%}
  .hb-stack tr{padding:.5rem 0}
  .hb-stack tbody tr:nth-child(even){background:transparent}
  .hb-stack tbody tr{border-top:6px solid var(--fb-day)}
  .hb-stack tbody th{background:var(--fb-night);color:#fff}
  .hb-stack td{display:grid;grid-template-columns:40% 1fr;gap:.6rem}
  .hb-stack td::before{content:attr(data-label);font-weight:600;font-size:.84rem;color:var(--fb-ink-2)}
  .hb-stack td.hb-num{text-align:left}
}
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media print{
  .fb-bar,.fb-credits,.fb-film,.fb-onward,.fb-yt,.fb-still,.fb-band-still,.fb-scenes,.fb-skip,.hb-noprint,.hb-btn,.hb-btn-row,.hb-qtabs{display:none!important}
  body{background:#fff;color:#000;font-size:10.5pt}
  .fb-title,.fb-plain-head{background:#fff;color:#000;padding:0}
  .fb-title h1,.fb-plain-head h1{color:#000;font-size:24pt}
  .fb-title .fb-lede{color:#000}
  .fb-warn,.fb-worked{background:#fff;color:#000;border:1px solid #000}
  .fb-worked h3,.fb-worked strong{color:#000}
  a{color:#000;text-decoration:none}
  .hb-print-only{display:block!important}
}
.hb-print-only{display:none}
