/* Brand tokens carried over from the Base44 theme (index.css). */
:root {
  --teal: hsl(176 30% 29%);
  --teal-dark: hsl(180 24% 22%);
  --coral: hsl(8 70% 59%);
  --coral-ink: hsl(8 62% 44%);
  --cream: hsl(35 44% 89%);
  --cream-light: hsl(38 46% 95%);
  --bg: #ffffff;
  --surface: var(--cream-light);
  --ink: hsl(180 24% 18%);
  --muted: hsl(180 8% 38%);
  --line: hsl(176 12% 85%);
  --focus: hsl(8 70% 50%);
  --t1: hsl(176 45% 34%); --t2: hsl(40 70% 45%); --t3: hsl(22 75% 50%); --t4: hsl(0 60% 48%);
  --c1: hsl(176 45% 32%); --c2: hsl(262 38% 48%); --c3: hsl(8 70% 52%);
  --radius: 10px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: hsl(180 22% 10%); --surface: hsl(180 20% 14%); --ink: hsl(35 40% 90%); --muted: hsl(35 15% 70%);
    --line: hsl(180 15% 24%); --coral-ink: hsl(8 80% 70%); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: hsl(180 22% 10%); --surface: hsl(180 20% 14%); --ink: hsl(35 40% 90%); --muted: hsl(35 15% 70%);
  --line: hsl(180 15% 24%); --coral-ink: hsl(8 80% 70%); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); }
body.has-tray { padding-bottom: 76px; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--coral-ink); margin-bottom: .6em; }
.sample-note { font-size: .85rem; color: var(--muted); margin-top: .6em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent; font: 600 .98rem var(--font-head); text-decoration: none; cursor: pointer; transition: filter .15s, background .15s; }
.btn-accent { background: var(--coral); color: #fff; }
.btn-accent:hover { filter: brightness(1.07); }
.btn-primary { background: var(--teal); color: var(--cream); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: var(--teal); color: var(--ink); background: transparent; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-text { background: none; border: 0; padding: 6px 0; font: 600 .95rem var(--font-head); color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-text { color: var(--cream); } :root:not([data-theme="light"]) .btn-outline { border-color: var(--cream); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--teal); color: var(--cream); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand img + .wordmark { display: none; }
.wordmark { font: 600 1.35rem var(--font-display); color: var(--cream); }
.primary-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-split { display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 10px; color: var(--cream); text-decoration: none; font: 600 .95rem var(--font-head); border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link[aria-current] { border-bottom-color: var(--coral); }
.menu-toggle { background: none; border: 0; color: var(--cream); padding: 8px 6px; cursor: pointer; display: flex; }
.menu-toggle svg { transition: transform .15s; }
.has-menu.open .menu-toggle svg { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 290px; list-style: none; margin: 0; padding: 8px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px -12px rgba(20,40,40,.35); display: none; }
.has-menu.open .submenu { display: block; }
@media (hover: hover) and (min-width: 1000px) { .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: block; } }
.submenu a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; }
.submenu a:hover { background: var(--surface); }
.submenu strong { display: block; font: 600 .95rem var(--font-head); }
.submenu span { font-size: .85rem; color: var(--muted); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; }
@media (max-width: 999px) {
  .burger { display: block; }
  .menu-toggle { padding: 14px; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--teal); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-open .primary-nav { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-split { justify-content: space-between; }
  .nav-link { padding: 14px 0; font-size: 1.05rem; }
  .submenu { position: static; min-width: 0; background: transparent; color: var(--cream); border: 0; box-shadow: none; padding: 0 0 8px 12px; }
  .submenu span { color: rgba(239,228,213,.7); }
  .submenu a:hover { background: rgba(255,255,255,.08); }
  .nav-cta { margin-top: 12px; }
}

/* photos with graceful fallback */
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.photo::after { content: attr(data-label); position: absolute; left: 14px; bottom: 10px; font-size: .8rem; color: rgba(239,228,213,.8); }
.photo:has(img)::after { content: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* hero */
.hero { position: relative; color: #fff; min-height: 420px; display: flex; align-items: flex-end; }
.hero-tall { min-height: min(78vh, 680px); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo::after { content: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, hsla(180,24%,14%,.88) 0%, hsla(180,24%,14%,.55) 55%, hsla(180,24%,14%,.2) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 64px; width: 100%; }
.hero h1 { max-width: 16ch; color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero .kicker { color: var(--cream); }

/* bands */
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-soft { background: var(--surface); }
.band-cta { background: var(--teal); color: var(--cream); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-row p { max-width: 56ch; margin: 0; color: rgba(239,228,213,.85); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; color: var(--coral-ink); }
.page-head { padding-top: 40px; padding-bottom: 8px; }

.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--teal); }
.path { padding: 28px 28px 32px 0; text-decoration: none; border-right: 1px solid var(--line); padding-left: 28px; }
.path:first-of-type { padding-left: 0; }
.path:last-child { border-right: 0; }
.path h3 { font-size: 1.5rem; font-family: var(--font-display); font-weight: 600; }
.path p { color: var(--muted); }
.more { font: 600 .95rem var(--font-head); color: var(--coral-ink); text-decoration: underline; text-underline-offset: 4px; }
.path:hover h3 { color: var(--coral-ink); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } .path { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split-photo { aspect-ratio: 4/3; border-radius: var(--radius); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.region { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; min-height: 260px; }
.region .photo { position: absolute; inset: 0; }
.region > div:last-child { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(0deg, hsla(180,24%,12%,.85), transparent); }
.region h3 { font: 600 1.8rem var(--font-display); margin: 0; }
.region p { margin: 0; color: rgba(255,255,255,.85); }
@media (max-width: 700px) { .regions { grid-template-columns: 1fr; } }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 22px; border-left: 3px solid var(--coral); background: var(--bg); }
.quote blockquote { margin: 0 0 12px; font: 1.1rem/1.5 var(--font-display); }
.quote figcaption { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { display: flex; flex-direction: column; padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.service:hover, .service:focus-visible { transform: translateY(-3px); border-color: hsla(176,30%,29%,.45); box-shadow: 0 20px 40px -24px rgba(20,40,40,.45); }
.service-lead { grid-column: span 2; background: var(--teal); border-color: var(--teal); color: var(--cream); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); margin-bottom: 16px; }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-lead .service-icon { background: rgba(239,228,213,.16); }
.service-lead .service-icon svg { stroke: var(--cream); }
.service h3 { font: 600 1.35rem/1.2 var(--font-display); margin-bottom: 8px; }
.service-lead h3 { font-size: 1.9rem; }
.service p { margin: 0 0 18px; color: var(--muted); flex: 1; line-height: 1.55; }
.service-lead p { color: rgba(239,228,213,.85); font-size: 1.1rem; max-width: 46ch; }
.service-more { display: inline-flex; align-items: center; gap: 8px; font: 700 .85rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--teal); }
.service-lead .service-more { color: hsl(8 80% 74%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .service-more { color: var(--cream); } }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr 1fr; } .service-lead { grid-column: span 2; } .service-lead h3 { font-size: 1.5rem; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } .service-lead { grid-column: span 1; } }
@media (prefers-reduced-motion: reduce) { .service:hover { transform: none; } }
.article-list { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 40px; counter-reset: a; }
.article-list li { break-inside: avoid; border-bottom: 1px solid var(--line); counter-increment: a; }
.article-list a { display: flex; gap: 14px; padding: 14px 0; text-decoration: none; font-weight: 600; }
.article-list a::before { content: counter(a); color: var(--coral-ink); font-family: var(--font-display); min-width: 1.4em; }
.article-list a:hover { color: var(--coral-ink); }

/* breadcrumbs, prose */
.crumbs { padding-top: 20px; font-size: .9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.prose { padding-top: 28px; padding-bottom: 64px; max-width: 780px; }
.prose-wide p { max-width: 70ch; }
.steps { padding-left: 1.4em; margin: 28px 0; }
.steps li { padding: 6px 0 10px; }
.steps li::marker { font: 600 1.3rem var(--font-display); color: var(--coral-ink); }
.steps h2 { font-size: 1.2rem; margin: 0 0 4px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 18px; }
.pager a { text-decoration: none; font-weight: 600; max-width: 45%; }
.pager a span { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }
.pager .next { text-align: right; }

/* explorer */
.filters-bar { position: sticky; top: 72px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); margin-top: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.filters .search { flex: 1 1 200px; }
.filters input, .filters select, .picker select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--bg); color: var(--ink); padding: 0 14px; min-height: 40px; font: 600 .9rem var(--font-head); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--teal); color: var(--cream); }
@media (max-width: 700px) { .filters-bar { position: static; } .filters > label { flex: 1 1 45%; } }
.count { color: var(--muted); margin: 18px 0 14px; }
.hood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin-bottom: 40px; }
.hood-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
.hood-card-link { text-decoration: none; display: block; flex: 1; }
.card-photo { aspect-ratio: 16/10; }
.hood-card-body { padding: 16px 18px 12px; }
.hood-card h3 { font-size: 1.35rem; margin: 2px 0 4px; }
.hood-card-link:hover h3 { color: var(--coral-ink); }
.hood-region { font-size: .85rem; color: var(--muted); margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag { background: var(--surface); padding: 1px 8px; border-radius: 99px; }
.hood-tag { color: var(--muted); font-size: .95rem; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.mini-stats dt { font-size: .75rem; color: var(--muted); }
.mini-stats dd { margin: 0; font: 700 1rem var(--font-head); }
.compare-toggle { margin: 0 18px 16px; align-self: flex-start; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 99px; padding: 7px 14px; font: 600 .85rem var(--font-head); cursor: pointer; }
.compare-toggle[aria-pressed="true"], .compare-toggle-lg[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.ct-on { display: none; }
[aria-pressed="true"] > .ct-on { display: inline; }
[aria-pressed="true"] > .ct-add { display: none; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); margin-bottom: 40px; }
.empty p { color: var(--muted); }

/* maps */
.map-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.map-panel svg { display: block; width: 100%; height: auto; }
.map-bg { fill: var(--surface); }
.map-line { stroke: var(--muted); stroke-width: 3; stroke-dasharray: 7 6; }
.map-line.t1 { stroke: var(--t1); } .map-line.t2 { stroke: var(--t2); } .map-line.t3 { stroke: var(--t3); } .map-line.t4 { stroke: var(--t4); }
.map-line.c1 { stroke: var(--c1); stroke-dasharray: none; } .map-line.c2 { stroke: var(--c2); stroke-dasharray: none; } .map-line.c3 { stroke: var(--c3); stroke-dasharray: none; }
.map-pt { fill: var(--coral); stroke: var(--bg); stroke-width: 3; }
.map-pt.is-home { fill: var(--teal); }
.map-pt.c1 { fill: var(--c1); } .map-pt.c2 { fill: var(--c2); } .map-pt.c3 { fill: var(--c3); }
.map-dest { fill: var(--ink); }
.map-panel svg { max-height: 560px; }
.map-label { font: 600 17px var(--font-head); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; }
.map-label-dest { font-weight: 500; fill: var(--muted); }
.map-time { font: 700 15px var(--font-head); fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.map-num { font: 700 14px var(--font-head); fill: #fff; text-anchor: middle; }
.map-link:hover .map-pt { fill: var(--teal); }
.map-link:hover .map-label { text-decoration: underline; }
.map-note { font-size: .85rem; color: var(--muted); padding: 0 14px; }

/* detail */
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 20px; }
.detail-head .lead { margin: 0; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.compare-toggle-lg { border-color: var(--teal); }
.detail-photo { aspect-ratio: 21/8; border-radius: var(--radius); }
@media (max-width: 700px) { .detail-photo { aspect-ratio: 4/3; } }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 36px; padding-bottom: 56px; }
.detail-main section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.detail-main section:last-child { border-bottom: 0; }
.take { border-left: 3px solid var(--coral); padding-left: 20px; }
.take p { font: 1.2rem/1.55 var(--font-display); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); padding: 5px 12px; border-radius: 99px; font-size: .9rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; margin: 0; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font: 700 1.15rem var(--font-head); }
.detail-aside { position: relative; }
.aside-card { position: sticky; top: 96px; padding: 22px; background: var(--surface); border-radius: var(--radius); display: grid; gap: 10px; justify-items: start; }
.aside-card h2 { font-size: 1.2rem; margin: 0; }
.aside-card p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; gap: 0; } .aside-card { position: static; } }

/* compare */
.picker { margin: 12px 0 20px; }
.picker-label { display: grid; gap: 6px; font-weight: 600; max-width: 380px; }
.picker-full, .selected-one { color: var(--muted); }
.compare-tools { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table tbody th { font-weight: 500; color: var(--muted); width: 190px; }
.compare-table thead th { font-family: var(--font-head); vertical-align: bottom; background: var(--surface); }
.compare-table thead a { display: block; font-size: 1.15rem; color: var(--ink); }
.col-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: .75rem; margin-bottom: 6px; background: var(--c1); }
th:nth-child(3) .col-num, .col-num.c2 { background: var(--c2); } th:nth-child(4) .col-num, .col-num.c3 { background: var(--c3); }
.facts dt .col-num { margin: 0 4px 0 0; width: 18px; height: 18px; font-size: .7rem; vertical-align: middle; }
.col-sub { display: block; font: 400 .85rem var(--font-body); color: var(--muted); }
.compare-table tr.group th { background: var(--bg); color: var(--ink); font: 700 .95rem var(--font-head); padding-top: 20px; }
.compare-table td { font-weight: 600; }
.is-best { background: hsla(176, 30%, 29%, .08); }
.best-tag { display: block; font: 600 .75rem var(--font-head); color: var(--teal); margin-top: 2px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .best-tag { color: var(--cream); } }
.take-cell { font: 400 .92rem/1.5 var(--font-body); color: var(--muted); }
.compare-map { margin-top: 36px; }
.compare-map .seg { margin-bottom: 12px; flex-wrap: wrap; }
.next-steps { margin: 40px 0 56px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.next { text-align: left; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: 18px; cursor: pointer; font: inherit; }
.next strong { display: block; font: 700 1.05rem var(--font-head); margin-bottom: 4px; }
.next span { color: var(--muted); font-size: .95rem; }
.next:hover { border-color: var(--teal); }
.next-accent { background: var(--coral); border-color: var(--coral); color: #fff; }
.next-accent span { color: rgba(255,255,255,.9); }
@media (max-width: 760px) { .next-grid { grid-template-columns: 1fr; } }

/* forms */
.form-page { padding-top: 24px; padding-bottom: 64px; max-width: 760px; }
.form-page.with-aside { max-width: var(--wrap); display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr; gap: 48px; }
@media (max-width: 860px) { .form-page.with-aside { grid-template-columns: 1fr; } }
.contact-aside { background: var(--surface); padding: 24px; border-radius: var(--radius); align-self: start; margin-top: 16px; }
.contact-aside h2 { font-size: 1.2rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 16px; }
.field { grid-column: span 2; display: grid; gap: 6px; }
.field.half { grid-column: span 1; }
@media (max-width: 560px) { .field.half { grid-column: span 2; } }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
.field textarea { min-height: 0; resize: vertical; }
[aria-invalid="true"] { border-color: var(--t4) !important; box-shadow: 0 0 0 1px var(--t4); }
.form-error { color: var(--t4); font-weight: 600; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.hp { position: absolute; left: -9999px; }
.form-done { padding: 24px; border-radius: var(--radius); background: var(--surface); border-left: 4px solid var(--teal); margin-top: 20px; }
.form-done, .form-done h3, .form-done p { color: var(--teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-done, :root:not([data-theme="light"]) .form-done h3, :root:not([data-theme="light"]) .form-done p { color: var(--ink); } }
:root[data-theme="dark"] .form-done, :root[data-theme="dark"] .form-done h3, :root[data-theme="dark"] .form-done p { color: var(--ink); }
.payload summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); }
.payload pre { font-size: .8rem; overflow-x: auto; background: var(--bg); padding: 12px; border-radius: 6px; border: 1px solid var(--line); }

/* team: each person expands */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.member { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.member[open], .member:hover { border-color: hsla(176,30%,29%,.45); box-shadow: 0 18px 38px -24px rgba(20,40,40,.4); }
.member summary { list-style: none; cursor: pointer; display: block; }
.member summary::-webkit-details-marker { display: none; }
.member-photo { aspect-ratio: 4/5; margin: 0; }
.member-name { display: block; padding: 16px 20px 0; }
.member-h2 { display: block; font: 600 1.35rem var(--font-display); }
.role { display: block; color: var(--coral-ink); font-weight: 600; font-size: .95rem; }
.member-toggle { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 20px 18px; font: 700 .85rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--teal); }
.member-toggle svg { transition: transform .2s; }
.member[open] .member-toggle svg { transform: rotate(180deg); }
.member .mt-close, .member[open] .mt-open { display: none; }
.member[open] .mt-close { display: inline; }
.member > p { margin: 0; padding: 0 20px 22px; color: var(--muted); line-height: 1.65; }
.member summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .member-toggle { color: var(--cream); } }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; gap: 16px; } .member summary { display: grid; grid-template-columns: 110px 1fr; align-items: center; } .member-photo { aspect-ratio: 1; height: 100%; } .member-name { padding: 12px 16px 0; } .member-toggle { padding: 6px 16px 14px; } .member > p { padding: 0 16px 18px; } }

/* footer */
.site-footer { background: var(--teal-dark); color: var(--cream); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: rgba(239,228,213,.8); text-decoration: none; font-size: .95rem; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-h { font-size: 1rem; margin-bottom: 12px; }
.wordmark-lg { font: 600 1.6rem var(--font-display); margin-bottom: .3em; }
.foot-brand p { color: rgba(239,228,213,.75); }
.foot-legal { border-top: 1px solid rgba(239,228,213,.15); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(239,228,213,.6); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-legal a { color: inherit; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }

/* compare tray, modal, toast */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--bg); border-top: 2px solid var(--teal); box-shadow: 0 -10px 30px -12px rgba(20,40,40,.3); }
.tray-row { display: flex; align-items: center; gap: 14px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.tray-label { margin: 0; font: 700 .95rem var(--font-head); }
.tray-items { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.tray-items li { display: flex; align-items: center; gap: 4px; background: var(--surface); border-radius: 99px; padding: 4px 4px 4px 12px; font-size: .9rem; font-weight: 600; }
.tray-items button { border: 0; background: none; color: var(--muted); font-size: 1.2rem; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; line-height: 1; }
.tray-items .tray-empty { background: none; border: 1px dashed var(--line); color: var(--muted); font-weight: 400; padding: 4px 12px; }
.tray-actions { display: flex; gap: 12px; align-items: center; }
.tray-go.is-disabled { background: var(--line); color: var(--muted); }
@media (max-width: 600px) { .tray-label, .tray-empty { display: none !important; } .tray-go { min-height: 40px; padding: 0 14px; font-size: .9rem; } }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,30,30,.55); }
.modal-card { position: relative; width: min(540px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg); border-radius: 14px; padding: 28px; border-top: 5px solid var(--coral); }
.modal-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; width: 40px; height: 40px; }
.modal-hoods { font-weight: 600; color: var(--teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .modal-hoods { color: var(--cream); } }
.toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: .95rem; max-width: calc(100% - 32px); }
.not-found { padding-top: 72px; padding-bottom: 96px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.region .photo::after { content: none; }
.compare-table tbody th, .compare-table thead td { position: sticky; left: 0; z-index: 1; background: var(--bg); }
.compare-table thead td { background: var(--surface); }
@media (max-width: 700px) { .compare-table { min-width: 560px; } .compare-table tbody th { width: 118px; font-size: .9rem; } .compare-table th, .compare-table td { padding: 10px 12px; } .map-label { font-size: 14px; } }

/* ---------- home page, matched to the Base44 layout ---------- */
.eyebrow { font: 700 .9rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: .8em; }
.h2-lg { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.body-lg { font-size: 1.15rem; color: var(--muted); line-height: 1.75; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.btn .arrow { flex: none; }
.center-head { text-align: center; margin-bottom: 40px; }

.hero-center { align-items: center; justify-content: center; text-align: center; min-height: min(86vh, 760px); }
.hero-center::before { background: hsla(180, 24%, 14%, .55); }
.hero-center .hero-inner { display: flex; flex-direction: column; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-place { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin-bottom: 28px; }
.hero-center h1 { max-width: none; font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 700; line-height: 1.02; color: var(--cream); margin-bottom: .45em; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.hero-tagline { font: 500 clamp(1.2rem, 2.4vw, 1.9rem) var(--font-display); color: var(--cream); margin-bottom: 44px; text-shadow: 0 1px 8px rgba(0,0,0,.3); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.guide-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.guide-card:hover { border-color: hsla(176, 30%, 29%, .45); box-shadow: 0 18px 40px -18px rgba(20,40,40,.35); }
.guide-num { position: absolute; top: -14px; right: -4px; font: 700 7rem/1 var(--font-display); color: hsla(176, 30%, 29%, .07); pointer-events: none; }
.guide-bar { width: 40px; height: 4px; border-radius: 4px; background: var(--coral); margin-bottom: 26px; }
.guide-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.guide-card p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; flex: 1; margin-bottom: 26px; }
.guide-more { display: inline-flex; align-items: center; gap: 10px; font: 700 .95rem var(--font-head); text-transform: uppercase; letter-spacing: .03em; color: var(--teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .guide-more { color: var(--cream); } }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } }

.region { min-height: 320px; border-radius: 22px; }
.region .region-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; background: linear-gradient(0deg, hsla(180,24%,14%,.85) 0%, hsla(180,24%,14%,.45) 55%, hsla(180,24%,14%,.15) 100%); }
.region-label { font: 500 .9rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(239,228,213,.8); margin: 0 0 6px; }
.region h3 { font: 700 clamp(1.6rem, 3vw, 2.2rem) var(--font-head); color: var(--cream); margin: 0 0 10px; }
.region .region-text > p:not(.region-label) { color: rgba(239,228,213,.88); max-width: 44ch; margin: 0 0 20px; font-size: 1.05rem; }
.region-cta { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--font-head); text-transform: uppercase; letter-spacing: .03em; color: hsl(8 80% 68%); }

.rating { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; margin: 0; }
.stars { color: #f2b632; letter-spacing: 2px; font-size: 1.3rem; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; padding: 4px 12px; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }
.review { margin: 0; width: min(400px, 82vw); flex: none; display: flex; flex-direction: column; padding: 32px; border-radius: 18px; background: var(--surface); }
.review .stars { font-size: 1.2rem; margin-bottom: 8px; }
.review-mark { font: 700 3.4rem/0.8 var(--font-display); color: hsla(8, 70%, 59%, .35); height: 34px; }
.review blockquote { margin: 0 0 22px; flex: 1; font-size: 1.05rem; line-height: 1.65; }
.review figcaption { border-top: 1px solid var(--line); padding-top: 16px; }
.review figcaption strong { display: block; font-family: var(--font-head); }
.review figcaption span { font-size: .92rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-track > [aria-hidden="true"] { display: none; }
}

/* ---------- homes: quick search, IDX results ---------- */
.quick-search { display: grid; grid-template-columns: 2fr 1fr 1fr 0.8fr auto; gap: 12px; align-items: end; background: var(--bg); padding: 18px; border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(20,40,40,.45); border: 1px solid var(--line); }
.quick-search label { display: grid; gap: 4px; font: 600 .8rem var(--font-head); color: var(--muted); }
.quick-search input, .quick-search select { min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: 400 1rem var(--font-body); width: 100%; }
.quick-search .btn { min-height: 48px; }
.home-search { position: relative; z-index: 3; margin-top: -48px; margin-bottom: 8px; }
@media (max-width: 860px) { .quick-search { grid-template-columns: 1fr 1fr; } .qs-where, .quick-search .btn { grid-column: span 2; } .home-search { margin-top: -32px; } }
.hero-center .hero-inner { padding-bottom: 120px; }

.idx-filters label { flex: 1 1 120px; }
.idx-filters .search { flex: 2 1 220px; }
.idx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-bottom: 32px; }
.listing-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.listing-row .l-card { scroll-snap-align: start; }
.l-card { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; background: var(--bg); }
.l-card:hover { border-color: var(--teal); }
.l-photo { aspect-ratio: 4/3; }
.l-tag { position: absolute; top: 10px; left: 10px; background: var(--bg); color: var(--ink); font: 700 .78rem var(--font-head); padding: 4px 10px; border-radius: 99px; }
.l-ours { background: var(--coral); color: #fff; }
.l-body { padding: 14px 16px 16px; }
.l-price { font: 700 1.35rem var(--font-head); margin: 0 0 2px; }
.l-facts { margin: 0 0 6px; font-weight: 600; font-size: .95rem; }
.l-addr { margin: 0 0 8px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.l-courtesy { margin: 0; font-size: .78rem; color: var(--muted); }
.idx-note { font-size: .8rem; color: var(--muted); max-width: 90ch; margin: 8px auto 40px; }
.idx-detail { padding-top: 20px; padding-bottom: 20px; }
.idx-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.idx-photo { aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 20px; }
.idx-addr { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 4px; }
.idx-detail h2 { font-size: 1.3rem; margin-top: 32px; }
.idx-detail-grid aside .aside-card { top: 96px; }
.similar { margin-top: 48px; }
@media (max-width: 900px) { .idx-detail-grid { grid-template-columns: 1fr; } }

/* ---------- our listings: editorial story pages ---------- */
.stories { display: grid; gap: 28px; padding-bottom: 56px; }
.story-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; text-decoration: none; border-radius: 18px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.story-card:hover h3 { color: var(--coral-ink); }
.story-photo { min-height: 340px; }
.story-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.story-body h3 { font: 600 clamp(1.7rem, 3vw, 2.4rem)/1.12 var(--font-display); margin-bottom: 12px; }
.story-body p { color: var(--muted); }
.story-meta { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .9rem; }
.story-facts { font-weight: 600; color: var(--ink) !important; margin: 0; }
.status { display: inline-block; font: 700 .75rem var(--font-head); padding: 3px 10px; border-radius: 99px; background: var(--teal); color: var(--cream); letter-spacing: .02em; }
.status-pending { background: hsl(40 70% 42%); } .status-sold { background: var(--coral-ink); }
@media (max-width: 800px) { .story-card { grid-template-columns: 1fr; } .story-photo { min-height: 240px; } }

.story { padding-bottom: 24px; }
.story-head { text-align: center; padding-top: 56px; padding-bottom: 36px; max-width: 980px; }
.story-kicker { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: center; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.story-head h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.02; margin-bottom: 20px; }
.story-dek { font: 400 clamp(1.15rem, 2vw, 1.45rem)/1.5 var(--font-display); color: var(--muted); max-width: 40ch; margin: 0 auto 20px; }
.story-price { font: 700 1.2rem var(--font-head); margin: 0; }
.story-hero { margin: 0; }
.story-hero .photo { height: min(78vh, 760px); }
.story-hero figcaption, .story-figure figcaption { font-size: .82rem; color: var(--muted); padding-top: 8px; }
.story-facts-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 28px auto 8px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.story-facts-bar div { padding: 14px 12px; border-right: 1px solid var(--line); }
.story-facts-bar div:last-child { border-right: 0; }
.story-facts-bar dt { font-size: .8rem; color: var(--muted); }
.story-facts-bar dd { margin: 2px 0 0; font: 700 1.1rem var(--font-head); }
@media (max-width: 800px) { .story-facts-bar { grid-template-columns: repeat(3, 1fr); } .story-facts-bar div:nth-child(3) { border-right: 0; } .story-facts-bar div:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
.story-body-col { max-width: 700px; margin: 0 auto; padding: 40px clamp(18px, 4vw, 32px) 24px; }
.story-body-col p { font: 400 1.2rem/1.75 var(--font-display); }
.story-lede { font-size: 1.4rem !important; line-height: 1.65 !important; }
.story-lede::first-letter { float: left; font: 600 4.6rem/0.82 var(--font-display); margin: 8px 12px 0 0; color: var(--teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .story-lede::first-letter { color: var(--cream); } }
.story-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 28px 0 12px; font-family: var(--font-body) !important; }
.chapter { margin-top: 48px; }
.chapter h2 { font: 700 .95rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 14px; }
.pull { margin: 36px 0 8px; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font: 500 clamp(1.5rem, 3vw, 2.1rem)/1.3 var(--font-display); text-align: center; }
.story-figure { margin: 44px 0 0; }
.story-figure.wide { margin-left: calc(50% - min(48vw, 560px)); margin-right: calc(50% - min(48vw, 560px)); }
.story-figure .photo { aspect-ratio: 3/2; border-radius: 6px; }
.feature-list { columns: 2 220px; column-gap: 32px; padding: 0; list-style: none; margin: 0; }
.feature-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.detail-table { margin: 0; }
.detail-table div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-table dt { color: var(--muted); } .detail-table dd { margin: 0; font-weight: 600; }
.story-wide { padding-top: 56px; }
.story-wide h2 { font: 600 clamp(1.8rem, 3.5vw, 2.6rem) var(--font-display); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { margin: 0; } .plan .photo { aspect-ratio: 4/3; border-radius: 8px; background: var(--surface); }
.plan .photo img { object-fit: contain; }
.plan figcaption { font-weight: 600; padding-top: 8px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.video { border-radius: 12px; background: var(--teal-dark); color: var(--cream); aspect-ratio: 16/9; display: grid; place-items: center; text-align: center; padding: 24px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { border: 0; padding: 0; cursor: zoom-in; background: none; border-radius: 6px; overflow: hidden; }
.gallery-item .photo { aspect-ratio: 3/2; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item:first-child .photo { aspect-ratio: auto; height: 100%; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.story-area { background: var(--surface); margin-top: 64px; padding: 64px 0; }
.story-area-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.story-area h2 { font: 600 clamp(1.8rem, 3.5vw, 2.6rem)/1.1 var(--font-display); }
.favorites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.favorite .photo { aspect-ratio: 1; border-radius: 8px; margin-bottom: 10px; }
.favorite h3 { font-size: 1.05rem; margin-bottom: 4px; } .favorite p { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .story-area-inner, .favorites { grid-template-columns: 1fr; } }
.story-contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.agent-card { background: var(--teal); color: var(--cream); padding: 32px; border-radius: 16px; align-self: start; }
.agent-card .eyebrow { color: var(--cream); opacity: .8; }
.agent-card a { color: var(--cream); }
@media (max-width: 860px) { .story-contact { grid-template-columns: 1fr; } }
.modal-wide .modal-card { width: min(1100px, 100%); padding: 16px; border-top: 0; }
.lb-photo { aspect-ratio: 3/2; border-radius: 8px; }
.lb-photo img { object-fit: contain; background: #111; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px 0; }
@media (max-width: 600px) { .hero-place { letter-spacing: .08em; font-size: .85rem; } .btn-lg { font-size: .95rem; padding: 0 22px; } }
.video { max-width: 900px; margin: 0 auto; }
.nav-cta { white-space: nowrap; }

/* real photos and logo */
.brand img { height: 44px; width: auto; }
.foot-logo { height: 60px; width: auto; margin-bottom: 14px; }
.member-photo img { object-position: 50% 22%; }
.split-photo img { object-position: 50% 30%; }
.agent-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; margin-bottom: 16px; border: 3px solid rgba(239,228,213,.4); }
.hero-photo img { object-position: 50% 28%; }
.home-search { margin-bottom: 0; padding-bottom: 8px; background: linear-gradient(transparent 48px, var(--surface) 48px); }
@media (max-width: 860px) { .home-search { background: linear-gradient(transparent 32px, var(--surface) 32px); } }
[data-section="about"] .hero h1 { max-width: none; }

/* ---------- articles ---------- */
.a-card { display: flex; flex-direction: column; text-decoration: none; }
.a-photo { aspect-ratio: 3/2; border-radius: 10px; margin-bottom: 14px; }
.a-meta { font-size: .88rem; color: var(--muted); margin: 0 0 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.a-cat { font: 700 .8rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.a-card h3 { font: 600 1.4rem/1.2 var(--font-display); margin-bottom: 8px; }
.a-card:hover h3 { color: var(--coral-ink); }
.a-dek { color: var(--muted); margin-bottom: 8px; }
.a-by { font-size: .88rem; color: var(--muted); margin: 0; }
.a-lead { margin: 8px 0 36px; }
.a-card-big { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.a-card-big .a-photo { margin: 0; }
.a-card-big h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.a-card-big .a-dek { font: 400 1.2rem/1.5 var(--font-display); }
@media (max-width: 800px) { .a-card-big { grid-template-columns: 1fr; gap: 16px; } }
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips-filter button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 99px; padding: 8px 16px; font: 600 .9rem var(--font-head); cursor: pointer; }
.chips-filter button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 28px; padding-bottom: 48px; }
.a-grid .a-dek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.article-head { max-width: 820px; text-align: center; padding-top: 48px; padding-bottom: 32px; }
.article-kicker { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.article-kicker a { font: 700 .85rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); text-decoration: none; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.06; margin-bottom: 16px; }
.byline { display: inline-flex; align-items: center; gap: 12px; text-align: left; margin-top: 8px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline p { margin: 0; font-weight: 600; line-height: 1.35; }
.byline-sub { font-weight: 400; font-size: .9rem; color: var(--muted); }
.article-hero { margin: 0 auto; }
.article-hero .photo { aspect-ratio: 2/1; border-radius: 10px; }
.article-hero figcaption, .article-figure figcaption { font-size: .82rem; color: var(--muted); padding-top: 8px; }
.article-body { max-width: 700px; margin: 0 auto; padding: 36px clamp(18px, 4vw, 32px) 56px; }
.article-body > p, .article-body li { font: 400 1.18rem/1.75 var(--font-display); }
.article-body > p:first-of-type:not(.published-in) { font-size: 1.35rem; line-height: 1.65; }
.article-body h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.article-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.article-body a { color: var(--coral-ink); }
.article-figure { margin: 32px 0; }
.article-figure .photo { aspect-ratio: 3/2; border-radius: 6px; }
.published-in { font: 600 .95rem var(--font-body) !important; color: var(--muted); border-left: 3px solid var(--coral); padding-left: 14px; }
.article-areas { margin-top: 36px; }
.article-areas p { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.article-areas a { text-decoration: none; }
.article-share { margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.author-card { display: flex; gap: 16px; align-items: center; background: var(--surface); padding: 20px; border-radius: 12px; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-card p { margin: 0; }
.author-name { font: 700 1.1rem var(--font-head); }
.brand { flex: none; }
.brand img { max-width: none; }
.band-soft .cta-row p { color: var(--muted); }
.contact-aside { background: none; padding: 0; display: grid; gap: 16px; }
.book-card { background: var(--teal); color: var(--cream); padding: 26px; border-radius: var(--radius); }
.book-card h2 { font-size: 1.3rem; } .book-card p { color: rgba(239,228,213,.85); }
.contact-details { background: var(--surface); padding: 24px; border-radius: var(--radius); }
.contact-details h2 { font-size: 1.1rem; } .contact-details p:last-child { margin: 0; }
@media (max-width: 860px) { .contact-aside { order: -1; } }

/* drive-time bars */
.bars { display: grid; gap: 12px; margin: 4px 0 8px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; gap: 12px; align-items: center; }
.bar-label { font-size: .95rem; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.bar-track { height: 12px; background: var(--surface); border-radius: 99px; overflow: hidden; }
.bar { display: block; height: 100%; border-radius: 99px; background: var(--teal); }
.bar.t1 { background: var(--t1); } .bar.t2 { background: var(--t2); } .bar.t3 { background: var(--t3); } .bar.t4 { background: var(--t4); }
.bar.c1 { background: var(--c1); } .bar.c2 { background: var(--c2); } .bar.c3 { background: var(--c3); }
.bar-val { font: 700 .95rem var(--font-head); min-width: 58px; text-align: right; }
.bar-label .col-num { margin: 0; flex: none; width: 20px; height: 20px; font-size: .7rem; }
.drive-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; }
.drive-group h3 { font-size: 1rem; margin-bottom: 10px; }
@media (max-width: 520px) { .bar-row { grid-template-columns: 1fr auto; } .bar-label { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bar-row { row-gap: 4px; } .bars { gap: 14px; } }

/* neighborhoods: state chooser */
.chooser { padding-top: 12px; padding-bottom: 72px; }
.chooser-q { font: 600 clamp(1.8rem, 4vw, 2.6rem) var(--font-display); margin-bottom: 24px; }
.state-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.state-card { display: flex; flex-direction: column; gap: 6px; padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: var(--bg); transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 200px; }
.state-card:hover, .state-card:focus-visible { border-color: var(--teal); box-shadow: 0 18px 40px -20px rgba(20,40,40,.4); transform: translateY(-2px); }
.state-title { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--font-head); }
.state-sub { color: var(--muted); font-size: 1.05rem; flex: 1; }
.state-note { display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--coral-ink); margin-top: 16px; }
.state-card:nth-child(3) { background: var(--surface); border-style: dashed; }
.chooser-note { color: var(--muted); margin-top: 22px; }
@media (max-width: 800px) { .state-cards { grid-template-columns: 1fr; } .state-card { min-height: 0; padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .state-card:hover { transform: none; } }
.review-src { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.review-strip h2 { margin-bottom: 20px; }
.review-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-row .review { width: auto; }

/* ---------- neighborhood quiz ---------- */
.quiz { max-width: 860px; padding-top: 24px; padding-bottom: 72px; }
.quiz-intro { padding: 32px 0; }
.quiz-intro h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.quiz-fine { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.quiz-progress { height: 6px; background: var(--surface); border-radius: 99px; overflow: hidden; margin: 12px 0 18px; }
.quiz-progress span { display: block; height: 100%; background: var(--coral); border-radius: 99px; transition: width .3s; }
.quiz-count { font: 600 .9rem var(--font-head); color: var(--muted); margin-bottom: 8px; }
.quiz-q { font: 600 clamp(1.8rem, 4vw, 2.6rem)/1.15 var(--font-display); margin-bottom: 24px; outline: none; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quiz-options.many { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.quiz-opt { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; min-height: 84px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: var(--teal); box-shadow: 0 14px 30px -18px rgba(20,40,40,.4); transform: translateY(-1px); }
.quiz-opt[aria-pressed="true"] { border-color: var(--teal); background: var(--surface); }
.qo-label { font: 700 1.1rem/1.3 var(--font-head); }
.qo-sub { color: var(--muted); font-size: .95rem; }
.quiz-back { margin-top: 20px; }
@media (max-width: 600px) { .quiz-options, .quiz-options.many { grid-template-columns: 1fr; } .quiz-opt { min-height: 0; padding: 16px 18px; } }
@media (prefers-reduced-motion: reduce) { .quiz-opt:hover { transform: none; } .quiz-progress span { transition: none; } }
.quiz-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 24px; }
.qr-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; background: var(--bg); }
.qr-top { border: 2px solid var(--teal); background: var(--surface); }
.qr-rank { font: 700 .8rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 6px; }
.qr-card h3 { font: 600 1.7rem/1.1 var(--font-display); margin-bottom: 4px; }
.qr-region { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.qr-tag { margin-bottom: 12px; }
.qr-why-h { font: 700 .85rem var(--font-head); margin-bottom: 4px; }
.qr-why { margin: 0 0 16px; padding-left: 1.1em; color: var(--muted); font-size: .95rem; flex: 1; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; }
.qr-actions .compare-toggle { margin: 0; }
.quiz-next { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.quiz-nudge { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding: 20px 24px; border-radius: 14px; background: var(--teal); color: var(--cream); text-decoration: none; }
.quiz-nudge .state-note { margin: 0; color: hsl(8 80% 72%); }
.quiz-nudge:hover { background: var(--teal-dark); }
.center-link { text-align: center; margin: 28px 0 0; font-weight: 600; }
.center-link a { color: var(--coral-ink); }
.quiz { scroll-margin-top: 96px; }
.explorer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.explorer-bar .count { margin: 0; }
.quiz-link { display: inline-flex; align-items: center; gap: 8px; font: 700 .92rem var(--font-head); color: var(--coral-ink); text-decoration: none; }
.quiz-link:hover { text-decoration: underline; }

/* live maps */
.live-map { width: 100%; border-radius: var(--radius); }
.map-panel:has(.live-map) { background: none; border: 0; overflow: visible; }
.live-map .mapboxgl-canvas { border-radius: var(--radius); }
.mk-area { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); color: var(--ink); font: 700 .82rem var(--font-head); padding: 5px 10px; border-radius: 99px; box-shadow: 0 4px 14px rgba(20,40,40,.25); text-decoration: none; white-space: nowrap; }
.mk-area:hover { background: var(--teal); color: var(--cream); }
.mk-num span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: .72rem; background: #3a7a73; }
.mk-num.c2 span { background: #6e4fa3; } .mk-num.c3 span { background: #d9533c; }
.mk-pin { background: var(--bg); color: var(--ink); font: 700 .78rem var(--font-head); padding: 4px 8px; border-radius: 6px; box-shadow: 0 3px 10px rgba(20,40,40,.3); text-decoration: none; white-space: nowrap; }
.mk-pin:hover { background: var(--teal); color: var(--cream); z-index: 2; }
.mk-ours { background: var(--coral); color: #fff; }
.mk-dest { background: var(--ink); color: var(--bg); font: 600 .72rem var(--font-body); padding: 3px 7px; border-radius: 4px; }
.quiz-map { margin: 8px 0 24px; }
.compare-where { margin-top: 36px; }

/* ---------- guide cards ---------- */
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.guide-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.guide-grid-2 .g-art, .guide-grid-2 .g-photo { aspect-ratio: 21/9; }
.guide-grid-2 .g-num { font-size: 4.2rem; }
.guide-grid-2 .g-card h3 { font-size: 1.6rem; }
.guide-grid-2 .g-dek { font-size: 1.05rem; }
@media (max-width: 700px) { .guide-grid-2 { grid-template-columns: 1fr; } }
.g-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.g-card:hover, .g-card:focus-visible { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(20,40,40,.45); border-color: hsla(176,30%,29%,.4); }
.g-photo, .g-art { aspect-ratio: 16/10; }
.g-art { position: relative; overflow: hidden; }
.g-art-0 { background: linear-gradient(135deg, hsl(176 32% 32%), hsl(180 26% 20%)); color: var(--cream); }
.g-art-1 { background: linear-gradient(135deg, hsl(35 44% 88%), hsl(30 40% 80%)); color: var(--teal-dark); }
.g-art-2 { background: linear-gradient(135deg, hsl(8 62% 58%), hsl(8 55% 46%)); color: #fff; }
.g-art-3 { background: linear-gradient(135deg, hsl(180 24% 24%), hsl(176 30% 36%)); color: hsl(8 80% 76%); }
.g-num { position: absolute; left: 18px; top: 8px; font: 600 3.4rem/1 var(--font-display); opacity: .92; }
.g-art svg { position: absolute; right: -10px; bottom: -14px; width: 58%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transition: transform .3s; }
.g-card:hover .g-art svg { transform: translate(-4px, -4px) rotate(-3deg); }
.g-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.g-step { font: 700 .75rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 6px; }
.g-card h3 { font: 600 1.3rem/1.2 var(--font-display); margin-bottom: 8px; }
.g-dek { color: var(--muted); font-size: .96rem; line-height: 1.5; flex: 1; margin-bottom: 14px; }
.g-more { display: inline-flex; align-items: center; gap: 8px; font: 700 .85rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--teal); }
.g-card:hover .g-more { color: var(--coral-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-more { color: var(--cream); } }
@media (prefers-reduced-motion: reduce) { .g-card:hover { transform: none; } .g-card:hover .g-art svg { transform: none; } }
.guide-head { padding-top: 32px; padding-bottom: 32px; }
.guide-head .lead { max-width: 62ch; }
.guide-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.guide-grid-wrap { padding-bottom: 64px; }
.series-nav { margin-top: 40px; padding: 20px; border-radius: 12px; background: var(--surface); }
.series-nav p { font: 700 .8rem var(--font-head) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 12px; }
.series-nav div { display: flex; justify-content: space-between; gap: 16px; }
.series-nav a { text-decoration: none; font: 600 1rem/1.35 var(--font-head); color: var(--ink) !important; max-width: 48%; }
.series-nav a span { display: block; font: 400 .85rem var(--font-body); color: var(--muted); }
.series-nav a.sn-next { text-align: right; margin-left: auto; }
.series-nav a:hover { color: var(--coral-ink) !important; }
@media (max-width: 600px) {
  .g-grid { gap: 14px; }
  .g-card { flex-direction: row; }
  .g-art, .g-card .g-photo { aspect-ratio: auto; width: 96px; flex: none; }
  .g-num { font-size: 2rem; left: 12px; top: 10px; }
  .g-art svg { width: 90%; right: -18px; bottom: -18px; }
  .g-body { padding: 14px 16px; }
  .g-card h3 { font-size: 1.1rem; }
  .g-dek { font-size: .9rem; margin-bottom: 8px; }
}
/* home hero photo: keep the lit building and falls in view, soften the overlay for a night shot */
.hero-center .hero-photo img { object-position: 50% 96%; }
.hero-center::before { background: linear-gradient(180deg, hsla(220,40%,8%,.35) 0%, hsla(220,40%,8%,.45) 55%, hsla(220,40%,8%,.6) 100%); }
.chips-links a { text-decoration: none; font-weight: 600; }
.chips-links li:hover { background: var(--teal); }
.chips-links li:hover a { color: var(--cream); }
.part-of { font-size: .95rem; color: var(--muted); margin-top: -12px; }

/* header phone + one clear ask */
.nav-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--cream); text-decoration: none; font: 700 .95rem var(--font-head); white-space: nowrap; }
.nav-phone:hover { text-decoration: underline; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 999px) { .nav-phone { padding: 14px 0; font-size: 1.05rem; } }




/* home: about strip */
.about-strip { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about-photo { aspect-ratio: 4/3; border-radius: var(--radius); }
.about-names { font: 600 1.05rem var(--font-head); color: var(--muted); margin-bottom: 18px; }
.why-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.why-points li { position: relative; padding-left: 24px; font-size: 1.05rem; line-height: 1.5; }
.why-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
@media (max-width: 800px) { .about-strip { grid-template-columns: 1fr; } }

/* about page */
.about-head { padding-top: 48px; padding-bottom: 8px; }
.about-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.about-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding-top: 24px; padding-bottom: 48px; }
.about-hero { aspect-ratio: 4/3; border-radius: var(--radius); }
.about-intro-text p { font: 400 1.15rem/1.7 var(--font-body); color: var(--muted); }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }

/* ---------- editorial treatment for guide and service pages ---------- */
.lede-head { padding-top: 40px; padding-bottom: 8px; max-width: 900px; }
.lede-head h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; margin-bottom: 14px; }
.lede-dek { font: 400 clamp(1.15rem, 2vw, 1.5rem)/1.5 var(--font-display); color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.lede-rule { display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--coral); margin: 24px 0 8px; }
.article-head .lede-rule { margin: 20px auto 18px; }
.prose.editorial { padding-top: 26px; }
.editorial > p, .editorial > ul li, .editorial > ol li { font: 400 1.16rem/1.75 var(--font-display); }
.editorial > p:first-of-type { font-size: 1.34rem; line-height: 1.6; }
.editorial h2 { font: 700 .92rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin: 46px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.editorial h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.editorial > ul, .editorial > ol { padding-left: 1.15em; margin: 0 0 1.2em; }
.editorial > ul li, .editorial > ol li { margin-bottom: .5em; }
.editorial > ul li::marker { color: var(--coral); }
.editorial strong { font-weight: 700; }
.editorial em { color: var(--muted); }
.editorial .pull { margin: 40px 0; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font: 500 clamp(1.4rem, 2.6vw, 1.9rem)/1.35 var(--font-display); text-align: center; }
.editorial a { color: var(--coral-ink); }
.next-card { margin: 48px 0 8px; padding: 26px 28px; border-radius: 16px; background: var(--surface); }
.next-card-h { font: 700 .82rem var(--font-head) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 12px; }
.next-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.next-card li { margin: 0; }
.next-card a { display: inline-flex; align-items: center; gap: 8px; font: 600 1.05rem var(--font-head); color: var(--ink) !important; text-decoration: none; }
.next-card a:hover { color: var(--coral-ink) !important; }
.guide-head .lede-rule { margin-top: 30px; }
.lede-band { background: var(--surface); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.lede-band .lede-head { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 44px; padding-bottom: 40px; max-width: var(--wrap); }
.lede-band .guide-head { display: block; }
.lede-icon { flex: none; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 28px; background: var(--bg); }
.lede-icon svg { width: 68px; height: 68px; fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lede-band .article-head { padding-top: 44px; padding-bottom: 36px; }
.prose, .article-body { margin-left: auto; margin-right: auto; }
@media (max-width: 800px) { .lede-icon { display: none; } .lede-band .lede-head { padding-top: 32px; padding-bottom: 30px; } }

/* ---------- article charts ---------- */
.chart { margin: 40px 0; padding: 26px 28px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.ch-title { font: 700 1.1rem var(--font-head) !important; margin-bottom: 6px; }
.ch-legend { font: 600 .85rem var(--font-body) !important; color: var(--muted); margin-bottom: 18px !important; display: flex; align-items: center; gap: 8px; }
.ch-key { display: inline-block; width: 14px; height: 10px; border-radius: 3px; background: var(--teal); }
.ch-key2 { background: var(--coral); margin-left: 10px; }
.ch-rows { display: grid; gap: 14px; }
.ch-row { display: grid; grid-template-columns: minmax(96px, 22%) 1fr minmax(96px, auto); gap: 14px; align-items: center; }
.ch-label { font: 600 .98rem var(--font-body); }
.ch-label em { display: block; font: 400 .82rem var(--font-body); color: var(--muted); font-style: normal; }
.ch-track { position: relative; display: grid; gap: 4px; }
.ch-bar { display: block; height: 14px; border-radius: 0 7px 7px 0; background: var(--teal); }
.ch-bar2 { background: var(--coral); }
.ch-val { font: 700 .95rem var(--font-head); text-align: right; }
.ch-val em { display: block; font: 700 .95rem var(--font-head); color: var(--coral-ink); font-style: normal; }
.ch-empty .ch-track::after { content: ""; display: block; height: 14px; border-radius: 7px; border: 1px dashed var(--line); }
.ch-empty .ch-val { color: var(--muted); font-weight: 400; font-size: .85rem; }
.ch-note { font: 400 .82rem/1.5 var(--font-body) !important; color: var(--muted); margin: 18px 0 0 !important; }
@media (max-width: 600px) { .ch-row { grid-template-columns: 1fr auto; } .ch-track { grid-column: 1 / -1; order: 3; } }

/* newsletter signup */
.news-band { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.news-dek { font: 400 1.15rem/1.65 var(--font-body); color: var(--muted); max-width: 52ch; }
.news-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.news-points li { position: relative; padding-left: 24px; }
.news-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.news-form { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.news-form .fields { margin-top: 0; }
.news-form .fine { margin-bottom: 0; }
@media (max-width: 860px) { .news-band { grid-template-columns: 1fr; } }
/* iHomeFinder embed */
.idx-embed { padding: 8px 0 56px; min-height: 420px; }
.idx-fallback { padding: 28px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.idx-embed .ihf-container, .idx-embed [class^="ihf-"] { font-family: var(--font-body); }

/* 404 */
.not-found { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: 64px; padding-bottom: 96px; }
.nf-sign svg { width: 100%; height: auto; }
.nf-board { fill: var(--surface); stroke: var(--teal); stroke-width: 3; }
.nf-rider { fill: var(--coral); }
.nf-post { stroke: var(--teal); stroke-width: 6; stroke-linecap: round; fill: none; }
.nf-word { font: 700 42px var(--font-head); fill: var(--teal); text-anchor: middle; }
.nf-sold { font: 700 15px var(--font-head); fill: #fff; text-anchor: middle; letter-spacing: .04em; }
.nf-copy h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.nf-copy .lead { max-width: 52ch; }
.nf-copy .actions { margin-top: 26px; }
.nf-help { margin-top: 22px; color: var(--muted); }
@media (max-width: 760px) { .not-found { grid-template-columns: 1fr; text-align: left; padding-top: 40px; } .nf-sign { max-width: 180px; } .nf-copy .actions .btn { width: 100%; } }

/* service page hero band */
.lede-dark { position: relative; background: linear-gradient(135deg, #2B4B47 0%, #1F3936 100%); border-bottom: 0; overflow: hidden; }
.lede-dark .lede-photo { position: absolute; inset: 0; opacity: 1; }
.lede-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, hsla(180,28%,14%,.94) 0%, hsla(180,28%,14%,.78) 45%, hsla(180,28%,14%,.5) 100%); }
.lede-dark .lede-photo::after { content: none; }
.lede-dark .lede-head { position: relative; z-index: 1; padding-top: 58px; padding-bottom: 54px; }
.lede-dark h1 { color: var(--cream); }
.lede-dark .eyebrow { color: hsl(8 80% 74%); }
.lede-dark .lede-dek { color: rgba(239,228,213,.85); }
.lede-dark .lede-icon { background: rgba(239,228,213,.1); }
.lede-dark .lede-icon svg { stroke: rgba(239,228,213,.85); }
.article-card { margin: 44px 0 8px; padding: 24px 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.article-card a { display: grid; gap: 6px; text-decoration: none; color: var(--ink) !important; }
.article-card strong { font: 600 1.3rem/1.25 var(--font-display); }
.article-card span { color: var(--muted); font: 400 1rem/1.5 var(--font-body); }
.article-card .g-more { color: var(--teal); }
.article-card a:hover strong { color: var(--coral-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .article-card .g-more { color: var(--cream); } }

/* newsletter on its own dark band, clearly separate from the featured listing */
.news-band-wrap { background: var(--teal-dark); color: var(--cream); }
.news-band-wrap .eyebrow { color: hsl(8 80% 74%); }
.news-band-wrap h2, .news-band-wrap .news-points li { color: var(--cream); }
.news-band-wrap .news-dek { color: rgba(239,228,213,.85); }
.hv-card { margin: 8px 0 4px; }

.news-form .field label { color: var(--ink); }
.news-form .field input, .news-form .field select { border-color: hsl(176 12% 72%); color: var(--ink); }
.news-form .fine { color: var(--muted); }

/* call prompt on service pages */
.call-card { margin: 44px 0 8px; padding: 28px 30px; border-radius: 16px; background: var(--teal); color: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.call-h { font: 600 1.45rem/1.2 var(--font-display) !important; margin-bottom: 4px !important; }
.call-card p:not(.call-h) { color: rgba(239,228,213,.88); margin: 0; font: 400 1rem/1.5 var(--font-body) !important; }
.call-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.call-actions .btn-text { color: var(--cream) !important; }

/* pro tip callout, like the printed guides */
.pro-tip { margin: 28px 0; padding: 20px 24px; border-radius: 14px; background: var(--teal-dark); color: var(--cream); font: 400 1rem/1.6 var(--font-body) !important; position: relative; }
.pro-tip::before { content: "Pro tip"; display: block; font: 700 .78rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: hsl(8 80% 74%); margin-bottom: 6px; }
.pro-tip a { color: var(--cream) !important; }

/* about: mission + giving */
.mission { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.mission-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mission h3 { font: 600 1.25rem var(--font-display); margin-bottom: 8px; }
.mission p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .mission, .mission-cols { grid-template-columns: 1fr; } }
.giving { background: var(--teal); color: var(--cream); }
.giving .eyebrow { color: hsl(8 80% 74%); }
.giving-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.giving p { color: rgba(239,228,213,.88); max-width: 60ch; }
.giving-stat { text-align: center; margin: 0; font: 600 1rem var(--font-head); }
.giving-stat span { display: block; font: 600 clamp(2.6rem, 6vw, 4rem) var(--font-display); color: var(--cream); line-height: 1; margin-bottom: 8px; }
@media (max-width: 800px) { .giving-inner { grid-template-columns: 1fr; } }

/* buttons keep their own colors inside article-style pages */
.editorial a.btn, .prose a.btn, .article-body a.btn { color: inherit; text-decoration: none; }
.editorial a.btn-accent, .prose a.btn-accent { color: #fff !important; }
.editorial a.btn-primary, .prose a.btn-primary { color: var(--cream) !important; }
.call-actions .btn-accent { color: #fff !important; }
.sold-note { color: var(--muted); margin: 0; }
.story-card .status-sold { background: var(--coral-ink); }
