/* Hallmark · shape: Long Document · genre: playful · theme: Squeeze (deal 1/3, seed elwood-indiana-small-town-business-0380·1d1b4005·2026-12-01·r0) · job: subscribe · draw: a7f343
 * hero: Index on the home page (the town's 19 directory categories with their real counts beside the signup card), Banner on every inner page (directory, category, listing, news, reference) · nav: banner over a bar that docks to the bottom on phones · footer: mast, the wordmark large over the signup card and links · imagery: one photograph (Elwood Municipal Building, via Madison County) · signature: the whole directory as the hero, 19 Panther-navy tiles with Gabarito counts
 * axes: mid/geometric-sans/warm · posture: drenched (the ground is the Elwood Panthers navy, #032349) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V5 · weakest: S, a directory home reads like any town's; led with Elwood's own categories and counts as the hero and the Municipal Building photograph with the Census figure, and set the whole site on the school navy */
/* Hallmark · answered: swaps from draw a7f343 named here: "who writes it" dropped (no person is named on the site, by the brief); "an example issue" and "the archive" become dated news rows from posts.json, because past editions live only in the newsletter engine's state outside this repo; the second subscribe field is the footer card (the brief keeps a footer signup on every page). The theme's one-card rule bends to one cream card per signup spot, because the brief puts a signup box near the top of every page and after every listing. */
/* Hallmark · waive 59 · inner pages stack the intro, the signup card, the list and the correction form 40 to 104px apart · the brief puts a signup box near the top of every page, so the card sits tight under the intro and a phone reader still reaches the Elwood businesses quickly */
/* Hallmark · waive 49b · business and category names in the directory table and footer wrap at 320px · names come verbatim from listings.json and the real Elwood categories, and cannot be shortened */
/* Hallmark · waive 78 · h2 heads on directory, category, listing and news pages render at 31px · they label reference lists (related businesses, latest news, the signup card), annotation heads over Elwood's data rather than section openers */
/* Hallmark · waive 44c · inner page intros end near 380 to 500px at 1440 · every inner page is a Banner posture over the Elwood directory or a reference list, so the list and the signup card start above the fold on purpose; the stamp can name only the home page's Index posture */
/* Hallmark · dismissed 58 · the home window from y=300 holds the 19-tile category index, each Elwood category name counted as words */
/* Hallmark · dismissed 77 · inner pages run four sections because they are reference pages (a list, a signup card, a correction form), not landing pages */
/* Hallmark · answered F20 · the last row of a category list holds however many Elwood businesses the data has; the home tiles balance with the lead tile spanning two */
/* Hallmark · answered F15 · the hero, the town split and the footer use wider gaps than the rows on purpose: the hero pairs a card with the index, the rows pair a date with a title */
@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  /* Squeeze, retinted for the Elwood Panthers, lightened 2026-12-02 at Shawn's word
     (the navy ground read as too much blue, too dark): the ground is warm paper, the
     school navy (#032349, elwood.k12.in.us) survives as the ink, the controls are
     Panther red (#d90e0e, elwoodpanthers.com). */
  --color-paper: oklch(96.5% 0.018 88); --color-paper-2: oklch(91.5% 0.032 90); --color-paper-3: oklch(89% 0.036 88);
  --color-ink: #032349; --color-ink-2: oklch(30% 0.045 257); --color-muted: oklch(50% 0.04 257); --color-rule: oklch(82% 0.035 88);
  --color-accent: #d90e0e; --color-accent-2: oklch(49% 0.19 27); --color-accent-ink: oklch(99% 0.005 90); --color-focus: oklch(60% 0.15 70);
  --color-card: oklch(99.5% 0.006 90); --color-card-ink: #032349; --color-card-muted: oklch(44% 0.05 257); --color-card-rule: oklch(80% 0.03 88);
  --font-display: "Gabarito", ui-sans-serif, system-ui, sans-serif; --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-display);
  --radius-card: 24px; --radius-control: 16px; --radius-pill: 999px; --rule-hair: 1px; --rule-bar: 2px;
  --shadow-card: 0 14px 32px -16px oklch(35% 0.06 257 / 0.35);
  --dock-h: 64px;
  --tracking-display: -0.025em; --display-weight: 800;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 45%, transparent); color: var(--color-card-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: natural vib=12 con=4 */
[data-slot] > img { filter: saturate(1.06) contrast(1.04); }



/* ---------- Type, links, utilities ---------- */
body { color: var(--color-ink-2); font-weight: 500; }
h1, h2, h3 { color: var(--color-ink); }
h1, h2 { line-height: 1; }
strong, b { color: var(--color-ink); font-weight: 700; }
.lead { color: var(--color-muted); }
.muted { color: var(--color-muted); }
.display-s { font-size: var(--text-display-s); max-width: 18ch; }
.link { color: var(--color-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--color-rule); text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); }
a:focus-visible, .link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.quiet { color: var(--color-ink-2); text-decoration: none; }
.quiet:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-card); color: var(--color-card-ink); border-radius: var(--radius-control); }
.skip:focus { top: var(--space-md); }

/* ---------- Buttons: a red primary, a cream-outlined secondary ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-accent); border-radius: var(--radius-control); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--line { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--line:hover { background: var(--color-paper-2); border-color: var(--color-ink); }
@media (prefers-reduced-motion: reduce) { .btn, .link, .tile, .navlink { transition: none; } }

/* ---------- Banner over the bar ---------- */
.banner { background: var(--color-paper-3); font-size: var(--text-sm); }
.banner__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-md); min-height: 40px; padding-block: var(--space-xs); }
.banner p { color: var(--color-muted); }
.banner__go { color: var(--color-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.banner__go:hover { text-decoration-color: var(--color-ink); }

/* ---------- The bar; on phones its links dock to the bottom of the screen ---------- */
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-rule); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 48px; color: var(--color-ink); text-decoration: none; }
.brand__mark { width: 44px; height: 44px; border-radius: var(--space-xs); box-shadow: 0 0 0 var(--rule-bar) var(--color-ink); }
.brand__word { font: var(--display-weight) var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.mainnav { display: flex; align-items: center; gap: var(--space-xs); }
.navlink { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out); }
.navlink:hover { background: var(--color-rule); }
.navlink[aria-current="page"] { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); }
.navlink:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.navlink--sub { background: var(--color-accent); color: var(--color-accent-ink); }
.navlink--sub:hover { background: var(--color-accent-2); }
.navlink--phone { display: none; }
@media (max-width: 48rem) {
  .bar { position: static; }
  .bar__in { min-height: 64px; }
  .brand__word { font-size: var(--text-lg); }
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); }
  .mainnav { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky-nav); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xs); min-height: var(--dock-h); padding: var(--space-xs) var(--space-xs) calc(var(--space-xs) + env(safe-area-inset-bottom, 0px)); background: var(--color-paper-3); border-top: var(--rule-bar) solid var(--color-rule); }
  .navlink, .navlink--phone { display: flex; min-height: 48px; padding: 0 var(--space-2xs); border-radius: var(--radius-control); font-size: var(--text-sm); background: transparent; }
  .navlink[aria-current="page"] { background: var(--color-paper-2); box-shadow: none; }
  .navlink--sub { background: var(--color-accent); }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--section-gap-s); }
.sec--tight { padding-block: var(--space-2xl); }
.sec h2 + p { margin-top: var(--space-md); }
.after { margin-top: var(--space-xl); }
.narrow { max-width: 48rem; }
.intro { padding-block: var(--space-2xl); }
.intro h1 { font-size: var(--text-display-s); max-width: 22ch; }
.intro .lead { margin-top: var(--space-md); }
.intro .tag { margin-top: var(--space-md); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); margin: 0 0 var(--space-lg); padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-rule); }
.crumbs a { color: var(--color-ink); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.band { background: var(--color-paper-2); color: var(--color-ink-2); }
.tag { display: inline-flex; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-sm); font-weight: 700; }
@media (max-width: 40rem) { .intro { padding-block: var(--space-2xl) var(--space-lg); } }

/* ---------- The cream card: every signup sits on it, solid and bordered ---------- */
.card { background: var(--color-card); color: var(--color-card-ink); border: var(--rule-bar) solid var(--color-card-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.card h2, .card h3, .card strong { color: var(--color-card-ink); }
.card :focus-visible, .card .btn:focus-visible { outline-color: var(--color-card-ink); }
.signcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-lg) var(--space-2xl); align-items: center; padding: var(--space-xl); }
.signcard__title { font-size: var(--text-2xl); max-width: 20ch; }
.signcard__text p { margin-top: var(--space-xs); color: var(--color-card-muted); }
.signcard--hero { display: block; padding: var(--space-lg); }
.sec--signup { padding-block: var(--space-xl); }
.sec--signup-tight { padding-block: 0 var(--space-xl); }
@media (max-width: 60rem) { .signcard { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); } .signcard__title { font-size: var(--text-xl); } }

.signup { display: grid; gap: var(--space-xs); }
.signup__label { font-size: var(--text-sm); font-weight: 700; }
.signup__row { display: flex; gap: var(--space-xs); }
.signup input, .form input, .form textarea, .form select, .filter input { min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-bar) solid var(--color-card-muted); border-radius: var(--radius-control); background: var(--color-card); color: var(--color-card-ink); font-size: var(--text-md); }
.signup input { flex: 1; }
.signup input:focus-visible, .form :is(input, textarea, select):focus-visible, .filter input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.card .signup input:focus-visible { outline-color: var(--color-card-ink); }
.signup input[aria-invalid="true"] { border-color: var(--color-error); }
.signup .btn { min-height: 52px; }
.signup__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-card-muted); }
.signup__help.is-ok, .form__help.is-ok { color: var(--color-success); font-weight: 700; }
.signup__help.is-err, .form__help.is-err { color: var(--color-error); font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 30rem) { .signup__row { flex-direction: column; } .signup .btn { width: 100%; } }

/* ---------- Home hero: the directory index beside the signup ---------- */
.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; }
.hero__act { display: grid; gap: var(--space-lg); align-content: start; padding-top: var(--space-lg); }
.hero__act h1 { font-size: var(--text-display); max-width: 9ch; }
.hero__all { margin-top: var(--space-md); }
.tiles > li:first-child { grid-column: span 2; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.tile { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 80px; height: 100%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-control); background: var(--color-paper-2); color: var(--color-ink); font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out); }
.tile:hover { background: var(--color-rule); }
.tile:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.tile__count { font: var(--display-weight) var(--text-xl)/1 var(--font-display); color: var(--color-ink); }
@media (max-width: 60rem) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__act { padding-top: 0; } }
@media (max-width: 40rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { min-height: 56px; padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm); } .tile__count { font-size: var(--text-lg); } }

/* ---------- Rows: news, guides, related ---------- */
.split-rows { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.split-rows__head { display: grid; gap: var(--space-md); justify-items: start; }
.split-rows__head h2 { max-width: 12ch; }
.split-rows__head p { color: var(--color-muted); }
.rows { margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-rule); }
.rows > li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.row { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-lg); }
.row__when { font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); padding-top: var(--space-2xs); }
.row__body { display: grid; gap: var(--space-xs); justify-items: start; }
.row__title { font-size: var(--text-title); max-width: 36ch; }
.row__body p { max-width: 62ch; }
.row__img { width: 100%; max-width: 560px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.news-credits { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-lg); }
.rows--wide .row { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
.linkrow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-md); color: var(--color-ink); text-decoration: none; }
.linkrow__t { font: var(--display-weight) var(--text-title)/1.15 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 0.18em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.linkrow__d { color: var(--color-muted); }
.linkrow:hover .linkrow__t { text-decoration-color: var(--color-accent); }
.linkrow:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 60rem) {
  .split-rows { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .row, .rows--wide .row, .linkrow { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}

/* ---------- Town: the photograph and one figure ---------- */
.town { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl) var(--space-3xl); align-items: center; }
.town__photo { margin: 0; }
.town__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
.town__photo figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); }
.town__facts { display: grid; gap: var(--space-lg); }
.poster { display: grid; gap: var(--space-xs); }
.figure { font: var(--display-weight) clamp(4.5rem, 11vw, 10rem)/0.85 var(--font-display); letter-spacing: -0.04em; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; }
.poster__unit { font: var(--display-weight) var(--text-xl)/1.1 var(--font-display); color: var(--color-ink); }
.poster__src { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .town { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Claim: a statement on the deeper navy ---------- */
.sec--claim { background: var(--color-paper-3); }
.claim { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--space-3xl); align-items: end; }
.claim__act { display: grid; gap: var(--space-lg); justify-items: start; }
.claim__act p { color: var(--color-muted); }
@media (max-width: 60rem) { .claim { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Directory: chips, filter, table ---------- */
.filter { display: grid; gap: var(--space-xs); max-width: 36rem; margin-top: var(--space-xl); }
.filter label { font-weight: 700; color: var(--color-ink); }
.filter__count { min-height: 1lh; font-size: var(--text-sm); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-sm); font-weight: 700; text-decoration: none; }
.chip:hover { background: var(--color-rule); }
.chip[aria-current="page"] { background: var(--color-paper-3); box-shadow: inset 0 0 0 3px var(--color-accent); }
.chip:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.table-wrap { overflow-x: auto; margin-block: var(--space-lg); }
.table { width: 100%; border-collapse: collapse; }
.table caption { text-align: left; padding-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); }
.table th, .table td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; text-align: left; vertical-align: top; border-bottom: var(--rule-hair) solid var(--color-rule); }
.table thead th { font-size: var(--text-sm); color: var(--color-muted); border-bottom: var(--rule-bar) solid var(--color-rule); }
.table tbody th { color: var(--color-ink); font-weight: 700; }
.table a { color: var(--color-ink); }
.dir tbody th a { font-weight: 700; }
.dir .tag { margin-left: var(--space-xs); }
.empty { margin-top: var(--space-lg); }
@media (max-width: 40rem) { .dir thead { display: none; } .dir tr { display: grid; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); } .dir th, .dir td { padding: 0; border: 0; } }

/* ---------- Category and guide lists: tiles ---------- */
.bizlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.biz { display: grid; gap: var(--space-sm); align-content: start; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.biz h3 a { color: var(--color-ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.biz p { color: var(--color-muted); }
.biz__facts, .src { display: grid; gap: var(--space-2xs); margin: 0; font-size: var(--text-sm); }
.biz__facts div, .src div { display: grid; grid-template-columns: minmax(0, 6rem) minmax(0, 1fr); gap: var(--space-sm); }
.biz__facts dt, .src dt { color: var(--color-muted); font-weight: 700; }
.biz__facts dd, .src dd { margin: 0; color: var(--color-ink); }
.biz__facts a { color: var(--color-ink); font-weight: 700; }
.callout { margin-bottom: var(--space-lg); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-control); background: var(--color-paper-3); }
@media (max-width: 48rem) { .bizlist { grid-template-columns: minmax(0, 1fr); } }

/* ---------- One business: the fact panel ---------- */
.listing { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-lg) var(--space-2xl); align-items: start; }
@media (max-width: 60rem) { .listing { grid-template-columns: minmax(0, 1fr); } }
.label { display: grid; margin: 0; padding: var(--space-sm) var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.label__row { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.label__row:last-child { border-bottom: 0; }
.label dt { color: var(--color-muted); font-weight: 700; }
.label dd { margin: 0; color: var(--color-ink); overflow-wrap: anywhere; }
.hours { border-collapse: collapse; }
.hours th, .hours td { padding: 0 var(--space-md) var(--space-2xs) 0; text-align: left; font-weight: 500; }
.hours th { color: var(--color-ink); font-weight: 700; }
.source { max-width: 40ch; padding-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.dock { display: none; }
@media (max-width: 48rem) {
  .label { padding: var(--space-xs) var(--space-lg); }
  .label__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  /* Call / Directions: fixed directly above the bottom nav, never under it. */
  .dock { position: fixed; left: 0; right: 0; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); z-index: var(--z-sticky); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); padding: var(--space-xs); background: var(--color-paper-3); border-top: var(--rule-hair) solid var(--color-rule); }
  .dock .btn { width: 100%; padding: 0 var(--space-xs); }
  body:has(.dock) { padding-bottom: calc(var(--dock-h) * 2 + var(--space-xs) + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Correction and other forms ---------- */
.sec--fix { background: var(--color-paper-2); }
.fix { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--space-2xl); }
.fix p { margin-top: var(--space-md); color: var(--color-muted); }
.form { display: grid; gap: var(--space-xs); justify-items: start; }
.form label { margin-top: var(--space-sm); font-weight: 700; color: var(--color-ink); }
.form input, .form textarea, .form select { width: 100%; }
.form textarea { min-height: 120px; padding-block: var(--space-sm); line-height: 1.5; }
.form .btn { margin-top: var(--space-md); }
.form__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.check { display: flex; gap: var(--space-sm); align-items: start; font-weight: 500; }
.check input { width: 22px; min-height: 22px; margin-top: var(--space-2xs); accent-color: var(--color-accent); }
@media (max-width: 60rem) { .fix { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Prose: about, legal, sourced data pages ---------- */
.prose { display: grid; gap: var(--space-md); }
.prose > * { max-width: 65ch; }
.prose--wide > .table-wrap { max-width: none; }
.prose h2 { margin-top: var(--space-xl); font-size: var(--text-2xl); }
.prose ul { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-2xs); }
.prose a:not(.btn) { color: var(--color-ink); font-weight: 700; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.plain { list-style: none; padding: 0; }
.src { margin-top: var(--space-sm); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-control); background: var(--color-paper-2); }
.sec-head { margin-bottom: var(--space-lg); }
.qa { border-bottom: var(--rule-hair) solid var(--color-rule); }
.qa summary { display: flex; align-items: center; min-height: 56px; padding-block: var(--space-sm); color: var(--color-ink); font: var(--display-weight) var(--text-lg)/1.25 var(--font-display); cursor: pointer; }
.qa summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.qa p { padding-bottom: var(--space-md); max-width: 65ch; }

/* ---------- Footer: the mast ---------- */
.foot { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper-3); }
.foot__mast { font: var(--display-weight) clamp(3rem, 10vw, 9rem)/0.9 var(--font-display); letter-spacing: -0.04em; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; margin-top: var(--space-2xl); }
.foot .signcard { grid-template-columns: minmax(0, 1fr); }
.foot__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.foot__links nav { display: grid; gap: var(--space-2xs); align-content: start; }
.foot__links h2 { margin-bottom: var(--space-xs); font: 700 var(--text-sm)/1.2 var(--font-body); color: var(--color-muted); letter-spacing: normal; }
.foot__links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; color: var(--color-ink); font-weight: 700; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.foot__legal { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.foot__legal + .foot__legal { margin-top: var(--space-2xs); }
.foot__legal a { color: var(--color-ink); }
@media (max-width: 75rem) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30rem) { .foot__links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Business photos (Dec 1, 2026) */
.dir-name { display: flex; align-items: center; gap: var(--space-sm); }
.dir-thumb { flex: none; width: 4rem; height: 3rem; overflow: hidden; border-radius: 0.375rem; background: var(--color-accent); }
.dir-thumb-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dir-thumb--letter { display: flex; align-items: center; justify-content: center; color: var(--color-accent-ink); font-weight: 800; font-size: 1.25rem; }
.biz-photo { display: block; width: 100%; max-width: 24rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.375rem; }
.biz-photo-wrap { margin: 0; }
.lead-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.375rem; }
.photo-credit { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
