/* My Vote Forward demo. Every color is a var(--mvf-*) token. Tokens come from
   assets/css/pack-<id>.css (light + dark) and, at runtime, the Observatory palette
   injected by functions/_middleware.js. Header/footer layout comes from chrome.css
   (shared engine). Choice and slider states use NEUTRAL tokens (ink-soft, line), never
   the national accent or flag colors, so no color reads as a side or a party. */
:root { --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif; --r: 14px; --gutter: 16px; --shadow: 0 18px 44px rgba(10, 20, 40, .10); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.larger-text { font-size: 118%; }
html.underline-links a { text-decoration: underline !important; }
body { margin: 0; background: var(--mvf-canvas); color: var(--mvf-ink); font: 400 1.0625rem/1.6 var(--sans); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--mvf-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--mvf-accent-deep); }
:focus-visible { outline: 3px solid var(--mvf-focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--mvf-ink); }
h1 { font: 700 clamp(2.05rem, 4.4vw, 3.5rem)/1.08 var(--serif); letter-spacing: -.015em; }
h2 { font: 700 clamp(1.45rem, 2.4vw, 2rem)/1.2 var(--serif); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 820px; }
.section { padding-top: 44px; padding-bottom: 56px; }
.section .section { padding-top: 24px; padding-bottom: 24px; }
.band { background: var(--mvf-wash); border-top: 1px solid var(--mvf-line); border-bottom: 1px solid var(--mvf-line); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--mvf-muted); margin-bottom: .7em; }
.eyebrow a { color: inherit; }
.lede { font-size: 1.2rem; color: var(--mvf-ink-soft); max-width: 46em; }
.muted { color: var(--mvf-muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--mvf-surface); color: var(--mvf-ink); padding: 10px 14px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* chrome additions: national stripe, logo per mode, theme toggle */
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--mvf-accent) 0 33.4%, var(--mvf-line) 33.4% 66.6%, var(--mvf-gold) 66.6%); }
.header-inner { max-width: 1240px; }
.primary-nav { margin-left: auto; }
.primary-nav .nav-link { padding: 9px 11px; }
.site-logo { text-decoration: none; color: var(--mvf-ink); }
.site-logo img { height: 42px; width: auto; }
.logo-on-dark { display: none !important; }
.brand-fallback { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-demo { font-size: .66rem; letter-spacing: .22em; font-weight: 700; color: var(--mvf-muted); margin-bottom: 4px; }
.brand-word { font: 800 1.25rem/1 var(--sans); letter-spacing: -.01em; }
.site-logo.text-fallback img { display: none !important; }
.site-logo.text-fallback .brand-fallback { display: inline-flex !important; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border-radius: 11px; border: 1px solid var(--mvf-line); background: var(--mvf-surface); color: var(--mvf-ink); font: 600 .9rem var(--sans); cursor: pointer; }
.theme-toggle:hover { background: var(--mvf-wash); }
.theme-toggle[disabled] { cursor: default; opacity: .75; }
.theme-toggle svg { width: 18px; height: 18px; max-width: none; flex: none; }
.tt-ico { display: none; }
.theme-toggle[data-mode="auto"] .tt-auto, .theme-toggle[data-mode="light"] .tt-light, .theme-toggle[data-mode="dark"] .tt-dark { display: inline-flex; }
.theme-toggle:not([data-mode]) .tt-auto { display: inline-flex; }
@media (max-width: 1500px) { .tt-text { display: none; } .theme-toggle { padding: 8px 10px; } }
.header-cta .btn--primary { white-space: nowrap; }
@media (max-width: 1380px) and (min-width: 861px) { .header-cta .btn--primary { display: none; } }
.header-cta { margin-left: 8px; }
.nav-link { text-decoration: none !important; }
.mobile-nav a { text-decoration: none; }
.footer-col h4 { color: var(--mvf-footer-head) !important; }
.site-footer::before { background: linear-gradient(90deg, var(--mvf-accent) 0 33.4%, var(--mvf-footer-bg) 33.4% 66.6%, var(--mvf-gold) 66.6%) !important; }
.footer-tag { color: var(--mvf-footer-muted); }
.mm-row { color: var(--mvf-ink); }

/* dark mode: logo swap, imagery softened, shadows deeper */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block !important; }
  :root:not([data-theme="light"]) { --shadow: 0 18px 44px rgba(0, 0, 0, .45); }
  :root:not([data-theme="light"]) .hero-photo img, :root:not([data-theme="light"]) .mm-fphoto { filter: brightness(.9) saturate(.95); }
}
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }
:root[data-theme="dark"] { --shadow: 0 18px 44px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .hero-photo img, :root[data-theme="dark"] .mm-fphoto { filter: brightness(.9) saturate(.95); }

/* notice and guest bars */
.notice-bar { background: var(--mvf-wash); border-bottom: 1px solid var(--mvf-line); font-size: .9rem; color: var(--mvf-ink); }
.notice-bar .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.guest-bar { background: var(--mvf-surface); border-bottom: 1px solid var(--mvf-line); font-size: .92rem; }
.guest-bar .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; }

/* buttons, forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--mvf-accent); color: var(--mvf-on-accent); font: 700 1rem var(--sans); text-decoration: none; border: 2px solid var(--mvf-accent); cursor: pointer; }
.btn:hover { background: var(--mvf-accent-deep); border-color: var(--mvf-accent-deep); color: var(--mvf-on-accent); }
.btn.secondary { background: transparent; color: var(--mvf-ink); border-color: var(--mvf-ink); }
.btn.secondary:hover { background: var(--mvf-wash); color: var(--mvf-ink); }
.btn.ghost { background: transparent; color: var(--mvf-accent); border-color: transparent; padding-left: 10px; padding-right: 10px; }
.btn.ghost:hover { color: var(--mvf-accent-deep); background: var(--mvf-wash); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.btn.danger { background: var(--mvf-error); border-color: var(--mvf-error); color: var(--mvf-on-accent); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn--primary { border-radius: 999px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
label { font-weight: 600; }
input[type=text], input[type=number], select, textarea { font: inherit; color: var(--mvf-ink); background: var(--mvf-surface); border: 1.5px solid var(--mvf-muted); border-radius: 10px; padding: 10px 12px; min-height: 46px; max-width: 100%; }
textarea { width: 100%; min-height: 120px; }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin-bottom: 10px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--mvf-ink-soft); }
fieldset { border: 1px solid var(--mvf-line); border-radius: var(--r); padding: 14px 16px; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 700; padding: 0 6px; }
.status { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--mvf-line); background: var(--mvf-surface); margin: 12px 0; overflow-wrap: anywhere; }
.status.ok { border-color: var(--mvf-success); }
.status.err { border-color: var(--mvf-error); color: var(--mvf-error); }
.status.warn { border-color: var(--mvf-warning); }
.status:empty { display: none; }

/* cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--mvf-surface); border: 1px solid var(--mvf-line); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.cards .card { margin-bottom: 0; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; color: var(--mvf-ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; position: relative; }
.card-link h3 { color: var(--mvf-ink); }
.card-link:hover { border-color: var(--mvf-accent); color: var(--mvf-ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link p { color: var(--mvf-ink-soft); }
.card-num { display: block; font: 700 .8rem var(--sans); letter-spacing: .12em; color: var(--mvf-muted); margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--mvf-line); background: var(--mvf-wash); color: var(--mvf-ink); }
.badge.sim { border-color: var(--mvf-warning); }
.badge.fiction { border-color: var(--mvf-ink-soft); }
.grid-2 { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--mvf-ink-soft); background: linear-gradient(var(--mvf-ink-soft), var(--mvf-ink-soft)) center / 8px 2px no-repeat; }
.steps li { margin-bottom: 8px; }
.meta-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
.meta-list dt { font-weight: 700; color: var(--mvf-ink-soft); }
.meta-list dd { margin: 0; }
@media (max-width: 520px) { .meta-list { grid-template-columns: 1fr; } .meta-list dd { margin-bottom: 8px; } }
blockquote.source-text { margin: 0 0 16px; padding: 16px 18px; background: var(--mvf-surface); border-left: 4px solid var(--mvf-ink-soft); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 1.12rem; }
table { width: 100%; border-collapse: collapse; background: var(--mvf-surface); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--mvf-line); vertical-align: top; }
th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mvf-ink-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--mvf-line); border-radius: var(--r); margin-bottom: 12px; }
.prose h2 { margin-top: 1.4em; }
.phase-list { padding-left: 1.2em; }

/* hero: copy left, documentary photo right with the ranking preview overlapping it */
.hero { background: linear-gradient(180deg, var(--mvf-wash), var(--mvf-canvas)); border-bottom: 1px solid var(--mvf-line); color: var(--mvf-ink); padding: 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 64px; }
.hero h1 { max-width: 14em; }
.hero .lede { margin-bottom: 24px; }
.framework-link { margin: 14px 0 0; font-weight: 600; }
.framework-link a { text-decoration: none; }
.framework-link a:hover { text-decoration: underline; }
.boundary { margin-top: 22px; font-size: .95rem; color: var(--mvf-ink-soft); display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--mvf-line); background: var(--mvf-surface); border-radius: 12px; max-width: 34em; }
.boundary-mark { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--mvf-ink-soft); background: linear-gradient(var(--mvf-ink-soft), var(--mvf-ink-soft)) center / 2px 8px no-repeat; }
.hero-aside { position: relative; padding-bottom: 56px; }
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--mvf-wash); position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-credit { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: 999px; }
.hero-preview { position: absolute; left: -28px; bottom: 0; width: min(330px, 78%); background: var(--mvf-surface); border: 1px solid var(--mvf-line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.hero-preview ol { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 7px; }
.hero-preview li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--mvf-line); border-radius: 10px; background: var(--mvf-canvas); font-weight: 600; font-size: .95rem; }
.hero-preview li b { width: 26px; height: 26px; border-radius: 50%; background: var(--mvf-ink-soft); color: var(--mvf-surface); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; flex: none; }
.hero-preview .pv-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-preview p { margin: 0; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding-top: 26px; padding-bottom: 36px; }
  .hero-aside { padding-bottom: 0; }
  .hero-preview { position: static; width: auto; margin-top: -40px; margin-left: 14px; margin-right: 14px; }
  .hero h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); }
  .hero .lede { font-size: 1.08rem; }
}

/* ranking (neutral states only) */
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: var(--mvf-surface); border: 1.5px solid var(--mvf-line); border-radius: 12px; padding: 10px 12px; }
.rank-item.grabbed { border-color: var(--mvf-focus); box-shadow: 0 0 0 3px var(--mvf-wash); }
.rank-num { width: 36px; height: 36px; border-radius: 50%; background: var(--mvf-ink-soft); color: var(--mvf-surface); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.rank-item .label { font-weight: 700; }
.rank-item .desc { font-size: .88rem; color: var(--mvf-muted); }
.rank-moves { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--mvf-line); background: var(--mvf-surface); color: var(--mvf-ink); font-size: 1.1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--mvf-wash); }
.icon-btn[disabled] { opacity: .4; cursor: not-allowed; }
.pill-state { font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mvf-wash); border: 1px solid var(--mvf-line); }
.pill-state.confirmed, .pill-state.complete { border-color: var(--mvf-success); }
.pill-state.draft { border-color: var(--mvf-warning); }
.pill-state.stale { border-color: var(--mvf-error); }

/* token pools */
details.card > summary { cursor: pointer; min-height: 32px; }
.pool-head { position: sticky; top: 0; z-index: 5; background: var(--mvf-surface); padding: 10px 0; border-bottom: 1px solid var(--mvf-line); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.meter { height: 12px; border-radius: 999px; background: var(--mvf-wash); border: 1px solid var(--mvf-line); overflow: hidden; flex: 1 1 200px; }
.meter > i { display: block; height: 100%; background: var(--mvf-ink-soft); width: 0; }
.pool-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--mvf-line); }
.pool-row .unset { font-size: .82rem; color: var(--mvf-muted); font-weight: 500; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper input { width: 76px; text-align: center; }
@media (max-width: 640px) { .pool-row { grid-template-columns: 1fr; gap: 6px; } }
input[type=range] { width: 100%; accent-color: var(--mvf-ink-soft); min-height: 44px; }

/* effectiveness, opinion: selection = neutral outline + check, never a national color */
.rate-row { padding: 14px 0; border-bottom: 1px solid var(--mvf-line); }
.rate-row .rate-controls { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.endpoints { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; color: var(--mvf-muted); }
.alt-states { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0; }
.scale label, .alt-choice label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1.5px solid var(--mvf-line); border-radius: 12px; background: var(--mvf-surface); cursor: pointer; text-align: center; font-weight: 600; min-height: 44px; }
.scale input, .alt-choice input { width: 22px; height: 22px; accent-color: var(--mvf-ink-soft); }
.scale label:has(input:checked), .alt-choice label:has(input:checked) { border-color: var(--mvf-ink); box-shadow: inset 0 0 0 2px var(--mvf-ink); background: var(--mvf-wash); }
.alt-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 560px) { .scale { grid-template-columns: 1fr; } .scale label { flex-direction: row; justify-content: flex-start; } .alt-choice { grid-template-columns: 1fr; } .alt-choice label { flex-direction: row; } }

/* simulated chart */
.sim-chart { display: grid; gap: 8px; }
.sim-row { display: grid; grid-template-columns: minmax(130px, 220px) 1fr 64px; gap: 10px; align-items: center; font-size: .95rem; }
.sim-bar { display: block; height: 14px; background: var(--mvf-wash); border-radius: 999px; overflow: hidden; border: 1px solid var(--mvf-line); }
.sim-bar > i { display: block; height: 100%; background: var(--mvf-muted); }
.sim-label { border: 2px dashed var(--mvf-line); border-radius: var(--r); padding: 18px; background: var(--mvf-surface); }
@media (max-width: 480px) { .sim-row { grid-template-columns: 1fr 70px 52px; font-size: .88rem; } }

/* countdown, ballot */
.timer { background: var(--mvf-surface); border: 1px solid var(--mvf-line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.timer .count { font: 800 clamp(1.4rem, 4vw, 2.2rem)/1.15 var(--sans); font-variant-numeric: tabular-nums; margin: 6px 0 12px; }
.timer-notice { margin: 10px 0 14px; }
.vote-now { font-size: 1.15rem; min-height: 56px; padding: 14px 32px; letter-spacing: .05em; }
.ballot-item { border: 1px solid var(--mvf-line); border-radius: var(--r); padding: 16px 18px; background: var(--mvf-surface); margin-bottom: 12px; }
.sample-stamp { display: inline-block; border: 2px solid var(--mvf-ink-soft); color: var(--mvf-ink-soft); font-weight: 800; letter-spacing: .14em; padding: 2px 10px; border-radius: 6px; font-size: .78rem; font-family: var(--sans); vertical-align: middle; }
.card-figure { margin: 0 0 16px; }
.card-figure img { border: 1px solid var(--mvf-line); border-radius: 12px; background: #fff; width: 100%; }
.card-figure figcaption { font-size: .9rem; color: var(--mvf-muted); margin-top: 8px; }
.codes { font: 600 1.05rem/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--mvf-surface); border: 1px solid var(--mvf-line); border-radius: 10px; padding: 14px 18px; columns: 2; }
@media (max-width: 480px) { .codes { columns: 1; } }
.note-card textarea { margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation: none !important; transition: none !important; }
@media print { .site-header, .site-footer, .notice-bar, .guest-bar { display: none; } }
.mega-menu a, .site-footer a, .mobile-nav a, .site-logo { text-decoration: none; }
@media (max-width: 960px) { .hero .boundary { display: none; } .hero-photo { aspect-ratio: 16 / 10; } }

/* ── judge pass 1 fixes (2026-10-26) ── */
.site-header { overflow-x: clip; }
.primary-nav { min-width: 0; flex-wrap: nowrap; }
@media (max-width: 1480px) { .primary-nav { gap: 0; } .primary-nav .nav-link { padding: 9px 9px; } }
/* mega-menu: compact feature card so the panel height follows the link columns */
.mm-feature--photo { flex-basis: 236px; }
.mm-feature--photo .mm-fphoto { height: 104px; }
.mm-feature--photo h4 { margin: 6px 0 2px; font-size: 1rem; }
.mm-feature--photo p { font-size: .84rem; }
.mm-feature--photo .mm-fcta { margin-top: 8px; padding-bottom: 14px; }
.mm-cols > div { min-width: 220px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mega-menu-inner { background: var(--mvf-wash); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); } }
:root[data-theme="dark"] .mega-menu-inner { background: var(--mvf-wash); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
/* dark mode: keep the logo's navy tail legible on dark grounds */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-on-dark { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .75)) drop-shadow(0 0 2px rgba(255, 255, 255, .25)); } }
:root[data-theme="dark"] .logo-on-dark { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .75)) drop-shadow(0 0 2px rgba(255, 255, 255, .25)); }
.site-footer .footer-brand img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .7)); }
/* footer: six columns in one row, clear separation from the page in dark mode */
.site-footer > .container { grid-template-columns: 1.5fr repeat(5, 1fr); }
@media (max-width: 1100px) { .site-footer > .container { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer > .container { grid-template-columns: 1fr 1fr; } }
.footer-social { margin: 0 0 18px; }
.site-footer { border-top: 1px solid var(--mvf-footer-line); }
/* spacing and type */
.section > .status.warn { margin-bottom: 36px; }
.nw { white-space: nowrap; }
.count-units { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 8px 0 14px; }
.count-unit { display: flex; flex-direction: column; min-width: 64px; }
.count-unit b { font: 700 clamp(1.9rem, 4.6vw, 2.6rem)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: var(--mvf-ink); }
.count-unit span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mvf-muted); margin-top: 6px; font-weight: 700; }
.count-state { font-weight: 700; margin: 4px 0 0; }
/* hero card sits above the photo on small screens so its title is never hidden */
.hero-preview { z-index: 2; }
@media (max-width: 960px) { .hero-preview { position: relative; } }
/* compact session prompt so the task starts above the fold on phones */
.session-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; }
.session-prompt p { margin: 0; flex: 1 1 260px; font-size: .95rem; }
/* mobile header and menu */
@media (max-width: 860px) {
  .header-inner { padding-left: 16px !important; padding-right: 16px !important; }
  .mobile-nav { max-height: calc(100dvh - 72px); overscroll-behavior: contain; }
  .mobile-nav-section a { padding: 10px 6px; }
  .mobile-cta { position: sticky; bottom: 0; background: var(--mvf-surface); padding: 12px 0; }
  .mobile-cta .btn { width: 100%; }
  .section { padding-top: 28px; }
  h1 { font-size: clamp(1.9rem, 8.6vw, 2.25rem); }
}
