/* Hallmark · shape: Long Document (a monthly report read top to bottom; order kept) · genre: editorial · theme: Newsprint (deal 2/3, seed client-facing-monthly-local-seo-6547·27036e2b·2026-11-05·r0) · redesign: full · copy: verbatim · draw: 2c84a2
 * hero: Banner (swapped from Corridor: a report opens on its masthead and the short version, the figures show above the fold) · nav: edge-aligned (from Rich Media Web, prepared for the client) · footer: colophon (swapped from letter close: one credit line suits a document) · imagery: none (a report of figures; the chart is the picture) · signature: the four figures set as a box score between double rules
 * axes: light/slab-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0
 * brand: the brick is Rich Media Web's own red (#a82f10, focus #c23a17) */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: P, a report has little to argue; set it like a paper's results page so the numbers read as news, not a dashboard */
/* Hallmark · dismissed F23 · the demo script writes the meta description from its business data at page load */
@import url("./tokens.css");
@import url("./base.css");

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-xl); }
body { font-size: 1.0625rem; line-height: 1.55; color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); }
a { color: var(--color-accent); text-decoration-color: var(--color-accent); }
a:hover { text-decoration-thickness: 2px; }
a:active { color: var(--color-ink); }
.agate, .n, .vals text { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-toast); background: var(--color-ink); color: var(--color-paper); padding: var(--space-sm) var(--space-md); font-weight: 500; text-decoration: none; }
.skip:focus-visible { top: var(--space-md); }

.ribbon { background: var(--color-paper-2); color: var(--color-ink-2); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); text-align: center; padding: var(--space-xs) var(--space-md); }
.ribbon b { font-weight: 500; color: var(--color-ink); }

/* Masthead strip */
.top { border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; min-height: 64px; padding-block: var(--space-sm); }
.from { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); font: 700 var(--text-lg)/1 var(--font-display); }
.from b { color: var(--color-accent); }
.from:hover span { text-decoration: underline; }
.for { font-size: var(--text-sm); color: var(--color-muted); }
.for b { color: var(--color-ink); font-weight: 500; }

main { display: grid; gap: var(--section-gap-s); padding-block: var(--space-2xl) var(--space-xl); }

/* Title: the masthead of this issue */
.title { display: grid; gap: var(--space-xs); }
.title h1 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; max-width: none; }
/* the old kicker is now the dateline under the masthead */
.kicker { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding-bottom: var(--space-md); border-bottom: 3px double var(--color-rule-2); }
.summary { margin-top: var(--space-md); font-size: var(--text-lead); line-height: 1.5; max-width: 46em; color: var(--color-ink); }
.summary b { font-family: var(--font-display); font-weight: 700; }

.h2, .h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.05; margin-bottom: var(--space-lg); }
.two .h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }

/* Figures as a box score, between double rules, parted by column rules */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 3px double var(--color-rule-2); }
.num { display: grid; gap: var(--space-2xs); align-content: start; padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; }
.num + .num { padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.n { font: 700 clamp(3rem, 6vw, 4.5rem)/1 var(--font-display); color: var(--color-ink); }
.label { font-weight: 500; line-height: 1.35; color: var(--color-ink); }
.delta { font-size: var(--text-sm); color: var(--color-muted); }
.delta.up { color: var(--color-good); font-weight: 500; }


/* Sections are wells and rules, never boxes */
.card { min-width: 0; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); }
.muted { color: var(--color-muted); }
.note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); font-style: italic; }

/* Chart: ink for calls, a muted brick-brown for quote requests */
.chart { margin: 0; }
.chart svg { width: 100%; height: auto; }
.grid line { stroke: var(--color-rule); stroke-width: 1; }
.axis text { font: 500 12px var(--font-outlier); fill: var(--color-muted); text-anchor: end; }
.axis.wk text { text-anchor: middle; font: 500 13px var(--font-body); fill: var(--color-ink-2); }
.bars-calls rect { fill: var(--color-ink); rx: 0; }
.bars-quotes rect { fill: var(--color-bar-2); rx: 0; }
.vals text { font: 500 13px var(--font-outlier); fill: var(--color-ink); text-anchor: middle; }
.legend { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-sm); }
.k { display: inline-block; width: 14px; height: 14px; margin-left: var(--space-sm); }
.k:first-child { margin-left: 0; }
.k.calls { background: var(--color-ink); }
.k.quotes { background: var(--color-bar-2); }

/* Lists as ruled rows */
.checks { list-style: none; padding: 0; margin: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.checks li { position: relative; padding: var(--space-sm) 0 var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 12px; height: 2px; background: var(--color-good); }
.checks.plain li::before { background: var(--color-accent); }
.q { margin: var(--space-md) 0; padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); font-style: italic; font-size: var(--text-lg); color: var(--color-ink); }
.ai-list { list-style: none; padding: 0; margin: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.ai-list li { display: flex; justify-content: space-between; align-items: baseline; padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.ai-list span { font: 700 var(--text-lg)/1.2 var(--font-display); color: var(--color-ink); }
.ai-list b { font: 500 var(--text-sm)/1 var(--font-outlier); }
.yes { color: var(--color-good); }
.no { color: var(--color-muted); }

.next { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 var(--space-2xl); align-items: start; padding: var(--space-xl); background: var(--color-paper-2); border-top: 3px double var(--color-rule-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.next .checks, .next .ask { grid-column: 2; }
.ask { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-accent); color: var(--color-ink); }
.ask b { font-family: var(--font-display); font-weight: 700; }
.foot { font-size: var(--text-md); color: var(--color-muted); font-style: italic; max-width: 60ch; }

.credit { border-top: var(--rule-hair) solid var(--color-rule-2); color: var(--color-muted); font-size: var(--text-sm); padding-block: var(--space-lg); }

@media (max-width: 60rem) {
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num:nth-child(3) { padding-left: 0; border-left: 0; }
  .num:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }
  .two, .next { grid-template-columns: minmax(0, 1fr); }
  .next .checks, .next .ask { grid-column: 1; }
}
@media (max-width: 40rem) {
  .wrap { padding-inline: var(--space-md); }
  .num, .num + .num { padding: var(--space-md) var(--space-sm) var(--space-md) 0; }
  .num + .num { padding-left: var(--space-sm); }
  .num:nth-child(3) { padding-left: 0; }
  .next { padding: var(--space-lg) var(--space-md); }
}
