/* Shared base for the noon-style sub-pages (map, costs, professionals, insurance).
   Mirrors the tokens and components in index-noon.html. */
:root {
  --paper: #F8F8F5;
  --ink: #161616;
  --charcoal: #2A2B28;
  --stone: #ECECE6;
  --stone-2: #E2E2DA;
  --muted: #6E6E68;
  --brass: #BD8A3F;
  --on-photo: #F1F1EC;
  --vouch: #9C6F2E;
  --comm: #2F5D50;

  --gutter: 30px;
  --r-card: 28px;
  --r-tile: 24px;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 112px;

  --display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --brand: "Frank Ruhl Libre", Georgia, serif;

  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --lift-1: 0 1px 2px rgba(42, 43, 40, .05), 0 6px 18px -10px rgba(42, 43, 40, .14);
  --lift-2: 0 2px 4px rgba(42, 43, 40, .05), 0 18px 40px -18px rgba(42, 43, 40, .28);
  --lift-3: 0 4px 10px rgba(22, 22, 22, .10), 0 30px 70px -24px rgba(22, 22, 22, .45);
}
@media (max-width: 720px) { :root { --gutter: 16px; --r-card: 22px; --r-tile: 20px; --s-6: 80px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: 999px; padding: 12px 22px; font: 500 15px/1 var(--body);
  border: 1px solid transparent; background: none; transition: transform .45s var(--spring), opacity .2s; }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.pill-light { background: var(--on-photo); color: var(--ink); box-shadow: var(--lift-1); }
.pill-ghost { border-color: rgba(241, 241, 236, .75); color: var(--on-photo); backdrop-filter: blur(6px); background: rgba(22,22,22,.08); }
.on-photo :focus-visible { outline-color: var(--on-photo); }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-line { border-color: rgba(22, 22, 22, .22); color: var(--ink); }
.pill-line:hover { border-color: var(--ink); }
.pill-sm { padding: 9px 16px; font-size: 14px; }

/* header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 18px var(--gutter); }
.wordmark { font: 700 21px/1 var(--brand); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.dot { color: var(--brass); }
.nav-capsule { display: flex; gap: 4px; background: var(--stone); padding: 5px; border-radius: 999px; }
.nav-capsule a { padding: 9px 18px; border-radius: 999px; font: 500 14.5px/1 var(--body); color: #3B3B37; transition: transform .4s var(--spring); }
.nav-capsule a:hover, .nav-capsule a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.nav-capsule a:active { transform: scale(.96); }
.head-actions { display: flex; gap: 8px; }
.head-actions .pill { background: var(--stone); }
.head-actions .pill:hover { background: var(--stone-2); }
.menu-btn { display: none; }
/* pinned header: stays at the top once the ticker scrolls away (z under the popup 50 and region gate 60) */
.site-head { position: sticky; top: 0; z-index: 45; background: transparent; transition: background-color .3s var(--ease-out); }
/* once stuck: a thin veil so photos show through behind it */
.site-head.is-stuck { background: rgba(248, 248, 245, .28); -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
.site-head.is-stuck .head-actions .pill, .site-head.is-stuck .nav-capsule { background: rgba(236, 236, 230, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 2px rgba(42, 43, 40, .06), 0 8px 20px -14px rgba(42, 43, 40, .35); }
.site-head.is-stuck .head-actions .pill:hover { background: rgba(226, 226, 218, .9); }
.site-head.is-stuck .wordmark { text-shadow: 0 0 14px rgba(248, 248, 245, .95), 0 0 4px rgba(248, 248, 245, .9); }
.mobile-nav.open { position: fixed; top: calc(var(--head-h, 72px) + 4px); left: var(--gutter); right: var(--gutter); margin: 0; z-index: 44; box-shadow: var(--lift-3); }
[id] { scroll-margin-top: calc(var(--head-h, 72px) + 16px); }

@media (max-width: 900px) {
  .nav-capsule { display: none; }
  .menu-btn { display: inline-flex; }
  .wordmark { font-size: 18px; }
  .head-actions .hide-sm { display: none; }
}
.mobile-nav { display: none; margin: 0 var(--gutter) var(--s-2); background: var(--stone); border-radius: 22px; padding: 8px; }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 14px 16px; border-radius: 14px; font-weight: 500; }
.mobile-nav a:hover, .mobile-nav a:focus-visible { background: var(--paper); }

/* photo hero card */
.page-hero { position: relative; margin: 0 var(--gutter); border-radius: var(--r-card); overflow: hidden; isolation: isolate; min-height: 520px; height: min(66vh, 640px);
  display: flex; align-items: end; box-shadow: var(--lift-2); background: #2B3A35; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.tint { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.tint-multiply { background: #2B3A35; mix-blend-mode: multiply; opacity: .22; }
.tint-fade { background: linear-gradient(to top, rgba(0,0,0,.66) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,0) 70%); }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page-hero .copy { padding: 48px; color: var(--on-photo); max-width: 760px; }
.crumb { font: 500 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(241,241,236,.8); }
.crumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(241,241,236,.4); }
.page-hero h1 { margin: 14px 0 12px; font: 600 clamp(38px, 4.6vw, 66px)/1.02 var(--display); letter-spacing: -0.045em; text-wrap: balance; }
.page-hero p { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.6; color: rgba(241,241,236,.88); }
@media (max-width: 720px) { .page-hero { min-height: 460px; height: 70svh; } .page-hero .copy { padding: 22px; } .page-hero p { font-size: 15.5px; } }

/* sections */
.sec { padding: 0 var(--gutter); }
.sec-pad { padding-top: var(--s-6); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.sec-head h2 { font: 600 clamp(28px, 3vw, 44px)/1.05 var(--display); letter-spacing: -0.04em; margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 56ch; }
.statement { padding: var(--s-6) var(--gutter); text-align: center; }
.statement h2 { font: 600 clamp(32px, 5.4vw, 80px)/1.02 var(--display); letter-spacing: -0.05em; margin: 0 auto; max-width: 16ch; text-wrap: balance; }
.statement u { text-decoration-thickness: .06em; text-underline-offset: .12em; text-decoration-color: var(--brass); }
.statement p { margin: var(--s-3) auto 0; max-width: 54ch; color: var(--muted); font-size: 17px; }

/* source badges + listing rows (same as the Local List directory) */
.badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font: 600 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.badge-vouched { background: var(--vouch); color: #fff; }
.badge-community { background: #E3ECE8; color: var(--comm); }
.badge-founder { background: #E4EAF3; color: #3D5A85; }
.badge-research { background: transparent; color: #55554F; border: 1px solid rgba(22,22,22,.18); }
.chip { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(22,22,22,.14);
  background: #fff; font: 500 14px/1 var(--body); color: var(--ink); transition: transform .4s var(--spring); }
.chip:hover { border-color: rgba(22,22,22,.4); }
.chip:active { transform: scale(.96); }
.chip .n { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .n { color: rgba(248,248,245,.7); }
.chip:disabled { opacity: .5; cursor: default; }
.chip-v[aria-pressed="true"] { background: var(--vouch); border-color: var(--vouch); }
.chip-c[aria-pressed="true"] { background: var(--comm); border-color: var(--comm); }
.row { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(22,22,22,.1); }
.thumb { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--stone); position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
a.thumb { display: block; }
a.thumb:hover img { transform: scale(1.05); }
a.thumb:active img { transform: scale(1.02); }
.thumb-dots { display: grid; place-items: center; text-align: center; padding: 8px; font: 500 10.5px/1.25 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #6E6E68;
  background: radial-gradient(circle at 1.5px 1.5px, rgba(22,22,22,.16) 1.3px, transparent 1.5px) 0 0 / 11px 11px, var(--stone); }
.row-main { display: grid; gap: 6px; min-width: 0; align-content: start; }
.row h3 { margin: 2px 0 0; font: 600 19px/1.2 var(--display); letter-spacing: -0.02em; }
.row h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.row h3 a:focus-visible { border-radius: 4px; }
.meta { font-size: 14px; color: #55554F; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.meta .stars { color: var(--brass); }
.meta strong { color: var(--ink); font-weight: 600; }
.quote { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: #3B3B37; }
.quote em { font-style: normal; font-weight: 600; color: var(--ink); }
.row-actions { display: flex; gap: 14px; margin-top: 6px; }
.row-actions a, .row-actions button { font: 500 14px/1 var(--body); background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: rgba(22,22,22,.3); text-underline-offset: 4px; }
.row-actions a:hover, .row-actions button:hover { text-decoration-color: var(--ink); }
.row-actions a:focus-visible, .row-actions button:focus-visible { border-radius: 4px; }
@media (max-width: 520px) { .row { grid-template-columns: 72px 1fr; gap: 14px; } .thumb { width: 72px; height: 72px; border-radius: 14px; } .row h3 { font-size: 17.5px; } }

/* 2-up link cards (cross-links between pages) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .pair { grid-template-columns: 1fr; gap: 12px; } }
.tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-tile); overflow: hidden; isolation: isolate; box-shadow: var(--lift-1); transition: transform .5s var(--spring); }
.tile:hover { transform: translateY(-4px); }
.tile:active { transform: translateY(-1px) scale(.99); }
.tile:focus-visible { border-radius: var(--r-tile); }
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: -3; transition: transform .9s var(--ease-out); }
.tile:hover img { transform: scale(1.04); }
.tile-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; color: var(--on-photo); }
.tile-foot h3 { margin: 0; font: 600 22px/1.15 var(--display); letter-spacing: -0.03em; }
.tile-foot p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(241,241,236,.85); max-width: 40ch; }

/* footer */
footer { padding: var(--s-6) var(--gutter) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid rgba(22,22,22,.1); }
.foot-grid h3 { margin: 0 0 12px; font: 500 14px/1 var(--body); color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-grid p { margin: 0; max-width: 42ch; color: #3B3B37; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.giant { font: 700 clamp(48px, 13.4vw, 220px)/.9 var(--brand); text-transform: uppercase; letter-spacing: -0.01em; margin: var(--s-4) 0 var(--s-3); white-space: nowrap; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.legal p { margin: 0; max-width: 90ch; }

@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation: none !important; } }

/* ── text pages (about, contact, privacy): halftone card hero instead of a photo ── */
.doc-hero { margin: 0 var(--gutter); padding: clamp(72px, 12vw, 140px) clamp(22px, 4vw, 48px) clamp(32px, 5vw, 56px); border-radius: var(--r-card);
  background: radial-gradient(circle at 2px 2px, rgba(22,22,22,.15) 1.6px, transparent 1.9px) 0 0 / 16px 16px, radial-gradient(110% 90% at 85% 0%, #F8F8F5 0%, var(--stone-2) 72%); box-shadow: var(--lift-1); }
.doc-hero .crumb { font-size: 14px; color: var(--muted); }
.doc-hero .crumb a { text-decoration: underline; text-decoration-color: rgba(22,22,22,.3); text-underline-offset: 3px; }
.doc-hero h1 { margin: 14px 0 12px; font: 600 clamp(38px, 5vw, 72px)/1.02 var(--display); letter-spacing: -0.045em; max-width: 16ch; text-wrap: balance; }
.doc-hero p { margin: 0; max-width: 56ch; font-size: 17.5px; line-height: 1.6; color: #3B3B37; }
.doc { padding: var(--s-5) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-4) var(--s-5); max-width: 1240px; }
.doc > h2 { margin: 0; font: 600 clamp(24px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -0.03em; padding-top: 4px; }
.doc > div { padding-bottom: var(--s-4); border-bottom: 1px solid rgba(22,22,22,.1); }
.doc > div:last-child { border-bottom: 0; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; color: #33332F; max-width: 64ch; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 1.2em; }
.doc li { margin: 0 0 8px; }
.doc a:not(.pill) { text-decoration: underline; text-decoration-color: rgba(22,22,22,.3); text-underline-offset: 3px; }
.doc a:not(.pill):hover { text-decoration-color: var(--ink); }
.doc a:not(.pill):focus-visible { border-radius: 4px; }
.doc .src-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.doc .src-list li { display: grid; gap: 6px; margin: 0; }
@media (max-width: 820px) { .doc { grid-template-columns: 1fr; gap: 12px; } .doc > h2 { padding-top: var(--s-2); } }
.updated { padding: var(--s-4) var(--gutter) 0; font-size: 14px; color: var(--muted); }

/* ── forms ── */
.form { display: grid; gap: 18px; max-width: 640px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span, .form fieldset > legend { font: 500 14.5px/1.3 var(--body); color: var(--ink); }
.field small { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(22,22,22,.16); background: #fff; font: 400 16px/1.4 var(--body); color: var(--ink);
  transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(22,22,22,.32); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,22,22,.08); border-radius: 14px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; }
.checks input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.checks span { display: inline-flex; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(22,22,22,.14); background: #fff; font: 500 14px/1 var(--body); transition: transform .4s var(--spring); }
.checks label:hover span { border-color: rgba(22,22,22,.4); }
.checks label:active span { transform: scale(.96); }
.checks input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.checks input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-foot small { font-size: 13px; color: var(--muted); max-width: 46ch; line-height: 1.5; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; }
.form-status[data-kind="ok"] { color: var(--comm); }
.form-status[data-kind="error"] { color: #A33A2B; }
.form button[type="submit"]:disabled { opacity: .6; cursor: progress; }
.form-off { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--stone); color: #3B3B37; font-size: 15px; max-width: 640px; }
.form-off[hidden], .form[hidden] { display: none; }
.foot-grid .foot-links, .foot-links { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; }
.foot-links a { text-decoration: underline; text-decoration-color: rgba(22,22,22,.25); text-underline-offset: 3px; }
.foot-links a:hover { text-decoration-color: var(--ink); }
