:root {
  --ink: #172733;
  --ink-soft: #435765;
  --navy: #183447;
  --river: #2d7387;
  --river-light: #dbe9eb;
  --green: #506c52;
  --clay: #c97652;
  --stone: #f4f0e7;
  --paper: #fffdf8;
  --line: #d9d4c9;
  --white: #fff;
  --shadow: 0 22px 60px rgba(23, 39, 51, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: var(--white); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 1rem clamp(1.25rem, 4vw, 4.5rem); border-bottom: 1px solid rgba(23,39,51,.1); background: rgba(255,253,248,.94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--river); font-family: Georgia, serif; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 1.08rem; }
.brand small { color: var(--ink-soft); font-size: .72rem; }
nav { display: flex; gap: 1.5rem; align-items: center; }
nav a, .plain-button { border: 0; background: transparent; text-decoration: none; color: var(--ink-soft); font-size: .9rem; }
nav a:hover, .plain-button:hover { color: var(--river); }
nav a.is-active { color: var(--navy); font-weight: 800; box-shadow: inset 0 -2px var(--river); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .8rem; color: var(--navy); background: var(--white); font-weight: 800; }

.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr); gap: clamp(2rem, 6vw, 7rem); min-height: 40rem; padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem); background: var(--stone); }
.hero::before { content: ""; position: absolute; width: 34rem; height: 34rem; right: -10rem; top: -12rem; border: 1px solid rgba(45,115,135,.2); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(45,115,135,.05), 0 0 0 10rem rgba(80,108,82,.035); }
.hero-copy, .answer-preview { position: relative; z-index: 1; min-width: 0; }
.eyebrow { margin: 0 0 1rem; color: var(--river); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.06; }
h1 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(3.4rem, 6vw, 7rem); letter-spacing: -.045em; }
.lede { max-width: 44rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.pilot-status { display: flex; align-items: center; gap: .55rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.pilot-status span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--river); box-shadow: 0 0 0 .22rem rgba(45,115,135,.12); }
.ask-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin-top: 2.5rem; padding: .55rem; border: 1px solid rgba(23,39,51,.16); border-radius: 1rem; background: var(--white); box-shadow: 0 16px 40px rgba(23,39,51,.08); }
.ask-form input { min-width: 0; border: 0; outline: none; padding: .75rem .9rem; color: var(--ink); background: transparent; }
.ask-form button, .pilot-cta button, .primary-button { border: 0; border-radius: .7rem; padding: .9rem 1.1rem; color: var(--white); background: var(--navy); font-weight: 750; }
.ask-form button:hover, .pilot-cta button:hover, .primary-button:hover { background: var(--river); }
.quick-prompts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.quick-prompts button { border: 1px solid rgba(23,39,51,.18); border-radius: 999px; padding: .55rem .8rem; color: var(--ink-soft); background: transparent; font-size: .82rem; }
.quick-prompts button:hover { border-color: var(--river); color: var(--river); background: var(--white); }

.answer-preview { width: 100%; align-self: start; justify-self: end; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: 1.5rem; color: var(--white); background: linear-gradient(150deg, var(--navy), #102632 65%, #284b4d); box-shadow: var(--shadow); transform: none; }
.answer-status { display: flex; align-items: center; gap: .6rem; margin-bottom: 2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; color: #c8d7da; }
.answer-status span { width: .65rem; height: .65rem; border-radius: 50%; background: #80c7a0; box-shadow: 0 0 0 .28rem rgba(128,199,160,.12); }
.answer-question { font-family: Georgia, serif; font-size: 1.75rem; line-height: 1.2; }
.preview-card { margin-top: 1.3rem; padding: 1.35rem; border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; background: rgba(255,255,255,.08); }
.preview-kicker { margin: 0 0 .45rem; color: #a9ced4; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.preview-card h2 { margin-bottom: .8rem; font-size: 1.7rem; }
.preview-card p { color: #d8e1e3; }
.source-line { display: flex; gap: .6rem; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); color: #bcd6ca; font-size: .82rem; }
.signal-row { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1.2rem; color: #9db0b6; font-size: .7rem; }

.result-shell { margin: -3rem auto 4rem; width: min(78rem, calc(100% - 2rem)); position: relative; z-index: 10; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.4rem; background: var(--white); box-shadow: var(--shadow); }
.result-heading { display: flex; justify-content: space-between; gap: 1rem; }
.result-heading h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.close-result { align-self: start; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.5rem; }
.answer-copy { max-width: 50rem; font-size: 1.08rem; color: var(--ink-soft); }
.answer-links { display: grid; gap: .75rem; margin-top: 1.4rem; }
.answer-link { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; text-decoration: none; }
.answer-link:hover { border-color: var(--river); background: #f5fafb; }
.answer-link small { display: block; margin-top: .25rem; color: var(--ink-soft); }
.answer-caveat { margin-top: 1rem; color: #6c665c; font-size: .78rem; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; padding-bottom: 2.6rem; }
.section-intro h2, .today h2, .trust h2, .pilot-cta h2 { max-width: 13ch; font-size: clamp(2.7rem, 5vw, 5rem); letter-spacing: -.035em; }
.section-intro > p { align-self: center; max-width: 36rem; margin: 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.55; }
.section-intro .section-toggle { grid-column: 1 / -1; justify-self: start; margin-top: 1.25rem; }
.section-intro .section-close { grid-column: 1 / -1; justify-self: end; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0 clamp(1.25rem, 7vw, 8rem) clamp(5rem, 9vw, 9rem); }
.section-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 7.5rem; min-height: 3rem; gap: .6rem; margin-top: 1.25rem; border: 1px solid var(--navy); border-radius: .8rem; padding: .8rem 1.25rem; color: var(--white); background: var(--navy); font-weight: 800; }
.section-toggle:hover { color: var(--white); background: var(--green); }
.section-toggle span { font-size: 1.1rem; line-height: 1; }
.section-close { display: block; width: fit-content; min-width: 7.5rem; min-height: 3rem; margin: 0 0 1.5rem auto; border: 1px solid var(--navy); border-radius: .8rem; padding: .8rem 1.25rem; color: var(--white); background: var(--navy); font-weight: 800; }
.section-close:hover { border-color: var(--green); background: var(--green); }
.collapsible-section.is-collapsed > :not(:first-child) { display: none; }
.collapsible-section .section-toggle { display: inline-flex; }
.collapsible-section.is-open .section-toggle { display: none; }
.collapsible-section.is-collapsed .section-close { display: none; }
.category-card button { min-height: 2.8rem; width: 100%; }
.ask-form > button { min-width: 13rem; }
#explore.is-collapsed + .category-grid { display: none; }
#main { display: flex; flex-direction: column; }
#top { order: 1; }
#answer { order: 2; }
#explore { order: 3; }
#explore + .category-grid { order: 4; }
#events { order: 5; }
#food-directory { order: 6; }
#health-directory { order: 7; }
#today { order: 8; }
#trust { order: 9; }
.pilot-cta { order: 10; }
.category-card { min-height: 23rem; display: flex; flex-direction: column; padding: 1.4rem; border-radius: 1rem; color: var(--white); overflow: hidden; position: relative; }
.category-card::after { content: ""; position: absolute; width: 13rem; height: 13rem; border-radius: 50%; right: -5rem; top: -5rem; border: 1px solid rgba(255,255,255,.24); box-shadow: 0 0 0 2.2rem rgba(255,255,255,.045), 0 0 0 4.4rem rgba(255,255,255,.025); }
.category-card .eyebrow { color: rgba(255,255,255,.72); }
.category-icon { font-size: 1.6rem; margin-bottom: auto; }
.category-card h3 { margin-bottom: .6rem; font-size: 2rem; }
.category-card p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.category-card button { display: flex; justify-content: space-between; border: 0; border-top: 1px solid rgba(255,255,255,.3); padding: 1rem 0 0; color: var(--white); background: transparent; font-weight: 700; }
.category-events { background: var(--river); }
.category-business { background: var(--green); }
.category-food { background: #785f4e; }
.category-essentials { background: var(--navy); }

.venue-directory { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); background: var(--paper); }
.venue-directory-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.venue-directory-heading h2 { max-width: 13ch; margin-bottom: 0; font-size: clamp(2.8rem, 5vw, 5.4rem); letter-spacing: -.04em; }
.directory-summary { max-width: 38rem; color: var(--ink-soft); font-size: 1.08rem; }
.directory-summary .pilot-note { margin-top: 1rem; }
.venue-toolbar { display: flex; flex-wrap: wrap; gap: .65rem; margin: 3rem 0 1.4rem; }
.venue-filter { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; color: var(--ink-soft); background: transparent; font-weight: 750; }
.venue-filter span { min-width: 1.55rem; padding: .12rem .4rem; border-radius: 999px; color: var(--ink-soft); background: #ece8df; font-size: .7rem; }
.venue-filter:hover, .venue-filter.is-active { border-color: var(--navy); color: var(--white); background: var(--navy); }
.venue-filter.is-active span { color: var(--navy); background: var(--white); }
.venue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.venue-card { min-height: 16rem; display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--white); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.venue-card:hover { transform: translateY(-2px); border-color: #a8bdc2; box-shadow: 0 12px 30px rgba(23,39,51,.08); }
.venue-card[hidden] { display: none; }
.venue-card.is-collapsed { display: none; }
.venue-card h3 { margin-bottom: .55rem; font-size: 1.45rem; }
.venue-card address { color: var(--ink-soft); font-style: normal; font-size: .86rem; }
.venue-type { margin: 0 0 1.5rem; color: var(--river); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.venue-hours { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; }
.venue-hours summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; list-style: none; cursor: pointer; color: var(--green); font-weight: 800; }
.venue-hours summary::-webkit-details-marker { display: none; }
.venue-hours summary span:last-child { color: var(--river); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.venue-hours[open] summary { margin-bottom: .8rem; }
.venue-hours p { margin: .55rem 0; }
.venue-hours a { display: inline-block; margin-top: .45rem; color: var(--river); font-weight: 800; text-underline-offset: .2rem; }
.venue-hours--check summary { color: #8a654d; }
.venue-hours--provisional summary { color: #6d6540; }
.status-badge { width: fit-content; margin: 0 0 .75rem; padding: .3rem .55rem; border-radius: 999px; color: #2d5a3d; background: #e2f1e7; font-size: .66rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.status-badge--closed { color: #7b4f36; background: #f5e7dd; }
.status-badge--variable { color: #625b35; background: #f1edcf; }
.filter-status { min-height: 1.2rem; margin: -.55rem 0 1rem; color: var(--ink-soft); font-size: .78rem; }
.directory-actions, .directory-footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1.25rem; }
.show-more-button { border: 0; border-radius: .65rem; padding: .8rem 1rem; color: var(--white); background: var(--navy); font-weight: 800; }
.show-more-button:hover { background: var(--river); }
.text-action { border: 0; padding: .35rem 0; color: var(--river); background: transparent; font-weight: 800; text-decoration: underline; text-underline-offset: .25rem; }
.venue-hours-note { padding-left: .7rem; border-left: 2px solid var(--river-light); }
.venue-seasonal { padding: .65rem .7rem; border-radius: .5rem; color: #665445; background: #f4eee5; }
.directory-source { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-top: 1.4rem; padding: 1.25rem; border-radius: .85rem; color: #d8e1e3; background: var(--navy); }
.directory-source > div:first-child { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.directory-source > div:first-child > span { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #bcd6ca; font-weight: 900; }
.directory-source p { margin: 0; color: #bdcbd0; font-size: .82rem; }
.directory-source strong { color: var(--white); }
.directory-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.directory-links a { border: 1px solid rgba(255,255,255,.22); border-radius: .55rem; padding: .65rem .8rem; color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 750; }
.directory-links a:hover { background: rgba(255,255,255,.08); }

.events-directory, .health-directory { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.events-directory { background: #edf2f1; }
.health-directory { background: var(--paper); }
.events-directory .section-intro, .health-directory .section-intro { padding: 0 0 1rem; }
.events-directory .section-intro h2, .health-directory .section-intro h2 { max-width: 14ch; font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: -.04em; }
.event-grid, .health-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.event-card, .health-card { min-height: 15rem; display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--white); }
.event-card--featured { grid-column: span 2; color: var(--white); background: var(--navy); }
.event-card--featured .event-date, .event-card--featured > p:not(.event-date), .event-card--featured a { color: #d7e8e5; }
.event-card--featured a { border-top-color: rgba(255,255,255,.18); }
.event-card[hidden], .health-card[hidden] { display: none; }
.event-card h3, .health-card h3 { margin-bottom: .55rem; font-size: 1.45rem; }
.event-card > p:not(.event-date), .health-card > p:not(.venue-kind) { color: var(--ink-soft); }
.event-date, .venue-kind { margin: 0 0 1.25rem; color: var(--river); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-date strong { display: inline-block; margin-right: .35rem; padding: .55rem .65rem; border-radius: .5rem; color: var(--white); background: var(--river); font-size: 1rem; letter-spacing: 0; }
.event-card a, .health-card a { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--green); font-weight: 800; text-underline-offset: .22rem; }
.event-card--featured > p:not(.event-date) { color: #d7e8e5; }
.event-card--featured a { color: #ffffff; border-top-color: rgba(255,255,255,.3); }
.event-card--featured a:hover { color: #d7e8e5; }
.venue-filter:hover, .venue-filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.venue-filter { background: transparent; border-color: #183447; color: #183447; }
.venue-filter span { background: #ece8df; color: #183447; }
.venue-filter:hover span, .venue-filter.is-active span { background: #ffffff; color: #183447; }
.venue-filter.is-active { box-shadow: 0 0 0 3px rgba(24,52,71,.2); }
.venue-filter:hover { box-shadow: 0 0 0 3px rgba(24,52,71,.2); }
.directory-note { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .78rem; }
.health-alert { margin: 0 0 1.4rem; padding: 1rem 1.2rem; border-left: 4px solid var(--river); border-radius: .45rem; color: var(--navy); background: #e5eef0; }

.today { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); background: #edf2f1; }
.today-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.today-heading > p { align-self: center; max-width: 36rem; margin: 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.55; }
.today-heading .section-toggle { grid-column: 1 / -1; justify-self: start; margin-top: 1.25rem; }
.pilot-note { max-width: 36rem; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.55; }
.listing-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.listing-card { min-width: 0; overflow: hidden; border-radius: 1rem; background: var(--white); }
.listing-art { min-height: 14rem; display: grid; place-items: center; padding: 2rem; color: var(--white); font-family: Georgia, serif; font-size: 2.4rem; line-height: .9; text-align: center; }
.corn { background: linear-gradient(145deg, #132f3b, #28586b); }
.town { background: linear-gradient(145deg, #637659, #9aaa86); }
.hygiene { background: linear-gradient(145deg, #8b6550, #c38b69); }
.listing-copy { padding: 1.35rem; }
.listing-type { margin: 0 0 .7rem; color: var(--river); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.listing-copy h3 { margin-bottom: .7rem; font-size: 1.5rem; }
.listing-copy > p:not(.listing-type,.verified) { color: var(--ink-soft); }
.listing-copy a { font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .25rem; }
.verified { margin: 1.1rem 0 0; color: var(--green); font-size: .74rem; }

.trust { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); color: var(--white); background: var(--navy); }
.trust .eyebrow { color: #8fc3cc; }
.trust-lead > p:not(.eyebrow) { max-width: 38rem; color: #cbd7db; font-size: 1.08rem; }
.secondary-button { margin-top: 1rem; border: 1px solid rgba(255,255,255,.5); border-radius: .7rem; padding: .8rem 1rem; color: var(--white); background: transparent; }
.secondary-button:hover { background: var(--river); }

/* Shared CTA treatment: the restrained typography of the methodology CTA. */
button { font-family: inherit; font-weight: 400; }
.ask-form button, .pilot-cta button, .primary-button, .section-toggle,
.section-close, .show-more-button, .secondary-button {
  width: fit-content; flex: 0 0 auto;
  border: 1px solid var(--navy); border-radius: .7rem;
  background: transparent; color: var(--navy);
  font-family: inherit; font-size: 1rem; font-weight: 400;
  padding: .8rem 1rem;
}
.ask-form button:hover, .pilot-cta button:hover, .primary-button:hover,
.section-toggle:hover, .show-more-button:hover, .secondary-button:hover {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}
.section-close:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.trust button, .category-card button { color: var(--white); border-color: rgba(255,255,255,.5); font-weight: 400; }
button:not(.section-close):hover { background-color: var(--navy); color: var(--white); }
#food-directory .section-toggle { width: fit-content; justify-self: start; }
#food-directory { background: #f2f0e9; }
#health-directory { background: #ffffff; }
.trust-steps { list-style: none; margin: 0; padding: 0; }
.trust-steps li { display: grid; grid-template-columns: 3.8rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.trust-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.trust-steps span { color: #8fc3cc; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.trust-steps h3 { margin-bottom: .35rem; font-family: inherit; font-weight: 750; font-size: 1.1rem; }
.trust-steps p { margin: 0; color: #bdcbd0; }
.methodology-note { grid-column: 1 / -1; margin-top: 1rem; padding: 1.4rem; border: 1px solid rgba(255,255,255,.16); border-radius: .8rem; }
.methodology-note .eyebrow { margin-bottom: .5rem; }
.methodology-note p:last-child { margin: 0; color: #cbd7db; }

.pilot-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem); background: var(--river-light); }
.pilot-cta button { margin-top: 1.5rem; }
.section-toggle::after, .section-close::after, .pilot-cta button::after,
.show-more-button::after, .primary-button::after { content: " →"; margin-left: .5rem; }
.ask-form button { background: var(--navy); color: var(--white); }
.ask-form button:hover { background: var(--river); border-color: var(--river); color: var(--white); }
.pilot-cta h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.pilot-cta > p { color: var(--ink-soft); }

footer { display: grid; grid-template-columns: 1.3fr .65fr 1fr; gap: 3rem; padding: 4rem clamp(1.25rem, 7vw, 8rem) 2rem; color: #d1dce0; background: #102733; }
.footer-brand strong { font-family: Georgia, serif; font-size: 1.7rem; color: var(--white); }
footer p { max-width: 27rem; color: #9dafb5; }
.footer-label { color: #829da5; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
footer a, footer button { display: block; width: fit-content; margin: .45rem 0; color: #d1dce0; border: 0; padding: 0; background: transparent; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

dialog { width: min(38rem, calc(100% - 2rem)); border: 0; border-radius: 1rem; padding: 0; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(16,39,51,.72); backdrop-filter: blur(4px); }
.dialog-card { position: relative; padding: 2rem; }
.dialog-card h2 { font-size: 2.3rem; }
.dialog-card > p:not(.eyebrow,.form-message) { color: var(--ink-soft); }
.dialog-card label { display: grid; gap: .4rem; margin: 1rem 0; font-weight: 700; font-size: .86rem; }
.dialog-card input, .dialog-card textarea { width: 100%; border: 1px solid var(--line); border-radius: .55rem; padding: .8rem; color: var(--ink); background: var(--paper); font-weight: 400; }
.dialog-close { position: absolute; right: 1rem; top: 1rem; width: 2.4rem; height: 2.4rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.4rem; }
.form-message { color: var(--green); font-size: .86rem; }

:focus-visible { outline: 3px solid #ed9a70; outline-offset: 3px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .site-header { flex-wrap: wrap; }
  nav { display: none; width: 100%; align-items: stretch; padding-top: .8rem; }
  nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
  nav a, nav .plain-button { display: block; padding: .75rem; border-radius: .45rem; text-align: left; }
  nav a:hover, nav .plain-button:hover { background: var(--river-light); }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .answer-preview { max-width: 40rem; transform: none; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-directory-heading { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-grid, .health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-source { grid-template-columns: 1fr; }
  .directory-links { justify-content: flex-start; }
  .listing-grid { grid-template-columns: 1fr 1fr; }
  .listing-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; }
  .section-intro, .trust, .pilot-cta { grid-template-columns: 1fr; }
  .trust { gap: 3rem; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: .8rem 1rem; }
  .brand small { display: none; }
  .plain-button { font-size: .8rem; }
  .hero { padding-top: 4rem; }
  h1 { font-size: 3.7rem; }
  .ask-form { grid-template-columns: 1fr; }
  .ask-form button { width: 100%; }
  .quick-prompts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
  .quick-prompts button { flex: 0 0 auto; }
  .category-grid, .listing-grid { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: 1fr; }
  .event-grid, .health-grid { grid-template-columns: 1fr; }
  .event-card--featured { grid-column: auto; }
  .directory-actions, .directory-footer { align-items: flex-start; flex-direction: column; }
  .category-card { min-height: 20rem; }
  .today-heading { display: block; }
  .today-heading .section-toggle { margin-top: 1.25rem; }
  .listing-card.featured { grid-column: auto; display: block; }
  .pilot-cta { gap: 1.4rem; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
  .signal-row { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Hair & nails uses the established directory and CTA styles. */
#hair-directory { order: 7; background: var(--river-light); }
.category-hair { background: var(--navy); }
.category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category-grid > .category-card { grid-column: span 2; min-width: 0; }
.category-grid > .category-card:nth-last-child(-n+2) { grid-column: span 3; }
.category-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 2.8rem; margin-top: auto; border-top: 1px solid rgba(255,255,255,.3); padding: 1rem 0 0; color: var(--white); text-decoration: none; font-weight: 400; }
.category-link:hover { background: var(--river); }
.hair-card .hair-description { color: var(--ink-soft); font-size: .88rem; }
.hair-card .hair-source { margin-top: auto; color: var(--ink-soft); font-size: .76rem; overflow-wrap: anywhere; }
.hair-source a { color: var(--navy); text-underline-offset: .2rem; }
.hair-card .venue-hours { margin-top: .5rem; }
.hair-detail-action::after { content: " →"; }
#hair-directory .section-toggle:hover, #hair-directory .section-close:hover { background: var(--river); border-color: var(--river); color: var(--white); }
#hair-directory .venue-filter { min-height: 44px; }
.hair-card[hidden] { display: none; }
@media (min-width: 981px) and (max-width: 1199px) {
  .site-header { flex-wrap: wrap; gap: .75rem; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid > .category-card, .category-grid > .category-card:nth-last-child(-n+2) { grid-column: auto; }
  .category-grid > .category-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-grid > .category-card:last-child { grid-column: auto; }
}

/* History & heritage follows the pilot's existing disclosure and source styles. */
#history { order: 9; background: var(--stone); }
#trust { order: 10; }
.pilot-cta { order: 11; }
.category-history { background: var(--river); }
.category-grid > .category-card:nth-last-child(-n+2) { grid-column: span 2; }
.history-intro, .history-places-intro { margin-top: 2.5rem; max-width: 50rem; color: var(--ink-soft); }
.history-intro h3, .history-places-intro h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); }
.history-citation { font-size: .78rem; line-height: 1.6; color: var(--ink-soft); overflow-wrap: anywhere; }
.history-citation a { color: var(--navy); text-underline-offset: .2em; }
.history-timeline { list-style: none; padding: 0; margin: 2.5rem 0; }
.history-milestone { display: grid; grid-template-columns: minmax(8rem, .25fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); padding: 1.6rem 0; border-top: 1px solid var(--line); }
.history-milestone:last-child { border-bottom: 1px solid var(--line); }
.history-date { color: var(--river); font-size: 1rem; font-weight: 700; margin: .2rem 0; }
.history-milestone h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-bottom: .7rem; }
.history-milestone p:not(.history-date) { max-width: 50rem; }
.history-milestone > div > p:not(.history-citation) { color: var(--ink-soft); }
.heritage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.heritage-card > p:not(.venue-type) { color: var(--ink-soft); }
.heritage-card .history-citation { margin-top: auto; }
#history .section-toggle:hover, #history .section-close:hover { background: var(--river); border-color: var(--river); color: var(--white); }
@media (min-width: 1200px) and (max-width: 1450px) {
 .site-header { flex-wrap: wrap; gap: .75rem; }
 .site-header nav { width: 100%; flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 980px) {
 .category-grid > .category-card:nth-last-child(-n+2), .category-grid > .category-card:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
 .history-milestone { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
 .heritage-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Motoring shares the established directory, pills and disclosure controls. */
#motoring-directory { order: 7; background: var(--paper); }
.category-motoring { background: var(--navy); }
.motor-card .motor-description { color: var(--ink-soft); font-size: .88rem; }
.motor-services { color: var(--river); font-size: .76rem; }
.motor-card .motor-source { margin-top: auto; color: var(--ink-soft); font-size: .76rem; overflow-wrap: anywhere; }
.motor-source a { color: var(--navy); text-underline-offset: .2rem; }
.motor-card .venue-hours { margin-top: .5rem; }
.motor-detail-action::after { content: " →"; }
.motor-card[hidden] { display: none; }
#motoring-directory .venue-filter { min-height: 44px; }
#motoring-directory .section-toggle:hover, #motoring-directory .section-close:hover { background: var(--river); border-color: var(--river); color: var(--white); }
.category-grid > .category-motoring:last-child { grid-column: 1 / -1; min-height: 18rem; }
.site-header { flex-wrap: wrap; gap: .75rem; }
.site-header nav { flex-wrap: wrap; }
@media (max-width: 640px) { .category-grid > .category-motoring:last-child { grid-column: auto; } }

/* Everyday-service directories share the existing source-aware components. */
.local-services-overview, .extended-directory { order: 8; }
.local-services-overview { background: var(--river-light); }
.local-services-overview h2 { font-size: clamp(2.4rem,4vw,4rem); }
.local-category-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.local-category-links a { padding: .75rem 1rem; border: 1px solid var(--navy); border-radius: .7rem; color: var(--navy); text-decoration: none; }
.local-category-links a:hover { background: var(--river); color: white; }
#trades-directory, #clubs-directory, #family-directory { background: var(--stone); }
#support-directory, #amenities-directory { background: var(--river-light); }
.category-local { background: var(--navy); }
.category-grid > .category-card, .category-grid > .category-card:nth-last-child(-n+2), .category-grid > .category-motoring:last-child { grid-column: span 2; }
.local-service-card[hidden] { display: none; }
.local-service-card > p:not(.venue-type,.status-badge) { color: var(--ink-soft); font-size: .88rem; }
.local-service-card .local-source { margin-top: auto; font-size: .76rem; overflow-wrap: anywhere; }
.local-source a { color: var(--navy); text-underline-offset: .2rem; }
.local-detail-action::after { content: " →"; }
.extended-directory .venue-filter { min-height: 44px; }
.extended-directory .section-toggle:hover, .extended-directory .section-close:hover { background: var(--river); color: white; border-color: var(--river); }
@media(max-width:980px) {
 .category-grid > .category-card, .category-grid > .category-card:nth-last-child(-n+2), .category-grid > .category-motoring:last-child { grid-column: auto; }
}

/* Shopping reuses the established responsive directory and filter controls. */
#shopping-directory { order: 4; background: var(--stone); }

#technology-directory { order: 8; background: var(--paper); }

/* Additional directories use the existing responsive cards and disclosure styles. */
.new-service-directory { order: 8; background: var(--stone); }
#business-directory, #household-directory, #faith-directory { background: var(--paper); }
#learning-directory, #reuse-directory { background: var(--river-light); }

/* One CTA palette, matching the first Ask Wallingford button. */
#main .unified-cta, .unified-cta {
  background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  border-radius: .7rem; padding: .8rem 1rem; min-height: 44px;
  font-family: inherit; font-size: 1rem; font-weight: 400; text-decoration: none;
  align-items: center; gap: .5rem; transition: background-color .15s, border-color .15s;
}
#main .unified-cta:hover, #main .unified-cta:focus-visible, .unified-cta:hover, .unified-cta:focus-visible {
  background: var(--river); border-color: var(--river); color: var(--white);
}
#main .venue-filter { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
#main .venue-filter:hover, #main .venue-filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.unified-cta:focus-visible, .venue-filter:focus-visible { outline: 3px solid var(--river); outline-offset: 3px; }
.search-help, .search-navigation-status { color: var(--ink-soft); font-size: .85rem; margin: .75rem 0 0; }
.search-navigation-status:empty { display: none; }
#historical-places { scroll-margin-top: 2rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } #main .unified-cta { transition: none; } }

#main .answer-link.unified-cta small { color: var(--white); opacity: .85; }
#main .listing-copy .unified-cta, #main .health-card > .unified-cta { display: inline-flex; width: fit-content; }

.brand-mark { font-size: 1rem; letter-spacing: -.04em; }

/* Homepage: a calm town view, compact discovery cards and sourced event links. */
.site-header { padding: 1.3rem max(1.4rem, calc((100vw - 1240px)/2)); background: var(--stone); flex-wrap: nowrap; gap: 2rem; border-bottom: 0; }
.brand { gap: .85rem; flex-shrink: 0; }
.brand-mark { width: 3.4rem; height: 3.4rem; font-size: 1.4rem; background: radial-gradient(circle at 35% 30%, #286075, #103244); border: 3px solid #163b4d; }
.brand strong { font: 700 1.7rem/1.1 Georgia, serif; letter-spacing: -.04em; }
.brand small { margin-top: .25rem; font-size: .8rem; color: var(--navy); }
.site-header nav { width: auto; padding: 0; margin-left: auto; display: flex; flex-wrap: nowrap; gap: 1.6rem; align-items: center; }
.site-header nav > a, .header-more summary { color: var(--navy); font-size: .88rem; text-decoration: none; white-space: nowrap; }
.header-more { position: relative; }
.header-more summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; gap: .4rem; }
.header-more summary::-webkit-details-marker { display: none; }
.header-more-links { position: absolute; z-index: 40; right: 0; top: 100%; width: 17rem; padding: .6rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); box-shadow: var(--shadow); }
.header-more-links a { display: block; padding: .65rem .7rem; border-radius: .3rem; font-size: .85rem; }
.header-more-links a:hover { background: var(--river-light); }
.header-search { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; }
.hero { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 4rem; min-height: 510px; padding: 2.5rem max(1.4rem, calc((100vw - 1240px)/2)) 3rem; align-items: center; background-image: linear-gradient(90deg, #f4f0e7 0%, rgba(244,240,231,.97) 27%, rgba(244,240,231,.65) 49%, rgba(244,240,231,.05) 83%), url('images/bridge.jpg'); background-size: cover; background-position: center 58%; }
.hero::before { display: none; }
.hero-copy { position: relative; z-index: 1; max-width: 47rem; }
.hero-kicker { font-size: .7rem; margin-bottom: .8rem; }
.hero h1 { font-size: clamp(2.8rem, 4.8vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; max-width: 14ch; margin-bottom: 1.15rem; }
.hero .lede { font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.35; max-width: 34ch; margin: 0 0 1.35rem; color: var(--navy); }
.hero .pilot-status { margin: .5rem 0; font-size: .7rem; font-weight: 400; }
.hero .ask-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 1rem; border: 0; background: none; padding: 0; box-shadow: none; gap: .6rem; border-radius: 0; }
.ask-form input { border: 1px solid #8a9ca5; border-radius: .6rem; background: #fffefa; min-height: 3.3rem; padding: .85rem 1rem; font-size: .88rem; }
#main .ask-form .unified-cta { min-width: 0; font-size: .9rem; white-space: nowrap; }
.hero .search-help { font-size: .72rem; max-width: 37rem; }
.answer-preview { position: relative; overflow: hidden; align-self: center; max-width: 27rem; border-radius: 1rem; padding: 1.8rem 1.8rem 0; background: linear-gradient(135deg,#153b4e,#102b3a); box-shadow: 0 10px 28px rgba(16,43,58,.12); }
.answer-preview .answer-status { font-size: .62rem; letter-spacing: .12em; margin: 0 0 1rem; }
.answer-status span { width: auto; height: auto; box-shadow: none; background: none; color: var(--white); font-size: 1.25rem; }
.answer-preview h2 { font: 700 clamp(1.7rem, 2.5vw, 2.4rem)/1.05 Georgia,serif; letter-spacing: -.025em; margin-bottom: .9rem; }
.preview-intro { font-size: .9rem; line-height: 1.5; color: #e3ebed; margin-bottom: 1.2rem; }
.hero-source-card { display: grid; grid-template-columns: 1.3rem 1fr auto; align-items: start; gap: .7rem; background: var(--stone); color: var(--navy); padding: 1rem; border-radius: .65rem; text-decoration: none; }
.hero-source-card strong { display: block; font: 700 1rem/1.2 Georgia,serif; }
.hero-source-card small { display: block; font-size: .7rem; line-height: 1.45; margin-top: .45rem; color: var(--ink-soft); }
.hero-source-card:hover { background: #dbe9eb; }
.source-calendar { font-size: 1.6rem; line-height: 1; color: var(--river); }
.town-line { display: block; width: calc(100% + 2rem); height: 65px; margin: 1rem -1rem 0; color: #86aab8; opacity: .7; }
#home-discover { order: 3; }
.home-discover { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 2rem; padding: 1.75rem max(1.4rem, calc((100vw - 1240px)/2)) 2rem; background: var(--paper); }
.home-block-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.home-block-heading h2 { font: 700 1.5rem/1.15 Georgia,serif; letter-spacing: -.035em; margin: 0; }
.home-view-all { flex-shrink: 0; padding: .45rem .6rem; border: 1px solid #8a9ca5; border-radius: .5rem; text-decoration: none; color: var(--navy); font-size: .72rem; min-height: 36px; display: inline-flex; align-items: center; }
.home-view-all:hover { color: white; background: var(--river); border-color: var(--river); }
.home-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .85rem; }
.home-category { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: .6rem .25rem; color: var(--navy); text-decoration: none; min-width: 0; }
.home-category img, .home-health-art { width: 100%; height: 110px; object-fit: cover; border-radius: .45rem; grid-column: 1/-1; }
.home-health-art { display: grid; place-items: center; color: #396b7c; background: linear-gradient(140deg,#c3d7d9,#e9ede3); }
.home-category strong { display: block; font: 700 .95rem/1.2 Georgia,serif; }
.home-category small { display: block; font-size: .72rem; color: var(--ink-soft); line-height: 1.4; margin-top: .3rem; }
.home-category b { font-size: 1.3rem; font-weight: 400; align-self: center; }
.home-category:hover strong { text-decoration: underline; text-underline-offset: .2rem; }
.home-upcoming { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.home-upcoming .home-block-heading { gap: .6rem; }
.home-upcoming h2 { font-size: 1.4rem; }
.home-event-row { display: grid; grid-template-columns: 3.4rem minmax(0,1fr) auto; align-items: center; gap: .65rem; text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--navy); }
.home-event-row time { font-family: Georgia,serif; font-size: 1.05rem; line-height: 1.2; }
.home-event-row strong { font: 700 .9rem/1.2 Georgia,serif; display: block; }
.home-event-row small { color: var(--ink-soft); font-size: .65rem; line-height: 1.3; display: block; margin-top: .3rem; }
.home-event-row:hover strong { text-decoration: underline; }
.home-events-note { font-size: .65rem; margin: .6rem 0 0; color: var(--ink-soft); }
#explore { order: 4; padding-top: 2.5rem; padding-bottom: 2rem; background: var(--stone); }
#explore h2 { font-size: clamp(2rem,3vw,3rem); max-width: none; }
#explore + .category-grid { order: 4; padding-top: 1rem; background: var(--stone); }
#explore .section-toggle { margin-top: .8rem; }
.photo-credits { grid-column: 1/-1; max-width: 65rem; font-size: .72rem; color: #d1dce0; }
.photo-credits summary { cursor: pointer; min-height: 32px; }
footer .photo-credits a { display: inline; text-decoration: underline; }
#home-discover a:focus-visible, .hero-source-card:focus-visible, .header-more summary:focus-visible { outline: 3px solid var(--river); outline-offset: 4px; }
@media (min-width: 981px) and (max-width: 1150px) { .site-header { gap: 1rem; } .site-header nav { gap: .9rem; } .brand strong { font-size: 1.45rem; } .hero { gap: 2rem; } .home-discover { gap: 1.25rem; } }
@media (max-width: 980px) {
 .site-header { flex-wrap: wrap; gap: 1rem; }
 .site-header .menu-toggle { margin-left: auto; }
 .site-header nav { display: none; width: 100%; margin: 0; }
 .site-header nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
 .header-more-links { position: static; width: 100%; box-shadow: none; margin-top: .5rem; }
 .header-more { grid-column: 1/-1; }
 .hero { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 1.5rem; padding-top: 2rem; min-height: 0; }
 .hero h1 { font-size: 3.1rem; }
 .hero .ask-form { grid-template-columns: minmax(0,1fr); }
 #main .ask-form .unified-cta { width: 100%; justify-content: center; }
 .answer-preview { padding: 1.3rem 1.3rem 0; }
 .home-discover { grid-template-columns: minmax(0,1fr); }
 .home-upcoming { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
 .site-header { padding: 1rem 1.2rem; }
 .brand { gap: .6rem; }
 .brand-mark { width: 2.7rem; height: 2.7rem; font-size: 1.1rem; }
 .brand strong { font-size: 1.35rem; }
 .brand small { display: block; font-size: .65rem; }
 .menu-toggle { font-size: .75rem; }
 .hero { display: grid; grid-template-columns: minmax(0,1fr); background: var(--stone); padding: .9rem 1.2rem 1.5rem; gap: 1.2rem; }
 .hero-kicker { display: none; }
 .hero h1 { font-size: clamp(2.25rem,8.5vw,3rem); max-width: 15ch; margin-bottom: .7rem; }
 .hero .lede { font-size: 1.05rem; margin-bottom: .9rem; }
 .hero .pilot-status { font-size: .63rem; }
 .hero .search-help { font-size: .65rem; }
 .answer-preview { max-width: none; padding: 1.3rem 1.25rem 0; border-radius: .9rem; }
 .answer-preview h2 { font-size: 1.65rem; }
 .preview-intro { font-size: .84rem; }
 .hero-source-card { padding: .9rem; }
 .town-line { height: 50px; }
 .home-discover { padding: 1.3rem 1.2rem 1.5rem; }
 .home-block-heading h2 { font-size: 1.45rem; }
 .home-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem .8rem; }
 .home-category img, .home-health-art { height: 110px; }
 .home-event-row { padding: .85rem 0; }
 .home-upcoming .home-block-heading { flex-wrap: wrap; }
}

/* Distinct, muted category colours with readable navy text. */
.category-grid > .category-card:nth-child(1) { background: #d4e5e3; }
.category-grid > .category-card:nth-child(2) { background: #e1e8d5; }
.category-grid > .category-card:nth-child(3) { background: #edddcf; }
.category-grid > .category-card:nth-child(4) { background: #dce4ef; }
.category-grid > .category-card:nth-child(5) { background: #ecdde5; }
.category-grid > .category-card:nth-child(6) { background: #e8dfce; }
.category-grid > .category-card:nth-child(7) { background: #d9e7df; }
.category-grid > .category-card:nth-child(8) { background: #e5deec; }
.category-grid > .category-card:nth-child(9) { background: #d5e7ed; }
.category-grid > .category-card:nth-child(10) { background: #ede4cf; }
.category-grid > .category-card:nth-child(11) { background: #dce4d4; }
.category-grid > .category-card:nth-child(12) { background: #eedddd; }
.category-grid > .category-card:nth-child(13) { background: #d9e2ec; }
.category-grid > .category-card:nth-child(14) { background: #e8e4d8; }
.category-grid > .category-card:nth-child(15) { background: #dbebe7; }
.category-grid > .category-card:nth-child(16) { background: #e6ddeb; }
.category-grid > .category-card:nth-child(17) { background: #e5e9d7; }
.category-grid > .category-card:nth-child(18) { background: #ecdfd5; }
.category-grid > .category-card:nth-child(19) { background: #dde5eb; }
.category-grid > .category-card:nth-child(20) { background: #e5dce0; }
.category-grid > .category-card { color: var(--navy); }
.category-grid > .category-card h3, .category-grid > .category-card .eyebrow { color: var(--navy); }
.category-grid > .category-card p:not(.eyebrow) { color: var(--ink-soft); }
.category-grid > .category-card::after { border-color: rgba(24,52,71,.1); box-shadow: 0 0 0 2.2rem rgba(24,52,71,.025), 0 0 0 4.4rem rgba(24,52,71,.02); pointer-events: none; }
