/* ============================================================
   "Meridian" — architectural white-space editorial theme.
   Structurally distinct from Gallery (light editorial), Cedar
   (cream/gold serif luxury) and Onyx (dark cinematic):
   a paper-white canvas drawn entirely in hairlines, one geometric
   grotesque (Jost) at every size, circular photo framing with a
   numbered index rail, a wide-tracked "coordinate" price line,
   and a full-bleed mosaic whose cells invert to white on hover.
   No accent colour at all — ink on paper, photography is the colour.
   ============================================================ */

:root {
  --paper:     #ffffff;
  --paper-2:   #f4f4f2;
  --paper-3:   #ebebe8;
  --ink:       #0a0a0a;
  --ink-2:     #3d3d3d;
  --muted:     #6f6f6c;
  --dim:       #a2a29e;
  --line:      rgba(10, 10, 10, 0.14);
  --line-soft: rgba(10, 10, 10, 0.07);
  --wrap:      1280px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Jost", "Futura", Avenir, system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }

/* ---------- Shared type ----------
   The whole theme is one typeface. Hierarchy comes from size,
   weight and tracking, never from a second family or a colour. */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-disp {
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}
.h-sm { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
.copy { color: var(--muted); max-width: 54ch; }

.section { padding: clamp(74px, 10vw, 140px) 0; }
.section-line { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head .h-disp { margin-top: 20px; max-width: 22ch; }

/* ---------- Reveals ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1100ms var(--ease), transform 1100ms var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ----------
   Hard-edged rectangles, no radius anywhere except the circular
   icon buttons -- that contrast is the theme's whole button system. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 520ms var(--ease), color 520ms var(--ease), border-color 520ms var(--ease);
}
.btn-solid, .btn-accent { background: var(--ink); color: var(--paper); }
.btn-solid:hover, .btn-accent:hover { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 11px 20px; font-size: 11px; }
.btn-wide { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 36px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: padding 600ms var(--ease);
}
.site-header.scrolled { padding: 13px 36px; }
.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.brand-mark {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.brand-name {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 34ch;
}
.desk-nav { grid-column: 1; display: flex; align-items: center; gap: 28px; }
.desk-nav a {
  position: relative;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  padding-bottom: 3px;
}
.desk-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 520ms var(--ease);
}
.desk-nav a:hover::after { transform: scaleX(1); }
.desk-nav .btn { margin-left: 4px; }
.desk-nav .btn::after { display: none; }

/* Circular icon pair, mirrored from the reference's account/search cluster. */
.header-tools { grid-column: 3; justify-self: end; display: flex; gap: 8px; }
.icon-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  transition: background 460ms var(--ease), color 460ms var(--ease), border-color 460ms var(--ease);
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.menu-btn {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span { width: 22px; height: 1px; background: var(--ink); display: block; }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: 92px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-100%);
  transition: transform 700ms var(--ease);
}
.drawer.open { transform: none; }
.drawer-close {
  position: absolute;
  top: 22px; right: 30px;
  font-size: 30px;
  line-height: 1;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.drawer-link {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.drawer-link.btn { margin-top: 22px; border: 1px solid var(--ink); justify-content: center; font-size: 12px; }

/* ---------- Preview / claim banner ---------- */
.preview-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.preview-banner a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   HERO — the signature. A circular photo plate centred in white,
   a numbered index rail at the left, the title at the right, and
   a wide-tracked price reading like a coordinate along the base.
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(34px, 4vw, 54px);
  overflow: hidden;
}
.hero-stage { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) minmax(0, 1.9fr) minmax(96px, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: min(60vh, 520px);
}

/* Index rail: the active photo's number in ink, neighbours in grey. */
.hero-rail { display: flex; flex-direction: column; gap: 26px; }
.rail-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--paper-3);
  cursor: pointer;
  transition: color 620ms var(--ease);
  text-align: left;
}
.rail-item:hover { color: var(--dim); }
.rail-item.active { color: var(--ink); }
/* The active item carries a dot rather than a count -- see the rail markup
   for why the "of N" was dropped. */
.rail-item.active::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink);
  align-self: center;
  flex: none;
}

/* Circular plate. Photos stack and cross-fade inside the mask. */
.hero-plate {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-2);
}
.hero-plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1200ms var(--ease), transform 2400ms var(--ease);
}
.hero-plate img.on { opacity: 1; transform: scale(1); }
.hero-plate-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 200;
  color: var(--paper-3);
}

/* The hairline leader that runs out of the plate's centre, as in the
   reference. Pure decoration, hidden from assistive tech and on mobile. */
.hero-leader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-leader line { stroke: var(--line); stroke-width: 1; }
.hero-dot {
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--ink);
}

.hero-title { text-align: left; }
.hero-title h1 {
  font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero-loc { margin-top: 10px; font-size: 15px; color: var(--muted); }
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); display: block; }
.hero-tagline { margin-top: 16px; font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 32ch; }

/* Base line: status caption left, coordinate price centre, CTA right. */
.hero-base {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: clamp(26px, 4vw, 48px);
}
.hero-caption { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-price {
  justify-self: center;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.hero-base .hero-ctas { justify-self: end; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Price gate */
.unlock {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  max-width: 560px;
}
.unlock-copy { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.unlock-err { font-size: 12.5px; color: #a3321f; margin-bottom: 10px; }
.unlock-form { display: flex; flex-wrap: wrap; gap: 10px; }
.unlock-form input {
  flex: 1 1 180px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.unlock-form input:focus { outline: 1px solid var(--ink); outline-offset: -1px; }

/* Hero stats strip, ruled off by a hairline grid. */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(30px, 4vw, 54px);
}
.hero-stat { padding: 22px 20px 4px; border-right: 1px solid var(--line-soft); }
.hero-stat:last-child { border-right: 0; }
.hero-stat-v { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 300; letter-spacing: -0.03em; }
.hero-stat-l { margin-top: 6px; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Spec index ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec-cell {
  position: relative;
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-idx {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--paper-3);
}
.spec-label { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.spec-value { margin-top: 12px; font-size: 20px; font-weight: 300; letter-spacing: -0.02em; }

/* ---------- Story: text beside a column of circular plates ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}
.story-copy { margin-top: 26px; display: flex; flex-direction: column; gap: 17px; color: var(--muted); }
.story-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

/* ============================================================
   MOSAIC GALLERY — full-bleed cells divided by hairlines, each
   labelled in its top-left corner. Hovering inverts a cell to
   paper white and reveals a circular "view" seal, echoing the
   reference's services grid.
   ============================================================ */
.mosaic-sec { padding-bottom: 0; }
.mosaic-head {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(34px, 4vw, 54px);
}
.mosaic-hint { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Every seventh cell runs wide, so the grid never reads as a plain
   contact sheet no matter how many photos the listing carries. Its
   aspect ratio doubles with its span, keeping every row the same
   height -- otherwise the wide cell stretches its row and leaves a
   hole beside it. */
.mosaic .g-item:nth-child(7n + 1) { grid-column: span 2; aspect-ratio: 8 / 3; }
.g-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 760ms var(--ease), transform 1600ms var(--ease);
}
.g-item:hover img, .g-item:focus-visible img { opacity: 0.08; transform: scale(1.04); }
.g-meta {
  position: absolute;
  top: 16px; left: 18px; right: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  pointer-events: none;
}
.g-cat, .g-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.g-cat { color: var(--paper); text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.g-label { color: rgba(255,255,255,.76); text-shadow: 0 1px 14px rgba(0,0,0,.55); text-transform: none; letter-spacing: 0.04em; }
.g-item:hover .g-cat, .g-item:focus-visible .g-cat { color: var(--ink); text-shadow: none; }
.g-item:hover .g-label, .g-item:focus-visible .g-label { color: var(--muted); text-shadow: none; }
.g-index {
  position: absolute;
  bottom: 16px; left: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
  pointer-events: none;
}
.g-item:hover .g-index, .g-item:focus-visible .g-index { color: var(--muted); text-shadow: none; }
.g-seal {
  position: absolute;
  top: 50%; left: 50%;
  width: 74px; height: 74px;
  margin: -37px 0 0 -37px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  pointer-events: none;
}
.g-item:hover .g-seal, .g-item:focus-visible .g-seal { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.985);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
}
.lightbox[hidden] { display: none; }
.lb-stage { max-width: 1100px; width: 100%; }
.lb-stage img { width: 100%; max-height: 78vh; object-fit: contain; }
.lb-caption {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
}
.lb-cat { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.lb-label { font-size: 14px; color: var(--ink-2); }
.lb-btn {
  position: absolute;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 420ms var(--ease), color 420ms var(--ease), border-color 420ms var(--ease);
}
.lb-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; margin-top: -22px; }
.lb-next { right: 26px; top: 50%; margin-top: -22px; }

/* ---------- Features ---------- */
.feature-list { border-top: 1px solid var(--line); }
.feature-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 560ms var(--ease);
}
.feature-row:hover { padding-left: 16px; }
.feature-n { font-size: 11px; letter-spacing: 0.18em; color: var(--dim); }
.feature-t { font-size: 17px; font-weight: 300; letter-spacing: -0.01em; }

/* ---------- Documents ---------- */
.doc-list { list-style: none; border-top: 1px solid var(--line); }
.doc-item {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding 560ms var(--ease);
}
.doc-item:hover { padding-left: 16px; padding-right: 16px; }
.doc-label { font-size: 17px; font-weight: 300; }
.doc-label::after { content: " \2197"; font-size: 13px; color: var(--muted); }
.doc-cat { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Video / map frames ---------- */
.media-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--paper-2); }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }

/* ---------- Open house ---------- */
.oh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.oh-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
}
.oh-when { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.oh-date { margin-top: 8px; font-size: 20px; font-weight: 300; letter-spacing: -0.02em; }
.oh-badge {
  flex: none;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(10, 10, 10, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 38px 34px 34px;
}
.modal-card .h-disp { margin: 14px 0 22px; }
.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 26px;
  line-height: 1;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Location ---------- */
.map-wrap { position: relative; }
.map-embed { width: 100%; aspect-ratio: 16 / 8; border: 1px solid var(--line); filter: grayscale(1) contrast(1.05); }
.map-card {
  position: absolute;
  left: 28px; bottom: 28px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px 26px;
  max-width: 300px;
}
.map-card-eyebrow { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.map-card-addr { margin-top: 10px; font-size: 19px; font-weight: 300; letter-spacing: -0.02em; }
.map-card-city { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- Agent ---------- */
.agent-list { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 70px); }
.agent-list-multi { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.agent-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}
.agent-portrait {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-portrait img { width: 100%; height: 100%; object-fit: cover; }
.agent-initial { font-size: 56px; font-weight: 200; color: var(--dim); }
.agent-name { margin: 14px 0 0; }
.agent-title { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.agent-brokerage { margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.agent-license { margin-top: 6px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.agent-ctas { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Forms ---------- */
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 5vw, 86px);
  align-items: start;
}
.form-stack { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
}
.field::placeholder { color: var(--dim); }
.field:focus { outline: 1px solid var(--ink); outline-offset: -1px; }
select.field { appearance: none; border-radius: 0; }
textarea.field { resize: vertical; }
.fine-print { margin-top: 6px; font-size: 11.5px; line-height: 1.65; color: var(--dim); }
.fine-print.dim { color: var(--dim); }
.sent-card { margin-top: 26px; padding: 34px 30px; border: 1px solid var(--ink); }
.sent-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 18px;
}

/* ---------- Mortgage card ---------- */
.mortgage-card { border: 1px solid var(--line); padding: 32px 30px; }
.m-total-box { margin-top: 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.m-total-label { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.m-total { margin-top: 8px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 300; letter-spacing: -0.02em; }
.m-breakdown { margin-top: 8px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.m-slider { display: block; margin-top: 22px; }
.m-slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 12.5px; color: var(--muted); }
.m-slider-head strong { font-weight: 400; color: var(--ink); }
.m-slider input[type="range"] {
  width: 100%;
  margin-top: 12px;
  appearance: none;
  height: 1px;
  background: var(--line);
  cursor: pointer;
}
.m-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--ink);
}
.m-slider input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}
.m-inputs { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-inputs label { display: flex; flex-direction: column; gap: 7px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field.dark { background: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding: clamp(56px, 7vw, 92px) 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(30px, 4vw, 56px);
}
.footer-addr { margin-top: 16px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.footer-h { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-agent { font-size: 16px; font-weight: 400; }
.footer-agent-co { margin-top: 18px; }
.footer-line { font-size: 13.5px; color: var(--muted); }
.footer-line.dim { color: var(--dim); }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 13.5px; color: var(--muted); transition: color 420ms var(--ease); }
.footer-links a:hover { color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.disclaimer { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 11.5px; line-height: 1.75; color: var(--dim); max-width: 92ch; }
.copyright { margin-top: 18px; font-size: 11.5px; letter-spacing: 0.1em; color: var(--dim); }

/* ---------- Partial styles ----------
   claim-bar, add-to-calendar and share-bar are shared partials, so every
   theme carries its own styling for them. */
.claim-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}
.claim-bar-text { color: rgba(255, 255, 255, 0.78); }
.claim-bar-actions { display: flex; align-items: center; gap: 12px; }
.claim-bar-form { margin: 0; }
.claim-bar-btn {
  padding: 9px 18px;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 460ms var(--ease), color 460ms var(--ease);
}
.claim-bar-btn:hover { background: transparent; color: var(--paper); }
.claim-bar-link { color: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

.add-to-cal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 14px;
  font-size: 12px;
}
.add-to-cal-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.add-to-cal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 420ms var(--ease); }
.add-to-cal a:hover { color: var(--ink); }

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.share-label { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.share-bar a, .share-copy {
  font-family: inherit;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 420ms var(--ease);
}
.share-bar a:hover, .share-copy:hover { color: var(--ink); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .story-grid, .oh-grid, .request-grid { grid-template-columns: minmax(0, 1fr); }
  .story-photos { max-width: 420px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .g-item:nth-child(7n + 1) { grid-column: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 860px) {
  .desk-nav, .header-tools { display: none; }
  .menu-btn { display: flex; }
  .site-header { grid-template-columns: 1fr auto; }
  .brand { grid-column: 1; justify-self: start; }
  .menu-btn { grid-column: 2; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-rail { flex-direction: row; flex-wrap: wrap; gap: 16px; order: 3; }
  .rail-item { font-size: 18px; }
  .hero-plate { order: 1; width: min(100%, 340px); }
  .hero-title { order: 2; }
  .hero-title h1 { max-width: none; }
  .hero-leader, .hero-dot { display: none; }
  .hero-base { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-price { justify-self: start; }
  .hero-base .hero-ctas { justify-self: start; }

  .agent-card { grid-template-columns: minmax(0, 1fr); }
  .form-row, .m-inputs { grid-template-columns: 1fr; }
  .map-card { position: static; margin-top: -1px; max-width: none; }

  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    display: flex;
    gap: 1px;
    background: var(--ink);
    padding: 1px;
  }
  .sticky-cta .btn { border: 0; }
  .cta-call {
    flex: none;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    color: var(--ink);
    font-size: 19px;
  }
  body { padding-bottom: 60px; }
}

@media (max-width: 560px) {
  .wrap, .site-header { padding-left: 20px; padding-right: 20px; }
  .mosaic { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { display: none; }
}

@media print {
  .site-header, .drawer, .sticky-cta, .lightbox, .modal, .hero-ctas, .menu-btn { display: none !important; }
  body { color: #000; }
}
