/* Village of Smithville: "Main Street" (bright small-town), carried from mockup 1 to every page.
   Lock (smithville/mockups/1-main-street/design-lock.md): sky white ground with a sun glow and
   faint field rows; field-ink green text and footer; ONE action green on Pay / Report / Donate;
   wheat gold for decoration only, never a button. Young Serif over Public Sans, body 18px, fixed
   root size. The one motion is the home page's develop crossfade; everything else is calm hover.
   Inner pages are records (minutes, ordinances, forms, people): white paper on the sky ground,
   ruled lists and tables, the serif for names and headings only. */

/* ---- fonts (self-hosted, from the mockup) ---- */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/young-serif-400-normal-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: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/young-serif-400-normal-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: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/public-sans-400-normal-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: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/public-sans-400-normal-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: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/public-sans-600-normal-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: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/public-sans-600-normal-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: 'Public Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/public-sans-700-normal-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: 'Public Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/public-sans-700-normal-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; }

/* ---- tokens ---- */
:root {
  --sky: #f4f8fa;
  --sky-deep: #e4eff5;
  --surface: #ffffff;
  --ink: #14301c;
  --ink-soft: #3d5245;
  --line: #c9d8d0;
  --line-soft: #e1ebe5;
  --go: #1d6a35;           /* THE accent: fill for Pay / Report / Donate */
  --go-ink: #ffffff;
  --go-deep: #17572b;      /* the accent as text and links on light ground */
  --gold: #d9a92e;         /* meaning colour: field rows and rules, decorative only */
  --gold-soft: rgb(217 169 46 / .16);
  --night: #14301c;
  --on-night: #f1f5ef;
  --on-night-soft: #c7d6c9;
  --alert: #fbe9b7;
  --alert-ink: #3a2c05;
  --atmo-sun: rgb(255 214 140 / .42);
  --atmo-sky: rgb(160 205 230 / .45);
  --atmo-rows: rgb(29 106 53 / .05);
  --atmo-vignette: rgb(20 48 28 / .06);
  --scrim: rgb(10 24 14 / .82);

  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Public Sans", system-ui, sans-serif;

  --step--1: .889rem;
  --step-0: 1.125rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: 2.369rem;
  --step-4: 3.157rem;
  --step-5: 4.209rem;
  --step-6: 5.61rem;

  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6.5rem;
  --radius: 14px;
  --max: 76rem;
  --max-wide: 112rem;
  --shadow: 0 18px 50px -24px rgb(20 48 28 / .35);
  --shadow-soft: 0 10px 30px -22px rgb(20 48 28 / .45);
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--sky);
  background-image:
    radial-gradient(60rem 40rem at 100% 0%, var(--atmo-sun), transparent 70%),
    radial-gradient(80rem 50rem at 0% 0%, var(--atmo-sky), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 46px, var(--atmo-rows) 46px 48px),
    radial-gradient(140% 100% at 50% 40%, transparent 60%, var(--atmo-vignette) 100%);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
a { color: var(--go-deep); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 var(--s2); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0 0 var(--s2); }
b, strong { font-weight: 700; }
.sr-only, .brand-name, .footer-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s2); top: -4rem; background: var(--ink); color: var(--on-night); padding: var(--s1) var(--s2); z-index: 60; border-radius: 6px; }
.skip-link:focus { top: var(--s1); }
.nowrap { white-space: nowrap; }
.small { font-size: var(--step--1); color: var(--ink-soft); }

/* A reading-width block lines up with the page's left edge (the wide column), not centred apart. */
.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--s2); }
.wrap > * { max-width: var(--max); }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 48rem) { .wrap, .wrap-wide { padding: 0 var(--s4); } }

/* ---- buttons and links ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: var(--step-0); line-height: 1.2; text-align: center; max-width: 100%; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-go, .btn-brick { background: var(--go); color: var(--go-ink); box-shadow: var(--shadow); }
.btn-line, .btn-green { border: 2px solid var(--ink); color: var(--ink); background: var(--surface); }
.btn-big { min-height: 3.75rem; padding: .9rem 2rem; font-size: var(--step-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin: var(--s3) 0 0; }
.more { font-weight: 700; color: var(--go-deep); }
.more-light { color: var(--on-night); }
.tag { display: inline-block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .06em; line-height: 1; padding: .3em .45em .25em; border-radius: 4px; border: 1px solid currentColor; vertical-align: .12em; margin-left: .2em; text-decoration: none; }
.btn .tag { margin-left: 0; }
.btn-go .tag, .btn-brick .tag { color: var(--go-ink); }

/* ---- notice banner ---- */
.alert { background: var(--alert); color: var(--alert-ink); font-size: var(--step--1); }
.alert-row { display: flex; flex-wrap: wrap; gap: .25rem var(--s2); justify-content: space-between; align-items: baseline; padding-top: .6rem; padding-bottom: .6rem; }
.alert p { margin: 0; }
.alert a { color: var(--alert-ink); font-weight: 700; }

/* ---- header ---- */
.site-header { position: relative; z-index: 30; }
.header-row { display: flex; align-items: center; gap: var(--s2); padding-top: var(--s2); padding-bottom: var(--s2); }
.brand { display: block; flex: none; line-height: 0; border-radius: 6px; }
.brand-logo { width: auto; height: 2.9rem; }
.quick { margin-left: auto; display: none; }
.quick ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s3); }
.quick a { color: var(--ink); font-weight: 600; text-decoration: none; padding: .5rem 0; }
.quick a:hover, .quick a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .4em; }
.header-call { display: none; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; border: 2px solid var(--line); border-radius: 999px; padding: .5rem 1rem; background: var(--surface); }
.header-call:hover { border-color: var(--ink); }
.menu { margin-left: auto; }
.menu-toggle { list-style: none; display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: .55rem 1rem; min-height: 2.9rem; cursor: pointer; user-select: none; }
.menu-toggle::-webkit-details-marker { display: none; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu[open] .menu-bars { background: transparent; }
.menu[open] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-bars::after { top: 0; transform: rotate(-45deg); }
.menu:not([open]) > .mega { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); box-shadow: var(--shadow); border-top: 1px solid var(--line); max-height: calc(100vh - 6rem); overflow-y: auto; }
.mega-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3) var(--s4); padding-top: var(--s3); padding-bottom: var(--s4); }
.mega-h { font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--s1); }
.mega ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.mega li a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.mega li a:hover, .mega li a[aria-current="page"] { color: var(--go-deep); text-decoration: underline; }
.mega-call p { margin-bottom: var(--s1); }
.mega-phone { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); text-decoration: none; }
@media (min-width: 40rem) { .mega-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .brand-logo { height: 3.3rem; }
  .quick { display: block; }
  .menu { margin-left: 0; }
  .mega-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 80rem) { .header-call { display: inline-block; } }
@media (max-width: 23.4rem) {
  .brand-logo { height: 2.4rem; }
  .menu-toggle { padding: .5rem .75rem; }
  .header-row { gap: .5rem; }
}
/* Phones and tablets: the header (logo + Menu) sticks; the notice banner above it scrolls away.
   Compact row so it covers little. scroll-padding keeps anchors and the skip link clear of it. The
   open Menu fills the rest of the screen and scrolls inside itself. Desktop (64rem+) is unchanged. */
@media (max-width: 63.99rem) {
  html { scroll-padding-top: 4.5rem; }
  .site-header { position: sticky; top: 0; background: var(--sky); box-shadow: 0 1px 0 var(--line); }
  .header-row { padding-top: .5rem; padding-bottom: .5rem; }
  .mega { max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overscroll-behavior: contain; }
}

/* ---- footer ---- */
.site-footer { background: var(--night); color: var(--on-night); padding: var(--s5) 0 var(--s3); }
.site-footer a { color: var(--on-night); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
.footer-grid p { color: var(--on-night-soft); }
.f-logo { display: inline-block; background: var(--surface); border-radius: 10px; padding: .6rem .8rem; line-height: 0; margin-bottom: var(--s2); }
.f-logo img { width: auto; height: 3.4rem; }
.f-h { font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--on-night); margin-bottom: var(--s2); }
.f-phone { font-family: var(--font-display); font-size: var(--step-2); text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-base { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: space-between; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgb(241 245 239 / .2); font-size: var(--step--1); }
.footer-base p { margin: 0; color: var(--on-night-soft); }
.fb-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.st-credit { text-decoration: none; }
.st-wm { font-weight: 700; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.f-reach .small-mail, .f-reach a[href^="mailto:"] { font-size: var(--step--1); }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1fr 1fr 1.35fr 1fr; } }

/* ================================================================ HOME */
/* ---- hero: Main Street from the air, yesterday and today ---- */
.hero { position: relative; display: grid; max-width: 100rem; margin: 0 auto; background: var(--ink); }
.hero > * { grid-area: 1 / 1; }
.thennow { position: relative; margin: 0; min-height: 21rem; overflow: hidden; }
.tn-frame { position: absolute; inset: 0; }
.tn-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-now { transition: opacity 1.8s ease; }
.js .thennow[data-show="then"] .tn-now { opacity: 0; }
.thennow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 24 14 / 0) 40%, rgb(10 24 14 / .45) 100%); pointer-events: none; }
.tn-cap { position: absolute; z-index: 2; right: var(--s2); top: var(--s2); display: flex; align-items: center; gap: var(--s1) var(--s2); flex-wrap: wrap; justify-content: flex-end; }
.tn-label { display: none; background: var(--surface); color: var(--ink); font-size: var(--step--1); padding: .35rem .8rem; border-radius: 999px; }
.tn-when-then { display: none; }
.thennow[data-show="then"] .tn-when-then { display: inline; }
.thennow[data-show="then"] .tn-when-now { display: none; }
.tn-controls { display: none; }
.js .tn-controls { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 3px; }
.tn-btn { font: inherit; font-size: var(--step--1); font-weight: 700; border: 0; background: transparent; color: var(--ink); border-radius: 999px; padding: .5rem .9rem; min-height: 2.5rem; cursor: pointer; }
.tn-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-night); }
/* The scrim travels with the words: whatever the photo does behind it, the text sits on at least
   80% field-ink (measured worst case in docs/runs/2026-12-01-smithville-restyle/check-pages.py). */
.hero-copy { position: relative; z-index: 3; align-self: end; width: 100%; color: var(--on-night); padding-top: 6rem; padding-bottom: var(--s3); pointer-events: none; background: linear-gradient(180deg, rgb(10 24 14 / 0) 0, var(--scrim) 5.5rem, var(--scrim) 100%); }
.hero-copy a { pointer-events: auto; }
.hero-copy h1 { font-size: 2.5rem; color: var(--on-night); margin-bottom: var(--s1); max-width: 16ch; }
.hero-sub { font-size: 1rem; max-width: 36rem; color: var(--on-night); margin-bottom: .4rem; }
.sub-long { display: none; }
.hero-meet { font-size: 1rem; font-weight: 700; color: var(--on-night); margin: 0; max-width: 40rem; }
@media (min-width: 48rem) {
  .thennow { aspect-ratio: 2 / 1; max-height: min(36rem, 64vh); min-height: 26rem; width: 100%; }
  .tn-label { display: inline; }
  .sub-long { display: inline; }
  .hero-copy { padding-bottom: var(--s4); }
  .hero-copy h1 { font-size: var(--step-5); }
  .hero-sub, .hero-meet { font-size: var(--step-0); }
}
@media (min-width: 90rem) { .hero-copy h1 { font-size: var(--step-6); } }
@media (min-width: 100rem) { .hero { max-width: calc(var(--max-wide) - 5rem); border-radius: var(--radius); overflow: hidden; margin-top: var(--s1); } }

/* ---- pay box + quick links ---- */
.tasks { position: relative; z-index: 4; padding: var(--s3) 0 var(--s5); }
.tasks-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.task-lead { background: var(--surface); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow); border-top: 6px solid var(--go); }
.task-lead h3 { font-size: var(--step-2); }
.task-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: var(--s4); border-top: 2px solid var(--ink); }
.task-list a { display: flex; flex-direction: column; padding: var(--s2) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.task-list a:hover .tl-name { text-decoration: underline; text-decoration-color: var(--gold); }
.tl-name { font-family: var(--font-display); font-size: var(--step-1); }
.tl-note { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 47.99rem) {
  .task-lead { padding: var(--s2) var(--s2) var(--s3); }
  .task-lead h3 { font-size: var(--step-1); }
  .task-lead .btn { min-height: 3rem; padding: .6rem 1.1rem; font-size: 1rem; }
  .task-lead .btn-row { gap: .6rem; margin-top: var(--s2); }
  .task-lead p { margin-bottom: .5rem; }
}
@media (min-width: 48rem) { .task-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .tasks { padding-top: 0; }
  .tasks-grid { grid-template-columns: 7fr 5fr; gap: var(--s5); align-items: start; }
  .task-lead { grid-column: 2; grid-row: 1; margin-top: -6rem; position: relative; }
  .task-list { grid-column: 1; grid-row: 1; margin-top: var(--s4); }
  .hero-copy { padding-bottom: var(--s5); }
  .hero-copy h1, .hero-sub, .hero-meet { max-width: min(58%, 44rem); }
}

/* ---- meetings: the published schedule as a ledger ---- */
.meet-sec { padding: var(--s5) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meet-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.ledger { list-style: none; margin: 0 0 var(--s3); padding: 0; border-top: 2px solid var(--ink); }
.ledger li { display: grid; grid-template-columns: auto auto 1fr; gap: .25rem var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lg-who { font-family: var(--font-display); font-size: var(--step-1); grid-column: 1 / -1; }
.lg-time { font-weight: 700; }
.lg-when, .lg-where { color: var(--ink-soft); }
.meet-notes p:first-child { color: var(--ink-soft); }
@media (min-width: 64rem) {
  .meet-grid { grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s5); align-items: start; }
  .meet-grid > h2 { grid-column: 1 / -1; }
}
@media (min-width: 120rem) {
  .meet-grid { grid-template-columns: 2fr 7fr 4fr; }
  .meet-grid > h2 { grid-column: auto; }
  .ledger li { grid-template-columns: 2.4fr 1.6fr 1fr 1.2fr; }
  .lg-who { grid-column: auto; }
}

/* dated meetings the clerk adds (agendas, special meetings) */
.meet-list { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: var(--s2); }
.meet { background: var(--sky); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: var(--s2); }
.meet p { margin: 0; }
.meet-date { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); }
.meet-title { font-family: var(--font-display); font-size: var(--step-1); }
.meet-note { font-weight: 700; }
.meet-agenda { margin-top: .4rem !important; }

/* ---- welcome ---- */
.welcome { padding: var(--s6) 0; }
.welcome-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: center; }
.welcome-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.welcome-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.welcome-copy h2 { font-size: var(--step-3); max-width: 14ch; }
.welcome-copy p { max-width: 36rem; }
@media (min-width: 64rem) { .welcome-grid { grid-template-columns: 7fr 5fr; gap: var(--s5); } .welcome-copy h2 { font-size: var(--step-4); } }

/* ---- departments: a ruled list, not cards ---- */
.depts { padding: var(--s5) 0 var(--s6); }
.dept-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: var(--s4); border-top: 2px solid var(--ink); }
.dept-list a { display: grid; padding: var(--s2) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; }
.dept-list a:hover .dl-name { color: var(--go-deep); text-decoration: underline; text-decoration-color: var(--gold); }
.dl-name { font-family: var(--font-display); font-size: var(--step-1); }
.dl-note { color: var(--ink-soft); font-size: var(--step--1); }
@media (min-width: 48rem) { .dept-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 90rem) { .dept-list { grid-template-columns: repeat(4, 1fr); } }

/* ---- park band: full bleed ---- */
.park { background: var(--night); color: var(--on-night); }
.park-band { display: grid; grid-template-columns: 1fr; max-width: 140rem; margin: 0 auto; }
.park-band img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.park-copy { padding: var(--s5) var(--s2); max-width: 40rem; }
.park-copy h2 { font-size: var(--step-3); color: var(--on-night); }
.park-copy p { color: var(--on-night-soft); }
@media (min-width: 48rem) { .park-copy { padding: var(--s5) var(--s4); } }
@media (min-width: 64rem) {
  .park-band { grid-template-columns: 1fr 1fr; align-items: center; }
  .park-band img { aspect-ratio: auto; max-height: 36rem; }
  .park-copy { padding: var(--s5); }
  .park-copy h2 { font-size: var(--step-4); }
}

/* ---- news ---- */
.news-sec { padding: var(--s6) 0; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.news-head p { margin: 0; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.news-card { border-left: 4px solid var(--gold); padding-left: var(--s2); }
.nc-link { display: flex; flex-direction: column; gap: .3rem; color: var(--ink); text-decoration: none; }
.nc-date { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); }
.nc-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; }
.nc-blurb { color: var(--ink-soft); }
.nc-link:hover .nc-title { text-decoration: underline; text-decoration-color: var(--gold); }
.nixle { font-weight: 600; }
@media (min-width: 48rem) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .news-grid { grid-template-columns: 3fr 9fr; gap: var(--s3) var(--s5); }
  .news-sec .news-list { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .nixle { grid-column: 2; }
}

/* ================================================================ INNER PAGES */
/* ---- page top: calm, left-aligned, the record's name in the serif ---- */
.page-hero { padding: var(--s4) 0 var(--s4); border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: center; }
.page-hero h1 { font-size: 2.3rem; max-width: 20ch; margin-bottom: var(--s2); }
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 40rem; margin: 0; }
.post-date { font-weight: 700; color: var(--ink-soft); margin: 0; }
.ph-fig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ph-fig img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.crumbs ol { list-style: none; margin: 0 0 var(--s2); padding: 0; display: flex; flex-wrap: wrap; gap: .2rem; font-size: var(--step--1); color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 .45rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
@media (min-width: 48rem) { .page-hero { padding: var(--s5) 0; } .page-hero h1 { font-size: var(--step-4); } }
@media (min-width: 64rem) { .has-fig .ph-grid { grid-template-columns: 7fr 5fr; gap: var(--s5); } }

/* ---- sections and layout ---- */
.section { padding: var(--s5) 0; }
.section + .section { padding-top: 0; }
.section-tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section + .section-tint, .section-tint + .section { padding-top: var(--s5); }
.sec-h { font-size: var(--step-2); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 var(--s3); margin-bottom: var(--s2); }
.sec-head p { margin: 0; }
.split, .trio, .stack, .contact-grid, .forms-grid, .boards, .post-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: start; }
.split > *, .trio > *, .stack > *, .contact-grid > *, .forms-grid > *, .boards > *, .post-grid > *, .ph-grid > * { min-width: 0; }
.stack { gap: var(--s3); }
@media (min-width: 64rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .split-wide { grid-template-columns: 7fr 5fr; }
  .trio { grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
  .post-grid { grid-template-columns: 7fr 5fr; gap: var(--s5); }
}

/* ---- cards: white paper, a ruled top ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius); padding: var(--s3); box-shadow: var(--shadow-soft); }
.section-tint .card { background: var(--sky); }
.card h2 { font-size: var(--step-2); }
.card > :last-child, .prose > :last-child { margin-bottom: 0; }
.card-pay { border-top-color: var(--go); }
.card-call { border-top-color: var(--gold); }
.big-num { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; margin-bottom: var(--s2); }
.big-num a { color: var(--ink); text-decoration: none; }
.big-num a:hover { text-decoration: underline; }
.big-mail { font-weight: 700; overflow-wrap: anywhere; }
.big-actions { margin: var(--s2) 0 var(--s3); }
.pay-phone { font-weight: 600; }
.addr { font-weight: 600; }
.sched { font-weight: 700; }
.emergency { color: var(--ink); }
.emergency strong { display: inline-block; background: var(--alert); color: var(--alert-ink); padding: .35rem .8rem; border-radius: 8px; }
.emergency.big strong { font-size: var(--step-1); }
.contact-grid .card h2 { font-size: var(--step-1); }
@media (min-width: 48rem) { .contact-grid, .boards, .forms-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); } }
@media (min-width: 90rem) { .contact-grid { grid-template-columns: repeat(4, 1fr); } .boards, .forms-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- reading text ---- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); }
.prose h2:not(:first-child) { margin-top: var(--s4); }
.prose h3 { margin-top: var(--s3); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose .members, .prose .doc-list, .prose .util-list, .prose .date-list, .prose .timeline { padding-left: 0; }
.prose li::marker { color: var(--go-deep); }
.cols { columns: 2 12rem; column-gap: var(--s4); }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo figcaption, .post-fig figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: var(--s1); }
.card .photo { margin-top: var(--s2); }

/* ---- records: tables and document lists, built to scan ---- */
.rec-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 1rem; margin-bottom: var(--s3); border-top: 2px solid var(--ink); }
.rec-table th { text-align: left; font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: .7rem .9rem; border-bottom: 1px solid var(--ink); }
.rec-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.rec-table tbody tr:nth-child(even) td { background: var(--sky); }
.rec-table tbody tr:hover td { background: var(--gold-soft); }
.rec-table td:first-child { font-weight: 700; white-space: nowrap; color: var(--ink-soft); width: 1%; }
.rec-table a { font-weight: 600; }
.table-wrap { overflow-x: auto; margin-bottom: var(--s3); }
.table-wrap .rec-table { margin-bottom: 0; min-width: 32rem; }
@media (max-width: 29.99rem) { .rec-table th, .rec-table td { padding: .6rem .5rem; } }

.doc-list { list-style: none; margin: 0 0 var(--s2); padding: 0; border-top: 2px solid var(--ink); }
.doc-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.doc-list a { font-weight: 600; }
.card .doc-list, .card .members { border-top: 1px solid var(--line); }
.doc-note { font-size: var(--step--1); color: var(--ink-soft); }
.doc-off { font-weight: 600; color: var(--ink-soft); }
.form-group h2 { font-size: var(--step-1); }
.form-group .small { margin-bottom: var(--s2); }

/* ---- tiles (meetings hub) ---- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: var(--s4); border-top: 2px solid var(--ink); }
.tile { display: flex; flex-direction: column; padding: var(--s2) 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; font-size: var(--step--1); height: 100%; }
.tile-h { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); }
.tile:hover .tile-h { color: var(--go-deep); text-decoration: underline; text-decoration-color: var(--gold); }
@media (min-width: 48rem) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 90rem) { .tiles { grid-template-columns: repeat(3, 1fr); } }

/* ---- report a problem ---- */
.report-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.report { background: var(--sky); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s2) var(--s3); }
.report h3 { font-size: var(--step-1); }
.report p { margin-bottom: .5rem; }
.r-phone { font-weight: 700; }
@media (min-width: 48rem) { .report-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 90rem) { .report-list { grid-template-columns: repeat(3, 1fr); } }

/* ---- people ---- */
.people { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.person { display: grid; grid-template-columns: 1fr; gap: var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow-soft); }
.section-tint .person { background: var(--sky); }
.p-photo { width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold); }
.p-name { font-size: var(--step-1); margin-bottom: .2rem; }
.p-role { font-weight: 700; color: var(--go-deep); margin-bottom: .4rem; }
.p-meta { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: .2rem; }
.p-mail { font-size: var(--step--1); overflow-wrap: anywhere; margin: .4rem 0; }
.p-bio { font-size: 1rem; color: var(--ink-soft); margin-top: var(--s1); }
.p-bio p { margin-bottom: .6rem; }
.people-compact .person { padding: var(--s2) var(--s3); }
@media (min-width: 40rem) { .person { grid-template-columns: auto 1fr; } .person > .p-body:only-child { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .people { grid-template-columns: repeat(2, 1fr); } .people-compact { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 120rem) { .people { grid-template-columns: repeat(3, 1fr); } }

.members { list-style: none; margin: 0 0 var(--s2); padding: 0; border-top: 2px solid var(--ink); }
.members li { display: flex; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.m-name { font-weight: 700; }
.m-role { font-size: var(--step--1); color: var(--ink-soft); }
.m-mail { font-size: var(--step--1); overflow-wrap: anywhere; flex-basis: 100%; }
.m-phone { font-size: var(--step--1); }
.board h2 { font-size: var(--step-1); }

/* ---- police ---- */
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.roster li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; font-weight: 700; }
.roster img { width: 8rem; height: 8rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold); }
@media (min-width: 40rem) { .roster { grid-template-columns: repeat(3, 1fr); } }
.seal-card { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: start; }
.seal-card img { width: 6rem; height: auto; }
@media (min-width: 40rem) { .seal-card { grid-template-columns: auto 1fr; } }

/* ---- lists of small things ---- */
.util-list, .date-list, .biz, .event-list, .memories { list-style: none; margin: 0 0 var(--s2); padding: 0; }
.util-list { border-top: 2px solid var(--ink); }
.util-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem var(--s2); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.util-list a { font-weight: 600; }
.util-list span { color: var(--ink-soft); font-size: var(--step--1); }
.date-list li { padding: .55rem 0 .55rem 1.2rem; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; }
.date-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.date-pill { display: inline-block; background: var(--alert); color: var(--alert-ink); font-weight: 700; padding: .4rem .9rem; border-radius: 8px; }
.biz { columns: 2 14rem; column-gap: var(--s4); border-top: 2px solid var(--ink); }
.biz li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.cards3, .cards4 { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.cards3 .card h3, .cards4 .card h3 { font-size: var(--step-1); }
@media (min-width: 48rem) { .cards3, .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 90rem) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.event-list { display: grid; gap: var(--s2); }
.event { background: var(--surface); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s2) var(--s3); box-shadow: var(--shadow-soft); }
.event h3 { margin-bottom: .3rem; }
.event p { margin-bottom: .3rem; }
.memories { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.memory img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: var(--s2); }
.mem-when { font-family: var(--font-display); font-size: var(--step-1); margin-bottom: .3rem; }
@media (min-width: 48rem) { .memories { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 90rem) { .memories { grid-template-columns: repeat(3, 1fr); } }

/* ---- history timeline ---- */
.timeline { list-style: none; margin: 0 0 var(--s3); padding: 0; border-left: 3px solid var(--gold); }
.timeline li { display: grid; grid-template-columns: 4.2rem 1fr; gap: var(--s2); padding: 0 0 var(--s3) var(--s3); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -.55rem; top: .45rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--surface); border: 3px solid var(--gold); }
.tl-year { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; }

/* ---- news post ---- */
.post-fig { margin: 0; }
.post-fig img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.poster { margin: 0; }
.poster img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- calm hover only (transform; no other motion) ---- */
.person, .report, .event { transition: transform .2s ease; }
.person:hover, .report:hover, .event:hover { transform: translateY(-2px); }

@media (max-width: 22rem) {
  .hero-copy h1 { font-size: 2.2rem; }
  .btn { padding-left: 1rem; padding-right: 1rem; }
}

@media print {
  .alert, .site-header .quick, .menu, .header-call, .tn-cap, .tn-controls, .skip-link, .site-footer .f-links { display: none !important; }
  body { background: #fff; }
  .hero { background: none; }
  .hero-copy { color: #000; }
  .thennow::after { display: none; }
  .tn-then { display: none; }
}

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