/* Jasmine Mercado · REALTOR®, United Real Estate New Jersey
   "Where new beginnings bloom." Ivory paper, one gold (sampled from her logo), warm brown ink,
   a leaf green used only for small marks. Cormorant Garamond for headings, Mulish for text,
   Great Vibes for the tagline script. Tokens only. */

:root {
  --bg: #ffffff;
  --bg-2: #fbf8f1;
  --bg-3: #f3ecdc;
  --ink: #3a2e1a;
  --ink-2: #5c4f3a;
  --ink-3: #857868;
  --line: #e9e0cc;
  --line-2: #d6c79f;
  --gold: #c49846;
  --gold-2: #a67c2e;
  --gold-3: #e8d59c;
  --leaf: #4f6b3c;
  --accent: var(--gold);
  --accent-ink: var(--gold-2);
  --star: #c49846;
  --error: #a8322d;
  --ok: #3f6b3c;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-script: "Great Vibes", "Snell Roundhand", "Brush Script MT", cursive;

  --radius: 3px;
  --shadow: 0 1px 2px rgba(58, 46, 26, 0.05), 0 14px 36px -14px rgba(58, 46, 26, 0.18);
  --shadow-sm: 0 1px 2px rgba(58, 46, 26, 0.08);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur: 560ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: var(--s-4); top: -3rem; z-index: 100; background: var(--ink); color: var(--bg); padding: var(--s-2) var(--s-4); border-radius: var(--radius); transition: top 160ms var(--ease); }
.skip:focus { top: var(--s-4); outline: 2px solid var(--gold); outline-offset: 2px; }

.script { font-family: var(--font-script); font-weight: 400; color: var(--gold-2); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; }
.script--sm { font-size: 1.7rem; margin-bottom: var(--s-3); }
.script--foot { font-size: 1.8rem; margin-bottom: var(--s-3); }
.kicker { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--gold-2); margin-bottom: var(--s-3); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 1.5rem; border-radius: var(--radius); border: 1px solid var(--gold); background: var(--gold); color: #241c0e; font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--gold-3); outline-offset: 3px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-2); border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: 0.92rem; }
.btn--light { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--bg-2); border-color: var(--bg-2); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--outline-light:hover { background: var(--bg); border-color: var(--ink); color: var(--ink); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.textlink { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--gold-2); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 160ms var(--ease), color 160ms var(--ease); }
.textlink svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.textlink:hover { border-color: var(--gold-2); color: var(--ink); }
.textlink:hover svg { transform: translateX(3px); }
.textlink:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.header.is-stuck { border-bottom-color: var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand__logo { height: 66px; width: auto; flex: none; }
.brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav__links { display: flex; align-items: center; gap: 0.2rem; }
/* One shared shape for plain links and dropdown triggers, so the row reads as one set */
.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  position: relative; margin: 0; padding: 0.55rem 0.7rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.005em;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
  background: none; border: 0; border-radius: 3px; cursor: pointer;
  transition: color 160ms var(--ease);
}
/* The marker is a rule under the label, drawn from the middle out */
.nav__link::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.2rem; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform 220ms var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav__link[aria-current="true"] { color: var(--ink); }
.nav__link[aria-current="true"]::after { transform: scaleX(1); background: var(--accent); }

.nav__chev { width: 13px; height: 13px; flex: none; opacity: 0.55; transition: transform 200ms var(--ease), opacity 160ms var(--ease); }
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(180deg); opacity: 1; }

.nav__group { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 0.5rem); left: -0.5rem; z-index: 2;
  min-width: 14rem; padding: 0.35rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 22px 44px -22px rgba(10, 26, 40, 0.3), 0 2px 6px -2px rgba(10, 26, 40, 0.1);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
}
.nav__trigger[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.nav__menu a {
  display: block; padding: 0.55rem 0.8rem; border-radius: 3px;
  font-size: 0.94rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}
.nav__menu a:hover { background: var(--bg-2); color: var(--ink); }
.nav__menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nav__menu a[aria-current="true"] { color: var(--ink); box-shadow: inset 2px 0 0 var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .nav__link::after, .nav__menu, .nav__chev { transition: none; }
}

.nav__call { display: none; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle:hover { background: var(--bg-2); }
.nav__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .x { display: none; }
.nav__toggle[aria-expanded="true"] .bars { display: none; }
.nav__toggle[aria-expanded="true"] .x { display: block; }

@media (max-width: 900px) {
  .brand__role { display: none; }
  .brand__logo { width: 104px; }
  .brand__sep { height: 28px; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    max-height: calc(100dvh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-3) var(--gutter) var(--s-4);
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__link { display: flex; width: 100%; justify-content: space-between; padding: 0.9rem 0; border-radius: 0; font-size: 1.05rem; color: var(--ink); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="true"] { color: var(--accent); }
  .nav__chev { width: 16px; height: 16px; }
  /* Rows share one hairline each, so the drawer reads as a single list */
  .nav__links > .nav__link, .nav__group { border-bottom: 1px solid var(--line); }
  .nav__group:last-of-type { border-bottom: 1px solid var(--line); }

  /* On a phone the dropdown is an accordion, not a floating card */
  .nav__menu {
    position: static; min-width: 0; padding: 0 0 0.6rem;
    border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    display: none;
  }
  .nav__trigger[aria-expanded="true"] + .nav__menu { display: block; }
  .nav__menu a { padding: 0.62rem 0 0.62rem 0.9rem; border-radius: 0; box-shadow: inset 2px 0 0 var(--line-2); font-size: 1rem; }
  .nav__menu a:hover { background: transparent; }
  .nav__menu a[aria-current="true"] { color: var(--accent); box-shadow: inset 2px 0 0 var(--accent); }

  .nav__toggle { display: inline-flex; }
  .nav > .btn { display: none; }
  /* The phone number belongs in the drawer, not only on desktop */
  .nav__call { display: inline-flex; justify-content: center; margin-top: var(--s-4); width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--bg-2); }
.section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) var(--s-7); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 300; }
.section__head p { color: var(--ink-2); font-size: 1.1rem; max-width: 56ch; }
@media (max-width: 800px) { .section__head { grid-template-columns: 1fr; } }

/* Process: two numbered sequences */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.process h3 { font-size: 1.6rem; font-weight: 300; padding-bottom: var(--s-4); border-bottom: 1px solid var(--ink); margin-bottom: var(--s-2); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 500; color: var(--accent-ink); font-size: 0.95rem; padding-top: 0.35rem; }
.steps h4 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.35rem; }
.steps p { color: var(--ink-2); }
@media (max-width: 800px) { .process { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 300; margin-bottom: var(--s-4); }
.contact__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin-bottom: var(--s-6); }
.contact__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.social { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-5); }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--s-4); }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; }
.field .hint { font-size: 0.9rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7a8a99; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(83, 184, 224, 0.35); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field .error { display: none; color: var(--error); font-size: 0.92rem; }
.field.is-invalid .error { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-2); }
.form__help { font-size: 0.9rem; color: var(--ink-3); max-width: 34ch; }
.form__status { margin-top: var(--s-3); font-size: 0.95rem; color: var(--ok); min-height: 1.3em; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Reveal (triggered once, transform + opacity only) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Motion layer ---------- */
/* Hero entrance: once, first paint. CSS animations so it stays smooth while fonts/images load. */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes unclip { from { clip-path: inset(100% 0 0 0); transform: perspective(900px) translateY(24px); } to { clip-path: inset(0 0 0 0); transform: perspective(900px) translateY(0); } }
@keyframes plate { from { opacity: 0; transform: translate(-1.25rem, -1.25rem); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: translate3d(-4%, -6%, 0) scale(1); } 50% { transform: translate3d(5%, 4%, 0) scale(1.08); } 100% { transform: translate3d(-4%, -6%, 0) scale(1); } }

.rise { opacity: 0; animation: rise 760ms var(--ease) both; animation-delay: var(--d, 0ms); }
.portrait__frame { animation: unclip 1100ms var(--ease) 120ms both; }
.portrait::before { animation: plate 900ms var(--ease) 380ms both; }

/* Heading rule draws in when the section reveals */
.section__head h2, .about h2, .contact h2, .valuation h2 { position: relative; padding-bottom: 0.55rem; }
.section__head h2::after, .about h2::after, .contact h2::after, .valuation h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease) 200ms;
}
.is-in h2::after, .reveal.is-in h2::after { transform: scaleX(1); }

/* Staggered children: JS sets --d per child */
.rows .row, .steps li, .towns li, .ledger tbody tr { transition-delay: var(--d, 0ms); }
.ledger tbody tr { opacity: 0; transform: translateY(10px); transition: opacity 560ms var(--ease), transform 560ms var(--ease), background-color 160ms var(--ease); }
.ledger-wrap.is-in tbody tr { opacity: 1; transform: none; }
.steps li { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in .steps li { opacity: 1; transform: none; }
.towns li { opacity: 0; transform: translateY(10px); transition: opacity 520ms var(--ease), transform 520ms var(--ease), background-color 200ms var(--ease); }
.towns.is-in li { opacity: 1; transform: none; }

/* The drawer is a light panel whatever the header is doing behind it */
@media (max-width: 900px) {
}

.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light:hover { background: var(--bg-2); border-color: var(--bg-2); }
.btn--outline-light { background: transparent; color: var(--bg); border-color: rgba(255,255,255,0.7); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--bg); }
.btn--outline-light:focus-visible, .btn--light:focus-visible { outline-color: var(--bg); }


.meet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.meet__photo { position: relative; margin: 0; width: min(100%, 460px); }
.meet__photo::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; background: var(--bg-3); border-radius: var(--radius); z-index: 0; }
.meet__photo .portrait__frame { animation: none; }
.meet__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.meet__text h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 300; line-height: 1.2; margin-bottom: var(--s-5); padding-bottom: 0; }
.meet__text h2::after { display: none; }
.meet__text .about__text { margin-bottom: var(--s-6); }
@media (max-width: 900px) { .meet { grid-template-columns: 1fr; } .meet__photo { width: min(100%, 380px); } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--ink); color: var(--bg); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease), transform 240ms var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); will-change: transform; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,40,0) 45%, rgba(10,26,40,0.75) 100%); }
.tile__label { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0.01em; display: flex; justify-content: space-between; align-items: center; }
.tile__label::after { content: "→"; flex: none; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; font-size: 1rem; line-height: 1; border-radius: 999px; border: 1px solid rgba(255,255,255,0.7); background: rgba(58,46,26,0.35); color: var(--bg); transition: transform 300ms var(--ease), background-color 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease); }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile:focus-visible, .tile:active { border-color: var(--accent-ink); }
.tile:active { transform: translateY(0) scale(0.995); }
.tile:focus-visible .tile__label::after, .tile:active .tile__label::after { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.06); }
  .tile:hover { border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(83, 184, 224, 0.3), var(--shadow); transform: translateY(-3px); }
  .tile:hover .tile__label::after { transform: translateX(4px); background: var(--accent); border-color: var(--accent); color: var(--ink); }
}
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

.panels { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .panels { grid-template-columns: repeat(2, 1fr); } }
.panel { position: relative; display: grid; align-items: end; min-height: clamp(420px, 70vh, 640px); overflow: hidden; color: var(--bg); text-decoration: none; background: var(--ink); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease); will-change: transform; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,40,0.05) 30%, rgba(10,26,40,0.8) 100%); }
.panel__body { position: relative; z-index: 1; padding: clamp(1.5rem, 3vw, 2.5rem); }
.panel__body h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; margin-bottom: 0.5rem; }
.panel__body p { color: rgba(255,255,255,0.85); max-width: 32ch; margin-bottom: var(--s-4); }
.panel:focus-visible { outline: 3px solid var(--accent); outline-offset: -6px; }
@media (hover: hover) and (pointer: fine) { .panel:hover img { transform: scale(1.05); } }
@media (max-width: 800px) { .panels { grid-template-columns: 1fr; } .panel { min-height: 360px; } }

/* Language switch */
/* Language switch: two words with a hairline between them, not a toggle pill */
.lang { display: inline-flex; align-items: center; }
.lang__btn {
  text-decoration: none; line-height: 1.2;
  font-family: var(--font-display); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 0.3rem 0.5rem; border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
  transition: color 160ms var(--ease);
}
.lang__btn + .lang__btn { border-left: 1px solid var(--line-2); }
.lang__btn[aria-current="true"] { color: var(--ink); }
.lang__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) { .lang__btn:not([aria-current]):hover { color: var(--ink); } }
@media (max-width: 900px) { .lang { order: -1; } }

/* Her name is the brand, so it stays put; the row gives up the logo width and the
   REALTOR line first, and only drops the name on the narrowest phones. */
@media (min-width: 901px) and (max-width: 1150px) {
  .brand__logo { width: 104px; }
  .brand { gap: 0.7rem; }
  .brand__role { display: none; }
  .nav__link { padding-left: 0.5rem; padding-right: 0.5rem; font-size: 0.92rem; }
  .nav__link::after { left: 0.5rem; right: 0.5rem; }
  .nav { gap: var(--s-3); }
}
@media (max-width: 480px) { .brand__text, .brand__sep { display: none; } }

/* A fixed header would otherwise cover whatever the menu jumps to */
section[id], [id="sold-recent"] { scroll-margin-top: 104px; }

[hidden] { display: none !important; }

/* A section head with no subhead should not sit in the two-column grid */
.section__head--solo { grid-template-columns: 1fr; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Home valuation: three-step wizard, sms hand-off */
.valuation { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.valuation h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 300; margin-bottom: var(--s-4); }
.valuation__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin-bottom: var(--s-6); }
.val__steps { counter-reset: vstep; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.val__steps li { counter-increment: vstep; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.val__steps li::before { content: counter(vstep, decimal-leading-zero); font-family: var(--font-display); font-weight: 500; color: var(--accent-ink); font-size: 0.95rem; padding-top: 0.25rem; }
.val__steps h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.2rem; }
.val__steps p { grid-column: 2; color: var(--ink-2); }
.wiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz__nav { list-style: none; margin: 0 0 var(--s-2); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.wiz__nav li { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.7rem; border-bottom: 2px solid var(--line); color: var(--ink-3); font-family: var(--font-display); font-size: 0.92rem; transition: color 300ms var(--ease), border-color 400ms var(--ease); }
.wiz__nav li span { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 0.8rem; font-weight: 500; flex: none; transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.wiz__nav li.is-current { color: var(--ink); border-color: var(--ink); }
.wiz__nav li.is-current span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.wiz__nav li.is-done { color: var(--ink-2); border-color: var(--accent); }
.wiz__nav li.is-done span { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.wiz__count { font-size: 0.85rem; color: var(--ink-3); margin-bottom: var(--s-5); }
.wiz__step { animation: wizin 420ms var(--ease) both; }
@keyframes wizin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.wiz__asks { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.ask { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem var(--s-4); padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.ask legend { float: left; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; margin-right: auto; padding: 0; }
.ask label { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; padding: 0.3rem 0.85rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.95rem; transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease); }
.ask label:hover { border-color: var(--ink-3); }
.ask input { appearance: none; -webkit-appearance: none; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 1px solid var(--ink-3); margin: 0; display: grid; place-items: center; }
.ask input::after { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--bg); transform: scale(0); transition: transform 200ms var(--ease); }
.ask label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ask label:has(input:checked) input { border-color: var(--bg); }
.ask input:checked::after { transform: scale(1); }
.ask input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wiz__foot { display: flex; justify-content: flex-end; gap: var(--s-3); margin-top: var(--s-2); }
.wiz__foot [data-wiz-back] { margin-right: auto; }
.wiz .form__help { margin-top: var(--s-4); max-width: none; }
@media (max-width: 800px) { .valuation { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .form__row--3 { grid-template-columns: 1fr 1fr; }
  .form__row--3 .field:last-child { grid-column: 1 / -1; }
  .wiz__nav li b { display: none; }
  .wiz__nav li { justify-content: center; }
  .ask { display: block; }
  .ask legend { float: none; width: 100%; margin-bottom: 0.5rem; }
  .ask label { margin-right: 0.5rem; }
}

/* Address autosuggest (Photon streets, Census pin) */
.suggest { position: relative; }
.suggest__list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 0.3rem 0; list-style: none; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 260px; overflow-y: auto; }
.suggest__list li { padding: 0.55rem 0.9rem; cursor: pointer; font-size: 0.98rem; display: flex; flex-direction: column; gap: 0.05rem; }
.suggest__list li small { color: var(--ink-3); font-size: 0.85rem; }
.suggest__list li:hover, .suggest__list li[aria-selected="true"] { background: var(--bg-2); }
.suggest__list li strong { font-weight: 500; }
.pin { margin: -0.4rem 0 var(--s-4); }
.pin__line { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: var(--ink-2); margin-bottom: 0.6rem; }
.pin__line svg { width: 18px; height: 18px; color: var(--accent-ink); flex: none; }
.pin__addr { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin__map { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.pin__map:hover { border-bottom-color: var(--ink); }
.pin__frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 200px; background: var(--bg-2); }
.pin__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }

/* Contact: agent card with portrait beside the facts */
.agent { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s-5); align-items: start; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow-sm); margin-bottom: var(--s-2); }
.agent__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); display: block; }
.agent__name { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.15; margin: 0.15rem 0 0.15rem; }
.agent__role { font-size: 0.92rem; color: var(--ink-3); margin: 0 0 var(--s-3); }
.agent .facts dt:first-child { margin-top: 0; }
@media (max-width: 480px) {
  .agent { grid-template-columns: 110px minmax(0, 1fr); gap: var(--s-4); }
  .agent__body { display: contents; }
  .agent__id { grid-column: 2; align-self: center; }
  .agent__firm { width: 118px; }
  .agent__name { margin: 0; }
  .agent__role { margin: 0.2rem 0 0; }
  .agent .facts { grid-column: 1 / -1; }
}
.agent .facts dd { min-width: 0; }

/* Listings from /api/listings: featured hero card + smaller cards, lightbox */
.listings { margin-bottom: var(--s-8); }
.feat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.feat__media { position: relative; background: var(--ink); display: flex; flex-direction: column; min-height: 0; }
.feat__main { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 560px; object-fit: cover; cursor: zoom-in; flex: 1 1 auto; }
.feat__main--empty { display: grid; place-items: center; color: rgba(255,255,255,0.6); font-family: var(--font-display); font-size: 1.1rem; min-height: 320px; cursor: default; }
.feat__count { position: absolute; right: var(--s-3); bottom: calc(62px + var(--s-3)); background: rgba(10,26,40,0.78); color: var(--bg); font-size: 0.85rem; padding: 0.3rem 0.65rem; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--font-body); }
.feat__count:hover { background: var(--ink); }
.feat__thumbs { display: flex; flex: none; gap: 4px; padding: 4px; background: var(--ink); overflow-x: auto; scrollbar-width: none; }
.feat__thumbs::-webkit-scrollbar { display: none; }
.feat__thumbs button { flex: 0 0 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 2px; overflow: hidden; background: #0d2436; cursor: pointer; opacity: 0.7; transition: opacity 200ms var(--ease), border-color 200ms var(--ease); }
.feat__thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat__thumbs button:hover, .feat__thumbs button.is-on { opacity: 1; }
.feat__thumbs button.is-on { border-color: var(--accent); }
.feat__body { padding: clamp(1.25rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: var(--s-3); }
.feat__tag { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0; }
.feat__tag--pending { color: #8a5a0a; } .feat__tag--sold { color: var(--ink-3); }
.feat__price { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; margin: 0; }
.feat__addr { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; margin: 0; }
.feat__town { color: var(--ink-2); margin: 0; }
.feat__specs { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: var(--s-2) 0 0; padding: var(--s-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.feat__specs li { font-family: var(--font-display); font-size: 1.05rem; display: inline-flex; align-items: baseline; }
.feat__specs li + li::before { content: "·"; color: var(--line-2); margin-right: var(--s-4); } .feat__specs li span { color: var(--ink-3); font-family: var(--font-body); font-size: 0.9rem; margin-left: 0.25rem; }
.feat__desc { color: var(--ink-2); margin: 0; max-width: 52ch; }
.feat__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); }
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-5); }
.lcard { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; transition: box-shadow 250ms var(--ease), transform 250ms var(--ease); }
.lcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lcard__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; background: var(--ink); }
.lcard__img--empty { display: grid; place-items: center; color: rgba(255,255,255,0.6); font-family: var(--font-display); }
.lcard__body { padding: var(--s-4); display: grid; gap: 0.2rem; }
.lcard__tag { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0; }
.lcard__price { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin: 0; }
.lcard__addr { margin: 0; } .lcard__meta { color: var(--ink-3); font-size: 0.9rem; margin: 0; }
.lmore { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin: var(--s-6) 0 0; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,16,26,0.94); display: grid; place-items: center; padding: var(--s-6); }
.lightbox img { max-width: min(100%, 1400px); max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__x, .lightbox__nav { position: absolute; background: rgba(255,255,255,0.1); color: var(--bg); border: 1px solid rgba(255,255,255,0.25); width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color 200ms var(--ease); }
.lightbox__x:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__x { top: var(--s-4); right: var(--s-4); }
.lightbox__nav { top: 50%; transform: translateY(-50%); } .lightbox__nav--prev { left: var(--s-4); } .lightbox__nav--next { right: var(--s-4); }
.lightbox__count { position: absolute; bottom: var(--s-4); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat__main { max-height: 60vh; } .lgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lgrid { grid-template-columns: 1fr; } .lightbox { padding: var(--s-3); } .lightbox__nav { width: 40px; height: 40px; } }

/* Listing video tiles */
.feat__stage { position: relative; flex: 1 1 auto; min-height: 320px; display: flex; flex-direction: column; }
.feat__stage .feat__main { flex: 1 1 auto; }
.feat__main--video { width: 100%; height: 100%; min-height: 320px; max-height: 560px; border: 0; background: #000; object-fit: contain; cursor: default; display: block; }
.feat__thumbs [data-video] { display: grid; place-items: center; background: #1b3a55; }
.feat__vtile { color: var(--bg); font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.04em; white-space: nowrap; }
.lcard__media { position: relative; }
.lcard__vid { position: absolute; left: var(--s-3); bottom: var(--s-3); background: rgba(10,26,40,0.8); color: var(--bg); font-size: 0.78rem; padding: 0.2rem 0.55rem; border-radius: 999px; font-family: var(--font-display); }
@media (max-width: 900px) { .feat__main--video { max-height: 60vh; aspect-ratio: 16 / 9; min-height: 0; } }

/* ---------- Multi-page (v5): page hero, article column, town guides ---------- */
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--accent); }
.nav__menu a[aria-current="page"] { color: var(--ink); box-shadow: inset 2px 0 0 var(--accent); }
.nav__menu--cols { display: grid; grid-template-columns: repeat(2, minmax(9.5rem, 1fr)); min-width: 22rem; column-gap: var(--s-2); }
.nav__menu--cols .nav__menu-all { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: var(--s-1); }
@media (max-width: 900px) {
  .nav__link[aria-current="page"] { color: var(--accent); }
  .nav__menu a[aria-current="page"] { color: var(--accent); box-shadow: inset 2px 0 0 var(--accent); }
  .nav__menu--cols { min-width: 0; grid-template-columns: 1fr 1fr; }
  .nav__trigger[aria-expanded="false"] + .nav__menu--cols { display: none; }
  .nav__trigger[aria-expanded="true"] + .nav__menu--cols { display: grid; }
  .nav__menu--cols .nav__menu-all { border-bottom: 0; margin: 0; }
}

.phero { position: relative; min-height: clamp(460px, 68vh, 640px); display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--bg); isolation: isolate; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.phero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,26,40,0.62) 0%, rgba(10,26,40,0.3) 38%, rgba(10,26,40,0.82) 100%); }
.phero__inner { position: relative; z-index: 2; padding: 8.5rem 0 3.5rem; }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 300; line-height: 1.05; max-width: 20ch; letter-spacing: -0.01em; text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.phero__lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 54ch; margin-top: var(--s-4); }
.phero .vhero__cta { margin-top: var(--s-5); }
@media (max-width: 640px) { .phero__inner { padding: 7rem 0 2.5rem; } .phero .vhero__cta .btn { flex: 1 1 100%; } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: var(--s-4); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: rgba(255,255,255,0.45); }
.crumbs a { color: rgba(255,255,255,0.88); text-decoration: none; }
.crumbs a:hover { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--bg); }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.doc__aside { position: sticky; top: 104px; }
@media (max-width: 960px) { .doc { grid-template-columns: 1fr; } .doc__aside { position: static; max-width: 420px; } }

.prose { max-width: 70ch; color: var(--ink-2); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; color: var(--ink); margin-top: var(--s-6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-3); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.25rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent-ink); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: var(--s-2); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: var(--s-5) 0; padding-left: var(--s-5); border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; color: var(--ink); }
.prose .note { font-size: 0.95rem; color: var(--ink-3); }
.prose .ledger-wrap { margin-top: var(--s-4); }

.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts-row div { background: var(--bg); padding: var(--s-4) var(--s-5); }
.facts-row dt { font-size: 0.85rem; color: var(--ink-3); }
.facts-row dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }

.aside-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: var(--s-5); box-shadow: var(--shadow-sm); display: grid; gap: var(--s-3); }
.aside-card__photo { width: 96px; height: 120px; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); }
.aside-card__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.aside-card__role { font-size: 0.92rem; color: var(--ink-3); margin-top: -0.6rem; }
.aside-card__p { color: var(--ink-2); font-size: 0.98rem; }
.aside-card .btn { width: 100%; }

.faq { border-top: 1px solid var(--line); margin-top: var(--s-5); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: var(--s-4) 2rem var(--s-4) 0; position: relative; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--accent-ink); transition: transform 200ms var(--ease); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq__item > div { padding: 0 0 var(--s-5); color: var(--ink-2); }
.faq__item > div > * + * { margin-top: var(--s-3); }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-3); padding: 0 !important; }
.related li { padding: 0 !important; margin: 0 !important; }
.related li::before { display: none; }
.related a { display: block; height: 100%; padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--bg); transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.related a b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; color: var(--ink); }
.related a span { display: block; font-size: 0.95rem; color: var(--ink-3); margin-top: 0.2rem; }
.related a:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }

.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.tcard { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--bg); text-decoration: none; }
.tcard img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: transform 900ms var(--ease), opacity 300ms var(--ease); }
.tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,40,0) 35%, rgba(10,26,40,0.85) 100%); }
.tcard__body { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; }
.tcard__body b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.tcard__body span { display: block; font-size: 0.95rem; color: rgba(255,255,255,0.82); margin-top: 0.15rem; }
@media (hover: hover) and (pointer: fine) { .tcard:hover img { transform: scale(1.05); opacity: 0.9; } }
@media (max-width: 900px) { .tcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tcards { grid-template-columns: 1fr; } }

.cta-band { background: var(--ink); color: var(--bg); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 300; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: var(--s-2); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.more-link { margin-top: var(--s-5); }
.more-link a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.town-guides { margin-top: var(--s-7); }
.town-guides h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }
.town-guides ul { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.town-guides a { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 0.98rem; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.town-guides a:hover { border-color: var(--ink); background: var(--bg); }

.footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); font-size: 0.95rem; }
.footer__nav h2 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: var(--s-3); }
.footer__nav h2 a { text-decoration: none; }
.footer__nav li + li { margin-top: 0.35rem; }
.footer__nav a { color: var(--ink-2); text-decoration: none; }
.footer__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__nav-areas ul { columns: 2; column-gap: var(--s-4); }
@media (max-width: 800px) { .footer__nav { grid-template-columns: 1fr 1fr; } }
.about-photo { float: right; width: min(42%, 260px); margin: 0 0 var(--s-5) var(--s-6); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); }
.prose h2 { clear: none; }
@media (max-width: 560px) { .about-photo { float: none; width: min(100%, 300px); margin: 0 0 var(--s-5); } }
.prose blockquote small { display: block; margin-top: var(--s-2); font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-3); }

/* ---------- Jasmine: overrides and new components ---------- */
.nav__link { font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; color: var(--ink-2); }
.nav__link::after { background: var(--gold); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav__menu a:hover { background: var(--bg-2); }
.nav__menu--counties { min-width: 16rem; }
.nav__menu--counties a { font-weight: 600; }
.nav__menu--counties a small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.8rem; margin-top: 1px; }
.nav__call { display: none; }
.lang__btn[aria-current="true"] { color: var(--ink); }
@media (max-width: 900px) {
  .header__row { height: 72px; }
  .brand__logo { height: 54px; }
  .nav__call { display: inline-flex; }
  .header__call { display: none; }
}

/* Section rhythm */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--bg-2); }
.section__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-5) var(--s-7); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head h2 { position: relative; padding-top: var(--s-4); }
.section__head h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 1px; background: var(--gold); }
.section__head p { color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.section__head--left { grid-template-columns: 1fr; max-width: 60ch; }
@media (max-width: 800px) { .section__head { grid-template-columns: 1fr; } }

/* Hero: copy left, oval portrait right */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: clamp(2rem, 5vw, 4.5rem) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__copy { padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.9rem; font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; line-height: 1.4; margin: var(--s-3) 0 var(--s-5); color: var(--ink-3); }
.hero__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.hero__h { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.05; max-width: 17ch; color: var(--ink); }
.hero__sub { font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; margin-top: var(--s-5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__counties { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.hero__counties a { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__counties a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero__counties a:hover { color: var(--gold-2); }
.bloom { position: relative; margin: 0; align-self: end; width: min(100%, 520px); justify-self: center; aspect-ratio: 1011 / 1400; }
.bloom__oval { position: absolute; left: 4%; right: 4%; bottom: 0; height: 78%; border-radius: 50% 50% 0 0 / 60% 60% 0 0; background: var(--bg-2); }
.bloom__ring { position: absolute; left: 0; right: 0; bottom: 0; height: 83%; border: 1px solid var(--gold); border-bottom: 0; border-radius: 50% 50% 0 0 / 60% 60% 0 0; }
.bloom__photo { position: relative; z-index: 1; width: 100%; height: auto; }
.bloom__petals { position: absolute; z-index: 2; left: -4%; top: 4%; width: 92px; height: 92px; opacity: 0.9; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__copy { padding-bottom: 0; }
  .bloom { width: min(78vw, 400px); margin-top: var(--s-6); }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* County grid */
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.ccard { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: flex; flex-direction: column; gap: var(--s-4); transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.ccard::before { content: ""; position: absolute; left: 0; top: 1.4rem; bottom: 1.4rem; width: 3px; background: var(--gold-3); border-radius: 2px; }
.ccard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.ccard h3 a { text-decoration: none; }
.ccard h3 a:hover { color: var(--gold-2); }
.ccard > p { color: var(--ink-2); }
.ccard__towns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ccard__towns a { display: inline-block; padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--ink-2); background: var(--bg-2); transition: border-color 160ms var(--ease), color 160ms var(--ease); }
.ccard__towns a:hover { border-color: var(--gold); color: var(--ink); }
.ccard .textlink { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .cgrid { grid-template-columns: 1fr; } }

/* Meet */
.meet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.meet__photo { position: relative; margin: 0; padding: 0 1rem 1rem 0; }
.meet__photo::after { content: ""; position: absolute; left: 1rem; top: 1rem; right: 0; bottom: 0; border: 1px solid var(--gold); z-index: 0; }
.meet__photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; }
.meet__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 500; line-height: 1.3; }
.about__text { margin-top: var(--s-5); display: grid; gap: var(--s-4); color: var(--ink-2); }
.more-link { margin-top: var(--s-5); }
@media (max-width: 800px) { .meet { grid-template-columns: 1fr; } .meet__photo { max-width: 420px; } }

/* Valuation */
.valuation-sec { background: var(--bg-3); }
.valuation { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.valuation h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.valuation__lead { color: var(--ink-2); margin-top: var(--s-4); }
.val__steps { margin-top: var(--s-6); border-top: 1px solid var(--line-2); counter-reset: v; }
.val__steps li { position: relative; padding: var(--s-4) 0 var(--s-4) 3rem; border-bottom: 1px solid var(--line-2); counter-increment: v; }
.val__steps li::before { content: counter(v, decimal-leading-zero); position: absolute; left: 0; top: 1.05rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-2); }
.val__steps h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.val__steps p { color: var(--ink-2); font-size: 0.98rem; }
.valuation .form { background: var(--bg); box-shadow: var(--shadow); }
@media (max-width: 900px) { .valuation { grid-template-columns: 1fr; } }

/* Paths: numbered editorial list */
.pathlist { border-top: 1px solid var(--line); }
.pathlist li { border-bottom: 1px solid var(--line); }
.pathlist a { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 28px; gap: var(--s-4); align-items: center; padding: 1.25rem 0; text-decoration: none; transition: padding-left 220ms var(--ease); }
.pathlist a:hover { padding-left: 0.5rem; }
.pathlist__n { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-2); }
.pathlist__body { display: grid; gap: 0.15rem; }
.pathlist__body b { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
.pathlist__body span { color: var(--ink-2); }
.pathlist svg { width: 24px; height: 24px; color: var(--gold-2); transition: transform 200ms var(--ease); }
.pathlist a:hover svg { transform: translateX(4px); }
@media (max-width: 600px) { .pathlist a { grid-template-columns: 2.5rem minmax(0, 1fr); } .pathlist svg { display: none; } }

/* Listings empty state */
.lempty { padding: clamp(1.5rem, 4vw, 3rem); border: 1px dashed var(--line-2); border-radius: var(--radius); text-align: center; background: var(--bg); }
.lempty p { color: var(--ink-2); max-width: 48ch; margin-inline: auto; }
.lempty__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }

/* Process */
.process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.process h3 { margin-bottom: var(--s-5); }
.steps { counter-reset: s; display: grid; gap: var(--s-4); }
.steps li { position: relative; padding-left: 3.2rem; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); font-family: var(--font-display); font-size: 1.15rem; display: grid; place-items: center; }
.steps h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin-bottom: 0.15rem; }
.steps p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }

/* Areas columns */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.acol { padding-top: var(--s-4); border-top: 2px solid var(--gold-3); }
.acol h3 { font-size: 1.5rem; margin-bottom: var(--s-3); }
.acol h3 a { text-decoration: none; }
.acol h3 a:hover { color: var(--gold-2); }
.acol ul { display: grid; gap: 0.35rem; }
.acol a { text-decoration: none; color: var(--ink-2); }
.acol ul a:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.acol__more { margin-top: var(--s-3); }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .areas { grid-template-columns: 1fr; } }

/* Reviews wall */
.revwall { columns: 3 18rem; column-gap: var(--s-5); }
.revwall .rev { break-inside: avoid; margin: 0 0 var(--s-5); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.revwall .rev.is-hidden { display: none; }
.rev__stars { display: flex; gap: 2px; color: var(--star); margin-bottom: var(--s-3); }
.rev__stars svg { width: 16px; height: 16px; }
.rev__text { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; }
.rev__text p + p { margin-top: var(--s-3); }
.rev__by { margin-top: var(--s-4); display: grid; gap: 0.1rem; }
.rev__name { font-weight: 700; }
.rev__meta { color: var(--ink-3); font-size: 0.88rem; }
.revwall__empty { column-span: all; color: var(--ink-2); padding: var(--s-5); border: 1px dashed var(--line-2); border-radius: var(--radius); text-align: center; }
.revs__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-4); }
.revs__note { color: var(--ink-3); font-size: 0.9rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__lead { color: var(--ink-2); font-size: 1.1rem; margin-top: var(--s-4); max-width: 46ch; }
.contact__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0; }
.agent { background: var(--bg); }
.agent__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.agent__role { color: var(--ink-3); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: var(--s-3); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.45rem var(--s-4); font-size: 0.97rem; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
.facts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.facts a:hover { border-color: var(--gold-2); color: var(--gold-2); }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: var(--s-4); }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field .hint { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--ink); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 152, 70, 0.22); }
.field .error { display: none; color: var(--error); font-size: 0.88rem; margin-top: 0.3rem; }
.field.is-invalid .error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form__foot { display: grid; gap: var(--s-3); }
.form__help { color: var(--ink-3); font-size: 0.88rem; }
.form__status { color: var(--ok); font-size: 0.95rem; min-height: 1.4em; }
.form__status.is-error { color: var(--error); }
.form.is-sent .form__foot, .form.is-sent .form__row, .form.is-sent .field, .form.is-sent .wiz__nav, .form.is-sent .wiz__step, .form.is-sent .wiz__foot, .form.is-sent .wiz__count { display: none; }
.form.is-sent .form__status { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 var(--s-6); color: var(--ink-2); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.footer__logo { width: 220px; height: auto; background: var(--bg); padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); }
.footer__text { display: grid; gap: 0.5rem; }
.footer__text a { color: var(--ink); }
.footer__broker { color: var(--ink-3); }
.footer__marks { display: flex; align-items: center; gap: 0.5rem; margin-top: var(--s-2); color: var(--ink-3); font-size: 0.88rem; }
.footer__marks svg { width: 22px; height: 22px; }
.footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.footer__nav h2 { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-3); }
.footer__nav h2 a { text-decoration: none; }
.footer__nav ul { display: grid; gap: 0.35rem; }
.footer__nav a { color: var(--ink-2); text-decoration: none; }
.footer__nav a:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.88rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Page hero for inner pages: ivory band, no photo */
.phero { position: relative; background: var(--bg-2); border-bottom: 1px solid var(--line); min-height: 0; color: var(--ink); isolation: auto; }
.phero__img, .phero__shade { display: none; }
.phero__inner { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.phero__kicker { font-family: var(--font-display); font-style: italic; color: var(--gold-2); font-size: 1.2rem; margin-bottom: var(--s-2); }
.phero h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 500; line-height: 1.05; text-shadow: none; color: var(--ink); max-width: 18ch; }
.phero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; margin-top: var(--s-4); }
.phero .hero__cta { margin-top: var(--s-5); }
.crumbs { margin-bottom: var(--s-4); font-size: 0.9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.crumbs li { color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--ink); }

/* Article column + aside */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.doc__aside { position: sticky; top: 104px; }
.prose { font-size: 1.08rem; max-width: 66ch; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: var(--s-7) 0 var(--s-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.4rem; margin: var(--s-6) 0 var(--s-3); }
.prose p { margin: 0 0 var(--s-4); color: var(--ink-2); }
.prose p strong { color: var(--ink); }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.prose a:hover { text-decoration-color: var(--gold-2); }
.prose ul, .prose ol { margin: 0 0 var(--s-4); padding-left: 1.3rem; color: var(--ink-2); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--gold-2); }
.prose blockquote { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); border-left: 2px solid var(--gold); background: var(--bg-2); font-family: var(--font-display); font-size: 1.3rem; }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-4); margin: var(--s-5) 0; }
.facts-row div { padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.facts-row b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--ink); }
.facts-row span { color: var(--ink-3); font-size: 0.9rem; }
.aside-card { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; gap: var(--s-3); }
.aside-card__photo { width: 112px; height: 112px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; border: 2px solid var(--gold); }
.aside-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.aside-card__role { color: var(--ink-3); font-size: 0.9rem; margin-top: -0.6rem; }
.aside-card__p { color: var(--ink-2); font-size: 0.98rem; }
.aside-card .btn { width: 100%; }
.faq { border-top: 1px solid var(--line); margin-bottom: var(--s-5); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.8rem; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-2); transition: transform 200ms var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item > div { padding: 0 0 1rem; color: var(--ink-2); }
.faq__item > div p { margin: 0 0 0.75rem; }
.related { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); padding: 0; list-style: none; }
.related a { display: grid; gap: 0.1rem; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color 160ms var(--ease), background 160ms var(--ease); }
.related a:hover { border-color: var(--gold); background: var(--bg-2); }
.related b { font-family: var(--font-display); font-size: 1.2rem; }
.related span { color: var(--ink-3); font-size: 0.92rem; }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-4); margin: var(--s-4) 0 var(--s-6); }
.tcard { display: grid; gap: 0.35rem; padding: var(--s-5) var(--s-4) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.tcard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold-3); }
.tcard:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.tcard__county { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tcard b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.tcard span { color: var(--ink-2); font-size: 0.95rem; }
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin: var(--s-4) 0 var(--s-6); }
@media (max-width: 700px) { .ccards { grid-template-columns: 1fr; } }
.cta-band { background: var(--ink); color: var(--bg-2); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.cta-band h2 { color: var(--bg); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(251, 248, 241, 0.8); margin-top: 0.3rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cta-band .btn--light { background: var(--gold); border-color: var(--gold); color: #241c0e; }
.cta-band .btn--light:hover { background: var(--gold-3); border-color: var(--gold-3); }
.cta-band .btn--outline-light { border-color: rgba(251, 248, 241, 0.5); color: var(--bg); }
.cta-band .btn--outline-light:hover { background: rgba(251, 248, 241, 0.1); border-color: var(--bg); color: var(--bg); }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .doc__aside { position: static; } }

/* Listing cards restyle */
.feat__tag, .lcard__tag { color: var(--gold-2); }
.feat__price, .lcard__price { font-family: var(--font-display); font-weight: 600; }
.feat { border-color: var(--line); background: var(--bg); }

/* Reveal + entrance motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.rise { opacity: 0; transform: translateY(12px); animation: rise 700ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .rise { opacity: 1; transform: none; animation: none; transition: none; } }
section[id], [id="downsize"], [id="inherited"], [id="relocate"] { scroll-margin-top: 104px; }

/* Fixes after first render */
.steps li, .val__steps li { display: block; opacity: 1; transform: none; }
.facts dd, .footer__text p, .aside-card__p { overflow-wrap: anywhere; }
.meet__photo img { background: var(--bg-3); }
