/* Team Next Door brand board: Signature Navy, Sand, Ivory, White, Graphite.
   Montserrat for headlines and labels, Proxima Nova (Figtree fallback) for body. */
:root {
  /* Signature palette (Team Next Door brand concepts board) */
  --navy: #14284B;         /* Deep navy: brand color, buttons, dark sections (board's Signature Navy was #14284B) */
  --navy-deep: #0E1D38;    /* button hover */
  --navy-2: #1E3560;       /* cards on navy */
  --sand: #D8CBB5;         /* accent on navy only; too light for text on ivory/white */
  --sand-deep: #9A8768;    /* sand for light backgrounds: rules, marks, large serif */
  --sand-tint: #EFE7D8;    /* soft sand fill for chips and badges */

  --ink: #2A2E35;          /* Graphite, darkened for contrast on tan/gray bands */
  --ink-soft: #4A4F57;
  --paper: #F7F4EE;        /* Ivory */
  --surface: #FFFFFF;
  --stone: #EFE9DF;
  --line: #D9D3C7;
  --accent: var(--navy);
  --accent-ink: #FFFFFF;
  --dark: var(--navy);
  --dark-soft: #BCC5D4;
  --dark-2: var(--navy-2);
  --dark-line: rgba(255,255,255,.14);

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "proxima-nova", "Proxima Nova", "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-small: 0.9rem;
  --fs-body: 1.05rem;
  --fs-lead: 1.2rem;
  --fs-h3: 1.35rem;
  --fs-h2: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4vw, 4.4rem);
  --fs-stat: clamp(2rem, 1.4rem + 2vw, 2.9rem);

  --wrap: 1340px;
  --gutter: 20px;
  --section: clamp(52px, 5.5vw, 80px);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 34em; }
.measure { max-width: 62ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.85em 1.4em; border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-light:hover { background: var(--paper); color: var(--dark); }
.link-arrow { font-family: var(--font-display); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }

/* Draft markers */
.draft-bar { background: var(--ink); color: var(--paper); font-size: var(--fs-small); text-align: center; padding: 8px var(--gutter); }
.ph-tag { display: inline-block; font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: #fff3c4; color: #5c4a00; padding: 3px 7px; border-radius: 3px; vertical-align: middle; }
.ph-box { position: relative; background: repeating-linear-gradient(135deg, var(--stone) 0 14px, #F1ECE3 14px 28px); border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; color: var(--ink-soft); font-size: var(--fs-small); padding: 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 38px; border: 2.5px solid var(--ink); border-right-color: transparent; position: relative; }
.logo-mark::after { content: ""; position: absolute; right: -2.5px; top: -2.5px; height: 40%; border-right: 2.5px solid var(--ink); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.logo-text small { display: block; font-size: 0.62rem; letter-spacing: 0.2em; font-weight: 600; color: var(--ink-soft); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-group > button { font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; text-decoration: none; padding: 10px 12px; border-radius: var(--radius); background: none; border: 0; color: var(--ink); cursor: pointer; }
.nav > a:hover, .nav-group > button:hover { background: var(--stone); }
.nav-group { position: relative; }
.nav-group > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(20,40,75,.1); padding: 6px; display: none; }
.nav-group:hover .submenu, .nav-group:focus-within .submenu { display: block; }
.submenu a { display: block; padding: 9px 12px; text-decoration: none; border-radius: 4px; font-size: 0.95rem; }
.submenu a:hover { background: var(--paper); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 20px; gap: 0; }
  .nav.open { display: flex; }
  .nav > a, .nav-group > button { text-align: left; width: 100%; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--stone); }
  .nav-group > button::after { display: none; }
  .submenu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 6px 14px; }
  .menu-toggle { display: block; }
}
@media (max-width: 480px) { .header-cta .btn { display: none; } }

/* Hero: team photo anchored right and faded into the dark band on the left, so the agents stay
   on the right and the copy always sits on a readable background at every width */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
/* Overlays: black only, never more than 80% opacity, so the photo always shows through */
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 30%; }
.hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  --t-end: calc(max(0px, (100% - 1340px) / 2) + 490px); /* right edge of the hero text */
  background: linear-gradient(90deg,
    rgba(0,0,0,.8) 0,
    rgba(0,0,0,.76) calc(var(--t-end) - 140px),
    rgba(0,0,0,.66) calc(var(--t-end) - 40px),
    rgba(0,0,0,.5) calc(var(--t-end) + 50px),
    rgba(0,0,0,.34) calc(var(--t-end) + 140px),
    rgba(0,0,0,.21) calc(var(--t-end) + 240px),
    rgba(0,0,0,.11) calc(var(--t-end) + 350px),
    rgba(0,0,0,.045) calc(var(--t-end) + 470px),
    rgba(0,0,0,0) calc(var(--t-end) + 600px)); }
.hero-inner { padding: clamp(72px, 8vw, 124px) var(--gutter) clamp(80px, 9vw, 132px); }
.hero-copy { display: grid; gap: 24px; max-width: min(470px, 38vw); }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 2.6vw, 3.5rem); }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero .lead { color: rgba(255,255,255,.9); font-size: 1.12rem; }
.hero-copy h1 em { font-style: normal; color: var(--sand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero .btn-primary:hover { background: #fff; color: var(--ink); }
.towns { font-size: var(--fs-small); color: rgba(255,255,255,.8); }
.towns strong { color: #fff; font-weight: 600; }
/* Tablets and phones: photo on top, copy below on the dark band, so no one's face is covered */
@media (max-width: 1100px) {
  .hero-media { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: auto; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: 72% 30%; }
  .hero::after { display: none; }
  .hero-inner { padding: 4px var(--gutter) 56px; }
  .hero-copy { max-width: 640px; }
}
@media (min-width: 640px) and (max-width: 1100px) { .hero-media { aspect-ratio: 16 / 9; } .hero-media img { object-position: 80% 30%; } }

/* Stat strip */
.stats { background: var(--dark); color: var(--paper); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.12); display: grid; gap: 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-family: var(--font-display); font-size: var(--fs-stat); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--dark-soft); font-size: var(--fs-small); }
.stat { position: relative; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 48px; background: var(--sand); transform-origin: left; }
.stat:not(:first-child)::before { left: 24px; }
.stats.play .stat::before { animation: stat-line 0.9s cubic-bezier(.2,.7,.2,1) both; }
.stats.play .stat b, .stats.play .stat span { animation: stat-rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
.stats.play .stat span { animation-delay: .15s; }
.stats.play .stat:nth-child(2) b, .stats.play .stat:nth-child(2)::before { animation-delay: .12s; }
.stats.play .stat:nth-child(2) span { animation-delay: .27s; }
.stats.play .stat:nth-child(3) b, .stats.play .stat:nth-child(3)::before { animation-delay: .24s; }
.stats.play .stat:nth-child(3) span { animation-delay: .39s; }
.stats.play .stat:nth-child(4) b, .stats.play .stat:nth-child(4)::before { animation-delay: .36s; }
.stats.play .stat:nth-child(4) span { animation-delay: .51s; }
@keyframes stat-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stat-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 820px) { .stat:not(:first-child)::before { left: 0; } }
.stats-source { color: var(--dark-soft); font-size: 0.78rem; padding: 0 0 18px; }
@media (max-width: 820px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(-n+2) { border-top: 0; }
}

/* Sections */
section.block { padding: var(--section) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 40px); }
.section-head > div { display: grid; gap: 14px; }

/* About: agent switcher (Option A) */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: radial-gradient(ellipse at 65% 35%, #7a8287 0%, #545c61 45%, #33393d 100%); color: rgba(255,255,255,.78); }
.photo::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 16px, transparent 16px 32px); }
.photo .cap { position: absolute; left: 16px; bottom: 14px; right: 16px; display: grid; gap: 6px; justify-items: start; font-size: 0.82rem; }
.photo .mono { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); letter-spacing: -0.04em; color: rgba(255,255,255,.18); }
.a-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.a-stage { position: relative; min-height: 540px; }
.a-stage .photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1); }
.a-stage .photo.on { opacity: 1; transform: none; }
.a-stage .photo::before { display: none; }
.a-stage .photo img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about-copy { display: grid; gap: 22px; align-content: start; }
.about-copy .link-arrow { justify-self: start; }
.a-list { display: grid; border-top: 1px solid var(--line); }
.a-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 0 20px; cursor: pointer; font: inherit; color: var(--ink-soft); position: relative; transition: color .3s; }
.a-item b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; }
.a-item small { font-size: var(--fs-small); }
.a-item .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.a-item.on { color: var(--ink); }
.a-item.on .bar { animation: a-fill var(--a-dur, 6s) linear forwards; }
.a-list.paused .a-item.on .bar { animation-play-state: paused; }
@keyframes a-fill { to { transform: scaleX(1); } }
.a-bio { min-height: 8.5em; display: grid; gap: 10px; align-content: start; }
.a-bio p { color: var(--ink-soft); max-width: 56ch; }
.a-bio .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.a-bio .tags span { font-size: 0.8rem; font-family: var(--font-display); font-weight: 600; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.a-marquee { margin-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.a-track { display: flex; width: max-content; animation: a-scroll 38s linear infinite; }
.a-marquee:hover .a-track { animation-play-state: paused; }
.a-track span { white-space: nowrap; padding: 16px 28px; font-family: var(--font-display); font-weight: 500; display: flex; gap: 12px; align-items: center; }
.a-track span em { font-style: normal; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.a-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 28px; }
@keyframes a-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .a-track { flex-wrap: wrap; width: auto; }
  .a-item.on .bar { transform: scaleX(1); }
}
@media (max-width: 900px) { .a-grid { grid-template-columns: 1fr; } .a-stage { min-height: 0; aspect-ratio: 4 / 4; } }

/* Listings banner: one click out to the active-listings page (IDX later) */
.listings { padding: 0; }
.l-banner { position: relative; isolation: isolate; overflow: hidden; border-radius: 10px; color: #fff; display: grid; grid-template-columns: 1.2fr auto; align-items: end; gap: 28px; padding: clamp(32px, 5vw, 64px); min-height: 380px; text-decoration: none; }
.l-banner .photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; border-radius: 0; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.l-banner::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.66) 30%, rgba(0,0,0,.44) 55%, rgba(0,0,0,.24) 78%, rgba(0,0,0,.12) 100%); }
.l-banner:hover .photo { transform: scale(1.03); }
.l-banner .cap { left: auto; right: 18px; top: 16px; bottom: auto; justify-items: end; text-align: right; }
.l-copy { display: grid; gap: 16px; max-width: 560px; }
.l-copy .eyebrow { color: rgba(255,255,255,.75); }
.l-copy p:not(.eyebrow) { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.l-towns { display: flex; flex-wrap: wrap; gap: 8px; }
.l-towns span { font-size: 0.82rem; font-family: var(--font-display); font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.l-cta { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 700; padding: 16px 22px; border-radius: var(--radius); white-space: nowrap; transition: gap .3s; }
.l-cta svg { width: 18px; height: 18px; }
.l-banner:hover .l-cta { gap: 18px; }
.l-note { margin-top: 14px; font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 760px) { .l-banner { grid-template-columns: 1fr; min-height: 0; padding-top: 88px; } .l-cta { justify-self: start; } }

/* Buy / Sell: expanding photo panels (Option B) */
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--accent); color: #fff; }
.b-row { display: flex; gap: 16px; height: auto; min-height: 620px; }
.b-panel { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; border-radius: 10px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); transition: flex-grow .7s cubic-bezier(.2,.7,.2,1); }
.b-panel.on { flex-grow: 1.7; }
.b-panel > .photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; border-radius: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.b-panel > .photo .cap { left: auto; bottom: auto; right: 16px; top: 14px; justify-items: end; text-align: right; }
.b-panel::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.8) 100%); }
.b-panel.on > .photo { transform: scale(1.04); }
.b-panel > .photo::before { display: none; }
.b-panel > .photo img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.b-panel .eyebrow { color: rgba(255,255,255,.75); }
.b-panel h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); font-weight: 700; margin: 10px 0 0; max-width: 18ch; }
.b-steps { list-style: none; margin: 0; padding: 0; display: grid; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s cubic-bezier(.2,.7,.2,1), opacity .5s .1s, margin .5s; }
.b-panel.on .b-steps { max-height: 320px; opacity: 1; margin-top: 22px; }
.b-steps li { display: grid; grid-template-columns: 34px 1fr; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
.b-steps li b { font-family: var(--font-display); font-size: .82rem; color: var(--sand); font-variant-numeric: tabular-nums; }
.b-panel .btn { margin-top: 22px; align-self: flex-start; }
@media (max-width: 760px) {
  .b-row { flex-direction: column; height: auto; }
  .b-panel, .b-panel.on { flex: none; min-height: 440px; padding-top: 88px; }
  .b-steps, .b-panel .b-steps { max-height: none; opacity: 1; margin-top: 20px; }
  .b-steps li { white-space: normal; }
}

/* Marketing: bento grid (Option C) */
.marketing { background: var(--dark); color: var(--paper); }
.marketing .eyebrow { color: var(--dark-soft); }
.marketing .section-head h2 { max-width: 20ch; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-template-areas: "vid vid soc drn" "vid vid soc stg" "quo quo quo stg"; }
.tile { position: relative; isolation: isolate; overflow: hidden; border-radius: 10px; background: var(--dark-2); border: 1px solid var(--dark-line); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; transition: border-color .4s; }
.tile:hover { border-color: rgba(255,255,255,.28); }
.tile h3 { font-size: 1.15rem; font-weight: 600; }
.tile p { color: var(--dark-soft); font-size: .9rem; max-width: 40ch; }
.tile > .photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; border-radius: 0; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.tile > .photo .cap, .tile > .cap { top: 14px; left: 14px; bottom: auto; right: auto; }
.tile > .cap { position: absolute; z-index: 2; display: grid; gap: 6px; justify-items: start; font-size: .8rem; color: rgba(255,255,255,.72); }
.tile.has-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.55) 18%, rgba(0,0,0,.3) 36%, rgba(0,0,0,.12) 52%, rgba(0,0,0,.03) 66%, rgba(0,0,0,0) 78%); }
.tile:hover > .photo { transform: scale(1.04); }
.t-vid { grid-area: vid; padding: 28px; }
.t-vid h3 { font-size: 1.6rem; font-weight: 700; }
.t-vid { cursor: pointer; }
.t-vid video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; background: var(--navy-deep); }
.t-vid .play { transition: opacity .3s, transform .3s; }
.t-vid:hover .play { transform: translate(-50%, -60%) scale(1.06); }
.t-vid.playing .play { opacity: 0; }
.t-vid.playing.pinned:hover .play, .t-vid.playing .play:focus-visible { opacity: .9; }
.t-vid .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 76px; height: 76px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; }
.t-vid .play svg { width: 24px; fill: #fff; margin-left: 4px; }
.t-drn { grid-area: drn; }
.t-drn > .photo::before { display: none; }
.t-drn.has-photo::after { background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.08) 75%); }
.t-drn > .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 48%; }
.hud { position: absolute; top: 14px; right: 14px; bottom: 14px; left: 14px; z-index: 0; pointer-events: none; font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.75); opacity: .55; transition: opacity .4s; }
.t-drn:hover .hud { opacity: 1; }
.hud::before, .hud::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid rgba(255,255,255,.7); }
.hud::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud .alt { position: absolute; top: 0; left: 22px; font-variant-numeric: tabular-nums; }
.hud .rec { position: absolute; top: 0; right: 22px; display: flex; gap: 6px; align-items: center; }
.hud .rec i { width: 7px; height: 7px; border-radius: 50%; background: #e0574f; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.t-soc { grid-area: soc; justify-content: space-between; align-items: center; padding: 22px 20px 20px; }
.t-soc .txt { align-self: stretch; }
.phone { width: 128px; aspect-ratio: 9 / 18.5; border-radius: 20px; border: 2px solid rgba(255,255,255,.35); padding: 6px; background: #111; position: relative; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.t-soc:hover .phone { transform: translateY(-6px) rotate(-2deg); }
.phone .screen { position: absolute; top: 6px; right: 6px; bottom: 6px; left: 6px; border-radius: 14px; overflow: hidden; }
.phone { width: 150px; }
.t-soc { cursor: pointer; }
.phone .screen video { width: 100%; height: 100%; object-fit: cover; display: block; background: #222; }
.mini-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(0,0,0,.25); backdrop-filter: blur(4px); display: grid; place-items: center; cursor: pointer; transition: opacity .3s; z-index: 3; }
.mini-play svg { width: 16px; fill: #fff; margin-left: 3px; }
.t-soc.playing .mini-play { opacity: 0; }
.t-soc.playing.pinned:hover .mini-play, .mini-play:focus-visible { opacity: .9; }
.t-stg { grid-area: stg; }
.t-stg > .photo::before { display: none; }
.t-stg > .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.t-stg.has-photo::after { background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 35%, rgba(0,0,0,.04) 65%); }
.t-quo { grid-area: quo; justify-content: center; background: var(--accent); border-color: transparent; }
.t-quo blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.t-quo cite { font-style: normal; color: var(--sand); font-size: .88rem; margin-top: 10px; display: block; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; grid-template-areas: "vid vid" "vid vid" "soc drn" "soc stg" "quo quo"; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; grid-template-areas: "vid" "drn" "soc" "stg" "quo"; }
  .tile { min-height: 200px; }
  .t-vid { min-height: 340px; }
  .t-soc { flex-direction: row; align-items: flex-end; gap: 16px; }
  .phone { width: 120px; flex: none; }
}

/* Reviews: horizontal row of review boxes. Drifts slowly; swipe, drag or use arrows; pauses on hover. */
.section-head > .reviews-head-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.r-controls { display: flex; gap: 8px; }
.r-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.r-btn:hover { background: var(--ink); color: var(--paper); }
.r-viewport { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); cursor: grab; }
.r-viewport::-webkit-scrollbar { display: none; }
.r-viewport.dragging { cursor: grabbing; user-select: none; }
.r-track { display: flex; gap: 20px; width: max-content; padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.review { flex: 0 0 360px; min-height: 280px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: transform .35s, box-shadow .35s; }
.review:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,40,75,.08); }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.review .stars { letter-spacing: 2px; color: var(--ink); font-size: .9rem; }
.review footer { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--stone); }
.review footer b { font-family: var(--font-display); font-weight: 600; }
.review footer span { font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 520px) { .review { flex-basis: 82vw; } }

/* Home value form */
.value { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value form.card-form { box-shadow: 0 1px 2px rgba(20,40,75,.04), 0 18px 40px rgba(20,40,75,.06); }
.value-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.value-copy { display: grid; gap: 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
form.card-form { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; border: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
input, select, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(20,40,75,.15); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot p { font-size: 0.8rem; color: var(--ink-soft); flex: 1 1 220px; }
.form-msg { grid-column: 1 / -1; background: var(--sand-tint); border: 1px solid #DCCFB8; color: var(--navy); padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; }
@media (max-width: 560px) { form.card-form { grid-template-columns: 1fr; } }

/* Contact band */
.cta-band { padding: clamp(44px, 5vw, 72px) 0; text-align: left; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 32px; }
.cta-inner h2 { max-width: 18ch; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-soft); padding: clamp(48px, 5vw, 64px) 0 28px; font-size: var(--fs-small); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-family: var(--font-display); color: var(--paper); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer .logo-mark { border-color: var(--paper); border-right-color: transparent; }
.site-footer .logo-mark::after { border-right-color: var(--paper); }
.site-footer .logo-text { color: var(--paper); }
.site-footer .logo-text small { color: var(--dark-soft); }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; }
.legal p { max-width: 70ch; }

/* Toast */
.toast { visibility: hidden; opacity: 0; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius); font-size: 0.92rem; transition: transform .25s, opacity .25s, visibility .25s; z-index: 80; max-width: calc(100% - 32px); }
.toast.show { visibility: visible; opacity: 1; transform: translate(-50%, 0); }

/* Responsive stacking */
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

/* ================= Inner pages ================= */
/* Current page in the menu */
.nav > a[aria-current="page"], .nav-group[data-current] > button { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.submenu a[aria-current="page"] { font-weight: 600; color: var(--accent); }

/* Page hero: same photo-right, fade-left treatment as the homepage, shorter */
.hero--page .hero-inner { padding: clamp(60px, 6.5vw, 96px) var(--gutter) clamp(68px, 7vw, 104px); }
.hero--page h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.5rem); }
.hero--page .hero-media { width: auto; }
.hero--page .hero-media img { object-position: var(--focus, 70% 40%); }
.crumbs { font-size: var(--fs-small); color: rgba(255,255,255,.7); display: flex; gap: 8px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .hero--page .hero-media { width: auto; aspect-ratio: 16 / 8; }
  .hero--page .hero-media img { object-position: var(--focus-m, var(--focus, 70% 40%)); }
  .hero--page .hero-inner { padding: 4px var(--gutter) 56px; }
}
@media (max-width: 640px) { .hero--page .hero-media { aspect-ratio: 4 / 3; } }

/* Intro block: big statement left, supporting copy right */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.intro-split .lead-xl { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
.intro-split .body { display: grid; gap: 16px; color: var(--ink-soft); }
.intro-split .body .hero-actions { margin-top: 6px; }
@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; } }

/* How it works: sticky intro left, numbered steps right with a line that fills on scroll */
.proc { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.proc-head { position: sticky; top: 110px; display: grid; gap: 18px; }
.proc-head p { color: var(--ink-soft); }
.proc-head .btn { justify-self: start; }
.proc-steps { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; display: grid; gap: 0; --fill: 0; }
.proc-steps::before, .proc-steps::after { content: ""; position: absolute; left: 21px; top: 22px; width: 2px; }
.proc-steps::before { bottom: 22px; background: var(--line); }
.proc-steps::after { height: calc((100% - 44px) * var(--fill)); background: var(--accent); }
.proc-steps li { position: relative; padding: 0 0 44px; display: grid; gap: 10px; }
.proc-steps li:last-child { padding-bottom: 0; }
.proc-steps .n { position: absolute; left: -64px; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; z-index: 1; transition: background .4s, border-color .4s, color .4s; }
.proc-steps li.reached .n { background: var(--accent); border-color: var(--accent); color: #fff; }
.proc-steps h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 700; padding-top: 8px; }
.proc-steps p { color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 900px) { .proc { grid-template-columns: 1fr; } .proc-head { position: static; } }
@media (max-width: 480px) { .proc-steps { padding-left: 54px; } .proc-steps .n { left: -54px; width: 40px; height: 40px; } .proc-steps::before, .proc-steps::after { left: 19px; } }

/* Agent bios */
.bios { display: grid; gap: clamp(44px, 5vw, 72px); }
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.bio:nth-child(even) { grid-template-columns: 7fr 5fr; }
.bio:nth-child(even) .bio-photo { order: 2; }
.bio-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--stone); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.bio:hover .bio-photo img { transform: scale(1.03); }
.bio-copy { display: grid; gap: 18px; align-content: start; }
.bio-copy h3 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 700; }
.bio-copy .role { font-family: var(--font-display); font-weight: 600; color: var(--ink-soft); }
.bio-copy p { color: var(--ink-soft); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: .82rem; font-family: var(--font-display); font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.chips span.award { background: var(--sand-tint); border-color: #DCCFB8; color: var(--accent); }
.bio-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.bio-contact span { color: var(--ink-soft); }
.bio-contact b { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-right: 6px; }
@media (max-width: 860px) { .bio, .bio:nth-child(even) { grid-template-columns: 1fr; } .bio:nth-child(even) .bio-photo { order: 0; } .bio-photo { max-width: 460px; } }

/* Why work with us: dark band with counted results */
.why { background: var(--dark); color: var(--paper); }
.why .eyebrow { color: var(--dark-soft); }
.why .lead { color: var(--dark-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.why-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 10px; padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.why-card .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.why-card .big small { font-size: .9rem; font-weight: 600; color: var(--dark-soft); letter-spacing: 0; margin-left: 6px; }
.why-card h3 { font-size: 1.25rem; font-weight: 600; }
.why-card p { color: var(--dark-soft); font-size: .97rem; }
.why-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--paper); }
.why-card li { padding-left: 18px; position: relative; }
.why-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--sand); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* Towns */
.towns-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.town { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 10px; align-content: start; transition: border-color .3s, transform .3s; }
.town:hover { border-color: var(--ink); transform: translateY(-3px); }
.town h3 { font-size: 1.25rem; font-weight: 700; }
.town p { color: var(--ink-soft); font-size: .93rem; }
.town a { font-family: var(--font-display); font-weight: 600; font-size: .9rem; text-decoration: none; margin-top: 4px; }
.town a::after { content: " \2192"; }
@media (max-width: 1100px) { .towns-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .towns-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .towns-grid { grid-template-columns: 1fr; } }

/* Partner / feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; align-content: start; }
.fcard .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--sand-tint); display: grid; place-items: center; color: var(--accent); }
.fcard .ico svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 1.25rem; font-weight: 700; }
.fcard p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* Split feature: text one side, image the other */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--stone); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 20px; align-content: start; }
.split-copy p { color: var(--ink-soft); }
.split-copy .btn, .split-copy .link-arrow { justify-self: start; }
.pointlist { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.pointlist li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pointlist li em { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--accent); padding-top: 3px; grid-row: span 2; font-variant-numeric: tabular-nums; }
.pointlist li b { font-family: var(--font-display); font-weight: 600; }
.pointlist li span { color: var(--ink-soft); font-size: .95rem; }
.dark .pointlist, .band-dark .pointlist { border-color: var(--dark-line); }
.dark .pointlist li, .band-dark .pointlist li { border-color: var(--dark-line); }
.dark .pointlist li em, .band-dark .pointlist li em { color: var(--sand); }
.dark .pointlist li span, .band-dark .pointlist li span { color: var(--dark-soft); }
.band-dark .pointlist li b { color: var(--paper); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .split-media { order: 0; } }

/* Dark band (negotiation, pricing) */
.band-dark { background: var(--dark); color: var(--paper); }
.band-dark .eyebrow { color: var(--dark-soft); }
.band-dark .split-copy p { color: var(--dark-soft); }
.quote-card { margin: 0; background: var(--accent); color: #fff; border-radius: 10px; padding: clamp(26px, 3.5vw, 40px); display: grid; gap: 14px; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.quote-card cite { font-style: normal; color: var(--sand); font-size: .9rem; }

/* Marketing mini-grid on the selling page */
.mk-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mk-mini figure { margin: 0; position: relative; isolation: isolate; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; }
.mk-mini img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.mk-mini figure::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 22%, rgba(0,0,0,.26) 42%, rgba(0,0,0,.14) 60%, rgba(0,0,0,.1) 100%); }
.mk-mini figure:hover img { transform: scale(1.04); }
.mk-mini b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.mk-mini span { font-size: .88rem; color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .mk-mini { grid-template-columns: 1fr 1fr; } }

/* Neighborhood panels (Buying page): five tall panels, hover/tap widens one */
.nb-row { display: flex; gap: 10px; height: 520px; }
.nb-row + .listing-note { margin-top: 16px; }
.nb-p { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; border-radius: 10px; overflow: hidden; color: #fff; cursor: pointer; transition: flex-grow .7s cubic-bezier(.2,.7,.2,1); outline-offset: 3px; }
.nb-p.on { flex-grow: 3.4; }
.nb-p > .photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; border-radius: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.nb-p.on > .photo { transform: scale(1.04); }
.nb-p > .photo img { width: 100%; height: 100%; object-fit: cover; }
.nb-p::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.32) 50%, rgba(0,0,0,.18) 100%); }
.nb-t1 { background: radial-gradient(ellipse at 30% 40%, #7c868a, #3b4246 75%); }
.nb-t2 { background: radial-gradient(ellipse at 70% 30%, #77807a, #353b37 75%); }
.nb-t3 { background: radial-gradient(ellipse at 50% 60%, #7d8580, #343a37 75%); }
.nb-t4 { background: linear-gradient(180deg, #8b949a 0%, #4f585d 55%, #2c3236 100%); }
.nb-t5 { background: radial-gradient(ellipse at 40% 70%, #6f7c84, #2f363a 75%); }
.nb-p .vname { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; white-space: nowrap; transition: opacity .3s; }
.nb-p.on .vname { opacity: 0; }
.nb-p .body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .4s .15s, transform .5s .15s cubic-bezier(.2,.7,.2,1); min-width: 320px; }
.nb-p:not(.on) .body { pointer-events: none; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.nb-p.on .body { opacity: 1; transform: none; }
.nb-p .body .num { font-family: var(--font-mono); font-size: .75rem; color: var(--sand); }
.nb-p .body h3 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); font-weight: 700; }
.nb-p .body p { color: rgba(255,255,255,.85); max-width: 46ch; }
.nb-p .body a { justify-self: start; margin-top: 6px; display: inline-flex; gap: 10px; align-items: center; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 600; text-decoration: none; padding: 11px 16px; border-radius: 6px; }
.nb-p .body a:hover { background: var(--accent); color: #fff; }
.nb-p .cap { top: 12px; left: 12px; right: 12px; bottom: auto; justify-items: end; text-align: right; opacity: 0; transition: opacity .3s; }
.nb-p.on .cap { opacity: 1; }
@media (max-width: 860px) {
  .nb-row { flex-direction: column; height: auto; }
  .nb-p, .nb-p.on { flex: none; height: 84px; transition: height .6s cubic-bezier(.2,.7,.2,1); }
  .nb-p.on { height: 380px; }
  .nb-p .vname { writing-mode: horizontal-tb; transform: none; left: 22px; bottom: auto; top: 50%; translate: 0 -50%; }
  .nb-p .body { min-width: 0; }
}

/* Tinted band to set an intro section apart from the one below it */
.band-tint { background: var(--surface); border-bottom: 1px solid var(--line); } /* tan retired: section colors are Ivory, White, Deep Navy */
.band-tint .intro-split .body { color: #35332F; }

/* Negotiation scenarios (Buying page): tabs, each with what we do + a client quote */
.band-light { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ng-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 36px; }
.lead-soft { color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; }
.ng-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ng-tabs button { font: inherit; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: .95rem; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink-soft); transition: background .3s, color .3s, border-color .3s; }
.ng-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.ng-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ng-panel { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); min-height: 360px; animation: ng-in .4s cubic-bezier(.2,.7,.2,1); }
.ng-panel[hidden] { display: none; }
@keyframes ng-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ng-left { padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 16px; align-content: start; }
.ng-left .sit { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-soft); letter-spacing: .04em; }
.ng-left h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 700; }
.ng-left p { color: var(--ink-soft); }
.ng-moves { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ng-moves li { display: grid; grid-template-columns: 26px 1fr; }
.ng-moves li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--accent); background: var(--sand-tint); }
.ng-right { margin: 0; background: var(--dark); color: var(--paper); padding: clamp(26px, 3.5vw, 44px); display: grid; align-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.ng-right .eyebrow { color: var(--dark-soft); }
.ng-right > div { display: grid; gap: 14px; }
.ng-right blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.ng-right cite { font-style: normal; color: var(--dark-soft); font-size: .9rem; }
.ng-right::after { content: "\201C"; position: absolute; right: 18px; top: -24px; font-family: var(--font-display); font-size: 12rem; line-height: 1; color: rgba(255,255,255,.05); }
.ng-panel + .ng-panel { margin-top: 0; }
.ng-panel ~ .listing-note { margin-top: 16px; }
@media (max-width: 860px) { .ng-head, .ng-panel { grid-template-columns: 1fr; } .ng-right { min-height: 220px; } }

/* Strategic pricing (Selling page): "first 14 days" chart; bars grow on scroll */
.pc-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.pc-chart { background: var(--dark); color: var(--paper); border-radius: 10px; padding: clamp(22px, 3vw, 34px); }
.pc-illus { display: block; line-height: 1.5; font-family: var(--font-mono); font-size: .72rem; color: var(--dark-soft); }
.pc-chart h3 { font-size: 1.15rem; font-weight: 600; margin: 6px 0 48px; }
.pc-bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; align-items: end; height: 220px; border-bottom: 1px solid var(--dark-line); position: relative; }
.pc-bars i { display: block; background: rgba(255,255,255,.14); border-radius: 4px 4px 0 0; height: var(--h); }
.pc-bars i.hot { background: var(--sand); }
.pc-chart.anim .pc-bars i { height: 0; }
.pc-chart.anim.show .pc-bars i { height: var(--h); transition: height .9s cubic-bezier(.2,.7,.2,1); }
.pc-bars i:nth-child(3) { transition-delay: .05s; } .pc-bars i:nth-child(4) { transition-delay: .1s; } .pc-bars i:nth-child(5) { transition-delay: .15s; } .pc-bars i:nth-child(6) { transition-delay: .2s; } .pc-bars i:nth-child(7) { transition-delay: .25s; } .pc-bars i:nth-child(8) { transition-delay: .3s; } .pc-bars i:nth-child(9) { transition-delay: .35s; } .pc-bars i:nth-child(10) { transition-delay: .4s; } .pc-bars i:nth-child(11) { transition-delay: .45s; }
.pc-window { position: absolute; left: 0; top: -10px; bottom: 0; width: calc(20% - 3px); border: 1.5px dashed var(--sand); border-bottom: 0; border-radius: 6px 6px 0 0; }
.pc-chart.anim .pc-window { opacity: 0; }
.pc-chart.anim.show .pc-window { opacity: 1; transition: opacity .5s 1s; }
.pc-window span { position: absolute; top: -26px; left: 0; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: .8rem; color: var(--sand); }
.pc-x { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .7rem; color: var(--dark-soft); margin-top: 8px; }
.pc-proof { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--dark-line); display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 6px 22px; align-items: end; }
.pc-proof b { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; line-height: 1; letter-spacing: -.02em; display: block; }
.pc-proof span { font-size: .78rem; color: var(--dark-soft); }
.pc-proof cite { grid-column: 1 / -1; font-style: normal; font-size: .82rem; color: var(--dark-soft); }
@media (max-width: 900px) { .pc-grid { grid-template-columns: 1fr; } .pc-grid .split-copy { order: -1; } }
@media (max-width: 420px) { .pc-proof { grid-template-columns: repeat(3, auto); } .pc-proof b { font-size: 1.5rem; } }

/* Team page: mission values row and agent jump links */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.values > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; display: grid; gap: 6px; align-content: start; }
.values .v-n { font-family: var(--font-mono); font-size: .75rem; color: var(--accent); }
.values b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.values p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.agents-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 48px); }
.agent-jump { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .95rem; background: var(--paper); transition: border-color .3s, background .3s; }
.agent-jump a:hover { border-color: var(--ink); background: var(--surface); }
.agent-jump img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.bio { scroll-margin-top: 100px; }

/* ================= Marketing page ================= */
.svc-jump { display: flex; gap: 8px; flex-wrap: wrap; }
.svc-jump a { font-family: var(--font-display); font-weight: 600; font-size: .92rem; text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .3s, background .3s; }
.svc-jump a:hover { border-color: var(--ink); background: var(--surface); }
.svc-rows { display: grid; gap: clamp(44px, 5.5vw, 80px); margin-top: 8px; }
.svc { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: 110px; }
.svc.flip { grid-template-columns: 5fr 7fr; }
.svc.flip .svc-media { order: 2; }
.svc-copy { display: grid; gap: 16px; align-content: start; }
.svc-n { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); }
.svc-copy h3 { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem); font-weight: 700; }
.svc-copy p { color: var(--ink-soft); max-width: 54ch; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.svc-tag { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.85); background: rgba(0,0,0,.5); backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 4px; transition: opacity .3s; }
/* video */
.svc-video { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--navy-deep); }
.svc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-video .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; transition: opacity .3s, transform .3s; }
.svc-video .play svg { width: 26px; fill: #fff; margin-left: 5px; }
.svc-video:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.svc-video.playing .play, .svc-video.playing .svc-tag { opacity: 0; }
.svc-video.playing.pinned:hover .play, .svc-video .play:focus-visible { opacity: .9; }
/* drone stack */
.svc-stack { position: relative; aspect-ratio: 16 / 11; }
.svc-stack img { position: absolute; border-radius: 10px; object-fit: cover; box-shadow: 0 24px 50px rgba(20,40,75,.18); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-stack img:first-child { left: 0; top: 0; width: 78%; height: 78%; }
.svc-stack img:last-child { right: 0; bottom: 0; width: 52%; height: 52%; border: 6px solid var(--paper); object-position: 50% 62%; }
.svc-stack:hover img:first-child { transform: translate(-6px, -6px); }
.svc-stack:hover img:last-child { transform: translate(6px, 6px); }
/* social */
.svc-social { position: relative; aspect-ratio: 16 / 11; border-radius: 10px; background: radial-gradient(ellipse at 50% 40%, var(--navy-2) 0%, var(--navy) 70%); display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.svc-social .phone { width: clamp(150px, 16vw, 210px); }
.svc-social:hover .phone { transform: translateY(-6px) rotate(-2deg); }
.svc-social.playing .mini-play, .svc-social.playing .svc-tag { opacity: 0; }
.svc-social.playing.pinned:hover .mini-play { opacity: .9; }
/* staging */
.svc-photo { position: relative; aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.svc-photo:hover img { transform: scale(1.03); }
.svc-ph { position: absolute; top: 14px; left: 14px; }
@media (max-width: 900px) { .svc, .svc.flip { grid-template-columns: 1fr; } .svc.flip .svc-media { order: 0; } }

/* Why it matters (marketing) */
.mkw { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.mkw-copy { display: grid; gap: 20px; }
.mkw-copy > p:not(.eyebrow) { color: var(--dark-soft); }
.mkw-stats { margin-top: 6px; }
.mkw-quotes { display: grid; gap: 14px; }
.mkw-quotes figure { margin: 0; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 10px; padding: 22px 24px; display: grid; gap: 10px; }
.mkw-quotes figure:first-child { background: var(--accent); border-color: transparent; }
.mkw-quotes blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.mkw-quotes figure:first-child blockquote { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 500; line-height: 1.4; }
.mkw-quotes cite { font-style: normal; color: var(--dark-soft); font-size: .88rem; }
.mkw-quotes figure:first-child cite { color: var(--sand); }
@media (max-width: 900px) { .mkw { grid-template-columns: 1fr; } }

/* ================= Community page ================= */
.give-photo { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.give-photo img { width: 100%; height: 100%; object-fit: cover; }
.give-photo figcaption { position: absolute; left: 14px; bottom: 14px; font-size: .82rem; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 4px; }
.give-note { font-size: .92rem; }
.give-cards { margin-top: clamp(32px, 4vw, 48px); }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.logo-wall > div { background: var(--surface); aspect-ratio: 5 / 2; display: grid; place-items: center; transition: background .3s; }
.logo-wall > div:hover { background: var(--paper); }
.logo-wall span { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #b5b8b2; border: 1.5px dashed #D9D3C7; padding: 10px 22px; border-radius: 6px; }
.logo-wall + .listing-note { margin-top: 16px; }
@media (max-width: 760px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.fav-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; animation: ng-in .4s cubic-bezier(.2,.7,.2,1); }
.fav-panel[hidden] { display: none; }
.fav { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 8px; align-content: start; min-height: 190px; transition: border-color .3s, transform .3s; }
.fav:hover { border-color: var(--ink); transform: translateY(-3px); }
.fav-town { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.fav h3 { font-size: 1.2rem; font-weight: 700; }
.fav p { color: var(--ink-soft); font-size: .95rem; }
.fav.ph { background: repeating-linear-gradient(135deg, var(--paper) 0 14px, #F1ECE3 14px 28px); border-style: dashed; }
.fav.ph h3, .fav.ph p, .fav.ph .fav-town { color: #9a9e98; }
.fav-panel ~ .listing-note { margin-top: 16px; }
@media (max-width: 1000px) { .fav-panel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fav-panel { grid-template-columns: 1fr; } }

/* ================= Resource pages (FAQ, Blog) ================= */
.res-head { padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); background: var(--surface); }
.crumbs--dark { color: var(--ink-soft); margin-bottom: 22px; }
.crumbs--dark a { color: var(--ink); }
.res-head h1 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.6rem); max-width: 18ch; }
.res-head-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 900px) { .res-head-grid { grid-template-columns: 1fr; } }
.faq-search { display: grid; gap: 10px; }
.faq-search label, .filter-label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.faq-search-box { position: relative; }
.faq-search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); }
.faq-search-box input { padding: 15px 16px 15px 46px; font-size: 1.02rem; border-radius: 999px; background: var(--paper); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font: inherit; font-family: var(--font-display); font-weight: 600; font-size: .88rem; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.chip span { color: var(--ink-soft); font-weight: 500; margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.blog-filter { display: grid; gap: 10px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-groups { display: grid; gap: clamp(40px, 5vw, 56px); }
.faq-group { scroll-margin-top: 100px; }
.faq-group h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 14px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-group .faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; transition: color .2s; }
.faq-item summary:hover h3 { color: var(--accent); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .3s, border-color .3s, transform .35s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s; }
.faq-item[open] .faq-icon { background: var(--ink); border-color: var(--ink); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 44px 22px 0; color: var(--ink-soft); display: grid; gap: 12px; max-width: 70ch; }
.faq-item[open] .faq-a { animation: ng-in .35s cubic-bezier(.2,.7,.2,1); }
.faq-a a { color: var(--ink); }
.faq-item mark { background: #fff3c4; color: inherit; border-radius: 2px; padding: 0 1px; }
.faq-empty { color: var(--ink-soft); }
.faq-side { position: sticky; top: 100px; display: grid; gap: 14px; }
.faq-card { background: var(--dark); color: var(--paper); border-radius: 10px; padding: 26px; display: grid; gap: 14px; }
.faq-card .eyebrow { color: var(--dark-soft); }
.faq-card h2 { font-size: 1.6rem; }
.faq-card p { color: var(--dark-soft); font-size: .97rem; }
.faq-card .btn { justify-self: start; }
.faq-card--light { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.faq-card--light .eyebrow { color: var(--ink-soft); }
.faq-links { list-style: none; margin: 0; padding: 0; display: grid; }
.faq-links li { border-top: 1px solid var(--line); }
.faq-links a { display: block; padding: 12px 0; font-family: var(--font-display); font-weight: 600; text-decoration: none; line-height: 1.35; }
.faq-links a::after { content: " \2192"; color: var(--accent); }
.faq-links a:hover { color: var(--accent); }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .35s, box-shadow .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,40,75,.09); }
.post-card[hidden] { display: none; }
.post-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.post-card h2 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.post-card h2 a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s; }
.post-card:hover h2 a { background-size: 100% 1.5px; }
.post-card h2 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.post-card { position: relative; }
.post-card p { color: var(--ink-soft); font-size: .97rem; }
.post-cat { justify-self: start; display: inline-block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: var(--sand-tint); padding: 4px 9px; border-radius: 4px; }
.post-meta-sm { font-size: .85rem; color: var(--ink-soft); }
.post-card.featured { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto; }
.post-card.featured .post-card-img { aspect-ratio: auto; min-height: 380px; }
.post-card.featured .post-card-body { padding: clamp(28px, 4vw, 52px); align-content: center; gap: 14px; }
.post-card.featured h2 { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem); letter-spacing: -.02em; }
.post-card.featured p { font-size: 1.08rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } .post-card.featured { grid-template-columns: 1fr; } .post-card.featured .post-card-img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 620px) { .post-grid, .post-grid--2 { grid-template-columns: 1fr; } }

/* Article */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.post-head { padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 40px); }
.post-head .wrap { display: grid; gap: 18px; justify-items: start; }
.post-head .crumbs { margin-bottom: 4px; }
.post-head h1 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4rem); max-width: 20ch; letter-spacing: -.03em; }
.post-dek { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-soft); max-width: 52ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: .95rem; color: var(--ink-soft); }
.post-meta b { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.post-authors { display: inline-flex; }
.post-authors img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--paper); object-fit: cover; }
.post-authors img + img { margin-left: -9px; }
.post-hero { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--stone); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.post-toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 14px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1.5px solid var(--line); }
.post-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; font-size: .92rem; line-height: 1.35; color: var(--ink-soft); text-decoration: none; transition: color .2s, border-color .2s; }
.post-toc a:hover { color: var(--ink); }
.post-toc a.on { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
.toc-cta { justify-self: start; margin-top: 8px; }
.prose { max-width: 68ch; font-size: 1.1rem; line-height: 1.75; color: #23272C; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2em; scroll-margin-top: 100px; color: var(--ink); }
.prose h2 + p { margin-top: .7em; }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 500; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose ul li { padding-left: 26px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--ink); }
.author-box { margin-top: 3em !important; display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .97rem; line-height: 1.6; }
.author-box b { font-family: var(--font-display); }
.author-box p { color: var(--ink-soft); margin-top: 4px; }
.author-box .post-authors img { width: 44px; height: 44px; border-color: var(--surface); }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } .post-toc { position: static; border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: var(--surface); } .toc-cta { display: none; } }
@media (max-width: 560px) { .post-hero { aspect-ratio: 4 / 3; } .author-box { flex-direction: column; align-items: flex-start; } }
.post-toc a.btn { display: inline-flex; padding: .85em 1.4em; margin-left: 0; border-left: 0; color: #fff; font-weight: 600; font-size: 1rem; }
.post-toc a.btn:hover { color: #fff; }
#post-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { #post-grid { grid-template-columns: 1fr; } }
.author-box .post-authors { flex: none; }


/* ================= Signature palette rules =================
   Sand is the accent on navy; navy is the accent on ivory/white. */
.logo-text { color: var(--navy); }
.logo-mark { border-color: var(--navy); border-right-color: transparent; }
.logo-mark::after { border-right-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); }
.stats { background: var(--navy); }
.stat::before { background: var(--sand); }
/* Buttons that sit on navy switch to sand so they stay visible */
.hero .btn-primary, .faq-card .btn-primary { background: var(--sand); color: var(--navy); }
.hero .btn-primary:hover, .faq-card .btn-primary:hover { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sand); color: var(--navy); }
/* Quote cards that were accent-colored sit on navy bands, so they become sand */
.t-quo, .quote-card, .mkw-quotes figure:first-child { background: var(--sand); color: var(--navy); border-color: transparent; }
.t-quo cite, .quote-card cite, .mkw-quotes figure:first-child cite { color: rgba(20,40,75,.72); }
/* Selected tabs and chips in brand navy */
.chip.on, .ng-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); }
/* Sand Deep for decorative marks on light backgrounds */
.ticks li::before, .checks li::before { border-color: var(--sand-deep); }
.ng-moves li::before { border-color: var(--sand-deep); }
.prose ul li::before { background: var(--sand-deep); }
.faq-links a::after { color: var(--sand-deep); }
.cta-inner { border-top-color: var(--navy); }
/* Keyboard focus stays visible on navy */
.hero :focus-visible, .stats :focus-visible, .marketing :focus-visible, .why :focus-visible, .band-dark :focus-visible, .site-footer :focus-visible, .faq-card :focus-visible, .l-banner:focus-visible { outline-color: var(--sand); }

/* Homepage hero: the team photo stretches full width, so stack photo-then-text a little earlier
   to keep the agents clear of the headline on smaller laptops */
@media (max-width: 1280px) {
  .hero:not(.hero--page) .hero-media { position: relative; top: auto; right: auto; bottom: auto; left: auto; aspect-ratio: 16 / 9; }
  .hero:not(.hero--page)::after { display: none; }
  .hero:not(.hero--page) .hero-inner { padding: 36px var(--gutter) 64px; }
  .hero:not(.hero--page) .hero-copy { max-width: 640px; }
}
@media (max-width: 640px) { .hero:not(.hero--page) .hero-media { aspect-ratio: 4 / 3; } }
.hero:not(.hero--page) .hero-media img { object-position: 100% 32%; }
@media (max-width: 1280px) { .hero:not(.hero--page) .hero-media img { object-position: 60% 30%; } }
@media (min-width: 1101px) { .hero--page .hero-copy { max-width: min(580px, 46vw); } }
.hero--page::after { --t-end: calc(max(0px, (100% - 1340px) / 2) + 600px); }

/* Header: white bar; logo is the name set in the heading face */
.site-header { background: rgba(255,255,255,.97); }
.logo { gap: 0; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: -0.03em; text-transform: none; white-space: nowrap; }
.site-footer .logo-text { font-size: 1.6rem; }
.logo-text small { margin-top: 6px; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; }
.a-bio .tags span { background: var(--navy); border-color: var(--navy); color: #fff; }
.t-quo { background: var(--dark-2); color: var(--paper); border-color: var(--dark-line); }
.t-quo cite { color: var(--dark-soft); }
.l-banner .photo::before { display: none; }
.l-banner .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.l-banner { min-height: clamp(380px, 30vw, 460px); }
@media (max-width: 760px) { .l-banner { min-height: 520px; } }
.foot-contact { font-style: normal; display: grid; gap: 10px; line-height: 1.5; }
.foot-contact a { color: var(--paper); }
.foot-contact a:hover { color: var(--sand); }

/* Team page: mission, photo left + text right */
.mission { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.mission-photo { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 50px rgba(20,40,75,.14); }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.mission-photo:hover img { transform: scale(1.03); }
.mission-photo figcaption { position: absolute; left: 16px; bottom: 16px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: #fff; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 999px; }
.mission-copy { display: grid; gap: 18px; align-content: start; }
.mission-copy > p:not(.eyebrow):not(.lead-xl) { color: #35332F; max-width: 60ch; }
.mission-copy .lead-xl { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
.mission-values { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; border-top: 1px solid var(--line); }
.mission-values li { display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mission-values span { font-family: var(--font-mono); font-size: .78rem; color: var(--navy); padding-top: 4px; }
.mission-values b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.mission-values p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 900px) { .mission { grid-template-columns: 1fr; } .mission-photo { aspect-ratio: 16 / 10; } }

/* Team bios: collapsible "Read more" */
.bio-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.bio-more.open { grid-template-rows: 1fr; }
.bio-more > div { overflow: hidden; display: grid; gap: 14px; }
.bio-more.open > div { padding-top: 18px; }
.bio-more p { color: var(--ink-soft); max-width: 60ch; }
.read-more { justify-self: start; font: inherit; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--navy); background: none; border: 0; padding: 0 0 2px; border-bottom: 1.5px solid currentColor; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.read-more::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
.read-more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.bio-contact a { text-decoration: none; color: var(--ink); }
.bio-contact a:hover { color: var(--navy); text-decoration: underline; }
.bio-contact b { font-family: var(--font-display); font-weight: 600; color: var(--ink-soft); margin-right: 8px; }
.bio-text p { color: var(--ink-soft); max-width: 60ch; }
.bio-more > div > p:first-child { margin-top: 0; }
/* Selling page marketing quote matches the homepage review tile */
.marketing .quote-card { background: var(--dark-2); color: var(--paper); border: 1px solid var(--dark-line); }
.marketing .quote-card cite { color: var(--dark-soft); }
/* About photos on phones/tablets: explicit height (not aspect-ratio) so the frame never collapses in older mobile browsers */
@media (max-width: 900px) {
  .a-stage { aspect-ratio: auto; height: min(calc(100vw - 40px), 560px); min-height: 320px; }
}
@media (max-width: 1100px) { .hero--page .hero-inner { padding-top: 22px; } }

/* Why it matters (Buying / Selling): title left, white text box right */
.wim { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.wim-title { display: grid; gap: 18px; }
.wim-title h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; max-width: 20ch; }
.wim-box { background: var(--surface); border-radius: 10px; padding: clamp(28px, 3.5vw, 48px); display: grid; gap: 18px; box-shadow: 0 1px 2px rgba(20,40,75,.04), 0 18px 40px rgba(20,40,75,.06); }
.wim-box p { color: #35332F; font-size: 1.05rem; line-height: 1.7; }
.wim-box .link-arrow { justify-self: start; margin-top: 6px; color: var(--navy); }
@media (max-width: 900px) { .wim { grid-template-columns: 1fr; gap: 28px; } }
.mission--flip { grid-template-columns: 6fr 5fr; }
.mission--flip .mission-photo { order: 2; }
@media (max-width: 900px) { .mission--flip { grid-template-columns: 1fr; } .mission--flip .mission-photo { order: 0; } }

/* Mission layout on a navy band (Buying: Why it matters) */
.band-dark .mission-copy .lead-xl { color: #fff; }
.band-dark .mission-copy > p:not(.eyebrow):not(.lead-xl) { color: var(--dark-soft); }
.band-dark .mission-values { border-color: var(--dark-line); }
.band-dark .mission-values li { border-color: var(--dark-line); }
.band-dark .mission-values span { color: var(--sand); }
.band-dark .mission-values b { color: #fff; }
.band-dark .mission-values p { color: var(--dark-soft); }
.band-dark .mission-copy .btn-primary { background: var(--sand); color: var(--navy); }
.band-dark .mission-copy .btn-primary:hover { background: #fff; }
.band-dark .mission-photo { box-shadow: 0 24px 50px rgba(0,0,0,.35); }

.foot-firm { margin: 0; font-size: 0.92rem; color: var(--dark-soft); }
.foot-firm strong { color: var(--paper); font-weight: 600; }
.nb-p > .photo.has-img::before { display: none; }
.mkw-quotes figure:first-child { background: var(--paper); color: var(--ink); }
.mkw-quotes figure:first-child cite { color: var(--ink-soft); }

/* ================= Contact page ================= */
.ct-call { justify-self: end; display: grid; gap: 6px; padding: clamp(22px, 3vw, 32px) clamp(24px, 3vw, 36px); background: var(--navy); color: #fff; border-radius: 10px; text-decoration: none; min-width: min(100%, 380px); transition: background .3s; }
.ct-call:hover { background: var(--navy-deep); }
.ct-call-label { font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-soft); }
.ct-call-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); letter-spacing: -.02em; line-height: 1.1; }
.ct-call-sub { color: var(--sand); font-size: .95rem; }
@media (max-width: 900px) { .ct-call { justify-self: stretch; } }
.ct-main { background: var(--paper); }
.ct-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-main form.card-form { box-shadow: 0 1px 2px rgba(20,40,75,.04), 0 18px 40px rgba(20,40,75,.06); }
.ct-form-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
label .opt { font-weight: 400; color: var(--ink-soft); }
.ct-side { display: grid; gap: 0; }
.ct-block { display: grid; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); }
.ct-block:first-child { border-top: 0; padding-top: 4px; }
.ct-block .link-arrow { justify-self: start; color: var(--ink); font-size: .95rem; }
.ct-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.ct-big:hover { color: var(--navy-2); }
.ct-line { font-style: normal; color: var(--ink); line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
a.ct-line:hover { text-decoration: underline; }
.ct-social { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-social a { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .3s, background .3s, color .3s; }
.ct-social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.ct-agents-band { background: var(--surface); border-top: 1px solid var(--line); }
.ct-agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .ct-agents { grid-template-columns: 1fr; } }
.ct-agent { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.ct-agent img { width: 120px; height: 150px; object-fit: cover; object-position: 50% 30%; border-radius: 6px; }
.ct-agent-body { display: grid; gap: 14px; min-width: 0; }
.ct-agent h3 { font-size: 1.2rem; }
.ct-agent .role { font-family: var(--font-display); font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.ct-agent .bio-contact { flex-direction: column; gap: 6px; padding-top: 12px; font-size: .9rem; }
.ct-agent .bio-contact a { overflow-wrap: anywhere; }
.ct-agent .link-arrow { justify-self: start; color: var(--ink); font-size: .9rem; }
@media (min-width: 981px) and (max-width: 1240px) { .ct-agent { grid-template-columns: 1fr; } .ct-agent img { width: 100%; height: 240px; } }
.ct-agent .bio-contact { gap: 10px; }
.ct-agent .bio-contact a { overflow-wrap: normal; white-space: nowrap; }
.ct-agent .bio-contact b { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 2px; }
@media (max-width: 600px) { .ct-agent { grid-template-columns: 1fr; } .ct-agent img { width: 100%; height: 260px; } .ct-agent .bio-contact a { white-space: normal; overflow-wrap: anywhere; } }
.ct-call { gap: 14px; }
.ct-call-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ct-call-list li + li { border-top: 1px solid var(--dark-line); }
.ct-call-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; color: #fff; text-decoration: none; }
.ct-call-list li:last-child a { padding-bottom: 0; }
.ct-call-list span { color: var(--dark-soft); font-size: .95rem; }
.ct-call-list b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); letter-spacing: -.01em; white-space: nowrap; }
.ct-call-list a:hover b { color: var(--sand); }
.ct-call:hover { background: var(--navy); }
.legal-right { display: grid; gap: 6px; justify-items: end; text-align: right; }
.legal .credit { font-size: .75rem; opacity: .75; }
.legal .credit a { text-decoration: underline; text-underline-offset: 2px; }
.legal .credit a:hover { color: var(--paper); }
@media (max-width: 760px) { .legal-right { justify-items: start; text-align: left; } }

/* Neighborhood panels: eight towns */
.nb-row { gap: 8px; }
.nb-p.on { flex-grow: 5; }
.nb-p .vname { font-size: 1.15rem; bottom: 24px; }
.nb-p .body { min-width: 340px; }
@media (max-width: 1000px) {
  .nb-row { flex-direction: column; height: auto; }
  .nb-p, .nb-p.on { flex: none; height: 68px; transition: height .6s cubic-bezier(.2,.7,.2,1); }
  .nb-p.on { height: 380px; }
  .nb-p .vname { writing-mode: horizontal-tb; transform: none; left: 22px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 1.3rem; }
  .nb-p .body { min-width: 0; }
}

/* Local expertise (Buying page): town index beside one photo stage */
.twn { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.twn-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.twn-list button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--line); position: relative; }
.twn-list .n { font-family: var(--font-mono); font-size: .75rem; color: var(--sand-deep); }
.twn-list .t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--ink-soft); transition: color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.twn-list .dt { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft); }
.twn-list button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--navy); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.twn-list button[aria-selected="true"] .t, .twn-list button:hover .t { color: var(--ink); }
.twn-list button[aria-selected="true"] .t { transform: translateX(6px); }
.twn-list button[aria-selected="true"]::after { width: 100%; }
.twn-list button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.twn-stage { position: relative; border-radius: 12px; overflow: hidden; min-height: 540px; background: var(--navy); color: #fff; isolation: isolate; }
.twn-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity .6s ease; }
.twn-slide[hidden] { display: block; visibility: hidden; }
.twn-slide.on { opacity: 1; visibility: visible; }
.twn-img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; }
.twn-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 6s ease; }
.twn-slide.on .twn-img img { transform: scale(1); }
.twn-ph { background: radial-gradient(ellipse at 35% 35%, #7d868b, #363d42 75%); }
.twn-slide::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.12) 100%); }
.twn-tag { position: absolute; top: 16px; right: 16px; }
.twn-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; justify-items: start; }
.twn-body .dt { font-family: var(--font-mono); font-size: .75rem; color: var(--sand); }
.twn-body h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; }
.twn-body p { color: rgba(255,255,255,.88); max-width: 48ch; }
.twn-body a { margin-top: 6px; display: inline-flex; gap: 10px; align-items: center; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 600; text-decoration: none; padding: 11px 16px; border-radius: 6px; }
.twn-body a:hover { background: var(--sand); color: var(--navy); }
@media (max-width: 860px) { .twn { grid-template-columns: 1fr; } .twn-stage { min-height: 380px; order: -1; } }
@media (prefers-reduced-motion: reduce) { .twn-img img { transform: none; } }

/* ===== Brand kit: logo lockups ===== */
.logo-img { display: block; height: auto; }
.site-header .logo-img { width: 148px; }
.header-row { height: 88px; }
.site-footer .logo-img { width: 240px; }
@media (max-width: 600px) { .site-header .logo-img { width: 160px; } .header-row { height: 76px; } }
/* Labels: wide-tracked caps per brand board */
.eyebrow { letter-spacing: .24em; font-weight: 600; }
/* Montserrat runs wider than the old face: lighter weight, slightly smaller display sizes */
h1 { font-weight: 700; letter-spacing: -0.025em; }
.hero h1 { font-size: clamp(2.2rem, 1.1rem + 2.3vw, 3.25rem); }
.hero-copy { max-width: min(540px, 40vw); }
h2 { letter-spacing: -0.025em; }
