/* West Volusia Directory - one stylesheet for every page (build/static/site.css, copied to public/assets/ by build/build.py).
   The look: deep spring green, warm cream, a sun yellow and one burnt orange for actions, plus nine color tones that tell the
   kinds of business apart (t-amber, t-coral ... on a page, a group or a card set --fc, the strong color, and --ft, its tint),
   and the lifestyle photography: the home hero, every page head (.page-head.photo), the town cards, the category group strips,
   the three ask cards and the small category thumbnails on cards. Text over a photo always sits on the deep green gradient
   (--shade): at least 84% deep green under every word, so white on it is 5.9:1 or better whatever the picture shows.
   Type: Bricolage Grotesque 800 for display, Atkinson Hyperlegible Next for text. Every text pair is WCAG AA or better
   (ink on cream 13.4, white on the orange 5.2, cream on deep green 11.3, sun on deep green 8.0, each tone on its tint 4.8 to 6.3,
   soft ink on every tint 5.6 or more); focus rings are 3 px orange on light grounds and sun yellow on dark ones. */
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 400; font-display: optional;
  src: url(/assets/fonts/atkinson-hyperlegible-next-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 700; font-display: optional;
  src: url(/assets/fonts/atkinson-hyperlegible-next-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: optional;
  src: url(/assets/fonts/bricolage-grotesque-800-latin.woff2) format('woff2'); }

:root {
  --ink: #1d2b28; --ink-soft: #4b5c58; --night: #0f3b36; --night-2: #154a43; --deep: #0b2b27; --spring: #0b6e64; --spring-tint: #d8efe9;
  --cream: #fbf4e6; --cream-deep: #f3e7cf; --paper: #fffcf6; --line: #e6d8bd; --field: #6f7f6c;
  --action: #c2410c; --action-deep: #9a3412; --sun: #ffc93c; --sun-deep: #f2b01e; --sun-tint: #fff1c7; --on-dark-soft: #b9cdc8;
  --radius: 18px; --wrap: 1180px; --header: 68px;
  --shadow: 0 1px 2px rgba(15, 59, 54, .07), 0 8px 24px rgba(15, 59, 54, .08);
  --shadow-lg: 0 2px 4px rgba(15, 59, 54, .08), 0 18px 40px rgba(15, 59, 54, .14);
  --display: 'Bricolage Grotesque', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fc: var(--spring); --ft: var(--spring-tint);
  /* the gradient over a photo: solid enough under the text (left, and everywhere on phones), lighter where the picture shows */
  --shade: linear-gradient(180deg, rgba(15, 59, 54, .82), rgba(15, 59, 54, .9));
}
@media (min-width: 1000px) {
  :root { --shade: linear-gradient(90deg, rgba(15, 59, 54, .95) 0%, rgba(15, 59, 54, .9) 48%, rgba(15, 59, 54, .74) 72%, rgba(15, 59, 54, .5) 100%),
    linear-gradient(180deg, rgba(15, 59, 54, .18), rgba(15, 59, 54, .18)); }
}
/* the tones: strong color (text, icons, borders) and its tint (backgrounds) */
.t-teal { --fc: #0a6e63; --ft: #d7f0ea; }
.t-mint { --fc: #0a6e63; --ft: #d7f0ea; }
.t-sky { --fc: #1f63ab; --ft: #dceaf8; }
.t-moss { --fc: #447019; --ft: #e4f0d4; }
.t-amber { --fc: #8a5a00; --ft: #fbefcf; }
.t-plum { --fc: #6a3c99; --ft: #ebe2f6; }
.t-berry { --fc: #a8285f; --ft: #f9dfe9; }
.t-slate { --fc: #4d5a66; --ft: #e7ebee; }
.t-indigo { --fc: #4045a8; --ft: #e2e4f7; }
.t-coral { --fc: #b8360a; --ft: #fde3dc; }
.t-sun { --fc: #7a4400; --ft: #fff1c7; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 72px); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img, svg { display: block; max-width: 100%; }
picture { display: contents; }   /* the <picture> round every lifestyle img only picks the file; the img is the box */
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--night); line-height: 1.1; margin: 0 0 .45em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--spring); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--night); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: var(--sun); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--night); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 10px; font-weight: 700; }
.skip:focus { top: 0; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-soft); }
.small { font-size: .925rem; }
.break { overflow-wrap: anywhere; }
.kicker { font: 700 .8rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fc); margin: 0 0 10px; }
.center { justify-content: center; }

/* Header: sticky, with a compact search that slides in under it once the page's own search scrolls away */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 10px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; color: var(--night); text-decoration: none; flex: none; margin-right: auto; }
.brand svg { width: 196px; height: 42px; }
@media (min-width: 720px) { .brand svg { width: 226px; height: 48px; } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  color: var(--night); background: var(--cream); border: 2px solid var(--line); }
.icon-btn:hover { background: var(--sun-tint); color: var(--night); border-color: var(--sun-deep); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--night); background: var(--night); color: #fff;
  font: 700 1rem var(--sans); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 46px; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 359px) {   /* a 320 px screen: a smaller wordmark and the menu button as its icon, so the header never overflows */
  .brand svg { width: 150px; height: 32px; }
  .menu-btn { padding: 8px 12px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.nav { display: none; }
.nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 8px 16px 18px; z-index: 70; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 13px 6px; color: var(--night); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--cream-deep); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--action-deep); }
.nav .nav-cta { margin-top: 14px; }
.nav .nav-cta a { width: 100%; }
.nav a.btn { display: inline-flex; color: #fff; border: 0; border-radius: 999px; min-height: 46px; }
.nav a.btn:hover, .nav a.btn[aria-current="page"] { color: #fff; background: var(--action-deep); }
.no-js .menu-btn { display: none; }
.no-js .header-row { flex-wrap: wrap; }
.no-js .nav { display: block; width: 100%; order: 3; }
.no-js .nav ul { display: flex; flex-wrap: wrap; gap: 2px 16px; padding-bottom: 10px; }
.no-js .nav a { border: 0; padding: 6px 0; }
.no-js .nav .nav-cta { margin: 0; }
.no-js .nav .nav-cta a { width: auto; }
@media (min-width: 1080px) {
  .header-row { gap: 14px; }
  .menu-btn { display: none; }
  .nav, .nav.open, .no-js .nav { display: block; position: static; box-shadow: none; border: 0; padding: 0; background: none; width: auto; order: 0; }
  .nav ul, .no-js .nav ul { display: flex; align-items: center; gap: 2px; padding: 0; }
  .nav a, .no-js .nav a { border: 0; padding: 9px 12px; border-radius: 999px; font-size: .98rem; }
  .nav a:hover { background: var(--cream); }
  .nav a[aria-current="page"] { background: var(--sun-tint); color: var(--night); }
  .nav .nav-cta { margin: 0 0 0 8px; }
  .nav .nav-cta a, .no-js .nav .nav-cta a { width: auto; padding: 10px 18px; }
  .no-js .header-row { flex-wrap: nowrap; }
}
.hsearch { position: absolute; left: 0; right: 0; top: 100%; background: var(--night); padding: 10px 0; box-shadow: var(--shadow-lg);
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .18s ease, opacity .18s ease, visibility 0s linear .18s; }
.hs-on .hsearch { transform: none; opacity: 1; visibility: visible; transition: transform .18s ease, opacity .18s ease; }
.hsearch .search { max-width: 760px; margin: 0 auto; }
.no-js .hsearch { display: none; }
@media (prefers-reduced-motion: reduce) { .hsearch, .hs-on .hsearch { transition: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border-radius: 999px;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 3px 0 var(--action-deep); }
.btn-primary:hover { background: var(--action-deep); color: #fff; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--action-deep); }
.btn-sun { background: var(--sun); color: var(--night); box-shadow: 0 3px 0 var(--sun-deep); }
.btn-sun:hover { background: #ffd666; color: var(--night); }
.btn-outline { border-color: var(--night); color: var(--night); background: var(--paper); }
.btn-outline:hover { background: var(--sun-tint); color: var(--night); }
.site-footer a.btn-sun, .on-dark a.btn-sun, .on-dark a.btn-sun:hover { color: var(--night); }
.on-dark .btn-outline { background: transparent; border-color: var(--cream); color: var(--cream); }
.on-dark .btn-outline:hover { background: rgba(251, 244, 230, .12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; }

/* Search boxes */
.search { position: relative; }
.search label { display: block; font-weight: 700; margin-bottom: 8px; }
.search-row { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 5px 5px 5px 14px;
  box-shadow: var(--shadow); }
.search-row:focus-within { border-color: var(--night); }
.search-row .search-ic { width: 22px; height: 22px; color: var(--ink-soft); flex: none; }
.search-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--sans); color: var(--ink); padding: 9px 6px;
  border-radius: 10px; }
.search-row input::placeholder { color: #6b7975; }
.search-row input:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
.hero .search-row input:focus-visible, .hsearch .search-row input:focus-visible { outline-color: var(--sun); }
@supports selector(:has(a)) {   /* where :has() works, the ring goes round the whole box instead of the bare input */
  .search-row input:focus-visible, .hero .search-row input:focus-visible, .hsearch .search-row input:focus-visible { outline: 0; }
  .search-row:has(input:focus-visible) { outline: 3px solid var(--action); outline-offset: 2px; }
  .hero .search-row:has(input:focus-visible), .hsearch .search-row:has(input:focus-visible) { outline-color: var(--sun); }
}
.search-row .btn { min-height: 46px; padding: 8px 18px; border-radius: 14px; box-shadow: none; }
.search-xl .search-row { padding: 7px 7px 7px 18px; border-radius: 22px; border-width: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.search-xl .search-row input { font-size: 1.15rem; padding: 12px 8px; }
.search-xl .search-row .btn { min-height: 54px; padding: 10px 24px; border-radius: 16px; font-size: 1.05rem; }
.search-xl .search-row .search-ic { width: 26px; height: 26px; }
.search-compact .search-row { border: 0; padding: 4px 4px 4px 12px; border-radius: 14px; }
.search-compact .search-row .btn { min-height: 42px; border-radius: 11px; }
@media (max-width: 479px) { .search-row .btn { padding: 8px 14px; } .search-compact .btn { display: none; } }
/* the big boxes: the button shows "Search" on wider screens and only its arrow on phones, so the hint in the box has room */
.search-row .btn-go { display: none; }
@media (max-width: 519px) {
  .search-xl .search-row { padding-left: 14px; }
  .search-xl .search-row input { font-size: 1.05rem; padding: 12px 4px; }
  .search-xl .search-row .btn { width: 54px; padding: 0; }
  .search-xl .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .search-xl .btn-go { display: block; width: 24px; height: 24px; }
}

/* search results: a panel under the box (pop) or the full list on /search/ */
.search-results:empty { display: none; }
.search-results.pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; background: var(--paper); color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 6px; max-height: min(70vh, 520px); overflow: auto; text-align: left; }
.search-results.pop[hidden] { display: none; }
.pop ul { list-style: none; margin: 0; padding: 0; }
.pop li a.r-hit { display: grid; grid-template-columns: 10px 1fr; gap: 0 12px; align-items: center; padding: 10px 12px; border-radius: 11px;
  text-decoration: none; color: var(--ink); }
.pop li a.r-hit::before { content: ""; grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--fc); }
.pop li a.r-hit:hover, .pop li a.r-hit:focus-visible { background: var(--ft); }
.pop .r-name { font-weight: 700; color: var(--night); }
.pop .r-meta { font-size: .9rem; color: var(--ink-soft); }
.pop .r-count, .r-status { font-size: .95rem; color: var(--ink-soft); margin: 8px 12px; }
.pop .r-more { display: block; margin: 4px 6px 6px; padding: 10px 12px; border-radius: 11px; background: var(--cream); font-weight: 700; text-decoration: none; }
.pop .r-more:hover { background: var(--sun-tint); }
.r-status { margin: 0 0 14px; font-weight: 700; color: var(--night); font-size: 1.05rem; }
.r-status:empty { display: none; }
/* /search/?q=...: space is kept for the count and the results while they load, so the page does not jump twice; the script
   lets it go (.done) as soon as the results or the empty state are in */
.has-q .r-status:empty { display: block; min-height: 1.6em; }
.has-q .search-results.full:not(.done) { display: block; min-height: 50vh; }
.r-towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.r-towns button { font: 700 .93rem var(--sans); border: 2px solid var(--line); background: var(--paper); color: var(--night); border-radius: 999px;
  padding: 7px 14px; min-height: 40px; cursor: pointer; }
.r-towns button[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.r-towns button:hover { border-color: var(--night); }

/* Home hero: the home photo under the deep green gradient, the cream zigzag along the bottom edge */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: 44px 0 52px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--shade); }
.hero::before { content: ""; position: absolute; inset: auto -10% -2px -10%; height: 46px; background: var(--cream); z-index: 2;
  clip-path: polygon(0 60%, 8% 40%, 16% 55%, 25% 35%, 34% 55%, 42% 38%, 50% 58%, 58% 36%, 67% 55%, 75% 40%, 84% 58%, 92% 38%, 100% 55%, 100% 100%, 0 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 1000px) { .hero { padding: 70px 0 92px; } .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 56px; } }
.hero .kicker { color: var(--sun); }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 6vw, 4.3rem); line-height: 1.02; max-width: 15ch; }
.hero .hl { white-space: nowrap; color: var(--sun); text-decoration: underline wavy var(--sun); text-decoration-thickness: .055em; text-underline-offset: .16em;
  text-decoration-skip-ink: none; }
.hero-lead { font-size: 1.12rem; max-width: 58ch; color: #e9f1ee; }
.hero .search { margin-top: 26px; max-width: 700px; }
.hero .search label { color: #fff; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.quick-label { margin: 0; font-weight: 700; color: var(--on-dark-soft); font-size: .95rem; }
.quick-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-list a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); min-height: 40px; }
.quick-list a svg { width: 18px; height: 18px; color: var(--sun); }
.quick-list a:hover { background: rgba(255, 201, 60, .18); border-color: var(--sun); color: #fff; }
.stat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-tiles li { border-radius: 20px; padding: 18px 18px 16px; color: var(--night); display: flex; flex-direction: column; justify-content: flex-end; min-height: 118px; }
.stat-tiles li:nth-child(1) { transform: rotate(-2deg); }
.stat-tiles li:nth-child(4) { transform: rotate(1.5deg); }
.stat-tiles b { font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.03em; }
.stat-tiles span { font-weight: 700; font-size: .95rem; line-height: 1.3; margin-top: 6px; }
.st-sun { background: var(--sun); }
.st-coral { background: #ffb59c; }
.st-mint { background: #9fe0cf; }
.st-sky { background: #b9d6f5; }
@media (max-width: 999px) { .stat-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; } .stat-tiles li { min-height: 0; padding: 12px; border-radius: 14px; transform: none !important; }
  .stat-tiles b { font-size: 1.7rem; } .stat-tiles span { font-size: .8rem; } }
@media (max-width: 559px) { .stat-tiles { grid-template-columns: 1fr 1fr; } }
.ripples { position: absolute; pointer-events: none; fill: none; stroke-width: 2; }
.hero-ripples { right: -120px; top: -90px; width: 620px; height: 620px; stroke: rgba(255, 201, 60, .13); z-index: 1; }
@media (max-width: 999px) { .hero-ripples { right: -230px; top: -170px; } }

/* Sections */
.section { padding: 52px 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 24px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head p.muted { margin: 0; max-width: 46ch; }
.section-head .kicker { color: var(--action-deep); }

/* Towns on the home page: a bento of photo cards, the biggest town takes the big square */
.towns-section { padding-top: 40px; }
.towns { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .towns { grid-template-columns: repeat(4, 1fr); gap: 16px; } .town-big { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 759px) { .town-big { grid-column: span 2; } }
.town-card a { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 128px; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--fc); color: var(--ink); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease; }
.town-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.town-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ft); }
.town-photo img { width: 100%; height: 100%; object-fit: cover; }
.town-body { display: flex; flex-direction: column; flex: 1; padding: 12px 16px 16px; }
.town-name { font: 800 1.35rem/1.1 var(--display); color: var(--night); letter-spacing: -.01em; }
.town-n { font-size: .93rem; color: var(--ink-soft); margin-top: 4px; }
.town-card .go { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: rgba(11, 43, 39, .8); color: #fff; }
.town-big a { border-top: 0; justify-content: flex-end; min-height: 300px; background: var(--night); color: var(--cream); }
.town-big .town-photo { position: absolute; inset: 0; aspect-ratio: auto; }
.town-big .town-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 59, 54, .05) 25%, rgba(15, 59, 54, .9) 100%); }
.town-big .town-body { position: relative; z-index: 1; padding: 24px; flex: none; }
.town-big .town-name { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; letter-spacing: -.03em; }
.town-big .town-n { font-size: 1.05rem; color: var(--sun); font-weight: 700; }
.town-big .go { background: var(--sun); color: var(--night); }

/* Categories on the home page, grouped in families, each under a strip of its group's photo */
.cats-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fams { columns: 1; column-gap: 18px; }
@media (min-width: 640px) { .fams { columns: 2; } }
@media (min-width: 1020px) { .fams { columns: 3; } }
.fam { break-inside: avoid; margin: 0 0 18px; background: var(--cream); border-radius: var(--radius); padding: 0 10px 8px; border: 1px solid var(--line); overflow: hidden; }
.fam-photo { position: relative; aspect-ratio: 5 / 2; margin: 0 -10px 10px; background: var(--night); }
.fam-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fam-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 59, 54, .08) 30%, rgba(15, 59, 54, .88) 100%); }
.fam h3 { position: absolute; left: 14px; right: 14px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0; color: #fff; }
.fam h3::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--sun); transform: rotate(45deg); flex: none; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; align-items: center; gap: 12px; padding: 8px 8px; border-radius: 12px; text-decoration: none; color: var(--night); font-weight: 700;
  min-height: 52px; }
.cat-list a:hover { background: var(--paper); box-shadow: var(--shadow); color: var(--night); }
.cat-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ft); color: var(--fc); flex: none; }
.cat-ic svg { width: 21px; height: 21px; }
.cat-name { flex: 1; line-height: 1.25; }
.cat-list .n { font: 700 .88rem var(--sans); color: var(--fc); background: var(--ft); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; }

/* Asking for help: three cards, each with a strip of photo on top and its icon on the strip's edge */
.ask-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ask-grid { grid-template-columns: repeat(3, 1fr); } }
.ask-card { position: relative; border-radius: 24px; padding: 0 24px 24px; display: flex; flex-direction: column; overflow: hidden; }
.ask-photo { display: block; aspect-ratio: 16 / 7; margin: 0 -24px 0; overflow: hidden; background: var(--night); }
.ask-photo img { width: 100%; height: 100%; object-fit: cover; }
.ask-card h3 { font-size: 1.55rem; margin: 6px 0 8px; }
.ask-card p { margin: 0 0 16px; }
.ask-card .ask-go { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ask-ic { width: 54px; height: 54px; padding: 12px; border-radius: 16px; background: var(--paper); color: var(--night); margin-top: -27px; position: relative;
  box-shadow: var(--shadow); }
.ask-quotes { background: var(--sun); color: var(--night); }
.ask-quotes .btn-primary { background: var(--night); box-shadow: 0 3px 0 #000; }
.ask-quotes .btn-primary:hover { background: #000; }
.ask-move { background: #cfe3f8; color: var(--night); }
.ask-claim { background: var(--night); color: var(--cream); }
.ask-claim h3 { color: #fff; }
.ask-claim .ask-ic { background: var(--sun); color: var(--night); }
.ask-claim a.text-link { color: var(--cream); }

/* Verified listings: one calm band in place of a list of sources (they live on /about/) */
.verified-section { padding-top: 0; }
.verified-band { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; background: var(--paper); border: 1px solid var(--line);
  border-radius: 24px; padding: 26px 24px; }
@media (min-width: 720px) { .verified-band { grid-template-columns: auto 1fr; gap: 26px; padding: 30px 34px; } }
.ver-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--spring-tint); color: var(--spring);
  box-shadow: 0 0 0 10px rgba(11, 110, 100, .08); }
.ver-mark svg { width: 34px; height: 34px; stroke-width: 2.5; }
.verified-band h2 { margin-bottom: .3em; }
.verified-band p { max-width: 70ch; }
.ver-link { margin: 0; }
.ver-link a { display: inline-flex; align-items: center; gap: 8px; }
.ver-link svg { width: 18px; height: 18px; }

/* Claim band */
.claim-band { background: var(--night); color: var(--cream); padding: 44px 0; position: relative; overflow: hidden; }
.claim-band h2 { color: #fff; margin-bottom: .35em; }
.claim-band .kicker { color: var(--sun); }
.claim-band p { margin: 0; max-width: 62ch; }
.claim-band .btn-row { align-items: center; }
@media (min-width: 900px) { .claim-band .btn-row { flex-direction: column; align-items: stretch; gap: 10px; } .claim-band a.text-link { text-align: center; } }
.claim-band a.text-link { color: var(--cream); }
.claim-band a.text-link:hover { color: var(--sun); }
.claim-grid { display: grid; gap: 20px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .claim-grid { grid-template-columns: auto 1fr auto; gap: 28px; } }
.claim-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--sun); color: var(--night); transform: rotate(-4deg); }
.claim-mark svg { width: 40px; height: 40px; }

/* Inner page heads */
.page-head { position: relative; overflow: hidden; background: var(--ft); border-bottom: 1px solid rgba(15, 59, 54, .1); padding: 22px 0 34px; }
@media (min-width: 900px) { .page-head { padding: 26px 0 46px; } }
.page-head .wrap { position: relative; z-index: 1; }
.head-ripples { right: -140px; top: -150px; width: 520px; height: 520px; stroke: var(--fc); opacity: .18; }
.head-row { display: flex; gap: 22px; align-items: flex-start; }
.head-badge { display: none; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--fc); color: #fff; flex: none;
  transform: rotate(-4deg); box-shadow: var(--shadow); margin-top: 6px; }
.head-badge svg { width: 40px; height: 40px; }
@media (min-width: 760px) { .head-badge { display: grid; } }
.head-text { min-width: 0; flex: 1; }
.page-head h1 { max-width: 24ch; overflow-wrap: anywhere; }
.page-head .h1-big { display: block; font-size: 1.6em; line-height: .95; color: var(--fc); letter-spacing: -.035em; }
.page-head p.lead { font-size: 1.1rem; max-width: 70ch; }
.page-head .lead a { font-weight: 700; color: var(--night); }
.page-head .gathers { font-size: .95rem; color: var(--ink-soft); max-width: 80ch; }
.page-head .btn-row { margin-top: 6px; }
.page-head .search { max-width: 720px; margin-top: 18px; }
.stat-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stat-chips li { background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: .95rem; color: var(--ink-soft); box-shadow: 0 1px 0 rgba(15, 59, 54, .08); }
.stat-chips b { font: 800 1.1rem var(--display); color: var(--fc); margin-right: 3px; }
.crumbs { font-size: .92rem; margin: 0 0 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { color: var(--ink-soft); }
.crumbs li + li::before { content: "\203A"; margin: 0 6px 0 2px; }
.crumbs a { color: var(--night); font-weight: 700; }
.tags { margin: 8px 0 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; margin: 0 6px 6px 0;
  background: var(--spring-tint); color: #0a5a52; text-decoration: none; }
.tag svg { width: 16px; height: 16px; }
.tag-lic { background: #dceaf8; color: #1a5490; }
.page-head .tag { background: var(--paper); }

/* A page head over a photo: the picture fills the band under the gradient; the text turns white, the accents sun yellow */
.page-head.photo { background: var(--night); color: var(--cream); border-bottom: 0; }
.head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head.photo::after { content: ""; position: absolute; inset: 0; background: var(--shade); }
.page-head.photo .head-ripples { stroke: var(--cream); opacity: .12; z-index: 1; }
.page-head.photo h1, .page-head.photo .lead a, .page-head.photo .crumbs a { color: #fff; }
.page-head.photo .h1-big, .page-head.photo .kicker, .page-head.photo .stat-chips b { color: var(--sun); }
.page-head.photo .lead, .page-head.photo .gathers, .page-head.photo .crumbs li, .page-head.photo .stat-chips li { color: var(--cream); }
.page-head.photo .lead a:hover { color: var(--sun); }
.page-head.photo .head-badge { background: var(--sun); color: var(--night); }
.page-head.photo .stat-chips li { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.page-head.photo .tag, .page-head.photo .tag-lic { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.page-head.photo .tag svg { color: var(--sun); }
.page-head.photo a.tag:hover { background: rgba(255, 201, 60, .22); }
.page-head.photo .search label { color: #fff; }
.photo-note { position: absolute; right: 12px; bottom: 10px; z-index: 2; font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream); background: rgba(11, 43, 39, .92); padding: 6px 10px; border-radius: 999px; }
/* the proof under a listing's name: its chamber badges, then the verified line */
.proof { margin: 4px 0 18px; }
.proof .tags { margin: 0 0 8px; }
.verified { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--sun); }
.verified svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sun); color: var(--night); stroke-width: 3; flex: none; }
.btn-lg { min-height: 54px; padding: 13px 26px; font-size: 1.05rem; }
.btn-lg svg { width: 20px; height: 20px; }

/* Finder: the filter on town and category pages, with its jump links */
.listings-section { padding-top: 30px; }
.finder { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 34px; }
@media (min-width: 760px) { .finder { padding: 22px 26px; } }
.filter label { display: block; font: 800 1.2rem var(--display); color: var(--night); margin-bottom: 10px; }
.filter-status { margin: 10px 0 0; font-size: .95rem; color: var(--ink-soft); }
.filter-status:empty { display: none; }
.no-js .filter { display: none; }
.jumpnav { margin-top: 16px; }
.jump-label { margin: 0 0 8px; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.no-js .jumpnav { margin-top: 0; }
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--cream); color: var(--night); font-size: .93rem;
  font-weight: 700; text-decoration: none; border: 1px solid var(--line); min-height: 40px; }
.jump a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--fc); flex: none; }
.jump a:hover { background: var(--ft); border-color: var(--fc); color: var(--night); }
.jump .n { font-weight: 400; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.jump-ic a::before { display: none; }
.jump-ic a svg { width: 18px; height: 18px; color: var(--fc); }
@media (max-width: 759px) {
  .finder .jump { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .finder .jump li { flex: none; scroll-snap-align: start; }
}

/* Groups of listing cards */
.group { margin: 0 0 40px; scroll-margin-top: calc(var(--header) + 72px); }
.group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.group-head h2, .group-head h3 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; flex: 1; min-width: 0; }
.group-head .n { font: 400 1rem var(--sans); color: var(--ink-soft); letter-spacing: 0; }
.group-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ft); color: var(--fc); flex: none; }
.group-ic svg { width: 25px; height: 25px; }
/* a group head's picture (a town page's categories, a category page's towns) with the icon badge on its corner */
.group-pic { position: relative; flex: none; width: 96px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--ft); }
.group-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.group-pic .group-ic { position: absolute; left: 6px; bottom: 6px; width: 30px; height: 30px; border-radius: 9px; background: var(--paper); box-shadow: var(--shadow); }
.group-pic .group-ic svg { width: 18px; height: 18px; }
.group-more { font-size: .93rem; font-weight: 700; }
.group[hidden], .cards li[hidden] { display: none; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--fc); border-radius: 16px; padding: 16px 18px 14px;
  overflow-wrap: anywhere; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3, .card h4 { font: 700 1.08rem/1.3 var(--sans); color: var(--night); margin: 0 0 8px; letter-spacing: 0; }
.card h3 a, .card h4 a { color: var(--night); text-decoration: none; }
.card h3 a:hover, .card h4 a:hover { text-decoration: underline; }
.card p { margin: 3px 0; font-size: .95rem; }
.card .meta { color: var(--fc); font-weight: 700; font-size: .88rem; }
.card .addr, .card .tel { position: relative; padding-left: 25px; }
.card .addr { color: var(--ink-soft); }
.card .addr::before, .card .tel::before { content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; background: var(--fc);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.card .addr::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.card .tel::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h3l1.5 4-2 1.3a11 11 0 0 0 6.1 6.1l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A17 17 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E"); }
.card .tel a { font-weight: 700; }
.card .tags { margin-top: 10px; }
.listings-section .card .tag { margin-bottom: 0; }

/* Photo cards: a category in a town (listing pages), picture on the left */
.photo-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.photo-card a { position: relative; display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 14px; min-height: 84px; background: var(--paper);
  border: 1px solid var(--line); border-left: 5px solid var(--fc); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease; }
.photo-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.photo-card img { width: 104px; height: 100%; min-height: 84px; object-fit: cover; background: var(--ft); }
.pc-body { display: flex; flex-direction: column; padding: 10px 40px 10px 0; min-width: 0; }
.pc-name { font-weight: 700; color: var(--night); line-height: 1.25; }
.pc-n { font-size: .9rem; color: var(--ink-soft); margin-top: 2px; }
.photo-card .go { position: absolute; right: 12px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: var(--fc); }
.related { margin: 0 0 40px; }
.more-towns, .more-cats { margin-top: 20px; padding-top: 28px; border-top: 2px dashed var(--line); }
.more-towns h2, .more-cats h2 { font-size: 1.4rem; }
.more-cats .jump + .jump-label { margin-top: 18px; }
.all-cats { margin: 18px 0 0; }
.all-cats a { display: inline-flex; align-items: center; gap: 8px; }
.all-cats svg { width: 18px; height: 18px; }
@media (max-width: 759px) {
  .more-cats .far-cats { display: none; }
  /* a long list of categories as two columns of compact links on phones */
  .jump-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .jump-grid a { width: 100%; height: 100%; border-radius: 12px; font-size: .88rem; line-height: 1.25; padding: 7px 10px; gap: 8px; }
  .jump-grid a svg { width: 16px; height: 16px; flex: none; }
}

/* Long groups: the first cards, then "Show all" (the CSS hides the rest only when JavaScript runs, so nothing is hidden without
   it; filtering shows every match) */
.more-row { display: none; margin: 14px 0 0; }
@media (max-width: 759px) {
  .js .listings:not(.filtering) .group.m-cap .cards > li:nth-child(n+4) { display: none; }
  .js .group.m-cap .more-row { display: block; }
  .more-btn { width: 100%; }
}
@media (min-width: 760px) {
  .js .listings:not(.filtering) .group.d-cap .cards > li:nth-child(n+7) { display: none; }
  .js .group.d-cap .more-row { display: block; }
}
.js .listings.filtering .more-row { display: none; }
.jumpnav-solo { margin: 0 0 30px; }
@media (max-width: 759px) {
  .cards { gap: 10px; }
  .card { padding: 13px 15px 11px; border-top-width: 4px; }
  .card h3, .card h4 { font-size: 1.03rem; margin-bottom: 6px; }
  .card .tags { margin-top: 6px; }
  .group { margin-bottom: 30px; }
  .group-head { gap: 4px 12px; }
  .group-ic { width: 40px; height: 40px; border-radius: 12px; }
  .group-pic { width: 78px; height: 52px; border-radius: 12px; }
  .group-pic .group-ic { width: 26px; height: 26px; left: 5px; bottom: 5px; }
  .group-pic .group-ic svg { width: 16px; height: 16px; }
  .group-more { flex-basis: 100%; }
}

/* Empty states */
.empty { text-align: center; background: var(--paper); border: 2px dashed var(--line); border-radius: 24px; padding: 34px 20px; margin: 0 0 30px; }
.empty[hidden] { display: none; }
.empty h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.empty p { max-width: 56ch; margin-left: auto; margin-right: auto; }
.empty-art { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--sun-tint); color: var(--action-deep);
  box-shadow: 0 0 0 12px rgba(255, 201, 60, .18); }
.empty-art svg { width: 40px; height: 40px; }
.empty-town { margin-bottom: 10px; }

/* Listing page: the facts card and the action cards side by side, then the related cards full width */
.listing { display: grid; gap: 22px; grid-template-columns: 1fr; padding: 32px 0 40px; }
@media (min-width: 900px) { .listing { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 28px; } }
.k-listing main > .wrap { padding-bottom: 24px; }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px 8px; box-shadow: var(--shadow); }
.facts-h { font-size: 1.3rem; margin: 4px 0 4px; }
.facts dl { margin: 0; }
.fact { padding: 15px 0; border-bottom: 1px solid var(--cream-deep); overflow-wrap: anywhere; }
.fact:last-child { border-bottom: 0; }
.fact dt { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 4px; }
.fact dt svg { width: 22px; height: 22px; padding: 3px; border-radius: 8px; background: var(--ft); color: var(--fc); flex: none; }
.fact dd { margin: 0 0 0 32px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--spring-tint);
  color: #0a5a52; font-weight: 700; text-decoration: none; font-size: .95rem; margin-top: 4px; }
.badge svg { width: 22px; height: 22px; }
.badge:hover { background: var(--sun-tint); color: var(--night); }
.aside-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2 { font-size: 1.35rem; }
.aside-ic { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--sun-tint); color: var(--action-deep); margin-bottom: 12px; }
.aside-claim { background: var(--night); color: var(--cream); border: 0; }
.aside-claim h2 { color: #fff; }
.aside-claim a:not(.btn) { color: var(--cream); }
.aside-claim .aside-ic { background: rgba(255, 201, 60, .16); color: var(--sun); }
.aside-ask { background: var(--sun-tint); border-color: #f5dc8f; }
.aside-ask .aside-ic { background: #fff; }

/* Forms */
.form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .form-wrap { padding: 30px 34px; } }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--field); border-radius: 12px; padding: 10px 12px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--action); outline-offset: 1px; border-color: var(--night); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--action-deep); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.field .choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; min-height: 44px; margin: 0; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--cream); border: 2px solid var(--line); cursor: pointer; }
.field .choice:has(input:checked) { background: var(--spring-tint); border-color: var(--spring); font-weight: 700; }
.field .choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--spring); flex: none; }
.reach { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; background: var(--sun-tint); border-radius: 14px; padding: 14px 16px; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--spring); flex: none; }
.consent label { font-weight: 400; margin: 0; }
.req { color: var(--action-deep); font-weight: 700; }
.form-error { color: var(--action-deep); font-weight: 700; margin: 4px 0 0; font-size: .95rem; }
.form-error:empty { display: none; }
.form-note { margin: 12px 0 0; font-weight: 700; }
.form-note:empty { display: none; }
.form-note.ok { color: var(--night); background: var(--spring-tint); padding: 12px 14px; border-radius: 12px; }
.form-note.err { color: var(--action-deep); background: #fbe9df; padding: 12px 14px; border-radius: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Prose pages and their pieces */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.callout { background: var(--sun-tint); border-left: 5px solid var(--sun-deep); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 0 0 1.2em; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: s; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 66px 20px 20px; }
.steps li::before { content: counter(s); position: absolute; right: 18px; top: 14px; font: 800 2.6rem/1 var(--display); color: var(--cream-deep); }
.step-ic { position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--fc, var(--spring)); color: #fff; }
.steps b { display: block; font: 800 1.15rem/1.25 var(--display); color: var(--night); margin-bottom: 4px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.perks li { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.perks b { display: block; font: 800 1.2rem/1.25 var(--display); color: var(--night); margin: 10px 0 4px; }
.perks span { color: var(--ink-soft); }
.perk-ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--spring-tint); color: var(--spring); }
.two-col { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); align-items: start; } }
.browse { margin-top: 30px; }
.browse h2 { font-size: 1.4rem; margin-top: 28px; }

/* Search results on /search/ */
.search-results.full ul.r-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.r-card { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--fc); border-radius: 16px; padding: 14px 18px; overflow-wrap: anywhere; }
.r-card .thumb { float: right; width: 76px; height: 57px; object-fit: cover; border-radius: 10px; margin: 0 0 8px 12px; background: var(--ft); }
@media (max-width: 359px) { .r-card .thumb { display: none; } }
.r-card .r-name { display: block; font-weight: 700; font-size: 1.05rem; color: var(--night); text-decoration: none; margin-bottom: 6px; }
.r-card .r-name:hover { text-decoration: underline; }
.r-card .r-meta { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--fc); background: var(--ft); border-radius: 999px; padding: 2px 10px; }
.r-card .r-tel { display: block; margin-top: 8px; font-weight: 700; }
.r-empty { text-align: center; background: var(--paper); border: 2px dashed var(--line); border-radius: 24px; padding: 30px 20px; }
.r-empty .empty-art { margin-bottom: 12px; }
.r-empty h2 { font-size: 1.5rem; }
.r-empty p { max-width: 56ch; margin: 0 auto 14px; }

/* Footer */
.site-footer { position: relative; background: var(--deep); color: var(--cream); padding: 56px 0 30px; margin-top: 0; }
.foot-wave { position: absolute; left: 0; top: -39px; width: 100%; height: 40px; fill: var(--deep); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr .95fr .95fr; } }
.foot-brand p { color: var(--on-dark-soft); max-width: 42ch; }
.foot-cta .btn { white-space: normal; }
.foot-add { margin-top: -4px; font-weight: 700; }
.site-footer h2 { color: var(--sun); font: 700 .85rem var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.site-footer ul.one-col { columns: 1; }
.site-footer li { margin: 0 0 8px; break-inside: avoid; }
.site-footer .brand svg { width: 226px; height: 48px; }
.foot-note { border-top: 1px solid rgba(251, 244, 230, .16); margin-top: 32px; padding-top: 18px; font-size: .93rem; color: var(--on-dark-soft); }
.foot-note p { margin: 0 0 8px; }
.agency { display: block; font-weight: 700; }


/* 2026-11-29: the town guides, the buyer's notes, the by-town tables, the "Updated" line, the badge (README "SEO") */
.guide { padding-bottom: 8px; }
.guide-grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .guide-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.guide .kicker { color: var(--action-deep); }
.cite { font-size: .72em; line-height: 0; margin-left: 2px; }
.cite a { text-decoration: none; font-weight: 700; padding: 0 1px; }
.guide-src { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; font-size: .93rem; min-width: 0; }
.guide-src h3 { font-size: 1.05rem; margin: 0 0 10px; }
.refs { margin: 0 0 10px; padding-left: 1.3em; }
.refs li { margin: 0 0 8px; overflow-wrap: anywhere; }
.cat-intro { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin: 0 0 30px; }
@media (min-width: 900px) { .cat-intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.tc-note { margin-top: 30px; }
.buyer-note { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--fc); border-radius: 0 18px 18px 0; padding: 16px 20px 6px; min-width: 0; }
.buyer-note h2 { font-size: 1.25rem; margin: 0 0 8px; }
.checks { margin: 0 0 10px; padding-left: 1.2em; }
.checks li { margin: 0 0 8px; }
.src-link { overflow-wrap: anywhere; }
.by-town { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; }
.by-town caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.by-town th, .by-town td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.by-town td { text-align: right; font-variant-numeric: tabular-nums; }
.by-town thead th { font-size: .85rem; color: var(--ink-soft); }
.by-town thead th + th { text-align: right; }
.criteria { margin: 0 0 34px; }
.criteria h2 { font-size: 1.35rem; margin-bottom: 6px; }
.related-links { margin: 30px 0 10px; }
.related-links .jump + .jump-label { margin-top: 16px; }
.page-updated { padding-top: 6px; padding-bottom: 26px; font-size: .9rem; color: var(--ink-soft); }
.page-updated p { margin: 0; }
.new-section { padding-top: 0; }
.badge-box { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; min-width: 0; }
.badge-img { display: block; max-width: 100%; height: auto; }
.snippet { margin: 10px 0 0; padding: 12px 14px; background: var(--deep); color: var(--cream); border-radius: 12px; font-size: .82rem; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; max-width: 100%; }
.aside-card .snippet { font-size: .78rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .card:hover, .town-card a:hover, .photo-card a:hover { transform: none; } }
@media print { .site-header, .hsearch, .menu-btn, .ripples, .foot-wave, .finder, form, .claim-band, .hero-img, .head-img, .photo-note { display: none !important; }
  body { background: #fff; } .hero, .page-head, .page-head.photo { background: #fff; color: #000; } .hero::after, .page-head.photo::after { display: none; }
  .page-head.photo h1, .page-head.photo .lead, .page-head.photo .crumbs li, .page-head.photo .kicker { color: #000; } }
