/* GenAI Certification for Advertising. Built to SPEC - brandnexus.com Design Language - v1.
   Flat, flush left, 2px rules, zero radius, no shadows. One family: Archivo. */

:root {
  --ground: #f3f2f2;
  --ink: #201e1d;
  --violet: #5a3cff;
  --violet-deep: #3f22cc;
  --n1: #eae9e9; --n2: #d7d3d3; --n3: #9b9797; --n4: #7d7979; --n5: #605d5d; --n6: #444141;
  --hue: #5a3cff; --hue-deep: #3f22cc; --hue-tint: #ece8ff;
  --gx: clamp(24px, 5vw, 72px);
  --gy: clamp(40px, 6vw, 104px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: Archivo, system-ui, sans-serif; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: #d6ccff; }
a { color: var(--violet-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
img, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Skip link: hidden until it takes keyboard focus. */
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--ground); font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; color: var(--ground); }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: rgba(32, 30, 29, .12); z-index: 90; }
.progress span { display: block; height: 4px; width: 0; background: var(--hue); }

.k { font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--n5); line-height: 1.4; }
.k a { color: var(--n5); }
.ulink { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tagline { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n5); }

/* Headers */
.hero { padding: var(--gy) var(--gx) calc(var(--gy) * .8); }
.h1 { font-weight: 900; font-size: clamp(46px, 7.2vw, 118px); letter-spacing: -.035em; line-height: .94; margin: 22px 0 0; max-width: 16ch; text-wrap: balance; animation: wipeUp 1s var(--ease) .15s both; }
.h1.long { font-size: clamp(38px, 5.6vw, 88px); line-height: .98; max-width: 22ch; }
.deck { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.56; max-width: 60ch; margin: 30px 0 0; color: var(--n6); }
.h2 { font-weight: 900; font-size: clamp(30px, 4.2vw, 64px); letter-spacing: -.032em; line-height: 1.04; margin: 0; max-width: 22ch; text-wrap: balance; }
.h3 { font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.2; margin: 48px 0 16px; max-width: 30ch; }
.h3:first-child { margin-top: 0; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 2px solid var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); background: var(--ground); font-family: inherit; cursor: pointer; text-align: left; }
.btn:hover { color: var(--ink); background: var(--n1); }
.btn.pri { background: var(--ink); color: var(--ground); }
.btn.pri:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: var(--ground); }

/* Stat cells */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 2px; background: var(--ink); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stat { background: var(--ground); padding: 28px var(--gx) 28px 32px; animation: rise .8s var(--ease) both; }
.stat:nth-child(2) { animation-delay: .08s; } .stat:nth-child(3) { animation-delay: .16s; } .stat:nth-child(4) { animation-delay: .24s; }
.stat:first-child { padding-left: var(--gx); }
.stat .v { font-weight: 900; font-size: clamp(48px, 5.4vw, 86px); letter-spacing: -.04em; line-height: .9; color: var(--hue); }
.stat .v small { font-size: .34em; margin-left: 4px; letter-spacing: 0; }
.stat .lab { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--n5); }

/* Sections */
.bar { height: 6px; background: var(--hue); }
.sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 18px var(--gx); border-bottom: 2px solid var(--ink); background: var(--ground); }
.sh .num { font-weight: 900; font-size: clamp(20px, 1.8vw, 24px); color: var(--hue-deep); }
.sh .t { font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.02em; }
.sh .d { font-size: 14px; color: var(--n5); }
.sec { padding: calc(var(--gy) * .7) var(--gx) var(--gy); }
.prose { max-width: 74ch; }
.prose p, .p { font-size: inherit; line-height: 1.62; margin: 0 0 18px; max-width: 74ch; text-wrap: pretty; }
.prose ul, .prose ol { max-width: 72ch; padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 800; }
.prose table { border-collapse: collapse; margin: 8px 0 24px; width: 100%; max-width: 100ch; font-size: 15px; }
.prose th { background: var(--ink); color: var(--ground); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: left; padding: 10px 12px; }
.prose td { border-top: 2px solid var(--n2); padding: 10px 12px; vertical-align: top; }
.lab2 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hue-deep); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }

/* Cell grids and cards */
.grid { display: grid; gap: 2px; background: var(--ink); border: 2px solid var(--ink); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card { background: var(--ground); padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 10px; }
a.card { color: var(--ink); text-decoration: none; }
a.card:hover { background: var(--n1); color: var(--ink); }
.cbar { height: 6px; background: var(--card-hue, var(--hue)); }
.cn { font-weight: 900; font-size: 40px; letter-spacing: -.04em; line-height: 1; color: var(--hue-deep); }
.ct { font-weight: 800; font-size: 20px; letter-spacing: -.018em; line-height: 1.18; margin: 0; }
.cb { font-size: 14px; line-height: 1.55; color: var(--n6); margin: 0; }
.meta { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--n5); margin-top: auto; }

/* Program index */
.idx { border: 2px solid var(--ink); }
.irow { display: grid; grid-template-columns: 200px minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1fr); border-top: 2px solid var(--ink); }
.irow.head { background: var(--ink); color: var(--ground); border-top: 0; }
.irow.head > div { padding: 14px 20px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.irow > div { padding: 22px 20px; }
.irow:not(.head) > div + div { border-left: 2px solid var(--n2); }
.wk { display: flex; flex-direction: column; gap: 10px; }
.chip { width: 56px; height: 14px; }
.wn { font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.wt { font-size: 13px; font-weight: 600; color: var(--n5); line-height: 1.35; }
.q { font-weight: 700; font-size: 17px; line-height: 1.4; letter-spacing: -.01em; }
.ul { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.4; }
.un { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n5); margin-bottom: 3px; }
.sub { font-size: 14px; line-height: 1.5; color: var(--n6); }

/* Lists in two-column split */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.two > div { background: var(--ground); padding: 28px 28px 32px; }
.list { margin: 14px 0 0; padding: 0; list-style: none; }
.list li { padding: 12px 0; border-top: 2px solid var(--n2); font-size: 16px; }

/* Poster panel */
.poster { background: var(--ink); color: var(--ground); padding: var(--gy) var(--gx); }
.poster .pq { font-weight: 800; font-size: clamp(30px, 4.2vw, 64px); letter-spacing: -.022em; line-height: 1.05; max-width: 22ch; margin: 0; text-wrap: balance; }
.poster .ps { font-size: 18px; color: #bab6b6; margin: 22px 0 0; max-width: 60ch; line-height: 1.6; }

/* Callout */
.callout { border-left: 6px solid var(--hue); background: var(--hue-tint); padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 90ch; }
.callout .ck { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hue-deep); }
.callout p { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 600; max-width: 62ch; }

/* Accordions */
details.acc { border-top: 2px solid var(--ink); }
details.acc:last-of-type { border-bottom: 2px solid var(--ink); }
details.acc > summary { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; align-items: center; padding: 18px 0; cursor: pointer; }
details.acc > summary::-webkit-details-marker { display: none; }
.anum { font-weight: 900; font-size: 30px; color: var(--hue-deep); letter-spacing: -.03em; }
.at { font-weight: 800; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.018em; }
.plus { font-size: 26px; color: var(--n3); font-weight: 400; transition: transform .5s var(--ease); }
details[open] > summary .plus { transform: rotate(45deg); }
.abody { padding: 0 0 26px 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.abody .al { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hue-deep); margin-bottom: 8px; }
.abody p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: var(--n6); }

/* Contents */

/* Takeaways */
.tk { margin: 0; padding: 0; list-style: none; max-width: 80ch; }
.tk li { padding: 14px 0 14px 28px; border-top: 2px solid var(--n2); font-size: 17px; line-height: 1.55; position: relative; }
.tk li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 10px; background: var(--hue); }

/* Video */
.video { border: 2px solid var(--ink); margin: 0 0 40px; max-width: 1100px; }
.video .vcap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 14px 22px; border-bottom: 2px solid var(--ink); background: var(--n1); }
.video .vct { font-weight: 800; font-size: 17px; line-height: 1.3; }
.video .frame { aspect-ratio: 16 / 9; background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(20px, 3vw, 44px); color: var(--ground); }
.video .frame video { width: 100%; height: 100%; object-fit: cover; }
.video .vt { font-weight: 800; font-size: clamp(24px, 3vw, 40px); letter-spacing: -.022em; line-height: 1.05; }
.video .vs { font-size: 14px; color: #bab6b6; }
.play { width: 76px; height: 76px; background: var(--ground); display: flex; align-items: center; justify-content: center; }
details.transcript { border-top: 2px solid var(--ink); }
details.transcript > summary { list-style: none; padding: 14px 18px; font-weight: 800; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; }
details.transcript > summary::-webkit-details-marker { display: none; }
details.transcript .tbody { padding: 0 18px 18px; max-width: 74ch; }

/* Appendix */
details.pa { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); margin-top: 48px; }
details.pa > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
details.pa > summary::-webkit-details-marker { display: none; }
details.pa .pbody { padding: 0 0 20px; }

/* Framework rows */
.frow { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 16px; align-items: center; border-top: 2px solid var(--ink); padding: 18px 0; }
.frow:last-child { border-bottom: 2px solid var(--ink); }
.fnum { font-weight: 900; font-size: 28px; color: var(--hue-deep); letter-spacing: -.03em; }
.fnm { font-weight: 800; font-size: 18px; letter-spacing: -.015em; }
.fd { font-size: 14px; color: var(--n6); line-height: 1.5; }
.soon { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--n5); border: 2px solid var(--n3); padding: 8px 12px; }

.ask { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 28px var(--gx); border-top: 2px solid var(--ink); }

/* Footer */
.foot { background: var(--ink); color: var(--n2); padding: 56px var(--gx); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; }
.foot .fn { font-weight: 900; font-size: 26px; color: var(--ground); letter-spacing: -.02em; line-height: 1.1; margin-top: 20px; }
.foot p { font-size: 14px; line-height: 1.6; color: #bab6b6; margin: 0 0 10px; }
.foot a { color: #a795ff; }

/* Sign in */
.signin { padding: var(--gy) var(--gx); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 72px; }
.form { border: 2px solid var(--ink); padding: 36px; display: flex; flex-direction: column; gap: 14px; align-self: start; max-width: 520px; }
.form label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.form input { height: 56px; border: 2px solid var(--ink); background: var(--ground); padding: 0 16px; font-family: inherit; font-size: 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-radius: 0; }
.form .hint { font-size: 13px; color: var(--n5); margin: 0; }
.err { border-left: 6px solid oklch(.52 .19 352); background: oklch(.96 .03 352); padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.rows { margin-top: 10px; border-top: 2px solid var(--n2); }
.rows div { padding: 14px 0; border-bottom: 2px solid var(--n2); font-size: 15px; }

/* Placeholder state for pages still in preparation */
.prep { border: 2px dashed var(--n3); background: var(--n1); padding: 18px 20px; font-size: 14px; font-weight: 600; color: var(--n5); max-width: 74ch; }

/* Motion: entrances only, never loops */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wipeUp { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@supports (animation-timeline: view()) {
  .reveal { animation: rise .8s var(--ease) both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}

/* Narrow screens */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
  .irow, .irow.head { grid-template-columns: 1fr; }
  .irow.head { display: none; }
  .irow:not(.head) > div + div { border-left: 0; border-top: 2px solid var(--n2); }
  .frow { grid-template-columns: 48px minmax(0, 1fr); }
  .frow .fd, .frow .btn, .frow .soon { grid-column: 2; }
  .abody { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .hdr, .wks, .ubar, .progress, .ask, .video, .mg { display: none !important; }
  .grid, .stats, .two { background: none; gap: 0; }
  .grid > *, .stats > *, .two > * { outline: 2px solid var(--ink); break-inside: avoid; }
  details { display: block; }
  section { break-inside: auto; }
}

/* Motion graphic: One word at a time */
.mg { margin: 40px 0; border: 2px solid var(--ink); max-width: 1100px; }
.mg-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 14px 22px; border-bottom: 2px solid var(--ink); background: var(--n1); }
.mg-track { position: relative; }
.mg-stage { padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: 28px; background: var(--ground); }
.mg-steptext { font-weight: 800; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.25; margin: 0; min-height: 2.5em; max-width: 34ch; }
.mg-tiles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mg-tile { height: 56px; padding: 0 18px; display: inline-flex; align-items: center; border: 2px solid var(--ink); font-weight: 800; font-size: 22px; background: var(--ground); transition: opacity .5s var(--ease); }
.mg-tile.new { background: var(--hue); color: var(--ground); border-color: var(--hue); }
.mg-tile.blank { border-style: dashed; color: var(--n3); min-width: 70px; }
.mg-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 52px; align-items: center; gap: 14px; padding: 5px 0; transition: opacity .5s var(--ease); }
.mg-name { font-weight: 700; font-size: 16px; }
.mg-trackbar { height: 22px; background: var(--n1); }
.mg-fill { height: 22px; background: var(--ink); width: 0; }
.mg-row.pick .mg-fill { background: var(--hue); }
.mg-pct { font-size: 13px; font-weight: 600; color: var(--n5); }
.mg-note { margin-top: 8px; }
.mg-temp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; transition: opacity .5s var(--ease); max-width: 520px; }
.mg-temp-track { height: 8px; background: var(--n1); border: 2px solid var(--ink); }
.mg-temp-fill { height: 100%; background: var(--hue); width: 0; }
.mg-static { padding: 0 clamp(20px, 3vw, 44px) 24px; }
.mg-static ol { margin: 0; padding-left: 22px; }
.mg-static li { padding: 6px 0; }
.mg figcaption { font-size: 13px; line-height: 1.5; color: var(--n6); padding: 14px 22px; border-top: 2px solid var(--ink); }
.mg.mg-live .mg-track { height: 480vh; }
.mg.mg-live .mg-stage { position: sticky; top: 84px; min-height: calc(100vh - 124px); justify-content: center; }
.mg.mg-live .mg-static { display: none; }
@media (max-width: 900px) { .mg.mg-live .mg-stage { top: 84px; min-height: calc(100vh - 124px); } }


/* Week hub steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.step { background: var(--ground); padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
a.step:hover { background: var(--n1); color: var(--ink); }
.step .sn { font-weight: 900; font-size: 34px; letter-spacing: -.04em; line-height: 1; color: var(--hue-deep); }
.step .st { font-weight: 800; font-size: 18px; letter-spacing: -.015em; line-height: 1.2; }
.step .sd { font-size: 14px; line-height: 1.5; color: var(--n6); }
.step .tm { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--n5); margin-top: auto; padding-top: 8px; }
.pica { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); margin-top: 24px; }
.pica > div { background: var(--ground); padding: 22px 20px 26px; }
.pica .pl { font-weight: 900; font-size: 44px; line-height: 1; color: var(--violet); letter-spacing: -.04em; }
.pica .pn { font-weight: 800; font-size: 18px; margin: 12px 0 6px; }
.pica p { font-size: 14px; line-height: 1.5; color: var(--n6); margin: 0; }
.fwpage table { font-size: 14px; }
.fwpage td:first-child { font-weight: 700; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr 1fr; } .stat, .stat:first-child { padding: 22px 18px; } }
.video .frame:has(video) { padding: 0; }
.video .frame video { display: block; background: var(--ink); }
details.transcript .tbody p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }

/* Assessment guidelines: the questions to take into the room */
.guide { border-left: 6px solid var(--hue); padding: 4px 0 4px 24px; margin: 28px 0 48px; max-width: 90ch; }
.guide .gk, .tryit .gk { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hue-deep); margin-bottom: 6px; }
/* Suggested exercise */
.tryit { border: 2px solid var(--ink); background: var(--hue-tint); padding: 22px 26px 8px; margin: 36px 0; max-width: 90ch; }
.tryit .h3 { margin: 6px 0 10px; }
.poster .pq em { font-style: italic; color: var(--hue); padding-right: .14em; }

/* Motion graphic 2: the binding constraint */
.bc { --lab: 150px; --cg: 18px; --gap: 5px; position: relative; display: grid; gap: 8px; max-width: 760px; }
.bc-row, .bc-scale { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); column-gap: var(--cg); align-items: center; transition: opacity .4s var(--ease); }
.bc-name { font-weight: 700; font-size: 16px; }
.bc-cells, .bc-scale > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.bc-scale span { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--n5); text-align: center; }
.bc-cell { height: 34px; border: 2px solid var(--ink); background: var(--ground); transition: background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease); }
.bc-cell.on { background: var(--ink); }
.bc-cell.dim { opacity: .22; }
.bc-row.bind .bc-cell.on { background: var(--hue); border-color: var(--hue); }
.bc-row.bind .bc-name { color: var(--hue-deep); }
.bc-row.claim .bc-name::after { content: ' · working on it'; font-weight: 600; font-size: 12px; color: var(--n5); }
.bc-line { position: absolute; top: -6px; bottom: -6px; width: 4px; background: var(--hue); left: calc(var(--lab) + var(--cg) + (100% - var(--lab) - var(--cg) + var(--gap)) * var(--lvl) / 5 - var(--gap) / 2 - 2px); transition: opacity .3s var(--ease); pointer-events: none; }
.bc-line span { position: absolute; bottom: 100%; right: 8px; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hue-deep); padding-bottom: 4px; }
.bc-note { min-height: 1.4em; }
@media (max-width: 640px) { .bc { --lab: 86px; --cg: 10px; --gap: 3px; } .bc-name { font-size: 13px; } .bc-cell { height: 28px; } .bc-row.claim .bc-name::after { content: ''; } }

/* Links and buttons, v2.2. No purple text links: anything you act on is a button.
   Links inside a sentence are ink with a week-colored underline. */
a { color: var(--ink); text-decoration-color: var(--hue); }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
:focus-visible { outline-color: var(--hue-deep); }
::selection { background: var(--hue-tint); }
.btn { text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn.pri:hover { background: var(--hue-deep); border-color: var(--hue-deep); color: var(--ground); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.btn.inv { background: transparent; color: var(--ground); border-color: var(--ground); }
.btn.inv:hover { background: var(--ground); color: var(--ink); }
.hero .k a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; letter-spacing: .14em; transition: background .2s var(--ease), color .2s var(--ease); }
.hero .k a:hover { background: var(--ink); color: var(--ground); }
.cbtns, .rbtns { display: flex; flex-wrap: wrap; gap: 10px; }
.cbtns { margin-top: auto; padding-top: 8px; }
.fsm { font-size: 16px !important; letter-spacing: .06em; }
.markimg { width: 40px; height: 40px; display: block; }
.foot .markimg { width: 44px; height: 44px; }
.foot p + .btn { margin-top: 4px; }
.foot a:not(.btn) { color: var(--ground); text-decoration-color: var(--hue); }
@media (max-width: 900px) { .frow .rbtns { grid-column: 2; } }
.mg { overflow-x: clip; }
.hero .k a { margin-right: 6px; }

/* Motion graphic 3: what the model receives */
.cx { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; max-width: 980px; }
.cx-stack { display: flex; flex-direction: column; gap: 6px; }
.cx-layer { border: 2px solid var(--ink); padding: 10px 14px; background: var(--ground); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; transition: opacity .35s var(--ease), border-color .35s var(--ease); }
.cx-layer.dim { opacity: .18; }
.cx-name { font-weight: 800; font-size: 16px; }
.cx-desc { font-size: 13px; color: var(--n5); }
.cx-layer.prompt { width: 46%; background: var(--hue); border-color: var(--hue); color: var(--ground); }
.cx-layer.prompt .cx-desc { color: var(--ground); opacity: .85; }
.cx-layer.docs.missing { border-style: dashed; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.cx-chip { font-size: 12px; font-weight: 700; padding: 4px 8px; border: 2px solid var(--ink); background: var(--hue-tint); }
.cx-chip.extra { background: var(--n1); color: var(--n5); border-color: var(--n3); }
.cx-out { border: 2px solid var(--ink); padding: 18px 20px; background: var(--ground); transition: opacity .35s var(--ease); }
.cx-line { font-weight: 800; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -.01em; margin: 10px 0 12px; }
.cx-out.generic .cx-line { color: var(--n5); }
.cx-tag { color: var(--hue-deep); }
.cx-out.generic .cx-tag { color: var(--n5); }
@media (max-width: 760px) { .cx { grid-template-columns: 1fr; gap: 16px; } .cx-layer { padding: 7px 10px; } .cx-name { font-size: 14px; } .cx-desc { display: none; } .cx-line { font-size: 17px; } }

/* Motion graphic 4: three tiers */
.tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); max-width: 900px; }
.tr-col { background: var(--ground); display: flex; flex-direction: column; transition: opacity .35s var(--ease); }
.tr-head { padding: 12px 14px; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; gap: 2px; }
.tr-name { font-weight: 900; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.02em; }
.tr-life { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hue-deep); }
.tr-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.tr-doc { border: 2px solid var(--ink); padding: 7px 10px; font-size: 14px; font-weight: 700; background: var(--ground); transition: opacity .3s var(--ease), background .3s var(--ease); }
.tr-doc.wrong { background: var(--hue); color: var(--ground); border-color: var(--hue); }
.tr-home { padding: 8px 14px 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--n5); border-top: 2px solid var(--n2); }
.tr-autumn { margin-top: 18px; border-left: 6px solid var(--hue); padding: 8px 0 8px 18px; max-width: 900px; transition: opacity .35s var(--ease); }
.tr-copy { margin: 6px 0 0; font-weight: 800; font-size: clamp(17px, 1.6vw, 21px); }
.tr-bad { background: var(--hue-tint); color: var(--hue-deep); padding: 0 4px; }
@media (max-width: 640px) { .tr-head, .tr-body, .tr-home { padding-left: 8px; padding-right: 8px; } .tr-doc { font-size: 11.5px; padding: 5px 6px; } .tr-life { font-size: 9.5px; letter-spacing: .04em; } .tr-home { font-size: 9px; letter-spacing: .06em; } }

/* Navigation, v2.3. Three plain layers, all at the top of the page:
   1. The header: every week by name, the library, the LMS.
   2. The week strip: the week's overview and its five steps, in order.
   3. The unit bar: where you are in a unit, part to part, and the contents. It stays in view while you read. */
.hdr { display: flex; align-items: center; gap: 12px 28px; padding: 14px var(--gx); border-bottom: 2px solid var(--ink); background: var(--ground); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14px; line-height: 1.15; letter-spacing: -.01em; flex: none; }
.gnav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; justify-content: center; }
.gnav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.gnav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 4px; background: var(--nh); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.gnav a:hover::after { transform: scaleX(1); }
.gnav a.on::after { transform: scaleX(1); }
.gnav a.on { font-weight: 900; }
.hbtns { display: flex; gap: 8px; flex: none; }
.mnav { display: none; }

.wks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 2px solid var(--ink); background: var(--ground); }
.wks > * { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-left: 2px solid var(--ink); text-decoration: none; color: var(--ink); min-width: 0; }
.wks > :first-child { border-left: 0; }
.wks .n { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n5); white-space: nowrap; }
.wks .l { font-weight: 800; font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wks a { transition: background .2s var(--ease); }
.wks a:hover { background: var(--hue-tint); color: var(--ink); }
.wks a.on, .wks a.on:hover { background: var(--hue); color: var(--ground); }
.wks a.on .n { color: var(--ground); }
.wks .off { color: var(--n4); }
.wks .off .n { color: var(--n3); }

.ubar { position: sticky; top: 4px; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 12px var(--gx); background: var(--ground); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.ub-where { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 14px; }
.ub-cur { justify-content: space-between; gap: 14px; width: clamp(240px, 30vw, 420px); padding: 4px 16px; text-align: left; }
.ub-cl { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ub-cp { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hue-deep); }
.ub-ct { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ub-car { font-size: 16px; flex: none; }
.ub-menu[open] .ub-cp { color: var(--ground); }
.ub-menu { position: static; }
.ub-k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hue-deep); white-space: nowrap; }
.ub-t { font-weight: 800; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ub-ctl { display: flex; gap: 8px; flex: none; }
.ub-b { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 16px; border: 2px solid var(--ink); font-weight: 700; font-size: 15px; background: var(--ground); color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; transition: background .2s var(--ease), color .2s var(--ease); }
.ub-b::-webkit-details-marker { display: none; }
.ub-b:hover, .ub-menu[open] > .ub-b { background: var(--ink); color: var(--ground); }
.ub-b.dis { border-color: var(--n2); color: var(--n3); pointer-events: none; }
.ub-panel { position: absolute; right: var(--gx); top: 100%; margin-top: -2px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow-y: auto; background: var(--ground); border: 2px solid var(--ink); display: flex; flex-direction: column; }
.ub-panel a { display: flex; gap: 14px; align-items: baseline; padding: 14px 18px; border-top: 2px solid var(--n2); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.3; }
.ub-panel a:first-child { border-top: 0; }
.ub-panel a:hover { background: var(--n1); }
.ub-panel a .n { color: var(--hue-deep); font-weight: 900; width: 22px; flex: none; }
.ub-panel a.on { background: var(--hue-tint); box-shadow: inset 6px 0 0 var(--hue); }
.ub-sep { padding: 10px 18px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n5); background: var(--n1); border-top: 2px solid var(--n2); }
[id^="part-"], #intro, #takeaways, #quiz, #frameworks { scroll-margin-top: 76px; }

/* Home: each unit is a button, edged in its week's color */
.ul { display: flex; flex-direction: column; gap: 8px; }
a.ub { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 2px solid var(--ink); border-left: 8px solid var(--wc); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.25; background: var(--ground); transition: background .2s var(--ease), color .2s var(--ease); }
a.ub .un { display: block; margin-bottom: 2px; }
a.ub:hover { background: var(--ink); color: var(--ground); }
a.ub:hover .un { color: var(--n2); }

@media (max-width: 1100px) {
  .hdr { position: relative; justify-content: space-between; }
  .gnav, .hbtns { display: none; }
  .mnav { display: block; }
  .mnav > summary { list-style: none; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 2px solid var(--ink); padding: 0 16px; min-height: 44px; display: flex; align-items: center; }
  .mnav > summary::-webkit-details-marker { display: none; }
  .mnav[open] > summary { background: var(--ink); color: var(--ground); }
  .mpanel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--ground); border-bottom: 2px solid var(--ink); }
  .mpanel nav { display: flex; flex-direction: column; }
  .mpanel nav a { display: flex; align-items: baseline; gap: 12px; padding: 14px var(--gx); border-top: 2px solid var(--n2); text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; box-shadow: inset 6px 0 0 transparent; }
  .mpanel nav a > span:first-child { white-space: nowrap; }
  .mpanel nav a .mn { font-weight: 500; font-size: 14px; color: var(--n5); }
  .mpanel nav a.on { box-shadow: inset 6px 0 0 var(--nh); background: var(--n1); }
  .mbtns { display: flex; gap: 8px; padding: 14px var(--gx) 18px; border-top: 2px solid var(--n2); }
}
@media (max-width: 900px) {
  .wks { display: flex; overflow-x: auto; scrollbar-width: none; }
  .wks::-webkit-scrollbar { display: none; }
  .wks > * { flex: none; max-width: 72vw; }
  .ubar { padding: 8px var(--gx); gap: 10px; }
  .ub-where { display: none; }
  .ub-ctl { gap: 6px; flex: 1; min-width: 0; }
  .ub-menu { flex: 1; min-width: 0; }
  .ub-cur { width: 100%; }
  .ub-b { padding: 0 12px; font-size: 14px; }
  .ub-panel { right: 16px; }
  [id^="part-"], #intro, #takeaways, #quiz, #frameworks { scroll-margin-top: 84px; }
}

/* Motion graphic 5: blast radius */
.br { border: 2px solid var(--ink); max-width: 900px; }
.br-row { display: grid; grid-template-columns: 1.3fr 1fr 1.6fr .7fr .8fr; border-top: 2px solid var(--n2); transition: opacity .35s var(--ease); position: relative; }
.br-row:first-child { border-top: 0; }
.br-head { background: var(--ink); color: var(--ground); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.br-c { padding: 10px 12px; font-size: 15px; }
.br-tool { font-weight: 800; }
.br-row.hot { background: var(--hue-tint); box-shadow: inset 6px 0 0 var(--hue); }
.br-row.struck .br-c { color: var(--n5); text-decoration: line-through; }
.br-score { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: stretch; max-width: 900px; }
.br-cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); flex: 1 1 420px; }
.br-s { background: var(--ground); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; transition: background .3s var(--ease), color .3s var(--ease); }
.br-sv { font-weight: 900; font-size: 28px; line-height: 1; }
.br-sn { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n5); }
.br-s.max { background: var(--hue); color: var(--ground); }
.br-s.max .br-sn { color: var(--ground); }
.br-total { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 150px; }
.br-tv { font-weight: 900; font-size: 56px; letter-spacing: -.04em; line-height: .9; color: var(--hue-deep); }
.br-of { font-size: 13px; color: var(--n5); font-weight: 600; }
.br-fail { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--ground); padding: 4px 8px; align-self: flex-start; transition: opacity .3s var(--ease); }
@media (max-width: 640px) { .br-row { grid-template-columns: 1.2fr .9fr 1.3fr; } .br-row .br-c:nth-child(4), .br-row .br-c:nth-child(5) { display: none; } .br-c { font-size: 13px; padding: 8px; } .br-cells { grid-template-columns: repeat(5, minmax(0, 1fr)); } .br-s { padding: 8px 6px; } .br-sv { font-size: 22px; } .br-sn { font-size: 9px; letter-spacing: .02em; } .br-tv { font-size: 44px; } }

/* Motion graphic 6: where the checkpoint goes */
.ck { max-width: 900px; display: flex; flex-direction: column; gap: 26px; }
.ck-chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding-top: 40px; }
.ck-n { border: 2px solid var(--ink); padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--ground); min-height: 96px; }
.ck-d { font-weight: 900; font-size: 20px; color: var(--hue-deep); }
.ck-t { font-weight: 800; font-size: 15px; line-height: 1.2; }
.ck-n.bad { background: var(--ink); color: var(--ground); }
.ck-n.bad .ck-d { color: var(--ground); }
.ck-n.built { background: var(--hue-tint); box-shadow: inset 0 -6px 0 var(--ink); }
.ck-n.fixed { background: var(--hue); color: var(--ground); border-color: var(--hue); }
.ck-n.fixed .ck-d { color: var(--ground); }
.ck-flag { position: absolute; top: 0; bottom: 0; left: calc((100% + 10px) / 5 * (var(--at, 1) + 1) - 7px); width: 4px; background: var(--hue); transition: left .45s var(--ease), opacity .3s var(--ease); }
.ck-flag span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--hue); color: var(--ground); padding: 4px 8px; }
.ck-cost { display: grid; gap: 8px; transition: opacity .3s var(--ease); }
.ck-bar { height: 22px; background: var(--n1); border: 2px solid var(--ink); }
.ck-fill { height: 100%; background: var(--ink); transition: width .45s var(--ease); }
.ck-lab { font-weight: 800; font-size: 18px; }
@media (max-width: 640px) { .ck-chain { grid-template-columns: 1fr; gap: 6px; padding-top: 0; padding-left: 0; } .ck-n { min-height: 0; flex-direction: row; align-items: baseline; padding: 8px 10px; } .ck-t { font-size: 14px; } .ck-flag { left: 0; right: 0; width: auto; height: 4px; bottom: auto; top: calc((100% + 6px) / 5 * (var(--at, 1) + 1) - 5px); } .ck-flag span { left: auto; right: 0; transform: translateY(-50%); } }

/* Wide tables scroll within their own box on narrow screens */
.tw { max-width: 100%; overflow-x: auto; }
.tw > table { margin: 0; }
.tw { margin: 8px 0 24px; }

/* Motion graphic 7: the record that lasts */
.rl { display: grid; gap: 26px; }
.rl-chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.rl-s { border: 2px solid var(--n2); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; background: var(--ground); transition: border-color .3s var(--ease); }
.rl-s.on { border-color: var(--ink); }
.rl-s.now { background: var(--hue-tint); border-color: var(--hue); }
.rl-d { font-weight: 900; font-size: 18px; color: var(--hue-deep); }
.rl-t { font-weight: 800; font-size: 15px; }
.rl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: start; }
.rl-file { border: 2px solid var(--ink); padding: 16px; display: grid; gap: 12px; }
.rl-name { font-weight: 900; font-size: 22px; }
.rl-badge { justify-self: start; background: var(--hue); color: var(--ground); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; transition: opacity .4s var(--ease), background .4s var(--ease); }
.rl-badge.unsure { background: var(--n3); }
.rl-badge.gone { opacity: 0; }
.rl-s.on { border-color: var(--ink); }
.rl-rec { border: 2px solid var(--ink); padding: 16px; display: grid; gap: 6px; }
.rl-f { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-top: 2px solid var(--n1); transition: opacity .4s var(--ease); }
.rl-k { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hue-deep); padding-top: 3px; }
.rl-v { font-weight: 700; font-size: 15px; }
.mg-live .rl-f.off { opacity: .15; }
@media (max-width: 640px) { .rl-chain { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; } .rl-s { padding: 6px 4px; } .rl-t { font-size: 10px; letter-spacing: -.01em; } .rl-cols { grid-template-columns: 1fr; } .rl-f { grid-template-columns: 1fr; gap: 2px; } }

/* Motion graphic 8: the pull to the average */
.pa { display: grid; gap: 12px; }
.pa-field { position: relative; height: 200px; border-bottom: 2px solid var(--ink); }
.pa-mid { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--n2); }
.pa-dot { position: absolute; width: 16px; height: 16px; margin-left: -8px; background: var(--n3); left: 50%; top: 50%; transition: left .6s var(--ease), top .6s var(--ease), opacity .4s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.pa-dot.p { background: var(--ink); }
.pa-dot.m { background: var(--hue); }
.pa-dot.dim { opacity: .15; }
.pa-dot.hide { opacity: 0; }
.pa-dot.pick { transform: scale(1.8); outline: 3px solid var(--hue-deep); outline-offset: 3px; }
.pa-scale { display: flex; justify-content: space-between; }
.pa-legend { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.pa-key { width: 12px; height: 12px; display: inline-block; }
.pa-key.p { background: var(--ink); }
.pa-key.m { background: var(--hue); margin-left: 14px; }
@media (max-width: 640px) { .pa-field { height: 160px; } }

/* Motion graphic 9: Fix the claim first */
.fc { display: grid; gap: 16px; }
.fc-asset { border: 2px solid var(--ink); padding: 16px; display: grid; gap: 10px; }
.fc-line { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.3; transition: opacity .4s var(--ease), color .3s var(--ease); }
.fc-old { text-decoration: line-through; color: var(--n5); }
.fc-tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hue-deep); margin-left: 6px; }
.fc-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-facts span { font-size: 13px; font-weight: 700; border: 2px solid var(--n2); padding: 4px 8px; }
.fc-label { justify-self: start; background: var(--hue); color: var(--ground); font-size: 13px; font-weight: 800; padding: 6px 10px; transition: opacity .4s var(--ease); }
.fc-rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.fc-r { display: flex; gap: 8px; align-items: baseline; border: 2px solid var(--n2); padding: 6px 8px; transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease); }
.fc-n { font-weight: 900; font-size: 14px; color: var(--hue-deep); min-width: 18px; }
.fc-t { font-weight: 700; font-size: 13px; }
.fc-r.no { opacity: .4; }
.fc-r.yes { border-color: var(--hue); background: var(--hue-tint); }
.fc-r.stop { border-color: var(--ink); background: var(--ink); color: var(--ground); }
.fc-r.stop .fc-n { color: var(--ground); }
.fc-r.fixed { border-color: var(--ink); }
.fc-r.fixed .fc-t::after { content: ' · fixed'; color: var(--hue-deep); }
.fc-decision { border-left: 6px solid var(--hue); background: var(--hue-tint); padding: 12px 14px; display: grid; gap: 4px; font-weight: 700; font-size: 15px; transition: opacity .4s var(--ease); }
.mg-live .fc-r.pending { opacity: .25; }
.mg-live .fc:not(.fixed) .fc-old { text-decoration: none; color: var(--ink); }
.mg-live .fc.stop .fc-old { background: var(--hue-tint); outline: 2px solid var(--hue); }
.mg-live .fc:not(.fixed) .fc-new { opacity: 0; }
.mg-live .fc:not(.label) .fc-label { opacity: 0; }
.mg-live .fc:not(.done) .fc-decision { opacity: 0; }
@media (max-width: 640px) { .fc { gap: 10px; } .fc-asset { padding: 10px; gap: 6px; } .fc-rules { grid-template-columns: 1fr 1fr; gap: 4px; } .fc-r { padding: 3px 6px; } .fc-t, .fc-n { font-size: 12px; } .fc-line { font-size: 15px; } .fc-facts { gap: 4px; } .fc-facts span { font-size: 11px; padding: 2px 6px; } .fc-decision { font-size: 13px; padding: 8px 10px; } }

/* Motion graphic 10: When the hours fall */
.hf { display: grid; gap: 16px; }
.hf-h { display: flex; justify-content: space-between; align-items: baseline; }
.hf-v { font-weight: 900; font-size: 20px; color: var(--hue-deep); }
.hf-bar { position: relative; height: 34px; background: var(--n1); margin-top: 6px; }
.hf-fill { height: 100%; background: var(--hue); transition: width .6s var(--ease); }
.hf-get .hf-fill { background: var(--ink); }
.hf-js { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hf-j { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 800; color: var(--ground); border-left: 2px solid var(--ground); transition: opacity .4s var(--ease); line-height: 1.1; padding: 0 4px; }
.hf-j:first-child { border-left: 0; }
.hf-models { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; transition: opacity .4s var(--ease); }
.hf-m { border: 2px solid var(--hue); background: var(--hue-tint); padding: 6px 12px; font-weight: 800; font-size: 15px; }
.hf-note { color: var(--n5); }
.mg-live .hf:not(.judg) .hf-j { opacity: 0; }
.mg-live .hf:not(.models) .hf-models { opacity: 0; }
@media (max-width: 640px) { .hf-j { font-size: 10px; } }

/* Platform sign-in */
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack[hidden], .form [hidden] { display: none; }
.form input.plain { text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 500; }
.note { border-left: 6px solid var(--ink); background: var(--ground); padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.linkbtn:disabled { text-decoration: none; cursor: default; opacity: .7; }

/* Admin pages */
.adm { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.adm label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.adm label.chk { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.adm select, .adm textarea, .adm input[type=file] { border: 2px solid var(--ink); background: var(--ground); color: var(--ink); font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 0; }
.adm textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }
.adm .hint { font-size: 13px; color: var(--n5); margin: 0; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border: 2px solid var(--ink); }
