/* Golden Bridge Realty — styles
 * CSS variables are driven by the Tweaks panel.
 */

:root {
  /* defaults — overwritten by App via inline style on <body> */
  --bg: #f4ede0;
  --fg: #0e1a2b;
  --accent: #c9a96a;
  --accent2: #1f3550;
  --muted: rgba(14, 26, 43, .58);
  --line: rgba(14, 26, 43, .14);
  --soft: rgba(14, 26, 43, .04);
  --card: #fbf6ec;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:  "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  --pad-x: clamp(20px, 5vw, 80px);
  --gutter: 24px;
  --section-y: clamp(72px, 9vw, 140px);
}

/* Density variants */
body[data-density="compact"]  { --section-y: clamp(56px, 7vw, 100px); --gutter: 18px; }
body[data-density="spacious"] { --section-y: clamp(96px, 12vw, 180px); --gutter: 32px; }

/* Font pairings */
body[data-fontpair="dmserif-worksans"]  { --serif: "DM Serif Display", Georgia, serif; --sans: "Work Sans", system-ui, sans-serif; }
body[data-fontpair="libre-outfit"]      { --serif: "Libre Caslon Text", Georgia, serif; --sans: "Outfit", system-ui, sans-serif; }
body[data-fontpair="eb-jakarta"]        { --serif: "EB Garamond", Georgia, serif; --sans: "Plus Jakarta Sans", system-ui, sans-serif; }

/* Direction B — "The Neighbor" — looser, warmer, bolder */
body[data-direction="neighbor"] {
  --section-y: clamp(72px, 9vw, 130px);
}

/* ──────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .35s ease, color .35s ease;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Headings use serif */
h1, h2, h3, h4, .gbr-headline, .gbr-section-title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; }
h1 em, h2 em, .gbr-headline em { font-style: italic; }

/* ── Selection ── */
::selection { background: var(--accent); color: var(--bg); }

/* ── Reveal animation ── */
.gbr-reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms); }
.gbr-reveal.is-in { opacity: 1; transform: none; }

/* ── Nav ── */
.gbr-nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 18px var(--pad-x);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, padding .25s, background .25s;
}
.gbr-nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; border-bottom-color: var(--line); }

.gbr-mark { display: inline-flex; align-items: center; gap: 12px; }
.gbr-mark-svg { width: auto; height: 22px; display: block; }
.gbr-wordmark { display: flex; gap: 6px; font-family: var(--serif); font-size: 22px; line-height: 1; letter-spacing: -0.01em; }
.gbr-wm-g { color: var(--accent); font-style: italic; }
.gbr-wm-r { opacity: .55; font-style: italic; font-size: 0.88em; align-self: center; }

.gbr-navlinks { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; justify-self: center; font-size: 14.5px; }
.gbr-navlinks a { position: relative; color: var(--fg); opacity: .76; transition: opacity .2s; }
.gbr-navlinks a:hover { opacity: 1; }
.gbr-navlinks a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--accent); transition: right .25s ease; }
.gbr-navlinks a:hover::after { right: 0; }

.gbr-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  background: var(--fg); color: var(--bg);
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-weight: 500; font-size: 14.5px; letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .2s ease, background .25s ease, color .25s ease;
}
.gbr-cta:hover { background: var(--accent2); border-color: var(--accent2); transform: translateY(-1px); }
.gbr-cta-sm { padding: 10px 18px; font-size: 13.5px; }

.gbr-link-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fg); font-weight: 500; font-size: 14.5px;
  padding: 6px 0; border-bottom: 1px solid var(--accent);
  transition: gap .2s ease, color .2s ease;
}
.gbr-link-cta:hover { gap: 12px; color: var(--accent2); }

/* ── Eyebrow ── */
.gbr-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.gbr-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Hero ── */
.gbr-hero { padding: 56px var(--pad-x) 96px; position: relative; }

.gbr-headline {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 28px;
  font-weight: 400;
}
.gbr-headline-xl { font-size: clamp(52px, 7.4vw, 116px); }
.gbr-hl-line { display: block; }
.gbr-hl-l2 { color: var(--muted); }
.gbr-hl-l2 em { color: var(--accent); font-style: italic; }

.gbr-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55; color: var(--muted);
  max-width: 46ch; margin: 0 0 32px;
  text-wrap: pretty;
}

.gbr-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* split */
.gbr-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: start; max-width: 1480px; margin: 0 auto; }
.gbr-hero-img { position: relative; }

/* fullbleed */
.gbr-hero-fullbleed { padding: 0; }
.gbr-hero-full { position: relative; min-height: 86vh; display: flex; align-items: flex-end; padding: 0; }
.gbr-hero-bg { position: absolute; inset: 0; aspect-ratio: auto !important; height: 100%; }
.gbr-hero-bg .gbr-ph-cap { right: 16px; bottom: 16px; left: auto; }
.gbr-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55) 100%); }
.gbr-hero-full-inner { position: relative; z-index: 1; padding: var(--section-y) var(--pad-x) 80px; max-width: 1480px; margin: 0 auto; width: 100%; color: #f4ede0; }
.gbr-hero-full-inner .gbr-hl-l2 { color: rgba(244, 237, 224, .72); }
.gbr-hero-full-inner .gbr-sub { color: rgba(244, 237, 224, .82); }
.gbr-hero-full-inner .gbr-cta { background: var(--accent); color: #1a1a1a; border-color: var(--accent); }
.gbr-hero-full-inner .gbr-cta:hover { background: #fff; border-color: #fff; }
.gbr-hero-full-inner .gbr-link-cta { color: #f4ede0; }
.gbr-hero-full-inner .gbr-eyebrow { color: rgba(244, 237, 224, .72); }

/* editorial */
.gbr-hero-ed { max-width: 1480px; margin: 0 auto; }
.gbr-hero-ed-top { max-width: 1200px; padding-bottom: 56px; }
.gbr-hero-ed-strip { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--gutter); align-items: end; }
.gbr-hero-ed-img-tall { transform: translateY(-32px); }
.gbr-hero-ed-copy { padding-bottom: 8px; }
.gbr-hero-ed-copy .gbr-sub { margin-bottom: 24px; }

/* ── Stats strip ── */
.gbr-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 0 var(--pad-x);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.gbr-stat { padding: 4px 24px; border-right: 1px solid var(--line); }
.gbr-stat:last-child { border-right: 0; }
.gbr-stat-v { font-family: var(--serif); font-size: clamp(36px, 4vw, 58px); line-height: 1; color: var(--fg); }
.gbr-stat-l { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ── Sections ── */
.gbr-section { padding: var(--section-y) var(--pad-x); max-width: 1480px; margin: 0 auto; }
.gbr-section-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.gbr-section-title { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 20px; max-width: 22ch; }
.gbr-section-lede { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--muted); max-width: 56ch; margin: 0; text-wrap: pretty; }
.gbr-section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.gbr-section-head-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.gbr-section-lede-side { max-width: 38ch; }

/* ── Placeholder image ── */
.gbr-ph {
  position: relative; width: 100%;
  background: var(--ph1, #3a2a1e);
  overflow: hidden; border-radius: 2px;
  isolation: isolate;
}
.gbr-ph-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    color-mix(in oklab, var(--ph2) 100%, transparent) 0px,
    color-mix(in oklab, var(--ph2) 100%, transparent) 1px,
    transparent 1px,
    transparent 22px
  );
  opacity: 0.32; mix-blend-mode: overlay;
}
.gbr-ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, color-mix(in oklab, var(--ph2) 18%, transparent), transparent 60%);
  pointer-events: none;
}
.gbr-ph-glyph {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1;
}
.gbr-ph-cap {
  position: absolute; left: 14px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--ph3) 100%, transparent);
  background: color-mix(in oklab, var(--ph1) 70%, black 6%);
  padding: 5px 9px; border-radius: 2px;
  text-transform: lowercase;
  z-index: 2;
  max-width: calc(100% - 28px);
}
.gbr-ph-cap > span:first-child { opacity: .7; }

/* ── Listings ── */
.gbr-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }

.gbr-card { }
.gbr-card-btn {
  display: block; width: 100%; text-align: left;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  color: inherit;
}
.gbr-card-img { position: relative; overflow: hidden; border-radius: 2px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gbr-card-img .gbr-ph { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gbr-card-btn:hover .gbr-card-img .gbr-ph { transform: scale(1.04); }
.gbr-card-status {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  padding: 6px 10px; border-radius: 999px;
  z-index: 3;
}
.gbr-card-body { padding: 18px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.gbr-card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gbr-card-hood { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.gbr-card-price { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--fg); }
.gbr-card-addr { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-top: 2px; }
.gbr-card-specs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.gbr-card-specs > span { white-space: nowrap; }

/* ── Modal ── */
.gbr-modal-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 26, 43, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: gbr-fade .25s ease;
}
@keyframes gbr-fade { from { opacity: 0; } to { opacity: 1; } }
.gbr-modal {
  background: var(--bg); color: var(--fg);
  border-radius: 4px;
  width: 100%; max-width: 1180px; max-height: calc(100vh - 48px);
  display: grid; grid-template-columns: 1.3fr 1fr;
  overflow: hidden;
  animation: gbr-rise .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes gbr-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.gbr-modal-x {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); color: var(--fg); border: 0;
  font-size: 14px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.gbr-modal-gallery { position: relative; background: #000; }
.gbr-modal-gallery .gbr-ph { height: 100%; aspect-ratio: auto !important; }
.gbr-gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(244, 237, 224, .9); color: #0e1a2b; border: 0;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; transition: background .2s;
}
.gbr-gal-nav:hover { background: #fff; }
.gbr-gal-prev { left: 14px; }
.gbr-gal-next { right: 14px; }
.gbr-gal-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.gbr-gal-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(244, 237, 224, .4); cursor: pointer; padding: 0; }
.gbr-gal-dot.is-on { background: #f4ede0; }
.gbr-gal-count { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: 11px; color: #f4ede0; background: rgba(0,0,0,.4); padding: 4px 8px; border-radius: 999px; z-index: 3; letter-spacing: 0.1em; }

.gbr-modal-body { padding: 36px 36px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; }
.gbr-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.gbr-modal-hood { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.gbr-modal-addr { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin: 0; max-width: 18ch; }
.gbr-modal-price { font-family: var(--serif); font-size: 30px; line-height: 1; white-space: nowrap; }
.gbr-modal-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.gbr-modal-specs b { color: var(--fg); font-weight: 500; margin-right: 4px; font-family: var(--serif); font-size: 18px; }
.gbr-pill { display: inline-block; background: var(--accent); color: #1a1a1a; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.gbr-modal-blurb { font-size: 16px; line-height: 1.6; color: var(--fg); margin: 0; text-wrap: pretty; }
.gbr-modal-features h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 500; }
.gbr-modal-features ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.gbr-modal-features li { padding-left: 18px; position: relative; }
.gbr-modal-features li::before { content: "·"; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }
.gbr-modal-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ── Neighborhoods ── */
.gbr-hood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.gbr-hood { padding: 36px 28px 36px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; transition: background .25s ease; cursor: default; }
.gbr-hood:nth-child(3n) { border-right: 0; padding-right: 0; }
.gbr-hood:nth-child(3n+1) { padding-left: 0; }
.gbr-hood:nth-child(3n+2), .gbr-hood:nth-child(3n) { padding-left: 28px; }
.gbr-hood:hover { background: var(--soft); }
.gbr-hood-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 12px; }
.gbr-hood-name { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; margin-bottom: 10px; }
.gbr-hood-note { font-size: 14.5px; color: var(--muted); line-height: 1.5; max-width: 26ch; }

/* ── Team ── */
.gbr-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.gbr-agent { display: flex; flex-direction: column; }
.gbr-agent-portrait { position: relative; margin-bottom: 18px; }
.gbr-agent-initials { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--fg); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 16px; font-weight: 500; z-index: 3; letter-spacing: 0.02em; }
.gbr-agent-name { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
.gbr-agent-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.gbr-agent-bio { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0 0 14px; text-wrap: pretty; }
.gbr-agent-focus { font-family: var(--mono); font-size: 11.5px; color: var(--fg); padding-top: 12px; border-top: 1px solid var(--line); letter-spacing: 0.04em; }

/* ── Testimonials ── */
.gbr-stories { background: var(--soft); max-width: none; margin: 0; }
.gbr-stories > .gbr-section-head { max-width: 1480px; margin-left: auto; margin-right: auto; padding: 0 var(--pad-x); }
.gbr-stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); max-width: 1480px; margin: 0 auto; padding: 0 var(--pad-x); }
.gbr-story { background: var(--bg); padding: 36px 32px 32px; border-radius: 2px; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 20px; }
.gbr-story-quote-mark { font-family: var(--serif); font-size: 64px; line-height: 0.6; color: var(--accent); }
.gbr-story-quote { font-family: var(--serif); font-size: clamp(18px, 1.4vw, 22px); line-height: 1.4; margin: 0; font-style: italic; font-weight: 400; text-wrap: pretty; }
.gbr-story-attr { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.gbr-story-name { font-size: 14.5px; font-weight: 500; }
.gbr-story-detail { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── Contact ── */
.gbr-contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); }
.gbr-contact-copy { display: flex; flex-direction: column; }
.gbr-contact-copy .gbr-section-title { max-width: 14ch; }
.gbr-contact-meta { margin: 32px 0 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.gbr-contact-meta > div { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.gbr-contact-meta dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.gbr-contact-meta dd { margin: 0; font-size: 15px; }
.gbr-contact-meta a { border-bottom: 1px solid var(--accent); padding-bottom: 1px; }

.gbr-form-wrap { background: var(--card); padding: 36px; border-radius: 2px; border: 1px solid var(--line); }
.gbr-form { display: flex; flex-direction: column; gap: 20px; }
.gbr-field { display: flex; flex-direction: column; gap: 8px; }
.gbr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gbr-field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; }
.gbr-opt { font-style: italic; text-transform: none; letter-spacing: 0; font-family: var(--sans); color: var(--muted); }
.gbr-field input, .gbr-field textarea {
  width: 100%; box-sizing: border-box;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--line);
  padding: 14px 14px; font: inherit; font-size: 15px;
  border-radius: 2px; outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.gbr-field input:focus, .gbr-field textarea:focus { border-color: var(--accent); background: var(--bg); }
.gbr-field input[aria-invalid="true"], .gbr-field textarea[aria-invalid="true"] { border-color: #c44; background: color-mix(in oklab, #c44 6%, var(--bg)); }
.gbr-field-err { font-size: 13px; color: #c44; font-style: italic; }
.gbr-radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.gbr-radio { position: relative; cursor: pointer; flex: 1; min-width: 100px; }
.gbr-radio input { position: absolute; opacity: 0; pointer-events: none; }
.gbr-radio span { display: block; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; font-size: 14px; text-align: center; transition: all .2s; }
.gbr-radio:hover span { border-color: var(--accent); }
.gbr-radio.is-on span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.gbr-form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.gbr-form-fine { font-size: 12.5px; color: var(--muted); font-style: italic; }
.gbr-contact-thanks { text-align: left; max-width: 560px; }
.gbr-contact-thanks-h { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); margin: 0 0 16px; line-height: 1.1; }
.gbr-contact-thanks p { font-size: 17px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; }

/* ── Footer ── */
.gbr-footer {
  background: var(--accent2);
  color: color-mix(in oklab, var(--bg) 92%, white 0%);
  padding: 80px var(--pad-x) 32px;
  margin-top: clamp(60px, 8vw, 120px);
}
.gbr-footer .gbr-wordmark { color: inherit; font-size: 32px; }
.gbr-footer .gbr-wm-g { color: var(--accent); }
.gbr-footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(244, 237, 224, .14); }
.gbr-footer-top .gbr-mark { gap: 16px; }
.gbr-footer-top .gbr-mark-svg { height: 28px; }
.gbr-footer-tag { font-family: var(--serif); font-size: 22px; max-width: 30ch; margin: 0; line-height: 1.3; text-align: right; opacity: .92; }
.gbr-footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding: 48px 0; }
.gbr-footer-cols h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; font-weight: 500; }
.gbr-footer-cols p { margin: 0; font-size: 14.5px; line-height: 1.7; opacity: .82; }
.gbr-footer-cols a:hover { color: var(--accent); }
.gbr-footer-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(244, 237, 224, .14); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(244, 237, 224, .56); }

/* ── Direction B — "The Neighbor" — overrides ────────────────────────── */
body[data-direction="neighbor"] .gbr-headline { font-weight: 400; letter-spacing: -0.03em; }
body[data-direction="neighbor"] .gbr-hl-l1 { color: var(--accent); font-style: italic; }
body[data-direction="neighbor"] .gbr-hl-l2 { color: var(--fg); }
body[data-direction="neighbor"] .gbr-hl-l2 em { color: var(--accent); }
body[data-direction="neighbor"] .gbr-section-title { font-style: normal; }
body[data-direction="neighbor"] .gbr-card-img { border-radius: 14px; }
body[data-direction="neighbor"] .gbr-card-img .gbr-ph { border-radius: 14px; }
body[data-direction="neighbor"] .gbr-modal { border-radius: 14px; }
body[data-direction="neighbor"] .gbr-story { border-radius: 14px; background: var(--card); }
body[data-direction="neighbor"] .gbr-form-wrap { border-radius: 14px; }
body[data-direction="neighbor"] .gbr-field input,
body[data-direction="neighbor"] .gbr-field textarea,
body[data-direction="neighbor"] .gbr-radio span { border-radius: 10px; }
body[data-direction="neighbor"] .gbr-pill { padding: 5px 12px; }
body[data-direction="neighbor"] .gbr-card-status { border: 1px solid var(--line); }
body[data-direction="neighbor"] .gbr-card-price,
body[data-direction="neighbor"] .gbr-card-addr,
body[data-direction="neighbor"] .gbr-agent-name,
body[data-direction="neighbor"] .gbr-modal-addr,
body[data-direction="neighbor"] .gbr-modal-price { font-weight: 400; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .gbr-hero-grid { grid-template-columns: 1fr; }
  .gbr-hero-ed-strip { grid-template-columns: 1fr 1fr; }
  .gbr-listing-grid, .gbr-team-grid, .gbr-stories-grid, .gbr-hood-grid { grid-template-columns: repeat(2, 1fr); }
  .gbr-hood:nth-child(3n) { border-right: 1px solid var(--line); padding-right: 28px; }
  .gbr-hood:nth-child(3n+1) { padding-left: 0; }
  .gbr-hood:nth-child(2n) { border-right: 0; padding-right: 0; }
  .gbr-hood:nth-child(2n+1) { padding-left: 0; }
  .gbr-stats { grid-template-columns: repeat(2, 1fr); }
  .gbr-stat:nth-child(2) { border-right: 0; }
  .gbr-modal { grid-template-columns: 1fr; max-height: calc(100vh - 24px); }
  .gbr-contact-grid { grid-template-columns: 1fr; }
  .gbr-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .gbr-section-head-row { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .gbr-navlinks { display: none; }
  .gbr-listing-grid, .gbr-team-grid, .gbr-stories-grid, .gbr-hood-grid { grid-template-columns: 1fr; }
  .gbr-stats { grid-template-columns: 1fr; }
  .gbr-stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .gbr-stat:last-child { border-bottom: 0; }
  .gbr-footer-cols { grid-template-columns: 1fr; }
  .gbr-footer-top { flex-direction: column; align-items: flex-start; }
  .gbr-footer-tag { text-align: left; }
  .gbr-field-row { grid-template-columns: 1fr; }
}
