/* Daru, Night desk B2 (team/notes/design-spec-v1.md; tokens per BRAND.md section 4, type section 5).
   Light tokens on :root; dark tokens when the device is dark (unless the reader chose light) or when
   the reader chose dark. Plain custom properties (no CSS colour function for modes), so older iPhone Safari gets both. */

/* Self-hosted brand fonts (SIL Open Font License 1.1, licence files in assets/fonts). No Google call. */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/source-sans-3-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/source-sans-3-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-serif-4-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-serif-4-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --bg: #F6F7FA; --surface: #FFFFFF; --surface-2: #EEF0F5; --paper: #F7F4EE;
  --ink: #1B2340; --muted: #5A6175; --line: #E3E6ED; --line-2: #D3D7E1;
  --coral: #F2674A; --coral-ink: #B5412A; --coral-soft: #FDECE7;
  /* Academy green (BRAND.md 13): the Academy's one accent, only on Academy surfaces (kept after a coral trial, 2026-10-29) */
  --academy: #22773F; --academy-ink: #22773F; --academy-on: #FFFFFF; --academy-soft: #E9F4EC; --academy-line: #C9E3D1;
  --header-bg: rgba(246, 247, 250, 0.82); --shadow-c: rgba(27, 35, 64, 0.10); --glow: rgba(242, 103, 74, 0);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 16px; --r-img: 10px; --r-pill: 999px; /* the only three radii */
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* reading and type: one 35rem column; one type scale of five sizes (ux cleanup after the audit,
     2026-10-29): 13 meta and labels, 16 interface and small titles, 19 reading text and card titles,
     24 section titles, 32 headlines; a 4 / 8 spacing scale */
  --measure: 35rem;
  --fs-1: .8125rem; --fs-2: 1rem; --fs-3: 1.1875rem; --fs-4: 1.5rem; --fs-5: 2rem;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #10131B; --surface: #171B25; --surface-2: #1E2330;
    --ink: #E8EAF1; --muted: #A2A8B8; --line: #262B38; --line-2: #343A4A;
    --coral: #FF7A5C; --coral-ink: #FF9A80; --coral-soft: #2A1D1E;
    --academy: #79D38F; --academy-ink: #9BE0AC; --academy-on: #10131B; --academy-soft: #16241B; --academy-line: #284433;
    --header-bg: rgba(16, 19, 27, 0.78); --shadow-c: rgba(0, 0, 0, 0.45); --glow: rgba(255, 122, 92, 0.10);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10131B; --surface: #171B25; --surface-2: #1E2330;
  --ink: #E8EAF1; --muted: #A2A8B8; --line: #262B38; --line-2: #343A4A;
  --coral: #FF7A5C; --coral-ink: #FF9A80; --coral-soft: #2A1D1E;
  --academy: #79D38F; --academy-ink: #9BE0AC; --academy-on: #10131B; --academy-soft: #16241B; --academy-line: #284433;
  --header-bg: rgba(16, 19, 27, 0.78); --shadow-c: rgba(0, 0, 0, 0.45); --glow: rgba(255, 122, 92, 0.10);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (min-width: 640px) { html { scroll-padding-top: 132px; } }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 var(--fs-2)/1.55 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1100px 380px at 50% -160px, var(--glow), transparent 70%); background-repeat: no-repeat; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 3px; border-radius: var(--r-img); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: var(--r-img); }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
/* Footer at the bottom on short pages (ux S8). */
body > main { flex: 1 0 auto; width: 100%; }
body > header, body > footer, body > .ticker, body > .sample-banner { flex: none; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---- header ---- */
.site-header { position: relative; z-index: 20; background: var(--header-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.brand-row { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wordmark { font: 600 var(--fs-5)/1 var(--serif); letter-spacing: -0.035em; color: var(--ink); display: inline-flex; align-items: baseline; }
.wordmark i { width: .2em; height: .2em; border-radius: var(--r-pill); background: var(--coral); margin-left: .06em; }
.descriptor { display: grid; gap: 1px; padding-left: 16px; border-left: 1px solid var(--line-2); min-width: 0; }
.descriptor b { font: 600 var(--fs-1)/1.2 var(--sans); }
.descriptor small { font-size: var(--fs-1); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.h-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.chip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font: 600 var(--fs-1)/1 var(--sans); cursor: pointer; transition: border-color .2s var(--ease); }
.chip-btn:hover { border-color: var(--coral); }
.icon-btn { padding: 0; width: 44px; }
.icon-btn svg { width: 18px; height: 18px; }
.main-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
@media (min-width: 640px) { .site-header { position: sticky; top: 0; } }
.main-nav::-webkit-scrollbar { display: none; }
/* Phones: the nav fades at the right edge so it shows that it scrolls (ux S7). */
/* Six items (ux cleanup): the nav fades at the edge while more of it is out of view (live.js sets
   data-fade from the scroll position; without our script, phones always fade). Items never shrink, so no
   word is cut. */
.main-nav[data-fade] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
@media (max-width: 719px) { .main-nav { scroll-padding-inline: 16px; } html:not(.js) .main-nav { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); } }
.main-nav a { flex: none; font: 600 var(--fs-2)/1 var(--sans); color: var(--muted); padding: 0 12px; height: 44px; display: inline-flex; align-items: center; border-radius: var(--r-pill); white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current] { color: var(--ink); background: var(--surface-2); }
@media (max-width: 559px) {
  .wordmark { font-size: var(--fs-4); }
  .brand-row { gap: 12px; }
  .descriptor { padding-left: 12px; }
  .descriptor b { font-size: var(--fs-1); }
  .h-tools .lang-long { display: none; }
}
@media (max-width: 419px) {
  .brand-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .descriptor { padding-left: 0; border-left: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
}
@media (min-width: 560px) { .h-tools .lang-short { display: none; } }

/* ---- live signals ---- */
.live-dot { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--coral); }
.live-dot.pulse::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--coral); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(3); opacity: 0; } }
time.ago { font-variant-numeric: tabular-nums; white-space: nowrap; }
time.ago.fresh { color: var(--coral-ink); font-weight: 600; }

/* ---- ticker: a slow marquee with Pause; stops on hover, focus and reduced motion (studio call, pending David) ---- */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--surface); }
.tk-label { flex: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 16px 0 var(--gutter); font: 600 var(--fs-1)/1 var(--sans); letter-spacing: .01em; color: var(--coral-ink); border-right: 1px solid var(--line); }
.tk-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.tk-track { display: flex; width: max-content; animation: roll 90s linear infinite; }
.tk-list { display: flex; list-style: none; margin: 0; padding: 0; }
.tk-list li { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px 0 20px; white-space: nowrap; font-size: var(--fs-2); position: relative; }
.tk-list li::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: var(--r-pill); background: var(--line-2); }
.tk-list time { font-size: var(--fs-1); color: var(--muted); }
.tk-list a { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.tk-list .via { color: var(--muted); }
.tk-list a:hover .tk-h { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track, .ticker[data-paused] .tk-track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }
.tk-pause { flex: none; width: 48px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.tk-pause:hover { color: var(--ink); }
.tk-pause svg { width: 14px; height: 14px; }
.tk-pause .i-play, .ticker[data-paused] .tk-pause .i-pause { display: none; }
.ticker[data-paused] .tk-pause .i-play { display: block; }
.tk-all { flex: none; display: flex; align-items: center; padding: 0 var(--gutter) 0 16px; border-left: 1px solid var(--line); font: 600 var(--fs-1)/1 var(--sans); color: var(--coral-ink); }
@media (max-width: 559px) { .tk-all { display: none; } }


/* ---- developing bar ---- */
.dev-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; margin-top: 20px; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--coral); transition: border-color .2s var(--ease); }
.dev-bar:hover { border-color: var(--coral); }
.dev-k { display: flex; align-items: center; gap: 8px; font: 600 var(--fs-1)/1 var(--sans); letter-spacing: .01em; color: var(--coral-ink); }
.dev-t { font: 600 var(--fs-2)/1.3 var(--serif); }
.dev-m { grid-column: 2; font-size: var(--fs-1); color: var(--muted); }
.dev-go { grid-row: 1 / span 2; grid-column: 3; color: var(--muted); }
@media (max-width: 639px) { .dev-bar { grid-template-columns: 1fr auto; } .dev-k { grid-column: 1; } .dev-t, .dev-m { grid-column: 1; } .dev-go { grid-column: 2; grid-row: 1 / span 3; } }

/* ---- home grid ---- */
main, main.wrap { padding-bottom: 56px; } /* every page ends 56 px above the footer (.wrap used to reset it) */
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 var(--s-4); }
/* One label style for every section label (ux cleanup, 2026-10-29): 13 px, 600, muted, sentence case. */
.sec-h h2, .label { margin: 0; font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sec-h a, .desk-all a, .go { display: inline-flex; align-items: center; min-height: 44px; }
.sec-h a { font-size: var(--fs-1); font-weight: 600; color: var(--coral-ink); }
.block + .block { margin-top: var(--s-7); }
@media (min-width: 960px) { .block + .block { margin-top: var(--s-8); } }

/* ---- cards ---- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card:hover { border-color: var(--line-2); box-shadow: 0 1px 2px var(--shadow-c), 0 16px 32px -20px var(--shadow-c); transform: translateY(-2px); }
.card:focus-within { border-color: var(--coral); }
.card-image { position: relative; margin: 0; background: var(--paper); }
.card-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); }
.fmt-breaking { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-ink); background: var(--coral-soft); padding: 4px 8px; border-radius: var(--r-pill); }
.card-title { margin: 0; font: 600 var(--fs-3)/1.25 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title a { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dek { margin: 0; color: var(--muted); font-size: var(--fs-2); line-height: 1.5; }
.source-line { margin: 0; font-size: var(--fs-1); color: var(--muted); }
.byline { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; margin: 4px 0 0; font-size: var(--fs-1); color: var(--muted); }
/* Card bylines stay on one line (ux cleanup): the name gives way first. */
.card .byline { flex-wrap: nowrap; white-space: nowrap; }
.card .byline .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ai-plain { color: var(--muted); font-weight: 400; margin-left: -4px; }
.byline .av { width: 28px; height: 28px; }
.byline .name { color: var(--ink); font-weight: 600; }
.byline .name:hover { text-decoration: underline; text-underline-offset: 3px; }
.dotsep { width: 3px; height: 3px; border-radius: var(--r-pill); background: currentColor; opacity: .6; }
.av { flex: none; border-radius: var(--r-pill); background: var(--paper); box-shadow: 0 0 0 1px var(--line-2); object-fit: cover; }
.ai-badge { display: inline-flex; align-items: center; font: 600 var(--fs-1)/1 var(--sans); letter-spacing: .02em; color: var(--muted); background: var(--surface-2); padding: 4px 8px; border-radius: var(--r-pill); white-space: nowrap; }
/* The AI badge on a byline avatar (cards and rows): neutral, attached to the avatar's edge, named
   "AI writer" for screen readers and on hover (render.mjs aiAvatar). */
.av-ai { position: relative; display: inline-flex; align-items: center; flex: none; }
.ai-tag { position: relative; z-index: 1; margin-left: -6px; padding: 2px 5px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: 0 0 0 2px var(--surface); color: var(--muted); font: 600 var(--fs-1)/1 var(--sans); letter-spacing: .02em; cursor: default; }
.av-ai .avatar-row { width: 20px; height: 20px; }
.row-by { display: inline-flex; align-items: center; }

.card-lead .card-title { font-size: var(--fs-5); line-height: 1.12; letter-spacing: -0.02em; }
.card-lead .dek { font-size: var(--fs-2); }
.card-lead .card-image img { aspect-ratio: 2 / 1; }
@media (min-width: 720px) { .card-lead .card-body { padding: 24px 24px 24px; gap: 12px; } }
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; gap: 20px; } }
/* phone: compact row cards, text left, square thumb right */
@media (max-width: 639px) {
  .card-md { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px 16px; padding: 16px; align-items: start; }
  .card-md .card-body { display: contents; }
  .card-md .kicker { grid-column: 1; grid-row: 1; }
  .card-md .card-title { grid-column: 1; grid-row: 2; font-size: var(--fs-2); line-height: 1.3; }
  .card-md .card-image { grid-column: 2; grid-row: 1 / span 2; width: 96px; background: none; }
  .card-md .card-image img { width: 96px; height: 96px; aspect-ratio: 1; border-radius: var(--r-img); background: var(--paper); }
  .card-md .dek { display: none; }
  .card-md .byline { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
  .card-md .byline .av { width: 22px; height: 22px; }
}
/* text-only rows: quick updates, regional lines */
.rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.rows li { position: relative; padding: 16px 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.rows li:first-child { border-top: 0; }
.rows .row-t { font: 600 var(--fs-2)/1.35 var(--serif); }
.rows .row-t a::after { content: ""; position: absolute; inset: 0; }
.rows li:hover .row-t a { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.rows .row-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-1); color: var(--muted); }
/* Row meta on one line too: the via name gives way first (ux cleanup). */
.rows .row-m { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.rows .row-m > span:last-child:not(.row-by), .rows .row-m > .row-via { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.regional { display: grid; gap: 16px; }
@media (min-width: 640px) { .regional { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } .regional-large .rows { grid-column: 1 / -1; } }

/* ---- side ---- */
.side { display: grid; gap: 20px; align-content: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; }
.brief-card { position: relative; display: grid; gap: 8px; }
.brief-card h3 { margin: 2px 0 0; font: 600 var(--fs-3)/1.2 var(--serif); }
.brief-card p { margin: 0; color: var(--muted); font-size: var(--fs-2); }
.btn { position: relative; z-index: 1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-pill); font: 600 var(--fs-1)/1 var(--sans); background: var(--ink); color: var(--bg); border: 0; cursor: pointer; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--coral); }
.side .rows { border: 0; background: transparent; }
.side .rows li { padding: 12px 0; }
.side .rows li:first-child { padding-top: 4px; }
.buzz { display: grid; gap: 16px; }
.buzz-item { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.buzz-item:first-of-type { padding-top: 0; border-top: 0; }
.buzz-by { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: var(--fs-2); }
.buzz-by .xmark { width: 26px; height: 26px; border-radius: var(--r-img); background: var(--surface-2); display: grid; place-items: center; font: 700 var(--fs-1)/1 var(--sans); color: var(--muted); }
.buzz-note { margin: 0; font-size: var(--fs-2); }
.buzz-fine { margin: 0; font-size: var(--fs-1); color: var(--muted); line-height: 1.45; }
.buzz-fine a { text-decoration: underline; text-underline-offset: 2px; }
.buzz .btn { margin-top: 2px; height: 44px; font-size: var(--fs-1); }

.in-short { margin: 24px 0 0; padding: 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.in-short .label { margin-bottom: 8px; }
.in-short p { margin: 0; font-size: var(--fs-3); line-height: 1.55; }
.question { margin: var(--s-6) 0 0; padding-top: 16px; border-top: 1px solid var(--line); font: 600 var(--fs-3)/1.35 var(--serif); }

/* ---- Follow button (writer strip, writer cards) ---- */
.w-follow { position: relative; z-index: 1; margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font: 600 var(--fs-1)/1 var(--sans); }
.w-follow:hover { border-color: var(--coral); color: var(--coral-ink); }
.w-follow svg { width: 12px; height: 12px; }

/* ---- robotics desk ---- */
/* Robotics desk and Built with AI: plain sections, cards one level deep (ux S2). */
.desk { margin-top: 56px; padding: 0; background: none; border: 0; border-radius: 0; }
.desk-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.desk-head h2 { margin: 8px 0 4px; font: 600 var(--fs-4)/1.15 var(--serif); letter-spacing: -0.02em; }
.desk-head .host { display: flex; align-items: center; gap: 12px; font-size: var(--fs-1); color: var(--muted); }
.desk-head .host .av { width: 36px; height: 36px; }
.desk-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .desk-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; } }
@media (min-width: 640px) { .card-wide { display: grid; grid-template-columns: 1fr 1fr; } .card-wide .card-image img { height: 100%; aspect-ratio: auto; min-height: 240px; } .card-wide .card-body { justify-content: center; padding: 24px; } }
.desk .rows { background: transparent; border: 0; border-radius: 0; }
.desk .rows li { padding: 12px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { font: 600 var(--fs-1)/1 var(--sans); padding: 9px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-2); }
.chips a:hover { border-color: var(--coral); }


/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0 40px; font-size: var(--fs-1); color: var(--muted); }
.f-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .f-grid { grid-template-columns: 1.2fr 1fr auto; align-items: start; } }
.f-brand { display: grid; gap: 8px; }
.f-brand .wordmark { font-size: var(--fs-4); }
.f-brand p { margin: 0; max-width: 34rem; text-wrap: pretty; }
.f-links { display: flex; flex-wrap: wrap; gap: 0 20px; align-content: start; }
.f-links a { display: inline-flex; align-items: center; min-height: 44px; }
.f-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.appearance { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.appearance legend { padding: 0; margin-bottom: 8px; font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--surface-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; border-radius: var(--r-pill); }
.seg span { display: block; padding: 12px 16px; border-radius: var(--r-pill); font: 600 var(--fs-1)/1 var(--sans); color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease); }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px var(--shadow-c); }
.seg input:focus-visible + span { outline: 2px solid var(--coral-ink); outline-offset: 2px; }

/* ---- story page ---- */
.story { max-width: var(--measure); margin: 0 auto; padding-top: 32px; }
/* One reading column: every block in a story shares the text's left edge (ux M1). */
.story .prose, .story .after, .story .question, .story .kf, .story .data-card, .story .build-panel, .story .video-block, .story > .notice, .story .share-end, .story .in-short, .story .entries-wrap { max-width: none; margin-left: 0; margin-right: 0; }
.story-head { display: grid; gap: 12px; }
.story-head h1 { margin: 0; font: 600 var(--fs-5)/1.15 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.story-head .dek { font-size: var(--fs-3); line-height: 1.45; color: var(--muted); }
.story-by { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 4px; }
.story-by .av { width: 44px; height: 44px; }
.story-by .who { display: grid; gap: 2px; font-size: var(--fs-1); color: var(--muted); }
.story-by .who b { display: flex; align-items: center; gap: 8px; font-size: var(--fs-2); color: var(--ink); }
.story-by .who b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.story-by .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.story-figure { margin: 24px 0 0; }
@media (min-width: 900px) { .story-figure { margin-left: -6.5rem; margin-right: -6.5rem; } .story-figure figcaption { margin-left: 6.5rem; } }
.story-figure .frame { border-radius: var(--r-img); overflow: hidden; background: var(--paper); }
.story-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Credits are one caption line, never a row spread across the width (ux M2). */
.story-figure figcaption { display: block; max-width: var(--measure); margin-top: 8px; font-size: var(--fs-1); line-height: 1.45; color: var(--muted); }
.prose { max-width: var(--measure); margin: 24px auto 0; font-size: var(--fs-3); line-height: 1.6; }
@media (min-width: 640px) { .prose { font-size: var(--fs-3); line-height: 1.65; } }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font: 600 var(--fs-4)/1.25 var(--serif); margin: 1.8em 0 .6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--muted); }
.sig { position: relative; margin: 2em 0; padding: 24px 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); font-size: var(--fs-2); }
.sig-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.sig-h .av { width: 32px; height: 32px; }
.sig-h b { font: 600 var(--fs-3)/1.2 var(--serif); }
.sig-h small { display: block; font-size: var(--fs-1); color: var(--muted); }
.sig p:last-child { margin-bottom: 0; }
.after { max-width: var(--measure); margin: 0 auto; }
.sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.sources ol { margin: 12px 0 8px; padding-left: 1.3em; font-size: var(--fs-2); }
.sources li { margin: 8px 0; overflow-wrap: anywhere; }
.sources li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.sources a { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.sources a:hover { color: var(--coral-ink); }
.ext { display: inline-block; width: .75em; height: .75em; margin-left: 4px; vertical-align: -.05em; }
.fine { font-size: var(--fs-1); color: var(--muted); margin: 0; }
.fine a { text-decoration: underline; text-underline-offset: 2px; }
.writer-strip { display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.writer-strip .av { width: 56px; height: 56px; }
.writer-strip .txt { flex: 1; display: grid; gap: 2px; font-size: var(--fs-1); color: var(--muted); }
.writer-strip .txt b { display: flex; align-items: center; gap: 8px; font-size: var(--fs-2); color: var(--ink); }
.writer-strip .w-follow { margin: 0; }
@media (max-width: 479px) { .writer-strip { flex-wrap: wrap; } }
.more { margin-top: 40px; }

/* ---- phone first screen: the lead headline and the story opening show on the first 375 x 812 screen (ux) ---- */
@media (max-width: 639px) { .dev-bar { margin-top: 12px; padding: 12px 16px; } .dev-t { font-size: var(--fs-2); } .home { margin-top: 16px; } .story { padding-top: 20px; } .story-by .av { width: 36px; height: 36px; } .story-by { padding: 12px 0; } .story-head { gap: 12px; } .story-head h1, .page > h1, .page h1, .writer-head h1 { font-size: var(--fs-4); } }

/* ---- motion: everything above is decoration; reduced motion turns it off ---- */
@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; }
  .tk-view { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .tk-track [aria-hidden="true"], .tk-pause { display: none; }
  .live-dot.pulse::after { animation: none; }
  .card, .w, .btn, .dev-bar { transition: none; }
  .card:hover, .w:hover, .btn:hover { transform: none; }
}

/* ======== site build additions (every page type beyond the two mockups) ======== */
html:not(.js) .needs-js { display: none !important; }
/* Without our script there is no Pause button, so the ticker stands still and scrolls by hand. */
html:not(.js) .tk-track { animation: none; }
html:not(.js) .tk-view { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
html:not(.js) .tk-copy { display: none; }
.sample-banner { font-size: var(--fs-1); color: var(--muted); text-align: center; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.muted { color: var(--muted); }
.small, .fine { font-size: var(--fs-1); }
.fine { color: var(--muted); }
.go { font: 600 var(--fs-2)/1.4 var(--sans); color: var(--coral-ink); }
.go:hover { text-decoration: underline; text-underline-offset: 3px; }
.tag-sample { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font: 600 var(--fs-1)/1 var(--sans); letter-spacing: .04em; text-transform: none; color: var(--muted); }
.kicker a { color: var(--coral-ink); }
.byline .avatar-sm { width: 28px; height: 28px; }

/* avatars: always on a cream circle, square corners never show on dark (BRAND 7) */
.av-initials { display: inline-flex; align-items: center; justify-content: center; color: #1B2340; font: 600 var(--fs-1)/1 var(--sans); }
.avatar-xs { width: 32px; height: 32px; }
.avatar-by { width: 44px; height: 44px; }
.avatar-strip { width: 56px; height: 56px; }
.avatar-md { width: 72px; height: 72px; }
.avatar-lg { width: 160px; height: 160px; font-size: var(--fs-5); }
.host .av { width: 36px; height: 36px; }

/* images: illustrations on --paper, photos edge to edge; a dark twin follows the theme switch too */
.card-image.is-photo, .frame-photo { background: var(--surface-2); }
.img-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .img-light { display: none !important; } :root:not([data-theme="light"]) .img-dark { display: block !important; } }
:root[data-theme="dark"] .img-light { display: none !important; }
:root[data-theme="dark"] .img-dark { display: block !important; }
.story-figure figcaption a, .credit a { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 2px; }
.story-figure figcaption a:hover, .credit a:hover { color: var(--coral-ink); }
.card.no-image .card-body { padding-top: 16px; }
@media (max-width: 639px) { .card-md.no-image { grid-template-columns: minmax(0, 1fr); } }

/* generic pages: about, policies, writers, archive, releases, buzz, academy, brief, follow */
.page { max-width: var(--measure); margin: 0 auto; padding-top: 32px; }
/* Pages with lists and cards (writers, archive, releases, academy, buzz) may be wider; their text keeps the measure. */
.page-wide { max-width: 46rem; }
.page > p, .page .prose, .page .profile dd, .page .lede, .page .notice { max-width: var(--measure); }
@media (min-width: 640px) { .page > p:not(.lede):not(.notice):not(.fine):not(.muted), .page .prose, .page .profile dd { font-size: var(--fs-3); line-height: 1.65; } }
.page > h1, .page h1, .writer-head h1 { margin: 0 0 12px; font: 600 var(--fs-5)/1.15 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.page h2 { font: 600 var(--fs-4)/1.25 var(--serif); margin: 1.8em 0 .6em; }
.page h2.label, .page .label { font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); margin: 32px 0 12px; }
.page h3 { font: 600 var(--fs-3)/1.3 var(--serif); margin: 0 0 4px; }
.page p { margin: 0 0 1em; }
.lede { font-size: var(--fs-3); line-height: 1.5; color: var(--muted); margin: 0 0 24px; }
.notice { background: var(--surface); border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--line-2); border-radius: var(--r-img); padding: 12px 16px; font-size: var(--fs-2); color: var(--muted); }
.notice strong { color: var(--ink); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.plain-list li:first-child { border-top: 0; }
.plain-list a, .link-list a, .page .prose a { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list li { padding: 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); font-weight: 600; }
.page .prose { margin-top: 12px; }
.page .rows { margin-top: 8px; }
.archive-day h2.label { margin-top: 32px; }
.btn svg { width: 12px; height: 12px; }
.btn:hover { color: var(--bg); }
.btn-ghost:hover { color: var(--ink); }

/* signature box and other boxes in story text */
.prose .box { position: relative; margin: 2em 0; padding: 24px 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); font-size: var(--fs-2); }
.prose .box > :last-child { margin-bottom: 0; }
.box-label { margin: 0 0 12px; font: 600 var(--fs-3)/1.2 var(--serif); }
.sig-h { display: flex; align-items: center; gap: 12px; }
.prose blockquote { margin: 1.5em 0; padding-left: 16px; border-left: 3px solid var(--line-2); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose h3 { font: 600 var(--fs-3)/1.3 var(--serif); margin: 1.6em 0 .5em; }
.prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose code { font-size: inherit; }
.adapted { margin: 0; }
.story-head .kicker { margin-bottom: 2px; }
.after > section, .after > aside, .after > a { margin-top: 32px; }
.after .sources { margin-top: 40px; }
.corrections-note ul { margin: 8px 0 0; padding-left: 1.2em; font-size: var(--fs-2); }
.comments { padding-top: 20px; border-top: 1px solid var(--line); }
.comments .label { margin: 0 0 8px; }

/* Daru data card: a key figure rendered in code from front matter, checked by factcheck */
.data-card { position: relative; max-width: var(--measure); margin: 24px 0 0; padding: 24px 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.data-card .label { margin: 0; }
.kf-value { margin: 12px 0 8px; font: 600 var(--fs-5)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.kf-label { margin: 0; max-width: 30rem; font-size: var(--fs-2); line-height: 1.45; }
.kf-source { margin: 12px 0 0; padding-right: 64px; font-size: var(--fs-1); color: var(--muted); }
.kf-mark { position: absolute; right: 20px; bottom: 16px; display: inline-flex; align-items: baseline; font: 600 var(--fs-2)/1 var(--serif); letter-spacing: -0.035em; color: var(--muted); }
.kf-mark i { width: .2em; height: .2em; border-radius: var(--r-pill); background: var(--coral); margin-left: .06em; }

/* developing story page */
.live-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: var(--fs-1); color: var(--coral-ink); }
.live-status b { font-weight: 600; letter-spacing: .01em; font-size: var(--fs-1); }
.live-closed { color: var(--muted); }
.explainer-link { margin: 0; }
.top-box { margin-top: 28px; }
.top-box .box { margin-top: 0; }
.entries-wrap { max-width: var(--measure); margin: 32px auto 0; }
.entries-wrap .label { margin: 0 0 12px; }
.entry-filter { margin: 0 0 16px; }
.entry-filter a { color: var(--ink); }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { position: relative; padding: 0 0 24px 20px; border-left: 2px solid var(--line); }
.entry::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: var(--r-pill); background: var(--bg); border: 2px solid var(--line-2); }
.entry-key::before { border-color: var(--coral); background: var(--coral); }
.entry-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; font-size: var(--fs-1); }
.entry-head time { font: 600 var(--fs-2)/1 var(--sans); font-variant-numeric: tabular-nums; }
.entry-label, .entry-keytag { font: 600 var(--fs-1)/1 var(--sans); padding: 4px 8px; border-radius: var(--r-pill); border: 1px solid var(--line-2); }
.entry-confirmed { background: var(--surface-2); }
.entry-claimed { border-style: dashed; }
.entry-keytag { color: var(--coral-ink); background: var(--coral-soft); border-color: transparent; }
.entry-text { font-size: var(--fs-2); line-height: 1.6; }
.entry-text p { margin: 0 0 .6em; }
.entry-source { margin: 0; font-size: var(--fs-1); color: var(--muted); }
.entry-struck .entry-text { color: var(--muted); }
.entry-correction { margin: 8px 0 0; padding: 12px 12px; font-size: var(--fs-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); box-shadow: inset 3px 0 0 var(--coral); }
#key-events:target .entry:not(.entry-key) { display: none; }
s { text-decoration-thickness: 1px; }

/* writers list, writer page, follow page */
.writer-grid { list-style: none; padding: 0; margin: 16px 0 32px; display: grid; gap: 12px; }
@media (min-width: 640px) { .writer-grid { grid-template-columns: 1fr 1fr; } }
.writer-card { display: flex; gap: 16px; align-items: flex-start; }
.writer-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.writer-card p { margin: 4px 0; }
.writer-card .w-follow { margin-top: 8px; }
.writer-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.writer-head > div { flex: 1 1 16rem; }
.avatar-figure { margin: 0; display: grid; justify-items: center; gap: 8px; max-width: 11rem; text-align: center; }
.avatar-figure .credit { font-size: var(--fs-1); color: var(--muted); line-height: 1.4; }
.writer-beat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.writer-quote { font: 600 var(--fs-3)/1.4 var(--serif); color: var(--ink); }
/* Writer page answers as a definition list (ux S5). */
.profile-list { margin: 0; }
.profile-list dt { margin: 0 0 4px; font: 600 var(--fs-2)/1.3 var(--sans); color: var(--ink); }
.profile-list dd { margin: 0 0 var(--s-5); font-size: var(--fs-3); line-height: 1.6; }
.track { margin-top: 32px; }
.follow-head { align-items: center; }
.follow-head .kicker { margin-bottom: 8px; }
.feed-panel { margin: 24px 0; }
.feed-panel .label { margin: 0 0 8px; }
.feed-url code { display: block; padding: 12px 12px; background: var(--surface-2); border-radius: var(--r-img); font-size: var(--fs-1); overflow-wrap: anywhere; user-select: all; }

/* releases tracker */
.release-day h2 { font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); margin: 32px 0 12px; }
.release-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.release-list li { display: grid; gap: 2px 16px; padding: 16px 16px; border-top: 1px solid var(--line); }
.release-list li:first-child { border-top: 0; }
.rel-maker { font-weight: 600; color: var(--ink); }
.rel-what { font: 600 var(--fs-2)/1.35 var(--serif); }
.rel-what a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.rel-meta { font-variant-numeric: tabular-nums; }

/* Buzz page and post page */
.buzz-page { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; }
.buzz-page .buzz-item { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.buzz-list { list-style: none; padding: 0; margin: 0; }
.buzz-item p { margin: 0; }
.consent-form { margin: 0; }
.twitter-tweet { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; margin: 24px 0; background: var(--surface); }

/* Academy */
.trial { margin-bottom: 32px; }
.lesson-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.lesson-card .card-title a:hover { text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 4px; }
.lesson-card .kicker { margin-bottom: 8px; }
.lesson-card p { margin: 8px 0 0; }
.lesson-prose h2 { margin-top: 2.2em; }
.copy-block { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-img); padding: 16px; overflow-x: auto; font-size: var(--fs-1); line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 20px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: var(--fs-2); line-height: 1.45; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 12px; border-top: 1px solid var(--line); }
.table-wrap th { font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); border-top: 0; }

/* video block (click to load) and the video page */
.video-block { max-width: var(--measure); margin: 32px auto 0; display: grid; gap: 12px; }
.video-block .label { margin: 0; }
.video-poster { margin: 0; }
.video-poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-img); }
.video-poster .credit { font-size: var(--fs-1); color: var(--muted); margin-top: 8px; }
.video-poster-plain { aspect-ratio: 16 / 9; border-radius: var(--r-img); background: var(--surface-2); display: grid; place-items: center; }
.play-mark { width: 0; height: 0; border-style: solid; border-width: 16px 0 16px 27px; border-color: transparent transparent transparent var(--muted); }
.video-meta, .video-summary { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--r-img); }
.story > .notice { margin: 24px 0 0; }

/* coming page, home extras */
.coming { margin: 24px 0 16px; }
.coming .card-title a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.quick-by { margin-top: 12px; }
.desk-side { display: grid; gap: 12px; align-content: start; }
.desk-all { margin: 0; }
.desk-page { margin-top: 32px; }
.desk-page > * + * { margin-top: 20px; }
.desk-cards { margin-top: 20px; }

@media print { .site-header, .site-footer, .ticker, .comments, .sample-banner, .writer-strip, .ac-band, .ac-box, .h-academy { display: none; } }
@media (prefers-reduced-motion: reduce) { .tk-copy { display: none; } * { scroll-behavior: auto !important; } }
/* phone reading room: the whole In short panel on the first 375 x 812 screen, in both languages (ux) */
@media (max-width: 639px) {
  .in-short { padding: 12px 16px; }
  .in-short p { font-size: var(--fs-2); line-height: 1.5; }
  .in-short .label { margin-bottom: 4px; }
  .story-head .adapted { font-size: var(--fs-1); }
  .main-nav { padding-bottom: 4px; }
}
.page .prose { margin-left: 0; margin-right: 0; max-width: none; }
.coming { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.after .sources-fine { margin-top: 8px; }

/* Built with AI: maker credited and linked, Try it; module on the home and the section page */
.built { margin-top: 56px; }
.built-intro { margin: 0; color: var(--muted); font-size: var(--fs-2); max-width: 34rem; }
.built-cards { margin-top: 4px; }
@media (min-width: 960px) { .built-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.built-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; font-size: var(--fs-1); color: var(--muted); }
.built-links a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.built-links .try { color: var(--coral-ink); text-decoration: none; display: inline-flex; align-items: center; }
.built-links .try:hover { text-decoration: underline; }
@media (max-width: 639px) { .card-md .built-links { grid-column: 1 / -1; } }
.build-panel { max-width: var(--measure); margin: 24px auto 0; padding: 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); display: grid; gap: 8px; }
.build-panel p { margin: 0; }
.build-panel .build-maker { font: 600 var(--fs-3)/1.3 var(--serif); }
.build-panel .build-maker a { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.build-panel .btn { margin-top: 0; }

/* The Daru Vote: a plain form, results as <progress> bars (no inline styles, strict CSP) */
.vote fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.vote .label { margin: 0 0 8px; }
.vote-q { padding: 0; margin: 0 0 12px; font: 600 var(--fs-3)/1.3 var(--serif); }
.vote-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-img); cursor: pointer; font-size: var(--fs-2); }
.vote-opt:hover { border-color: var(--coral); }
.vote-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--coral-ink); flex: none; }
.vote-opt:has(input:checked) { border-color: var(--coral-ink); background: var(--coral-soft); }
.vote-form .btn { margin-top: 12px; }
.vote .fine { margin: 12px 0 0; }
.vote .fine a { text-decoration: underline; text-underline-offset: 2px; }
.vote.is-done .vote-form { display: none; }
.vote-result { display: grid; gap: 16px; }
.vote-ed-h { margin: 0 0 8px; font: 600 var(--fs-1)/1.3 var(--sans); }
.vote-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vote-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; font-size: var(--fs-1); }
.vote-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.vote-bars progress { grid-column: 1 / -1; width: 100%; height: 8px; border: 0; border-radius: var(--r-pill); overflow: hidden; background: var(--surface-2); -webkit-appearance: none; appearance: none; }
.vote-bars progress::-webkit-progress-bar { background: var(--surface-2); border-radius: var(--r-pill); }
.vote-bars progress::-webkit-progress-value { background: var(--coral); border-radius: var(--r-pill); }
.vote-bars progress::-moz-progress-bar { background: var(--coral); border-radius: var(--r-pill); }
.vote-result + .vote-disclaimer, .vote-disclaimer { margin: 0; }
.after .vote { margin-top: 32px; }

/* Daru data cards (design-spec-v1.md section 9): real text, Night desk tokens, no motion */
.kf { position: relative; max-width: var(--measure); margin: 20px 0 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.story .kf { margin-left: auto; margin-right: auto; }
.story-head + .kf { margin-top: 20px; }
.kf-kicker { margin: 0 0 12px; font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); }
.kf-num { margin: 0; font: 600 var(--fs-5)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); overflow-wrap: anywhere; }
.kf-unit { font: 400 var(--fs-3)/1.2 var(--sans); letter-spacing: 0; color: var(--muted); }
.kf-label { margin: 8px 0 0; font: 600 var(--fs-2)/1.4 var(--sans); color: var(--ink); }
/* One meta block: the source link stays on its line; the claim note is its own line (ux S9). */
.kf-meta { display: block; margin: 12px 0 0; font-size: var(--fs-1); line-height: 1.45; color: var(--muted); }
.kf-meta p { margin: 0; }
.kf-meta p + p { margin-top: 4px; }
.kf-meta a { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 2px; }
.kf-claim { display: block; }
.kf-pair { display: grid; gap: 16px; }
@media (min-width: 640px) { .kf-pair { grid-template-columns: 1fr 1fr; } }
.kf-other .kf-num { color: var(--muted); }
.kf-bars { display: grid; gap: 8px; margin-top: 16px; }
.kf-bars progress { width: 100%; height: 8px; border: 0; border-radius: var(--r-pill); overflow: hidden; background: var(--surface-2); -webkit-appearance: none; appearance: none; }
.kf-bars progress::-webkit-progress-bar { background: var(--surface-2); }
.kf-bar-main::-webkit-progress-value { background: var(--ink); }
.kf-bar-main::-moz-progress-bar { background: var(--ink); }
.kf-bar-vs::-webkit-progress-value { background: var(--muted); }
.kf-bar-vs::-moz-progress-bar { background: var(--muted); }
@media (max-width: 639px) { .kf { padding: 16px; } .kf-num { font-size: var(--fs-5); } .kf-unit { font-size: var(--fs-2); } }
.kf-slot { display: flex; flex-direction: column; justify-content: center; aspect-ratio: 16 / 9; padding: 20px 24px; background: var(--surface-2); }
.card-lead .kf-slot { aspect-ratio: 2 / 1; }
.kf-slot .kf-num { font-size: var(--fs-5); }
.card-lead .kf-slot .kf-num { font-size: var(--fs-5); }
.kf-slot .kf-label { font-size: var(--fs-2); }
@media (max-width: 639px) {
  .card-md .kf-slot { width: 96px; height: 96px; aspect-ratio: 1; padding: 8px; border-radius: var(--r-img); align-items: center; overflow: visible; }
  .card-md .kf-slot .kf-num { font-size: var(--fs-3); text-align: center; }
  .card-md .kf-slot .kf-unit, .card-md .kf-slot .kf-label { display: none; }
}
.vote .tag-sample { margin-left: 8px; }

/* share bar: once, after the story and before Sources, at every width (ux M8); plain links, no outside script */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-l { font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font: 600 var(--fs-1)/1 var(--sans); color: var(--ink); cursor: pointer; }
.share-btn:hover { border-color: var(--coral); }
.share-btn[hidden] { display: none; }
.share-ok { font-size: var(--fs-1); font-weight: 600; color: var(--coral-ink); }
.share-end { max-width: var(--measure); margin: 24px auto 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---- the lead card (home v2, design spec 11; the front grid under it gave way to the Top stories
   list in the home cleanup of 2026-11-29, see "home" near the end of this file). The lead's section
   label is for screen readers. */
.sec-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* lead: picture beside the text from 640 px; on phones the picture is on top, the dek and source on the story page */
@media (max-width: 639px) { .card-lead .card-image img, .card-lead .kf-slot { aspect-ratio: 5 / 2; } .card-lead .dek, .card-lead .source-line { display: none; } .card-lead .card-title { font-size: var(--fs-4); line-height: 1.15; } }
@media (min-width: 640px) {
  .card-lead:not(.no-image) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .card-lead .card-image { height: 100%; }
  .card-lead .card-image img { height: 100%; min-height: 220px; aspect-ratio: auto; }
  .card-lead .kf-slot { aspect-ratio: auto; min-height: 220px; }
  .card-lead .card-body { justify-content: center; padding: 20px; gap: 8px; }
  .card-lead .card-title { font-size: var(--fs-4); line-height: 1.15; }
  .card-lead .dek, .card-lead .source-line { display: none; }
}
@media (min-width: 960px) {
  .card-lead .card-body { padding: 24px; gap: 10px; }
  .card-lead .card-title { font-size: var(--fs-4); line-height: 1.14; }
  .card-lead .dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-2); }
}

/* no art: a text card with the house coral tab (the signature box device), dek shown, never a grey box */
.card.no-image .card-body { padding-top: 20px; }
.card.no-image .dek { font-size: var(--fs-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }


/* header on small phones (clarity pass): one row, wordmark, descriptor beside it, the two buttons; the
   "Updated" line gives way below 420 px because the ticker right under it carries the live times */
@media (max-width: 419px) {
  .brand-row { flex-direction: row; align-items: center; gap: 10px; }
  .descriptor { display: block; padding-left: 10px; border-left: 1px solid var(--line-2); }
  .descriptor b { display: block; font-size: var(--fs-1); line-height: 1.25; }
  .descriptor small { display: none; }
}

/* ---- clarity pass (David 2026-10-29: "clear, optimized for computer and phones"; design spec 11.6) ---- */
/* Data card in an image slot: number and a two-line label; no source tag on cards (David 2026-10-29). */
.kf-slot .kf-label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-md .kf-slot .kf-num, .card-wide .kf-slot .kf-num { font-size: var(--fs-5); }
/* Story kicker: section and format read as two words, not one ("Money · Explainer"). */
.story-head .kicker > span:not(.fmt-breaking):not(.tag-sample) + span:not(.fmt-breaking):not(.tag-sample)::before { content: "·"; margin-right: 12px; color: var(--line-2); }
/* Writers page: the AI writer badge on its own line above the beat, so the beat reads as a sentence. */
.writer-card p:has(> .ai-badge) { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.writer-card h3 { margin: 0 0 4px; }
.footer-links a, .f-links a { min-width: 44px; }
/* Phones: every control 44 px tall or a 44 px hit area around it (WCAG 2.5.8 plus our own 44 px rule). */
@media (max-width: 639px) {
  .h-row .wordmark { padding: 9px 0; margin: -9px 0; }
  .f-brand .wordmark { padding: 10px 0; margin: -10px 0; }
  .byline-name, .writer-card h3 a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .seg span { padding-top: 16px; padding-bottom: 16px; }
}

/* AI 101: start-here block on the Academy landing */
.ai101 { margin: 0 0 32px; padding: 24px; border-top: 3px solid var(--academy); }
.ai101 h2 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-4); line-height: 1.2; margin: 6px 0 8px; }
.ai101-intro { margin: 0 0 12px; max-width: var(--measure); }
.ai101-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 4px; }
.ai101-list a { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: var(--r-img); color: var(--ink); text-decoration: none; }
.ai101-list a:hover, .ai101-list a:focus-visible { background: var(--academy-soft); }
.ai101-n { font-variant-numeric: tabular-nums; color: var(--academy-ink); font-weight: 600; min-width: 1.25rem; }
.ai101-t { font-family: var(--serif); font-weight: 600; flex: 1; }
.ai101-m { color: var(--muted); font-size: var(--fs-1); white-space: nowrap; }
.ai101-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 8px 0 0; }
.ai101-next { margin: 24px 0 8px; }
@media (max-width: 560px) { .ai101 { padding: 20px 16px; } .ai101-list a { flex-wrap: wrap; gap: 4px 12px; } .ai101-m { width: 100%; padding-left: 2rem; white-space: normal; } }

/* ---- Academy sub-brand (BRAND.md 13, design spec 12): Academy green on Academy surfaces only ---- */
.ac-emblem { display: block; flex: none; width: 1.25em; height: 1.25em; }
.ac-tile { fill: var(--academy); }
.ac-glyph { fill: none; stroke: var(--academy-on); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.ac-dot { fill: var(--academy-on); }
.ac-tag { display: inline-flex; align-items: center; gap: .3em; }
.ac-word { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; color: var(--academy-ink); }
/* Lockup: wordmark, hairline, emblem, Academy word; one size knob (font-size) */
.ac-lockup { display: inline-flex; align-items: center; gap: .45em; font-size: var(--fs-4); line-height: 1; color: var(--ink); white-space: nowrap; }
a.ac-lockup { min-height: 44px; }
.ac-lockup .ac-wm { display: inline-flex; align-items: baseline; font: 600 1em/1 var(--serif); letter-spacing: -0.035em; }
.ac-lockup .ac-wm i { width: .2em; height: .2em; border-radius: var(--r-pill); background: var(--coral); margin-left: .06em; }
.ac-lockup .ac-tag { padding-left: .45em; border-left: 1px solid var(--line-2); }
.ac-lockup .ac-emblem { width: .9em; height: .9em; }
a.ac-lockup:hover .ac-word { text-decoration: underline; text-decoration-color: var(--academy); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ac-kicker, .kicker.ac-kick { margin: 0; font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--academy-ink); }
.btn.btn-ac { background: var(--academy); color: var(--academy-on); }
.btn.btn-ac:hover { color: var(--academy-on); }
.btn.btn-ac-ghost { background: transparent; color: var(--academy-ink); border: 1px solid var(--academy); }
.btn.btn-ac-ghost:hover { color: var(--academy-ink); background: var(--academy-soft); }
/* the Academy tab: the house 40 x 3 px tab, in Academy green */
.ac-band::before, .ac-box::before, .ac-strip::before { content: ""; position: absolute; left: 24px; top: -1px; width: 40px; height: 3px; border-radius: 0 0 var(--r-pill) var(--r-pill); background: var(--academy); }

/* header button, every page (David: a permanent, obvious Academy spot): a quiet green ghost since the
   ux cleanup, emblem plus the Academy word; emblem only under 420 px; 44 px */
.h-academy { gap: 6px; padding: 0 14px 0 10px; color: var(--academy-ink); background: transparent; border-color: var(--academy-line); font-size: var(--fs-1); }
.h-academy .ac-emblem { width: 22px; height: 22px; }
.h-academy:hover { border-color: var(--academy); }
.h-academy[aria-current] { border-color: var(--academy); box-shadow: inset 0 0 0 1px var(--academy); }
.main-nav a[aria-current][href$="/academy/"] { color: var(--academy-ink); background: var(--academy-soft); }
@media (max-width: 419px) {
  .h-academy { width: 44px; padding: 0; }
  .h-ac-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* home band, after the front block: on one column it follows the front grid; from 960 px it spans both columns */
.ac-band { position: relative; padding: 24px; background: var(--academy-soft); border: 1px solid var(--academy-line); border-radius: var(--r-card); }
.ac-band-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: -6px 0 16px; }
.ac-band-line { margin: 0; color: var(--muted); font-size: var(--fs-2); max-width: var(--measure); }
/* One flat card, two paths (ux cleanup, 2026-10-29): no cards inside; a hairline splits the paths. */
.ac-paths { display: grid; gap: 0; }
.ac-path { display: grid; gap: 8px; align-content: start; padding: 16px 0; border-top: 1px solid var(--academy-line); }
.ac-path p { margin: 0; }
.ac-path h2 { margin: 0; font: 600 var(--fs-4)/1.2 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.ac-path h3 { margin: 0; font: 600 var(--fs-3)/1.3 var(--serif); text-wrap: balance; }
@media (min-width: 640px) {
  .ac-paths { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ac-path { padding: 16px 0 0; }
  .ac-path + .ac-path { padding-left: 24px; margin-left: 24px; border-left: 1px solid var(--academy-line); }
}
.ac-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-1); color: var(--muted); }
.ac-go { margin-top: 4px; }
.ac-go .btn { margin-top: 0; }
.ac-all { margin: 12px 0 0; }
.ac-all .go { color: var(--academy-ink); }
@media (max-width: 639px) { .ac-band { padding: 20px 16px 16px; } .ac-band::before { left: 16px; } .ac-lockup { font-size: var(--fs-3); } }

/* story box, after the article and before Sources (not on the morning brief) */
.ac-box { position: relative; display: grid; gap: 8px; padding: 20px; background: var(--academy-soft); border: 1px solid var(--academy-line); border-radius: var(--r-card); }
.ac-box .ac-lockup { font-size: var(--fs-3); margin: -6px 0 0; }
.ac-box h2 { margin: 0; font: 600 var(--fs-3)/1.25 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.ac-box p { margin: 0; }
.ac-second { margin-top: 8px !important; padding-top: 12px; border-top: 1px solid var(--academy-line); font-size: var(--fs-2); }
.ac-second a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 3px; }
@media (max-width: 639px) { .ac-box { padding: 16px; } .ac-box::before { left: 16px; } }

/* Academy landing strip and the lesson header strip */
.ac-strip { position: relative; margin: 0 0 24px; padding: 24px; background: var(--academy-soft); border: 1px solid var(--academy-line); border-radius: var(--r-card); }
.page .ac-h1 { margin: -6px 0 8px; font-size: var(--fs-5); }
.ac-h1 .ac-lockup { font-size: inherit; }
.ac-strip .lede { margin: 0; }
.ac-strip-sm { margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--academy); }
.ac-strip-sm .ac-lockup { font-size: var(--fs-3); }
@media (max-width: 639px) { .ac-strip { padding: 20px 16px; } .ac-strip::before { left: 16px; } }


/* ---- row thumbnails (David, 2026-10-29: a picture for every post in every list; the ticker stays text) ---- */
.row-thumb { display: block; flex: none; margin: 0; width: 64px; height: 64px; border-radius: var(--r-img); overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.row-thumb img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.rows li.has-thumb { grid-template-columns: minmax(0, 1fr) 64px; column-gap: 16px; align-items: start; }
.rows li.has-thumb > .row-t, .rows li.has-thumb > .row-m { grid-column: 1; }
.rows li.has-thumb > .row-thumb { grid-column: 2; grid-row: 1 / span 2; }
.release-list li.has-thumb { grid-template-columns: minmax(0, 1fr) 64px; align-items: start; }
.release-list li.has-thumb > :not(.row-thumb) { grid-column: 1; }
.release-list li.has-thumb > .row-thumb { grid-column: 2; grid-row: 1 / span 3; }

.nw { white-space: nowrap; }
.lesson-prose li::marker { color: var(--academy-ink); }

/* ---- audit leftovers (2026-10-29) ---- */
/* Academy: what is coming next, one muted line instead of six "(Coming soon)" rows */
.ac-next { margin: 20px 0 0; font-size: var(--fs-1); line-height: 1.6; color: var(--muted); }
.ac-next .label { display: block; margin-bottom: 4px; }
.ac-sep { color: var(--muted); padding: 0 2px; }
/* About: plain rows like every other list, not a second set of footer cards */
.about-list { margin-top: 24px; border-top: 1px solid var(--line); }
.about-list li:first-child { border-top: 0; }
.about-list a { display: block; font-weight: 600; }
/* Built with AI and Robotics from 640 to 959 px: an odd last card spans both columns, picture beside the text */
@media (min-width: 640px) and (max-width: 959px) {
  .built-cards > .card:last-child:nth-child(odd), .desk-cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .built-cards > .card:last-child:nth-child(odd) .card-image img, .desk-cards > .card:last-child:nth-child(odd) .card-image img { height: 100%; aspect-ratio: auto; min-height: 200px; }
  .built-cards > .card:last-child:nth-child(odd) .card-body, .desk-cards > .card:last-child:nth-child(odd) .card-body { justify-content: center; }
}

/* ---- home (cleanup 2026-11-29, David: "keep the page clean") ----
   For a reader with two minutes: the front block (the lead, with the Top stories list beside it from
   960 px and under it below that), the Major moments strip, the Academy band, then a few quiet modules:
   Quick updates (with Daru Daily and the vote while they are current) and the two desks side by side.
   One column of modules on one rhythm, so no side column can stand empty. */
.home { display: grid; gap: var(--s-6); margin-top: var(--s-4); }
.home > * { min-width: 0; }
.home .block + .block { margin-top: 0; }
@media (min-width: 640px) { .home { gap: var(--s-7); } }
.home-front { display: grid; gap: var(--s-5); align-items: start; }
.block-list .sec-h { margin-bottom: var(--s-3); }
/* from 960 px: the lead takes three fifths with its picture on top, Top stories the other two */
@media (min-width: 960px) {
  .home-front:not(.home-front-1) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s-6); }
  .home-front:not(.home-front-1) .card-lead:not(.no-image) { display: block; }
  .home-front:not(.home-front-1) .card-lead .card-image { height: auto; }
  .home-front:not(.home-front-1) .card-lead .card-image img, .home-front:not(.home-front-1) .card-lead .kf-slot { height: auto; min-height: 0; aspect-ratio: 2 / 1; }
  .home-front:not(.home-front-1) .card-lead .card-title { font-size: var(--fs-5); line-height: 1.12; }
}
/* the lower modules: side by side where there is room (Quick updates, Daru Daily and the vote, the HU regional list) */
.home-more { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 640px) { .home-more { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
/* the desks: Robotics and Built with AI, one card each, side by side from 640 px */
.desks { display: grid; gap: var(--s-6); align-items: start; }
.desks > .desk { margin-top: 0; }
.desks .built-cards { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
.desks .desk-head { margin-bottom: var(--s-4); }
.desks .desk-head h2 { font-size: var(--fs-3); }
@media (min-width: 640px) { .desks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .desks-2 .card-md:not(.no-image) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .desks-2 .card-md .card-image img { height: 100%; min-height: 168px; aspect-ratio: auto; }
  .desks-2 .card-md .card-body { justify-content: center; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .desks-2 .built-cards > .card:last-child:nth-child(odd) { display: block; }
  .desks-2 .built-cards > .card:last-child:nth-child(odd) .card-image img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
/* the Academy band on the home: one slim row from 960 px, the lockup and its line beside the two paths */
@media (min-width: 960px) {
  .home .ac-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--s-6); align-items: start; }
  .home .ac-band-head { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 8px; margin: -6px 0 0; }
  .home .ac-paths { grid-column: 2; grid-row: 1 / span 2; }
  .home .ac-path { padding-top: 0; border-top: 0; }
  .home .ac-path h2 { font-size: var(--fs-3); }
  .home .ac-all { grid-column: 1; grid-row: 2; margin: 8px 0 0; }
}

/* ---- Major moments (2026-11-29, David: "showcase recent major happenings with AI, including hacks") ----
   The timeline page /<lang>/moments/ and the home strip. Filters are plain links: an empty anchor per kind
   sits before the chips and the list, and CSS :target hides the other kinds, so no script is needed (our
   live.js only marks the chosen chip for screen readers). Security reads as a quiet hairline tag with a
   shield, ink on surface: no red, no motion. */
.mo-kind { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--fs-1)/1.2 var(--sans); color: var(--muted); }
.mo-kind-security { color: var(--ink); padding: 3px 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface-2); }
.mo-ico { width: 12px; height: 12px; flex: none; }
.mo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; font-size: var(--fs-1); color: var(--muted); }
.mo-meta time { font-variant-numeric: tabular-nums; }
.page .mo-meta { margin: 0; }

/* home strip: one quiet panel, four moments side by side from 960 px, two by two from 640 px, a list on phones */
.mo-strip-list { list-style: none; margin: 0; padding: 0; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.mo-s { position: relative; display: grid; gap: 8px; align-content: start; padding: 16px; border-top: 1px solid var(--line); }
.mo-s:first-child { border-top: 0; }
.mo-s-t { margin: 0; font: 600 var(--fs-2)/1.35 var(--serif); text-wrap: pretty; }
.mo-s-t a::after { content: ""; position: absolute; inset: 0; }
.mo-s:hover .mo-s-t a { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
@media (min-width: 640px) and (max-width: 959px) {
  .mo-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo-s { border-top: 0; }
  .mo-s:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mo-s:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (min-width: 960px) {
  .mo-strip-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mo-s { border-top: 0; padding: 20px; }
  .mo-s + .mo-s { border-left: 1px solid var(--line); }
}

/* the page */
.mo-head .mo-updated { margin: -8px 0 0; }
.mo-head .notice { margin-top: 16px; }
.mo-t, .mo-t-all { display: block; height: 0; }
.mo-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.mo-filter a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font: 600 var(--fs-1)/1 var(--sans); color: var(--ink); }
.mo-filter a:hover { border-color: var(--coral); }
.mo-n { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
/* the chosen chip: All until a kind is the target */
.mo-filter a[data-all],
#security:target ~ .mo-filter a[href="#security"], #release:target ~ .mo-filter a[href="#release"],
#business:target ~ .mo-filter a[href="#business"], #policy:target ~ .mo-filter a[href="#policy"],
#robotics:target ~ .mo-filter a[href="#robotics"], #outage:target ~ .mo-filter a[href="#outage"],
#legal:target ~ .mo-filter a[href="#legal"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.mo-filter a[data-all] .mo-n,
#security:target ~ .mo-filter a[href="#security"] .mo-n, #release:target ~ .mo-filter a[href="#release"] .mo-n,
#business:target ~ .mo-filter a[href="#business"] .mo-n, #policy:target ~ .mo-filter a[href="#policy"] .mo-n,
#robotics:target ~ .mo-filter a[href="#robotics"] .mo-n, #outage:target ~ .mo-filter a[href="#outage"] .mo-n,
#legal:target ~ .mo-filter a[href="#legal"] .mo-n { color: var(--bg); }
.mo-t:target ~ .mo-filter a[data-all] { background: transparent; border-color: var(--line-2); color: var(--ink); }
.mo-t:target ~ .mo-filter a[data-all] .mo-n { color: var(--muted); }
/* one kind at a time; a month with none of that kind steps aside */
#security:target ~ .mo-months .mo-item:not([data-kind="security"]), #release:target ~ .mo-months .mo-item:not([data-kind="release"]),
#business:target ~ .mo-months .mo-item:not([data-kind="business"]), #policy:target ~ .mo-months .mo-item:not([data-kind="policy"]),
#robotics:target ~ .mo-months .mo-item:not([data-kind="robotics"]), #outage:target ~ .mo-months .mo-item:not([data-kind="outage"]),
#legal:target ~ .mo-months .mo-item:not([data-kind="legal"]) { display: none; }
#security:target ~ .mo-months .mo-month:not(:has([data-kind="security"])), #release:target ~ .mo-months .mo-month:not(:has([data-kind="release"])),
#business:target ~ .mo-months .mo-month:not(:has([data-kind="business"])), #policy:target ~ .mo-months .mo-month:not(:has([data-kind="policy"])),
#robotics:target ~ .mo-months .mo-month:not(:has([data-kind="robotics"])), #outage:target ~ .mo-months .mo-month:not(:has([data-kind="outage"])),
#legal:target ~ .mo-months .mo-month:not(:has([data-kind="legal"])) { display: none; }
/* the timeline: a hairline rail with a still dot per moment (security: a filled ink dot) */
.page .mo-month > h2.label { margin: 32px 0 16px; }
.mo-list { list-style: none; margin: 0; padding: 0; }
.mo-item { position: relative; padding: 0 0 32px 24px; border-left: 2px solid var(--line); }
.mo-item:last-child { padding-bottom: 8px; }
.mo-item::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: var(--r-pill); background: var(--bg); border: 2px solid var(--line-2); }
.mo-item[data-kind="security"]::before { background: var(--ink); border-color: var(--ink); }
.mo-item:target::before { background: var(--coral); border-color: var(--coral); }
.page .mo-title { margin: 8px 0; font: 600 var(--fs-3)/1.3 var(--serif); text-wrap: balance; }
.page .mo-sum, .page .mo-why { margin: 0 0 12px; font-size: var(--fs-2); line-height: 1.6; }
.mo-why b { font-weight: 600; }
.mo-foot { display: grid; gap: 0; font-size: var(--fs-1); color: var(--muted); }
.page .mo-foot p { margin: 0; }
/* sources hang in one column beside the label, one per line, each a 44 px target */
.mo-src { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 12px; align-items: center; }
.mo-src-l { grid-column: 1; grid-row: 1; }
.mo-src a { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.mo-src a:hover { color: var(--coral-ink); }
.mo-story .go { font-size: var(--fs-1); }

/* ---- Academy catalog (2026-11-29, David: "come up with the list so people can choose what they want to
   learn. Explain what is what in the Academy"). The home's how-it-works and map, the mindset card, the
   "Choose your project" page and the panel on a full project lesson, and "What is what". Filters are
   plain links, like Major moments: an empty anchor per value sits before the chips and the cards, and
   CSS :target hides the rest, so no script is needed (live.js only marks the chosen chip for screen
   readers). Academy green on Academy surfaces only; every link and chip is a 44 px target. ---- */
.ac-how, .ac-map, .ac-teaser, .ac-gloss { margin: 0 0 32px; }
.page .ac-how h2, .page .ac-map h2, .page .ac-teaser h2, .page .ac-gloss h2, .ac-group h2, .ac-assist h2 { font: 600 var(--fs-4)/1.2 var(--serif); margin: 0 0 12px; text-wrap: balance; }
.ac-how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ac-how-list li { padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--academy); border-radius: var(--r-img); font-size: var(--fs-2); line-height: 1.55; }
.ac-how-list b { color: var(--ink); }
@media (min-width: 640px) { .ac-how-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ac-map-list, .ac-group-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-map-list a, .ac-group-links a { display: grid; gap: 2px; min-height: 44px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); color: var(--ink); text-decoration: none; }
.ac-map-list a:hover, .ac-map-list a:focus-visible, .ac-group-links a:hover, .ac-group-links a:focus-visible { background: var(--academy-soft); border-color: var(--academy-line); }
.ac-map-t { font: 600 var(--fs-2)/1.3 var(--serif); }
.ac-map-list a:hover .ac-map-t, .ac-group-links a:hover .ac-map-t { text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 3px; }
.ac-map-d { font-size: var(--fs-1); line-height: 1.45; color: var(--muted); }
@media (min-width: 640px) { .ac-group-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ac-mindset { position: relative; margin: 0 0 32px; padding: 24px; border-top: 3px solid var(--academy); }
.page .ac-mindset h2 { font: 600 var(--fs-4)/1.2 var(--serif); margin: 6px 0 8px; text-wrap: balance; }
.ac-mindset h2 a { color: var(--ink); text-decoration: none; }
.ac-mindset h2 a:hover { text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 4px; }
.page .ac-mindset p { margin: 0 0 8px; max-width: var(--measure); }
.ac-teaser .ac-kicker { margin: 20px 0 8px; }
.ac-full-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 0; }
.ac-full-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-top: 1px solid var(--line); }
.ac-full-list li:last-child { border-bottom: 1px solid var(--line); }
.ac-full-list a { display: inline-flex; align-items: center; min-height: 44px; font: 600 var(--fs-2)/1.35 var(--serif); color: var(--ink); text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 3px; }
.ac-full-list .ac-meta { display: inline; }
@media (max-width: 559px) { .ac-mindset { padding: 20px 16px; } }

/* "What is what": a term list, one bordered row per term, an everyday example under each */
.ac-gintro { margin: 0 0 16px; color: var(--muted); font-size: var(--fs-2); max-width: var(--measure); }
.ac-terms { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ac-terms > div { padding: 16px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.ac-terms > div:target { background: var(--academy-soft); box-shadow: -16px 0 0 var(--academy-soft), 16px 0 0 var(--academy-soft); }
.ac-terms dt { font: 600 var(--fs-3)/1.3 var(--serif); color: var(--ink); }
.ac-terms dd { margin: 6px 0 0; }
.page .ac-terms dd p { margin: 0; font-size: var(--fs-2); line-height: 1.6; max-width: var(--measure); }
.page .ac-terms .ac-ex { margin-top: 6px; color: var(--muted); }
.ac-ex b { color: var(--academy-ink); font-weight: 600; }
@media (min-width: 720px) { .ac-terms > div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); column-gap: 24px; } .ac-terms dd { margin: 0; } }

/* the catalog page */
.ac-strip-page h1 { margin: 4px 0 8px; font: 600 var(--fs-5)/1.1 var(--serif); text-wrap: balance; }
.ac-strip-page .ac-kicker a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 -8px; color: var(--academy-ink); text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 3px; }
.ac-how-pick { margin: 12px 0; padding-left: 1.2em; font-size: var(--fs-2); line-height: 1.55; max-width: var(--measure); }
.ac-how-pick li::marker { color: var(--academy-ink); }
.ac-strip-page .fine { max-width: var(--measure); line-height: 1.5; }
.ac-t, .ac-t-all { display: block; height: 0; }
.ac-filter { display: grid; gap: 8px; margin: 24px 0 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page .ac-frow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; max-width: none; }
.ac-fl { min-width: 4.5rem; font: 600 var(--fs-1)/1.3 var(--sans); color: var(--muted); }
.ac-filter a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font: 600 var(--fs-1)/1 var(--sans); color: var(--ink); text-decoration: none; }
.ac-filter a:hover { border-color: var(--academy); }
.ac-n { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.ac-group h2 .ac-n { font: 400 var(--fs-2)/1 var(--sans); }
/* the chosen chip: All until a value is the target */
.ac-filter a[data-all],
#f-build:target ~ .ac-filter a[href="#f-build"],
#f-local:target ~ .ac-filter a[href="#f-local"],
#f-automate:target ~ .ac-filter a[href="#f-automate"],
#f-life:target ~ .ac-filter a[href="#f-life"],
#f-beginner:target ~ .ac-filter a[href="#f-beginner"],
#f-some:target ~ .ac-filter a[href="#f-some"],
#f-short:target ~ .ac-filter a[href="#f-short"],
#f-medium:target ~ .ac-filter a[href="#f-medium"],
#f-long:target ~ .ac-filter a[href="#f-long"],
#f-free:target ~ .ac-filter a[href="#f-free"],
#f-paid:target ~ .ac-filter a[href="#f-paid"] { background: var(--academy); border-color: var(--academy); color: var(--academy-on); }
.ac-filter a[data-all] .ac-n,
#f-build:target ~ .ac-filter a[href="#f-build"] .ac-n,
#f-local:target ~ .ac-filter a[href="#f-local"] .ac-n,
#f-automate:target ~ .ac-filter a[href="#f-automate"] .ac-n,
#f-life:target ~ .ac-filter a[href="#f-life"] .ac-n,
#f-beginner:target ~ .ac-filter a[href="#f-beginner"] .ac-n,
#f-some:target ~ .ac-filter a[href="#f-some"] .ac-n,
#f-short:target ~ .ac-filter a[href="#f-short"] .ac-n,
#f-medium:target ~ .ac-filter a[href="#f-medium"] .ac-n,
#f-long:target ~ .ac-filter a[href="#f-long"] .ac-n,
#f-free:target ~ .ac-filter a[href="#f-free"] .ac-n,
#f-paid:target ~ .ac-filter a[href="#f-paid"] .ac-n { color: var(--academy-on); }
.ac-t:target ~ .ac-filter a[data-all] { background: transparent; border-color: var(--line-2); color: var(--ink); }
.ac-t:target ~ .ac-filter a[data-all] .ac-n { color: var(--muted); }
/* one value at a time; a group with no matching project steps aside */
#f-build:target ~ .ac-groups .ac-card:not([data-group="build"]),
#f-local:target ~ .ac-groups .ac-card:not([data-group="local"]),
#f-automate:target ~ .ac-groups .ac-card:not([data-group="automate"]),
#f-life:target ~ .ac-groups .ac-card:not([data-group="life"]),
#f-beginner:target ~ .ac-groups .ac-card:not([data-level="beginner"]),
#f-some:target ~ .ac-groups .ac-card:not([data-level="some"]),
#f-short:target ~ .ac-groups .ac-card:not([data-time="short"]),
#f-medium:target ~ .ac-groups .ac-card:not([data-time="medium"]),
#f-long:target ~ .ac-groups .ac-card:not([data-time="long"]),
#f-free:target ~ .ac-groups .ac-card:not([data-cost="free"]),
#f-paid:target ~ .ac-groups .ac-card:not([data-cost="paid"]) { display: none; }
#f-build:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-group="build"])),
#f-local:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-group="local"])),
#f-automate:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-group="automate"])),
#f-life:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-group="life"])),
#f-beginner:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-level="beginner"])),
#f-some:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-level="some"])),
#f-short:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-time="short"])),
#f-medium:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-time="medium"])),
#f-long:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-time="long"])),
#f-free:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-cost="free"])),
#f-paid:target ~ .ac-groups .ac-group:not(:has(.ac-card[data-cost="paid"])) { display: none; }
.ac-group { margin: 0 0 32px; }
.ac-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ac-card { position: relative; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); scroll-margin-top: 16px; }
.ac-card:target { border-color: var(--academy); box-shadow: inset 0 0 0 1px var(--academy); }
.page .ac-card p, .ac-panel p { margin: 0 0 8px; max-width: none; font-size: var(--fs-2); line-height: 1.55; }
.page .ac-card .ac-card-t { margin: 4px 0 8px; font: 600 var(--fs-3)/1.3 var(--serif); text-wrap: balance; }
.ac-card-t a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 4px; }
.page .ac-chips, .ac-panel .ac-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; }
.ac-chips span { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font: 600 var(--fs-1)/1.2 var(--sans); color: var(--muted); }
.ac-chips .ac-cost-free { color: var(--academy-ink); border-color: var(--academy-line); background: var(--academy-soft); }
.ac-chips .ac-cost-paid { color: var(--ink); border-color: var(--ink); }
.ac-chips .ac-full { color: var(--academy-on); background: var(--academy); border-color: var(--academy); }
.ac-out b, .ac-costline b, .ac-note b { color: var(--ink); font-weight: 600; }
.page .ac-h4, .ac-panel .ac-h4 { margin: 16px 0 6px; font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); }
.ac-tools, .ac-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: var(--fs-2); line-height: 1.5; }
.ac-tools li, .ac-guides li { padding: 4px 0; }
.ac-tools li + li, .ac-guides li + li { border-top: 1px solid var(--line); }
.ac-tools a, .ac-guides a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 3px; }
.ac-tools a:hover, .ac-guides a:hover { color: var(--academy-ink); }
.ac-tool-n { font-weight: 600; }
.ac-role { color: var(--ink); }
.ac-plan { display: block; font-size: var(--fs-1); line-height: 1.5; color: var(--muted); }
.ac-plan b { color: var(--ink); font-weight: 600; }
.ac-check a { min-height: 44px; color: var(--muted); text-decoration-color: var(--line-2); }
.ac-confirm { display: inline-block; padding: 0 6px; border: 1px dashed var(--line-2); border-radius: var(--r-pill); color: var(--ink); }
.ac-gk { display: inline-block; min-width: 3.5rem; font: 600 var(--fs-1)/1.3 var(--sans); color: var(--academy-ink); }
.ac-pub { font-size: var(--fs-1); color: var(--muted); }
.ac-steps { margin: 16px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ac-steps summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font: 600 var(--fs-2)/1.3 var(--sans); color: var(--academy-ink); }
.ac-steps summary:hover { text-decoration: underline; text-decoration-color: var(--academy); text-underline-offset: 3px; }
.ac-steps ol { margin: 0 0 12px; padding-left: 1.4em; font-size: var(--fs-2); line-height: 1.55; }
.ac-steps li + li { margin-top: 6px; }
.ac-steps li::marker { color: var(--academy-ink); font-weight: 600; }
.page .ac-note, .ac-panel .ac-note { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--r-img); background: var(--bg); border: 1px solid var(--line); font-size: var(--fs-1); line-height: 1.5; color: var(--ink); }
.ac-owner { box-shadow: inset 3px 0 0 var(--academy); }
.ac-privacy { box-shadow: inset 3px 0 0 var(--line-2); }
.ac-card .ac-go { margin: 12px 0 0; }
.ac-assist { margin: 0 0 24px; padding: 20px; }
.page .ac-assist p { margin: 0 0 8px; font-size: var(--fs-2); max-width: var(--measure); }
@media (max-width: 559px) { .ac-card { padding: 16px; } .ac-fl { width: 100%; } .ac-assist { padding: 16px; } }

/* the panel at the top of a full project lesson: the same facts as its catalog card */
.ac-panel { max-width: var(--measure); margin: 24px auto 8px; padding: 20px; border-top: 3px solid var(--academy); }
.ac-panel > .ac-h4:first-child { margin-top: 0; }
@media (max-width: 559px) { .ac-panel { padding: 16px; } }
