/* ==========================================================================
   McClure Real Estate — site styles
   Palette comes from the logo: black, white and the logo's sky blue.
   Type: Marcellus (matches the logo wordmark) + Jost (matches "REAL ESTATE").
   ========================================================================== */

:root {
  --ink: #0A0D11;          /* header, hero, footer */
  --ink-2: #111820;        /* raised surface on dark */
  --ink-3: #18212B;
  --ink-line: #27323F;     /* hairlines on dark */
  --paper: #F4F6F8;        /* page ground (current site uses #f5f5f6) */
  --white: #FFFFFF;
  --mist: #E8EDF2;
  --sky: #6CBBFB;          /* logo blue */
  --sky-hi: #93CDFC;
  --sky-deep: #1D6FB8;     /* readable blue on light surfaces */
  --text: #10151B;
  --muted: #55606C;
  --line: #D8DFE6;
  --on-dark: #EEF3F8;
  --on-dark-muted: #9DAABA;
  --amber: #C98A1B;
  --ok: #1F7A4D;
  --err: #B3261E;
  --focus: var(--sky-deep);

  --display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --logo-serif: "Marcellus", "Cinzel", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --header-h: 78px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark { --focus: var(--sky); color-scheme: dark; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--sky); color: var(--ink); padding: 10px 14px; z-index: 100; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Type ---------- */
.eyebrow {
  font: 500 0.75rem/1.3 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
.on-dark .eyebrow { color: var(--sky); }
.display-1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
}
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.on-dark .lede { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--on-dark-muted); }
.small { font-size: 0.875rem; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }

/* The logo's rule-and-diamond, used as a divider */
.rule-diamond { display: flex; align-items: center; gap: 0; color: var(--sky); width: 100%; max-width: 220px; height: 10px; }
.rule-diamond::before, .rule-diamond::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.8; }
.rule-diamond span { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); margin-inline: 6px; flex: none; }
.rule-diamond.center { margin-inline: auto; }
.light .rule-diamond, .rule-diamond.deep { color: var(--sky-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font: 500 0.8125rem/1 var(--sans);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1.1em 1.65em; min-height: 48px;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sky { background: var(--sky); color: var(--ink); }
.btn-sky:hover { background: var(--sky-hi); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #1B2530; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: rgba(108, 187, 251, 0.12); }
.btn-sm { padding: 0.85em 1.2em; min-height: 40px; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link {
  font: 500 0.8125rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--sky-deep);
  display: inline-flex; align-items: center; gap: 0.5em;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.on-dark .text-link { color: var(--sky); }
.text-link .arr { transition: transform .2s ease; }
.text-link:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid var(--ink-line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.brand-mark { width: 50px; height: auto; flex: none; }
.wordmark { display: grid; justify-items: center; gap: 3px; }
.wm-name { font-family: var(--logo-serif); font-size: 1.375rem; line-height: 1; letter-spacing: 0.07em; text-transform: uppercase; }
.wm-rule { display: flex; align-items: center; width: 100%; color: var(--sky); height: 6px; }
.wm-rule::before, .wm-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.wm-rule i { width: 4px; height: 4px; background: currentColor; transform: rotate(45deg); margin-inline: 3px; }
.wm-sub { font: 400 0.5625rem/1 var(--sans); letter-spacing: 0.5em; margin-right: -0.5em; text-transform: uppercase; }
.primary-nav { display: flex; gap: 26px; margin-left: auto; }
.primary-nav a {
  font: 500 0.75rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark-muted); text-decoration: none; padding-block: 10px;
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font: 500 0.875rem/1 var(--sans); letter-spacing: 0.06em; color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--ink-line); color: var(--white);
  font: 500 0.75rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 12px 14px; border-radius: var(--radius); cursor: pointer;
}
.mobile-menu { background: var(--ink); border-top: 1px solid var(--ink-line); padding-block: 12px 28px; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font-family: var(--display); font-size: 1.75rem; color: var(--white); text-decoration: none;
  padding-block: 12px; border-bottom: 1px solid var(--ink-line);
}
.mobile-menu .mm-contact { display: grid; gap: 6px; margin-top: 20px; color: var(--on-dark-muted); }
.mobile-menu .mm-contact a { color: var(--white); text-decoration: none; font-size: 1.125rem; }

@media (max-width: 1080px) {
  .primary-nav { gap: 18px; }
  .header-phone { display: none; }
}
@media (max-width: 920px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .header-actions .btn { display: none; }
  .brand-mark { width: 42px; }
  .wm-name { font-size: 1.2rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.band-ink { background: var(--ink); color: var(--on-dark); }
.band-white { background: var(--white); }
.band-mist { background: var(--mist); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 78% 18%, rgba(108, 187, 251, 0.10), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(108, 187, 251, 0.06), transparent 60%),
    var(--ink);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
  padding-block: clamp(64px, 9vw, 120px) clamp(170px, 19vw, 250px);
}
.hero-copy { display: grid; gap: 22px; }
.hero-copy .display-1 { color: var(--white); }
.hero-copy .display-1 em { font-style: normal; color: var(--sky); }
.hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-dark-muted); max-width: 52ch; }
.hero-stats { display: grid; gap: 0; border-top: 1px solid var(--ink-line); margin: 0; }
.hero-stats div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--ink-line); }
.hero-stats dt { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; color: var(--white); font-variant-numeric: lining-nums; min-width: 4.2ch; }
.hero-stats dd { margin: 0; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.ridge { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(150px, 19vw, 250px); z-index: -1; pointer-events: none; }
.ridge svg { width: 100%; height: 100%; display: block; }
.ridge-label { font: 500 10px/1 var(--sans); letter-spacing: 0.2em; fill: var(--on-dark-muted); text-transform: uppercase; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .ridge-label { display: none; }
}

/* Address capture (hero + sell page) */
.address-form { display: flex; gap: 0; max-width: 620px; margin-top: 8px; }
.address-form label { flex: 1; min-width: 0; }
.address-form input {
  width: 100%; height: 58px; padding: 0 20px;
  background: var(--ink-2); color: var(--white);
  border: 1px solid var(--ink-line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius);
  font: 400 1.0625rem var(--sans);
}
.address-form input::placeholder { color: #7D8B9A; }
.address-form input:focus { outline: none; border-color: var(--sky); }
.address-form .btn { height: 58px; border-radius: 0 var(--radius) var(--radius) 0; }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
@media (max-width: 560px) {
  .address-form { flex-direction: column; gap: 10px; }
  .address-form input { border-right: 1px solid var(--ink-line); border-radius: var(--radius); }
  .address-form .btn { border-radius: var(--radius); width: 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--on-dark); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 10%, rgba(108,187,251,.10), transparent 60%), var(--ink); }
.page-hero-inner { display: grid; gap: 18px; padding-block: clamp(56px, 7vw, 96px) clamp(110px, 12vw, 150px); }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; color: var(--white); max-width: 18ch; }
.page-hero .ridge { height: clamp(90px, 11vw, 140px); }

/* ---------- Listing cards ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.lcard { grid-column: span 4; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: border-color .25s ease; min-width: 0; }
.lcard:hover { border-color: #B9C4CF; }
.listing-grid[data-rest="2"] .lcard:not(.is-lead),
.listing-grid[data-rest="4"] .lcard:not(.is-lead) { grid-column: span 6; }
.listing-grid[data-rest="1"] .lcard:not(.is-lead) { grid-column: span 12; }
.lcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.lcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.lcard:hover .lcard-media img { transform: scale(1.035); }
.pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10, 13, 17, 0.84); color: var(--white);
  font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.7em 0.9em; border-radius: var(--radius);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.pill[data-status="under-contract"]::before, .pill[data-status="pending"]::before { background: var(--amber); }
.pill[data-status="sold"]::before { background: #8C97A3; }
.pill[data-status="coming-soon"]::before { background: var(--white); }
.pill.static { position: static; }
.pill.open-house { left: auto; right: 14px; background: var(--sky); color: var(--ink); }
.pill.open-house::before { background: var(--ink); }
.lcard-body { display: grid; gap: 6px; padding: 22px 24px 26px; align-content: start; }
.lcard-place { font: 500 0.6875rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.lcard-price { font-family: var(--display); font-size: 1.75rem; line-height: 1.15; font-variant-numeric: lining-nums; }
.lcard-addr { font-size: 1rem; }
.lcard-addr a { text-decoration: none; }
.lcard-addr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.facts { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 6px 0 0; font-size: 0.875rem; color: var(--muted); row-gap: 4px; }
.facts li { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.facts li + li::before { content: ""; width: 1px; height: 0.95em; background: var(--line); margin-inline: 12px; align-self: center; }
.facts b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.lcard-note { font-size: 0.9375rem; color: var(--muted); margin-top: 8px; }

.lcard.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.lcard.is-lead .lcard-media { aspect-ratio: auto; min-height: 460px; height: 100%; }
.lcard.is-lead .lcard-body { padding: clamp(28px, 4vw, 52px); gap: 10px; align-content: center; }
.lcard.is-lead .lcard-price { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.lcard.is-lead .lcard-addr { font-size: 1.125rem; }
.lcard-highlights { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--muted); }
.lcard-highlights li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: baseline; }
.lcard-highlights li::before { content: ""; width: 6px; height: 6px; background: var(--sky-deep); transform: rotate(45deg) translateY(-2px); }
.lcard-actions { margin-top: 14px; }
@media (max-width: 980px) {
  .lcard, .listing-grid[data-rest] .lcard:not(.is-lead) { grid-column: span 6; }
  .lcard.is-lead { grid-template-columns: 1fr; }
  .lcard.is-lead .lcard-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .lcard, .listing-grid[data-rest] .lcard:not(.is-lead) { grid-column: 1 / -1; }
}
.listing-empty { grid-column: 1 / -1; padding: 40px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }

/* Placeholder art shown until listing photos are added */
.scene { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, #17212C 0%, var(--ink) 72%); overflow: hidden; }
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-cap {
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  font: 500 0.625rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted);
}
.scene-town { position: absolute; left: 18px; bottom: 14px; z-index: 2; font-family: var(--display); font-size: 1.25rem; color: var(--white); opacity: 0.92; }

/* ---------- The plan (Strategy / Exposure / Results) ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); }
.plan-item { padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 40px) 8px 0; display: grid; gap: 14px; align-content: start; }
.plan-item + .plan-item { border-left: 1px solid var(--ink-line); padding-left: clamp(20px, 3vw, 40px); }
.plan-item h3 { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--white); }
.plan-item p { color: var(--on-dark-muted); }
.plan-item ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 0.9375rem; color: var(--on-dark); }
.plan-item li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; align-items: baseline; }
.plan-item li::before { content: ""; width: 5px; height: 5px; background: var(--sky); transform: rotate(45deg) translateY(-2px); }
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-item, .plan-item + .plan-item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--ink-line); padding-bottom: 28px; }
}

/* ---------- Process (real sequence) ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { position: relative; padding: 34px 22px 0 0; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 1.1rem; color: var(--sky-deep);
  position: absolute; top: 0; left: 0; background: var(--paper); padding-right: 12px;
}
.process li::after { content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 1px; background: var(--line); z-index: -1; }
.process { position: relative; isolation: isolate; }
.process h3 { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; }
.process p { font-size: 0.9375rem; color: var(--muted); }
.band-white .process li::before { background: var(--white); }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; gap: 26px; }
  .process li { padding: 0 0 0 56px; }
  .process li::after { display: none; }
  .process li::before { top: 2px; }
}

/* ---------- Search band ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split.wide-right { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .split, .split.wide-right { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 18px; align-content: start; }
.checklist { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; }
.checklist li::before { content: ""; width: 7px; height: 7px; background: var(--sky-deep); transform: rotate(45deg) translateY(-2px); }
.on-dark .checklist li::before { background: var(--sky); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.band-white .form-card { background: var(--paper); }
.form-card.on-dark { background: var(--ink-2); border-color: var(--ink-line); color: var(--on-dark); }
.form-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field legend { font: 500 0.6875rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.on-dark .field > span { color: var(--on-dark-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--white); border: 1px solid #C9D2DB; border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(29, 111, 184, 0.16); }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { background: var(--ink); color: var(--white); border-color: var(--ink-line); }
.on-dark .field input:focus, .on-dark .field select:focus, .on-dark .field textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(108, 187, 251, 0.18); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 0.8125rem; line-height: 1.55; color: var(--muted); }
.on-dark .consent { color: var(--on-dark-muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sky-deep); }
.consent a { color: inherit; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--err); font-size: 0.9375rem; }
.on-dark .form-error { color: #FF9C94; }
.form-success { display: grid; gap: 12px; padding: 8px 0; }
.form-success .check { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sky-deep); display: grid; place-items: center; color: var(--sky-deep); }
.on-dark .form-success .check { border-color: var(--sky); color: var(--sky); }
.form-success h3 { font-family: var(--display); font-size: 1.6rem; }
.preview-note { font-size: 0.8125rem; padding: 10px 12px; background: rgba(108, 187, 251, 0.14); border-left: 2px solid var(--sky-deep); color: var(--text); }
.on-dark .preview-note { color: var(--on-dark); border-left-color: var(--sky); }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* Multi-step valuation */
.steps-head { display: grid; gap: 10px; }
.steps-label { display: flex; justify-content: space-between; font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.on-dark .steps-label { color: var(--on-dark-muted); }
.steps-bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.on-dark .steps-bar { background: var(--ink-line); }
.steps-bar i { position: absolute; inset: 0 auto 0 0; width: 33%; background: var(--sky-deep); transition: width .35s ease; }
.on-dark .steps-bar i { background: var(--sky); }
fieldset.step { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border: 1px solid #C9D2DB; border-radius: var(--radius); font-size: 0.9375rem; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.on-dark .choice span { border-color: var(--ink-line); }
.choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-dark .choice input:checked + span { background: var(--sky); color: var(--ink); border-color: var(--sky); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Dialog */
dialog.modal { width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--ink-2); color: var(--on-dark); overflow: auto; }
dialog.modal::backdrop { background: rgba(4, 7, 10, 0.72); }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 26px 28px 0; }
.modal-body { padding: 18px 28px 28px; }
.modal-close { background: none; border: 1px solid var(--ink-line); color: var(--on-dark); width: 40px; height: 40px; border-radius: var(--radius); cursor: pointer; font-size: 1.25rem; line-height: 1; flex: none; }
.modal .form-card { border: 0; padding: 0; background: transparent; }

/* ---------- About teaser / portrait ---------- */
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--ink); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--on-dark-muted); text-align: center; padding: 24px; background: radial-gradient(100% 80% at 50% 0%, #17212C, var(--ink) 75%); }
.portrait-ph svg { width: 42%; max-width: 180px; }
.portrait-ph span { font: 500 0.6875rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.portrait-cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(10,13,17,.85)); color: var(--white); display: grid; gap: 2px; }
.portrait-cap b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.portrait-cap span { font-size: 0.8125rem; color: var(--on-dark-muted); letter-spacing: 0.06em; }
.pullquote { margin: 8px 0 0; padding: 0 0 0 22px; border-left: 1px solid var(--sky-deep); font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--text); }
.on-dark .pullquote { color: var(--white); border-left-color: var(--sky); }
.pullquote cite { display: block; margin-top: 12px; font: 500 0.75rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.stat-row { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 8px 0 0; }
.stat-row div { display: grid; gap: 2px; }
.stat-row dt { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.stat-row dd { margin: 0; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.on-dark .stat-row dd { color: var(--on-dark-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: end; padding-block: clamp(64px, 8vw, 112px); }
.cta-inner h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; color: var(--white); max-width: 16ch; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-contact { display: grid; gap: 4px; color: var(--on-dark-muted); font-size: 0.9375rem; }
.cta-contact a { color: var(--white); text-decoration: none; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #07090C; color: var(--on-dark-muted); font-size: 0.9375rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 44px; }
.footer-brand { display: grid; gap: 18px; justify-items: start; }
.footer-brand .brand-mark { width: 64px; }
.footer-tag { font-family: var(--display); font-size: 1.25rem; color: var(--white); }
.site-footer h4 { font: 500 0.6875rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-legal { border-top: 1px solid var(--ink-line); padding-block: 26px 34px; display: grid; gap: 10px; font-size: 0.8125rem; line-height: 1.6; }
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Listings page ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 0.75rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 16px; border: 1px solid #C9D2DB; background: transparent; border-radius: var(--radius); cursor: pointer; color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip .count { color: var(--muted); margin-left: 6px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .count { color: var(--on-dark-muted); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--muted); }
.sort select { min-height: 42px; padding: 0 36px 0 12px; border: 1px solid #C9D2DB; border-radius: var(--radius); background: var(--white); font: 400 0.9375rem var(--sans); }

/* ---------- Property page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; height: clamp(320px, 52vw, 620px); background: var(--ink); }
.gallery > * { position: relative; overflow: hidden; background: var(--ink-2); min-height: 0; }
.gallery > :first-child { grid-row: 1 / 3; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.single > :first-child { grid-row: auto; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: auto; aspect-ratio: 4 / 3; }
  .gallery > :not(:first-child) { display: none; }
  .gallery > :first-child { grid-row: auto; }
}
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 110px); }
.prop-aside { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
@media (max-width: 1000px) { .prop-layout { grid-template-columns: 1fr; } .prop-aside { position: static; } }
.prop-top { display: grid; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.prop-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.06em; }
.prop-top h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; }
.prop-city { font-size: 1.0625rem; color: var(--muted); }
.prop-price { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; font-variant-numeric: lining-nums; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.keyfacts div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; background: var(--white); }
.keyfacts dt { font: 500 0.625rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); order: 2; }
.keyfacts dd { margin: 0; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: lining-nums; }
.prop-section { display: grid; gap: 18px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.prop-section:last-child { border-bottom: 0; }
.prop-section h2 { font-family: var(--display); font-size: 1.75rem; }
.remarks { display: grid; gap: 14px; max-width: 68ch; color: #2B333C; }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.details div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .details { grid-template-columns: 1fr; } }
.agent-mini { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); }
.agent-mini .av { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.agent-mini .av svg { width: 36px; }
.agent-mini .av img { width: 100%; height: 100%; object-fit: cover; }
.agent-mini b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; display: block; }
.agent-mini span { font-size: 0.8125rem; color: var(--muted); display: block; }
.agent-mini a { color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; }
.attribution { font-size: 0.75rem; color: var(--muted); line-height: 1.55; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--mist); }
.prev-next { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Mortgage calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
.calc-out { background: var(--ink); color: var(--on-dark); padding: 26px; display: grid; gap: 16px; }
.calc-total { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums lining-nums; }
.calc-total small { font-family: var(--sans); font-size: 0.875rem; color: var(--on-dark-muted); margin-left: 6px; }
.calc-bar { display: flex; height: 8px; gap: 2px; }
.calc-bar i { display: block; height: 100%; min-width: 2px; }
.calc-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.calc-legend li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; }
.calc-legend li::before { content: ""; width: 10px; height: 10px; background: var(--c); }
.calc-legend span:last-child { font-variant-numeric: tabular-nums; color: var(--white); }
.calc-legend span:first-child { color: var(--on-dark-muted); }

/* Lightbox */
dialog.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 7, 10, 0.96); color: var(--white); }
dialog.lightbox::backdrop { background: rgba(5, 7, 10, 0.96); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 72px; }
.lb-inner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn { position: absolute; background: rgba(17, 24, 32, 0.8); border: 1px solid var(--ink-line); color: var(--white); width: 48px; height: 48px; cursor: pointer; font-size: 1.4rem; border-radius: var(--radius); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; }
.lb-count { position: absolute; left: 16px; top: 22px; font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--on-dark-muted); }

/* ---------- IDX slot ---------- */
.idx-head { margin-bottom: 28px; }
.idx-slot { position: relative; height: clamp(560px, 78vh, 860px); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.idx-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.idx-foot { margin-top: 16px; }
@media (max-width: 640px) { .idx-slot { height: 72vh; min-height: 520px; } }

/* ---------- Prose (legal pages, bio) ---------- */
.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose h2 { font-family: var(--display); font-size: 1.75rem; margin-top: 24px; }
.prose h3 { font-family: var(--display); font-size: 1.3rem; margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25em; display: grid; gap: 6px; }
.prose a { color: var(--sky-deep); }
.prose .effective { font-size: 0.875rem; color: var(--muted); letter-spacing: 0.06em; }

/* Areas list */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.areas div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.areas h3 { font-family: var(--display); font-size: 1.35rem; }
.areas p { font-size: 0.9375rem; color: var(--muted); }

.value-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.value-list div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.value-list h3 { font-family: var(--display); font-size: 1.35rem; }
.value-list p { color: var(--muted); font-size: 0.9375rem; }
.on-dark .value-list div { border-top-color: var(--ink-line); }
.on-dark .value-list h3 { color: var(--white); }
.on-dark .value-list p { color: var(--on-dark-muted); }

.contact-list { display: grid; gap: 22px; margin: 0; }
.contact-list div { display: grid; gap: 4px; }
.contact-list dt { font: 500 0.6875rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.25rem; }
.contact-list a { text-decoration: none; }
.copy-btn { margin-left: 10px; background: none; border: 1px solid var(--line); border-radius: var(--radius); font: 500 0.625rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 8px; cursor: pointer; color: var(--muted); vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   v2 — bold type + visual punch
   ========================================================================== */

/* Bold, clean type system (Archivo). The logo wordmark keeps its serif. */
body { font-size: 1.0625rem; letter-spacing: -0.003em; }
.display-1, .section-title, .page-hero h1, .cta-inner h2, .prop-top h1 {
  font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em;
}
.display-1 { font-size: clamp(3rem, 7.2vw, 6.4rem); line-height: 0.95; }
.section-title { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.02; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 0.98; }
.cta-inner h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 0.98; }
.lcard-price, .prop-price, .hero-stats dt, .stat-row dt, .keyfacts dd, .calc-total {
  font-weight: 700; font-stretch: 108%; letter-spacing: -0.02em;
}
.plan-item h3, .process h3, .form-title, .prose h2, .prose h3, .areas h3, .value-list h3,
.prop-section h2, .form-success h3, .agent-mini b, .portrait-cap b, .mobile-menu nav a, .footer-tag, .scene-town {
  font-weight: 700; letter-spacing: -0.015em;
}
.plan-item h3 { font-stretch: 110%; }
.pullquote { font-weight: 500; letter-spacing: -0.01em; }
.process li::before { font-weight: 700; font-family: var(--sans); }
.eyebrow, .field > span, .pill, .btn, .primary-nav a, .text-link, .chip, .steps-label, .site-footer h4 {
  font-weight: 600;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 6px; height: 6px; background: currentColor;
  transform: rotate(45deg); margin-right: 12px; vertical-align: 2px;
}
.lede { color: var(--muted); }

/* Grain on dark surfaces */
.band-ink, .site-footer { background-image: var(--grain); }
.hero::before { background: var(--grain), radial-gradient(70% 60% at 78% 18%, rgba(108,187,251,.16), transparent 60%), radial-gradient(60% 50% at 10% 90%, rgba(108,187,251,.08), transparent 60%), var(--ink); }
.page-hero::before { background: var(--grain), radial-gradient(60% 70% at 85% 10%, rgba(108,187,251,.16), transparent 60%), var(--ink); }

/* Buttons get a little more presence */
.btn { font-size: 0.8125rem; letter-spacing: 0.12em; }
.btn-sky { box-shadow: 0 10px 30px -12px rgba(108, 187, 251, 0.65); }
.btn-sky:hover { box-shadow: 0 14px 34px -12px rgba(108, 187, 251, 0.85); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Hero with photo + spotlight card ---------- */
.hero.has-photo::before {
  background:
    linear-gradient(90deg, rgba(10,13,17,.94) 0%, rgba(10,13,17,.78) 42%, rgba(10,13,17,.35) 75%, rgba(10,13,17,.55) 100%),
    linear-gradient(0deg, rgba(10,13,17,.9) 0%, rgba(10,13,17,0) 38%),
    var(--hero-img) center / cover no-repeat, var(--ink);
}
.hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); padding-block: clamp(64px, 9vw, 128px) clamp(150px, 17vw, 230px); }
.hero-copy { gap: 26px; }
.hero-copy .display-1 em { font-style: normal; color: var(--sky); }
.spot {
  display: grid; text-decoration: none; color: var(--on-dark);
  background: rgba(17, 24, 32, 0.72); border: 1px solid rgba(108, 187, 251, 0.25);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  transition: transform .35s ease, border-color .35s ease;
}
.spot:hover { transform: translateY(-4px); border-color: rgba(108, 187, 251, 0.6); }
.spot-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot-body { display: grid; gap: 6px; padding: 20px 22px 22px; }
.spot-label { font: 600 0.6875rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.spot-price { font-weight: 800; font-stretch: 110%; font-size: 1.9rem; line-height: 1.05; color: var(--white); letter-spacing: -0.02em; }
.spot-addr { color: var(--on-dark-muted); font-size: 0.9375rem; }
.spot .facts { color: var(--on-dark-muted); }
.spot .facts b { color: var(--white); }
.spot .facts li + li::before { background: var(--ink-line); }
.spot-cta { margin-top: 6px; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .spot { max-width: 520px; } }

/* ---------- Sky-blue stats band ---------- */
.stats-band { background: var(--sky); color: var(--ink); position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(10,13,17,.035) 0 2px, transparent 2px 14px); pointer-events: none; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; position: relative; z-index: 1; }
.stats div { padding: clamp(26px, 3.4vw, 44px) clamp(14px, 2vw, 28px); display: grid; gap: 6px; align-content: center; }
.stats div + div { border-left: 1px solid rgba(10, 13, 17, 0.2); }
.stats dt { font-weight: 800; font-stretch: 118%; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: lining-nums; }
.stats dt .star { font-size: 0.55em; vertical-align: 0.5em; margin-left: 4px; }
.stats dd { margin: 0; font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid rgba(10, 13, 17, 0.2); }
}

/* ---------- Marquee of places ---------- */
.marquee { background: var(--ink); color: var(--sky); overflow: hidden; border-block: 1px solid var(--ink-line); padding-block: 22px; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  font-weight: 800; font-stretch: 122%; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.2px rgba(108, 187, 251, 0.75);
}
.marquee-track span:nth-child(4n+1) { color: var(--white); -webkit-text-stroke: 0; }
.marquee-track i { width: 12px; height: 12px; background: var(--sky); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Listing cards with photo overlays ---------- */
.lcard { transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease; }
.lcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(10, 13, 17, 0.55); }
.lcard-over {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px 20px 16px;
  background: linear-gradient(0deg, rgba(10,13,17,.9), rgba(10,13,17,0));
  display: flex; align-items: end; justify-content: space-between; gap: 12px; color: var(--white);
}
.lcard-over-price { font-weight: 800; font-stretch: 110%; font-size: 1.85rem; line-height: 1; letter-spacing: -0.025em; }
.lcard-over-go { font: 600 0.6875rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease; white-space: nowrap; }
.lcard:hover .lcard-over-go, .lcard:focus-within .lcard-over-go { opacity: 1; transform: none; }
.lcard .scene-town { display: none; }
.pill.photos { left: auto; right: 14px; }
.pill.photos::before { display: none; }
.lcard.is-lead .lcard-over { display: none; }
.lcard.is-lead { border: 0; background: var(--ink); color: var(--on-dark); }
.lcard.is-lead .lcard-place, .lcard.is-lead .lcard-note, .lcard.is-lead .facts, .lcard.is-lead .lcard-highlights { color: var(--on-dark-muted); }
.lcard.is-lead .facts b, .lcard.is-lead .lcard-price, .lcard.is-lead .lcard-addr { color: var(--white); }
.lcard.is-lead .facts li + li::before { background: var(--ink-line); }
.lcard.is-lead .lcard-highlights li::before { background: var(--sky); }
.lcard.is-lead .text-link { color: var(--sky); }
.lcard.is-lead .lcard-body { background: var(--grain), radial-gradient(90% 80% at 100% 0%, rgba(108,187,251,.12), transparent 60%), var(--ink); }
.lcard.is-lead .lcard-price { font-size: clamp(2.4rem, 3.8vw, 3.4rem); }
@media (min-width: 981px) { .lcard.is-lead .lcard-media { min-height: 520px; } }
.spot-flag { font: 600 0.6875rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }

/* ---------- Reviews ---------- */
.rating-badge { display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; justify-content: start; }
.rb-score { grid-row: span 2; font-weight: 800; font-stretch: 115%; font-size: 3.4rem; line-height: 1; color: var(--white); letter-spacing: -0.03em; }
.stars { color: var(--sky); letter-spacing: 0.18em; font-size: 1rem; }
.rating-badge .rb-count { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--ink-line) transparent;
}
@media (min-width: 1100px) { .review-track { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 520px) { .review-track { grid-auto-columns: 86%; } }
.review {
  margin: 0; scroll-snap-align: start; display: grid; gap: 18px; align-content: space-between;
  padding: 30px 28px 26px; background: var(--ink-2); border: 1px solid var(--ink-line); position: relative; overflow: hidden;
}
.review::before { content: "\201C"; position: absolute; right: 18px; top: -18px; font: 800 9rem/1 var(--sans); color: rgba(108, 187, 251, 0.12); }
.review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--white); position: relative; }
.review figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--ink-line); }
.review figcaption b { font-weight: 700; color: var(--white); }
.review figcaption span { font-size: 0.8125rem; color: var(--on-dark-muted); }
.review-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 26px; }
.review-arrows { display: flex; gap: 10px; }
.review-arrows button { width: 48px; height: 48px; border: 1px solid var(--ink-line); background: transparent; color: var(--white); font-size: 1.2rem; cursor: pointer; border-radius: var(--radius); transition: background-color .2s ease, border-color .2s ease; }
.review-arrows button:hover { background: rgba(108,187,251,.12); border-color: var(--sky); }

/* ---------- Plan pillars: numbers-free, big glowing titles ---------- */
.plan-item { position: relative; }
.plan-item h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.plan-item::after { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--sky); }
.plan-item + .plan-item::after { left: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .plan-item + .plan-item::after { left: 0; } }

/* ---------- Mobile call / value bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; color: var(--white);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 13, 17, 0.94); border-top: 1px solid var(--ink-line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mobile-cta .btn { width: 100%; min-height: 46px; }
  .site-footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Reviews: date row + expandable long reviews */
.review { align-content: start; grid-template-rows: auto 1fr auto auto; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-date { font: 600 0.6875rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.review blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review.open blockquote.clamp { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review-more { justify-self: start; background: none; border: 0; padding: 0; color: var(--sky); font: 600 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.review-track { align-items: start; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.gallery .more { width: auto; height: auto; min-height: 40px; padding: 0.85em 1.2em; cursor: pointer; }

/* Hero background video (Running Bear Trail) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; background: var(--ink); }
.hero.has-video::before {
  background:
    linear-gradient(90deg, rgba(10,13,17,.92) 0%, rgba(10,13,17,.72) 40%, rgba(10,13,17,.28) 72%, rgba(10,13,17,.45) 100%),
    linear-gradient(0deg, rgba(10,13,17,.92) 0%, rgba(10,13,17,0) 40%),
    linear-gradient(180deg, rgba(10,13,17,.55) 0%, rgba(10,13,17,0) 22%);
}
.hero-video-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  background: rgba(10, 13, 17, 0.6); color: var(--on-dark); border: 1px solid var(--ink-line); border-radius: var(--radius);
  font: 600 0.625rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 9px 12px; cursor: pointer;
}
.hero-video-toggle:hover { border-color: var(--sky); color: var(--white); }
@media (max-width: 720px) { .hero-video-toggle { bottom: auto; top: 12px; } }

/* Town-name band: smaller, solid, easy to read */
.marquee { padding-block: 16px; }
.marquee-track { gap: 26px; animation-duration: 38s; }
.marquee-track span, .marquee-track span:nth-child(4n+1) {
  font-size: clamp(1.15rem, 2.1vw, 1.75rem); font-weight: 700; font-stretch: 112%; letter-spacing: 0.02em;
  color: var(--white); -webkit-text-stroke: 0;
}
.marquee-track i { width: 8px; height: 8px; }
@media (max-width: 900px) {
  .hero.has-video::before { background: linear-gradient(180deg, rgba(10,13,17,.78) 0%, rgba(10,13,17,.86) 60%, rgba(10,13,17,.94) 100%); }
}

/* Small status toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white); border: 1px solid var(--sky);
  padding: 12px 16px; font-size: 0.9375rem; max-width: calc(100vw - 32px); text-align: center;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
