/* ═══════════════════════════════════════════════════════════════
   Maple Group Management — maplegroup
   Warm editorial system: ivory paper, espresso ink, maple accent
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F6F1E6;
  --paper-2: #EDE5D4;
  --paper-3: #E5DAC4;
  --ink: #221B14;
  --ink-soft: #5C5245;
  --maple: #A63A22;
  --maple-deep: #7E2A17;
  --gold: #C08A2D;
  --dark: #241C14;
  --dark-2: #2E241A;
  --cream-on-dark: #F1E9D9;
  --hairline: color-mix(in srgb, var(--ink) 16%, transparent);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --radius: 28px;
  --wrap: 1200px;
  --head-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 12px);
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--maple); color: var(--paper); }

h1, h2, h3 { font-family: var(--serif); font-weight: 380; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 420; color: var(--maple); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }

.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px; font-size: .85rem;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .92rem;
  padding: 11px 22px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  /* reset native chrome so <button class="btn"> matches <a class="btn"> */
  background: none; border: 0; color: inherit; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 15px; height: 15px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost svg, .btn-paper svg { }
.btn-fill { background: var(--maple); color: #FBF7EE; }
.btn-fill:hover { background: var(--maple-deep); }
.btn-ghost { color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 32%, transparent); }
.btn-ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-lg { padding: 14px 28px; font-size: .98rem; }
.btn-xl { padding: 17px 36px; font-size: 1.08rem; }
:focus-visible { outline: 2px solid var(--maple); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { border-radius: 999px; }

/* ── Header ──────────────────────────────────────────────── */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--head-h);
  display: flex; align-items: center; gap: 28px;
  padding-inline: clamp(18px, 3vw, 40px);
  /* own compositor layer: the bar never repaints while the page scrolls */
  transform: translateZ(0);
}
/* The frosted bar lives on a pseudo-element that only fades in/out.
   Animating `backdrop-filter` itself rebuilds the blur every frame, which is
   what made the header shimmer on retina Macs; fading a layer is free. */
.site-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
  opacity: 0;
  transition: opacity .3s ease;
  will-change: opacity;
  pointer-events: none;
}
.site-head.scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--maple); color: #FBF4E4;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.35rem;
  display: grid; place-items: center; line-height: 1; padding-bottom: 3px;
}
.brand-word { font-family: var(--serif); font-size: 1.14rem; font-weight: 480; line-height: 1.02; display: flex; flex-direction: column; }
.brand-word em { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 8px 13px; border-radius: 999px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px;
  height: 1.5px; background: var(--maple); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s;
}
.main-nav a:hover::after { transform: scaleX(1); }
.head-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; }

/* mobile nav */
.mobile-nav[hidden] { display: none; }
.mobile-nav {
  position: fixed; top: var(--head-h); left: 12px; right: 12px; z-index: 99;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 22px;
  padding: 18px; box-shadow: 0 24px 60px -20px rgba(34,27,20,.35);
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; padding: 10px 8px; border-radius: 10px; }
.mobile-nav a:not(.btn):hover { background: var(--paper-2); }
.mobile-nav-cta { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ── Hero canvas (fixed behind hero content) ─────────────── */
#hero-canvas {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100svh;
  pointer-events: none;
  /* No opacity transition here: main.js already writes a smoothed value every
     frame, and a transition on a per-frame write leaves the compositor
     permanently mid-animation (the source of the hero jitter). */
  transform: translateZ(0);
  will-change: opacity;
}

/* ── Hero ────────────────────────────────────────────────── */
main { position: relative; z-index: 2; }
.hero {
  position: relative;
  background: transparent; /* the fixed WebGL canvas shows through */
  min-height: clamp(540px, 88svh, 800px);
  display: flex; align-items: center;
  padding: calc(var(--head-h) + 20px) clamp(20px, 4vw, 44px) 40px;
}
.hero-inner { max-width: 640px; margin-left: max(0px, calc((100vw - var(--wrap)) / 2)); }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--maple); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5rem); margin-bottom: 22px; }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--ink-soft); max-width: 46ch; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats {
  display: flex; gap: clamp(24px, 3.5vw, 48px); margin-top: 42px;
  border-top: 1px solid var(--hairline); padding-top: 20px; max-width: 520px;
}
.hero-stats dt { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 450; color: var(--ink); line-height: 1; }
.hero-stats dt { font-variant-numeric: proportional-nums; }
.hero-stats dd { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 999px; display: block;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--maple); border-radius: 4px;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(12px); opacity: .2; } }

/* ── Ticker ──────────────────────────────────────────────── */
.ticker {
  position: relative; z-index: 2;
  background: var(--paper);
  border-block: 1px solid var(--hairline);
  overflow: hidden; padding-block: 13px;
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
  animation: ticker 52s linear infinite;
  will-change: transform;
}
.ticker-track span { font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.ticker-track i { font-style: normal; color: var(--gold); font-size: .7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Sections shared ─────────────────────────────────────── */
section { position: relative; z-index: 2; background: var(--paper); }
.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--maple); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.kicker.light { color: var(--gold); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }

/* ── Homes / listings ────────────────────────────────────── */
.homes { padding-block: clamp(56px, 9vh, 92px) clamp(40px, 6vh, 64px); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 34px;
}
.sec-note { max-width: 34ch; color: var(--ink-soft); font-size: .98rem; padding-bottom: 6px; }
.listing-shell {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(8px, 1.2vw, 14px);
  overflow: hidden;
}
.listing-shell iframe { display: block; border-radius: calc(var(--radius) - 8px); background: #fff; width: 100%; border: 0; }

/* Copy on the left, a small live peek parked on the side. The peek is a
   thumbnail, not a scroller: the embed is inert and the whole card is one
   link to rentals.html. */
.homes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.strip-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }

.peek {
  --peek-w: 350px;
  --peek-h: 440px;
  /* the embed renders taller than the window; js/ui.js pans it inside */
  --frame-h: 1600px;
  position: relative;
  width: var(--peek-w);
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 10px 10px 62px;
  box-shadow: 0 24px 50px -34px rgba(34, 27, 20, .5);
}
.peek-frame {
  position: relative;
  height: var(--peek-h);
  overflow: hidden;
  border-radius: calc(var(--radius) - 10px);
  background: #fff;
}
.peek-frame iframe {
  display: block; width: 100%; height: var(--frame-h);
  border: 0; background: #fff;
  /* inert: a finger or a wheel never reaches the embed, so it can't scroll
     and can't swallow the page's own scroll. The only thing that moves it is
     the auto-pan in js/ui.js. */
  pointer-events: none;
  will-change: transform;
}
/* soften the clipped edge so the cut-off card reads as intentional */
.peek-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  pointer-events: none;
  background: linear-gradient(transparent, color-mix(in srgb, #fff 55%, transparent) 45%, var(--paper-2));
}
/* full-card hit area — tap, click or keyboard all land on rentals.html */
.peek-hit {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 0 20px 18px;
  border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
}
.peek-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.peek-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--maple); }
.peek-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .86rem; font-weight: 700; color: var(--maple);
}
.peek-cta svg { width: 14px; height: 14px; transition: transform .25s; }
.peek:hover .peek-cta svg { transform: translateX(3px); }
.peek:hover { border-color: color-mix(in srgb, var(--maple) 40%, transparent); }

.waitlist {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 26px; padding: 20px 4px 0; border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.waitlist p { color: var(--ink-soft); max-width: 52ch; font-size: .98rem; }

/* ── Services ────────────────────────────────────────────── */
.services { padding-block: clamp(56px, 9vh, 96px); background: linear-gradient(var(--paper), var(--paper-2) 30%, var(--paper-2) 80%, var(--paper)); }
.services-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.services-copy h2 { max-width: 17ch; }
.service-rows { list-style: none; margin-top: 38px; }
.service-rows li {
  display: flex; gap: 26px; align-items: baseline;
  padding-block: 22px; border-top: 1px solid var(--hairline);
  transition: transform .3s;
}
.service-rows li:hover { transform: translateX(6px); }
.service-rows .num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--maple); min-width: 30px; }
.service-rows h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); margin-bottom: 6px; }
.service-rows p { color: var(--ink-soft); font-size: .97rem; max-width: 52ch; }
.services-copy > .btn { margin-top: 30px; }

.services-visual { position: relative; min-height: 100%; }
.arch {
  position: sticky; top: calc(var(--head-h) + 24px);
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5.1;
  background:
    radial-gradient(120% 90% at 50% 10%, #F2E3C8 0%, #E3D2B4 55%, #D9C6A5 100%);
  box-shadow: inset 0 0 0 1px var(--hairline), 0 30px 60px -30px rgba(34,27,20,.35);
}
#tour-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── Residents (dark inset band) ─────────────────────────── */
.residents { padding: clamp(20px, 3.5vh, 36px) clamp(12px, 2.5vw, 36px); }
.residents-band {
  max-width: calc(var(--wrap) + 60px); margin-inline: auto;
  background:
    radial-gradient(90% 130% at 88% -10%, #3A2A1A 0%, transparent 55%),
    var(--dark);
  color: var(--cream-on-dark);
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(30px, 4vw, 64px); align-items: center;
}
.residents h2 { color: var(--cream-on-dark); }
.residents h2 em { color: var(--gold); }
.lede.light { color: color-mix(in srgb, var(--cream-on-dark) 72%, transparent); margin-top: 16px; }
.residents-actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-links a {
  color: var(--cream-on-dark); text-decoration: none; font-weight: 600; font-size: .88rem;
  border: 1px solid color-mix(in srgb, var(--cream-on-dark) 30%, transparent);
  border-radius: 999px; padding: 8px 16px;
  transition: background .25s, border-color .25s;
}
.quick-links a:hover { background: color-mix(in srgb, var(--cream-on-dark) 12%, transparent); border-color: color-mix(in srgb, var(--cream-on-dark) 55%, transparent); }
.fine { font-size: .82rem; color: color-mix(in srgb, var(--cream-on-dark) 55%, transparent); }

/* ── About ───────────────────────────────────────────────── */
.about { padding-block: clamp(56px, 9vh, 96px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.body-copy { color: var(--ink-soft); margin-top: 20px; max-width: 56ch; }
.about blockquote { margin-top: 34px; padding-left: 22px; border-left: 2px solid var(--gold); }
.about blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; color: var(--ink); }
.about cite { display: block; margin-top: 12px; font-style: normal; font-size: .85rem; font-weight: 600; letter-spacing: .05em; color: var(--ink-soft); }
.towns { border-top: 1px solid var(--hairline); padding-top: 24px; margin-top: 8px; }
.towns-label { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.pill-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.pill-cloud li {
  font-size: .9rem; font-weight: 600;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 17px;
  transition: background .25s, border-color .25s, color .25s;
}
.pill-cloud li:nth-child(3n+1) { background: var(--paper-2); border-color: transparent; }
.pill-cloud li:hover { background: var(--maple); border-color: var(--maple); color: var(--paper); }
.towns-more { margin-top: 16px; font-size: .9rem; color: var(--ink-soft); font-style: italic; font-family: var(--serif); }

/* ── Contact ─────────────────────────────────────────────── */
.contact {
  padding-block: clamp(64px, 10vh, 110px);
  background: linear-gradient(var(--paper), var(--paper-2));
  text-align: center;
}
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 34px; }
.contact-lines {
  display: flex; justify-content: center; gap: clamp(20px, 4vw, 54px);
  margin-top: 44px; font-style: normal; flex-wrap: wrap;
}
.contact-lines span { display: flex; flex-direction: column; gap: 3px; font-size: .95rem; color: var(--ink-soft); }
.contact-lines b { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--maple); }
.contact-lines a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.contact-lines a:hover { border-color: var(--maple); }

/* ── Footer ──────────────────────────────────────────────── */
.site-foot { background: var(--dark); color: var(--cream-on-dark); padding-block: 34px; position: relative; z-index: 2; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.site-foot .brand { color: var(--cream-on-dark); }
.site-foot .brand-word em { color: color-mix(in srgb, var(--cream-on-dark) 55%, transparent); }
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot nav a { color: var(--cream-on-dark); text-decoration: none; font-size: .88rem; font-weight: 600; opacity: .85; }
.site-foot nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.eho { font-size: .76rem; line-height: 1.7; color: color-mix(in srgb, var(--cream-on-dark) 55%, transparent); text-align: right; }

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.6,.2,1) var(--d, 0s), transform .7s cubic-bezier(.2,.6,.2,1) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ── No-WebGL fallback ───────────────────────────────────── */
body.no3d #hero-canvas { display: none; }
body.no3d .hero {
  background:
    radial-gradient(52% 74% at 76% 46%, #E7D5B6 0%, transparent 70%),
    radial-gradient(30% 44% at 88% 72%, #DEC49B 0%, transparent 72%);
}
body.no3d .arch { background: radial-gradient(120% 90% at 50% 10%, #F2E3C8 0%, #D9C6A5 100%); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .main-nav { display: none; }
}
@media (max-width: 900px) {
  .services-grid, .about-grid, .residents-band { grid-template-columns: 1fr; }
  .services-visual { order: -1; }
  .arch { position: relative; top: 0; max-width: 480px; margin-inline: auto; aspect-ratio: 4 / 4.4; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .eho { text-align: left; }
}
@media (max-width: 760px) {
  .head-actions { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; margin-left: auto;
    background: color-mix(in srgb, var(--paper) 85%, transparent);
    border: 1px solid var(--hairline); border-radius: 14px; cursor: pointer;
    padding-inline: 12px;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding-bottom: 70px; }
  .hero-inner { max-width: none; }
  .hero-stats { max-width: none; }
  .waitlist { flex-direction: column; align-items: flex-start; }
  .residents-actions { align-items: stretch; }
  .residents-actions .btn { justify-content: center; }
}

/* ── Footer legal + Equal Housing mark ───────────────────── */
.foot-legal { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.eho-mark { width: 44px; height: auto; flex: none; color: var(--cream-on-dark); opacity: .9; }
.eho { font-size: .76rem; line-height: 1.7; color: color-mix(in srgb, var(--cream-on-dark) 55%, transparent); text-align: right; max-width: 46ch; }
.eho a { color: inherit; }

/* ── Contact / rentals page ──────────────────────────────── */
.contact-cta { display: flex; gap: 13px; flex-wrap: wrap; justify-content: center; }
.contact .btn-ghost { border-color: color-mix(in srgb, var(--ink) 32%, transparent); }

.page-rentals { padding-top: var(--head-h); }
.rentals-head { padding-block: clamp(34px, 6vh, 60px) clamp(22px, 3vh, 34px); }
.rentals-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 18px; }
.rentals-head .lede { margin-bottom: 4px; }
.crumbs { display: flex; gap: 9px; font-size: .82rem; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.crumbs a:hover { color: var(--maple); border-color: var(--maple); }
.all-rentals { padding-bottom: clamp(40px, 6vh, 72px); }
.listing-note { margin-top: 20px; font-size: .95rem; color: var(--ink-soft); }
.linkish {
  background: none; border: 0; padding: 0; font: inherit; color: var(--maple);
  font-weight: 700; cursor: pointer; border-bottom: 1px solid currentColor;
}
.linkish:hover { color: var(--maple-deep); }

/* ── Waitlist modal ──────────────────────────────────────── */
.wl {
  border: 0; padding: 0; background: transparent;
  max-width: min(560px, calc(100vw - 24px)); width: 100%;
  max-height: calc(100dvh - 24px);
  overflow: visible; color: var(--ink);
}
.wl::backdrop {
  background: color-mix(in srgb, #1B1410 62%, transparent);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .28s ease;
}
.wl.is-open::backdrop { opacity: 1; }
.wl-panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: clamp(20px, 3vw, 28px);
  box-shadow: 0 40px 90px -30px rgba(20, 14, 9, .55);
  padding: clamp(24px, 4vw, 38px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  opacity: 0; transform: translateY(18px) scale(.965);
  transition: opacity .3s cubic-bezier(.2,.7,.2,1), transform .38s cubic-bezier(.2,.8,.2,1);
}
.wl.is-open .wl-panel { opacity: 1; transform: none; }
.wl-x {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--hairline); border-radius: 50%; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.wl-x svg { width: 15px; height: 15px; }
.wl-x:hover { background: var(--paper-2); color: var(--ink); transform: rotate(90deg); }
.wl h2 { font-size: clamp(1.7rem, 3.4vw, 2.15rem); margin-bottom: 10px; }
.wl .kicker { margin-bottom: 12px; }
.wl-lede { color: var(--ink-soft); font-size: .96rem; margin-bottom: 22px; }

.wl-row { margin-bottom: 13px; }
.wl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.wl-field { display: flex; flex-direction: column; gap: 6px; }
.wl-field > span {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.wl-field > span i { font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: none; opacity: .6; }
.wl-field input, .wl-field select, .wl-field textarea {
  font: inherit; font-size: .96rem; color: var(--ink);
  background: #FCF9F2;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 13px; padding: 11px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.wl-field textarea { resize: vertical; min-height: 74px; }
.wl-field input::placeholder, .wl-field textarea::placeholder { color: color-mix(in srgb, var(--ink) 38%, transparent); }
.wl-field input:focus, .wl-field select:focus, .wl-field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--maple);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--maple) 16%, transparent);
}
.wl-field input:user-invalid { border-color: #B03A2E; }
/* honeypot — off-screen but not display:none, so bots still fill it */
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wl-submit { width: 100%; justify-content: center; margin-top: 8px; position: relative; }
.wl-submit:disabled { opacity: .75; cursor: progress; }
.wl-spin {
  display: none; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, #FBF7EE 40%, transparent);
  border-top-color: #FBF7EE; animation: wl-spin .7s linear infinite;
}
.wl-submit.is-busy .wl-spin { display: block; }
.wl-submit.is-busy .wl-label { opacity: .7; }
@keyframes wl-spin { to { transform: rotate(360deg); } }

.wl-status { font-size: .88rem; margin: 10px 0 0; min-height: 0; }
.wl-status.is-error {
  color: #8E2B1E; background: color-mix(in srgb, #B03A2E 9%, transparent);
  border: 1px solid color-mix(in srgb, #B03A2E 26%, transparent);
  border-radius: 11px; padding: 9px 13px; margin-bottom: 4px;
  animation: wl-shake .4s cubic-bezier(.36,.07,.19,.97);
}
@keyframes wl-shake { 10%,90% { transform: translateX(-2px);} 30%,70% { transform: translateX(4px);} 50% { transform: translateX(-4px);} }
.wl-fine { font-size: .78rem; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }
.wl-fine a { color: var(--maple); }

/* success state swaps in over the form */
.wl-done { display: none; text-align: center; padding: clamp(14px, 3vw, 26px) 0 6px; }
.wl.is-done .wl-form-wrap { display: none; }
.wl.is-done .wl-done { display: block; animation: wl-rise .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes wl-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wl-check { color: var(--maple); width: 66px; margin: 0 auto 18px; }
.wl-check svg { width: 100%; height: auto; }
.wl-check circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: wl-draw .6s cubic-bezier(.3,.7,.3,1) .1s forwards; }
.wl-check path { stroke-dasharray: 44; stroke-dashoffset: 44; animation: wl-draw .35s cubic-bezier(.3,.7,.3,1) .55s forwards; }
@keyframes wl-draw { to { stroke-dashoffset: 0; } }
.wl-done h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 10px; }
.wl-done p { color: var(--ink-soft); margin-bottom: 22px; }

/* ── Responsive (later blocks win) ───────────────────────── */
@media (max-width: 1000px) {
  /* stack: copy first, then a smaller peek centred under it */
  .homes-grid { grid-template-columns: 1fr; }
  .peek { --peek-w: 320px; --peek-h: 360px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .foot-legal { margin-left: 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .eho { text-align: left; }
}
@media (max-width: 560px) {
  .peek { --peek-w: min(300px, 100%); --peek-h: 330px; }
  .strip-actions .btn, .contact-cta .btn { flex: 1 1 100%; justify-content: center; }
  .wl-two { grid-template-columns: 1fr; }
  .wl-panel { padding: 26px 20px 22px; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .scroll-cue span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-rows li:hover { transform: none; }
  .wl-panel { transition: none; opacity: 1; transform: none; }
  .wl-check circle, .wl-check path { animation: none; stroke-dashoffset: 0; }
  .wl.is-done .wl-done { animation: none; }
  .wl-status.is-error { animation: none; }
}
