/* ==========================================================================
   Lotus Landing — design system
   The Mayfair family template design (as adapted for the family's sites on 2026-11-03), carrying Lotus
   Landing's own palette on the template's token names: paper, pool deck, deck-deep, pine, pine night, lotus plum,
   lotus-soft, the medallion's sage ring and pool water (DESIGN.md has the table and the reasons). Type: Instrument Sans +
   Cormorant Garamond italic accent words + Caveat plan notes. Flat single-class selectors.
   ========================================================================== */

:root {
  /* Lotus Landing's palette on the template's token names (DESIGN.md has the table). */
  --paper: #FBFAF8;        /* paper: the medallion's white disc, warmed a touch — the page ground */
  --cream: #F7F1EA;        /* deck: the warm pool deck, washed almost to white — alternate sections, header, CTA band */
  --cream-deep: #EDE4DA;   /* deck-deep: eyebrow chips, pressed surfaces (never --ledge-soft text on it: 4.1:1) */
  --white: #FFFFFF;

  --creek: #3D5446;        /* pine: secondary ink (plan meta, POI names, marquee), the dark buttons */
  --creek-deep: #233229;   /* pine night: headings, dark bands, the brand's near-black */
  --ledge: #8C4270;        /* lotus: the entry medallion's plum, deepened for AA — links, nav underline, bullets, focus ring */
  --ledge-soft: #9D5581;   /* lotus-soft: the sign's plum in sun — accent hover only */
  --mist: #F7F1EA;
  --river: #D0DCD8;        /* ring: the medallion's pale sage ring — borders, dividers (decorative only) */
  --river-pale: #EEF3F1;   /* ring-pale: light neutral, moss bands, card-art backdrop */
  --sunlit: #BFECEE;       /* pool: ::selection, coming-soon border, the map home-pin ring */
  --ink: #25252A;          /* the charcoal numerals on the entry sign */
  --ink-soft: #57565E;
  --black: #233229;

  --hairline: rgba(37, 37, 42, 0.12);

  --font-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif-i: "Cormorant Garamond", Georgia, serif;
  --font-accent: "Caveat", "Bradley Hand", cursive;

  --max: 1280px;
  --pad: clamp(20px, 4.5vw, 56px);
  --shadow: 0 18px 44px -30px rgba(37, 37, 42, 0.22);
  --curve: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px; /* Archscale scale */
  line-height: 1.55;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--creek-deep);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 0.45em;
  text-wrap: balance;
}

/* italic serif accent word — the Archscale signature */
.acc, .hero-type {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Generous, airy scale — bigger faces, lighter weight, more white around them. */
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--ledge); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ledge);
  outline-offset: 2px;
}
/* Over a photo (the transparent header above a photo hero, and the hero itself) the plum ring would sit on the
   pine-night scrim at about 1.6:1; white measures well over 8:1 there (WCAG 1.4.11 asks 3:1). Light sections keep plum. */
body.hero-under .site-header:not(.is-scrolled) a:focus-visible,
body.hero-under .site-header:not(.is-scrolled) button:focus-visible,
.hero--photo a:focus-visible, .hero--photo button:focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--creek);
  color: var(--white);
  padding: 10px 18px;
  z-index: 100;
}

.skip-link:focus { left: 8px; }

/* --------------------------------------------------------------------------
   Eyebrow — now a quiet Cormorant italic line (script retired for legibility)
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-deep);
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: lowercase;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--ink); }

.hero .eyebrow, .photo-band .eyebrow {
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero .eyebrow::before, .photo-band .eyebrow::before { background: #fff; }

/* --------------------------------------------------------------------------
   Header — big, cream, light (the Wixby chrome)
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  color: var(--creek-deep);
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(37, 37, 42, 0.08);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 248, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 10px 30px -18px rgba(35, 50, 41, 0.25);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  transition: min-height .3s ease;
}

.site-header.is-scrolled .header-inner { min-height: 72px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--creek-deep);
  text-decoration: none;
}

.brand-mark { flex: none; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.02;
  text-transform: lowercase;
  color: var(--ink);
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--creek-deep);
  margin-top: 4px;
}

.site-nav { display: flex; align-items: center; gap: 6px; }

.site-nav a {
  position: relative;
  color: var(--creek-deep);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 11px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  background: var(--ledge);
  transition: left 0.25s ease, right 0.25s ease;
}

.site-nav a:hover::after, .site-nav a[aria-current]::after { left: 11px; right: 11px; }

.nav-cta {
  background: var(--white);
  color: var(--ink) !important;
  border: 1.5px solid rgba(37, 37, 42, 0.45);
  padding: 13px 24px !important;
  font-weight: 500;
  border-radius: 999px;
}
.nav-cta::after { content: " →"; }

.nav-cta::after { display: none; }

.nav-cta:hover { background: var(--cream-deep); }

/* Burger button — dark bars on the cream header, all screen sizes. */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 50px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1.5px solid rgba(37, 37, 42, 0.3);
  border-radius: 10px;
  color: transparent;
  font-size: 0; /* keeps the "Menu" label in the accessibility tree, hides it visually */
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.menu-btn::before {
  content: "";
  width: 22px;
  height: 15px;
  background:
    linear-gradient(var(--creek-deep), var(--creek-deep)) top / 100% 2.5px no-repeat,
    linear-gradient(var(--creek-deep), var(--creek-deep)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--creek-deep), var(--creek-deep)) bottom / 100% 2.5px no-repeat;
}
.menu-btn:hover { border-color: var(--ledge); background: rgba(140, 66, 112, 0.08); }
.menu-btn:focus-visible { outline: 3px solid var(--ledge); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Full menu overlay (the Vantage-style popout, kept honest as a drawer)
   -------------------------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 460px);
  background: var(--cream);
  color: var(--creek-deep);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 0.84, 0.28, 1);
  display: flex;
  flex-direction: column;
  padding: 30px clamp(26px, 5vw, 44px);
  overflow-y: auto;
  border-left: 1px solid var(--hairline);
}

.drawer.open { transform: translateX(0); }

.drawer a {
  color: var(--creek-deep);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(37, 37, 42, 0.1);
  transition: color 0.2s, padding-left 0.25s ease;
}

.drawer a:hover { color: var(--ledge); padding-left: 10px; }

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--ink-soft);
  font: 700 0.85rem var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px;
  margin-bottom: 12px;
}

.drawer-foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Section labels + the contact button inside the full-site drawer menu */
.drawer-title {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ledge);
  margin: 14px 0 2px;
  padding: 0 4px;
}
.drawer-title--sub { margin-top: 26px; }

.drawer a.drawer-cta {
  margin-top: 20px;
  background: var(--creek-deep);
  color: var(--white);
  text-align: center;
  border-bottom: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 10px;
}
.drawer a.drawer-cta:hover { background: var(--creek); color: var(--white); padding-left: 10px; }

/* Offset in-page anchor targets so the sticky header doesn't cover them. */
#repairs { scroll-margin-top: 120px; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(35, 50, 41, 0.4);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scrim.show { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 500 1rem var(--font-body);
  text-decoration: none;
  text-align: center;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px; /* Archscale pills */
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s ease, box-shadow .2s ease;
}
.btn::after { content: "→"; }
.btn { text-shadow: none; } /* hero text-shadow is inherited — buttons never carry it */

.btn--primary { background: var(--white); color: var(--ink); border-color: rgba(37, 37, 42, 0.5); }

.btn--primary:hover { background: var(--cream-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(37, 37, 42, 0.3); }

.btn--pine { background: var(--white); color: var(--ink); border-color: rgba(37, 37, 42, 0.5); }

.btn--pine:hover { background: var(--cream-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(37, 37, 42, 0.3); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(37, 37, 42, 0.28);
}

.btn--ghost:hover { background: var(--white); border-color: rgba(37, 37, 42, 0.5); }

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(37, 37, 42, 0.2);
}

.btn--light:hover { background: var(--cream-deep); }

.btn--sm { padding: 11px 18px; font-size: 0.75rem; }
.btn--wheat { background: var(--white); color: var(--ink); border-color: rgba(37, 37, 42, 0.28); }
.btn--wheat:hover { background: var(--cream-deep); }
.btn--on-dark { color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--on-dark:hover { background: var(--white); color: var(--creek); }
/* on light bands the "on-dark" ghost flips to ink so it stays visible */
.cta-band .btn--on-dark, .section--dark .btn--on-dark { color: var(--ink); border-color: rgba(37, 37, 42, 0.35); }
.cta-band .btn--on-dark:hover, .section--dark .btn--on-dark:hover { background: var(--white); color: var(--ink); }


/* --------------------------------------------------------------------------
   Hero — the one bold moment: full-bleed photo, slow Ken Burns, typewriter
   serif headline, a soft light shimmer near the foot.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--creek-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vh, 100px) var(--pad) clamp(180px, 27vh, 280px);
  text-align: center;
}

.hero h1 { color: var(--white); }

.hero p {
  max-width: 640px;
  margin: 0 auto 1.6em;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: #FBFAF8;
}

.hero .eyebrow { color: var(--sunlit); }

/* Subpage hero — full-screen photo, content centered. */
.hero--page.hero--photo {
  min-height: calc(100vh - 48px);
  min-height: calc(100svh - 30px);
  display: flex;
  align-items: center;
}
.hero--page .hero-inner { padding: clamp(64px, 10vh, 110px) var(--pad); width: 100%; }

.hero--page h1 { color: var(--white); }

.hero--page p { color: #F7F5F2; }

.hero--page .eyebrow { color: var(--sunlit); }

/* Photo hero scrim — airier than the dusk build: soft head, nearly-clear middle. */
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(35, 50, 41, 0.42) 0%, rgba(35, 50, 41, 0.14) 50%, rgba(35, 50, 41, 0.4) 100%);
}

.hero--photo .hero-inner { position: relative; z-index: 2; }

.hero--photo h1 { color: var(--white); text-shadow: 0 2px 26px rgba(35, 50, 41, 0.75), 0 1px 4px rgba(35, 50, 41, 0.45); }

.hero--photo p { color: #FDFCFA; text-shadow: 0 1px 14px rgba(35, 50, 41, 0.75), 0 1px 3px rgba(35, 50, 41, 0.5); }

.hero--photo .eyebrow { color: var(--sunlit); }

.hero--photo:not(.hero--page) .hero-inner {
  padding: clamp(88px, 15vh, 150px) var(--pad) clamp(100px, 17vh, 175px);
}

.hero--page.hero--photo .hero-art { object-position: center 38%; }

.hero--page.hero--photo::before {
  background: linear-gradient(180deg, rgba(35, 50, 41, 0.32) 0%, rgba(35, 50, 41, 0.1) 55%, rgba(35, 50, 41, 0.24) 100%);
}

/* Immersive homepage hero — fills the viewport minus the specials ribbon */
.hero--photo:not(.hero--page) {
  min-height: calc(100vh - 48px);
  min-height: calc(100svh - 30px);
  display: flex;
  align-items: center;
}
.hero--photo:not(.hero--page) .hero-art { object-position: center 38%; }
.hero--photo:not(.hero--page) .hero-inner {
  padding-top: clamp(60px, 10vh, 105px);
  padding-bottom: clamp(84px, 13vh, 132px);
  max-width: 980px;
}
.hero--photo:not(.hero--page)::before {
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(35, 50, 41,0) 48%, rgba(35, 50, 41,0.2) 100%),
    linear-gradient(180deg, rgba(35, 50, 41,0.4) 0%, rgba(35, 50, 41,0.12) 42%, rgba(35, 50, 41,0.48) 100%);
}
.hero--photo:not(.hero--page) h1 {
  font-size: clamp(2.9rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(35, 50, 41, 0.55);
}
.hero--photo:not(.hero--page) p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Typewriter line inside the hero headline (Wixby pattern). */
.hero-type { font-style: italic; }
.hero-caret {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  margin-left: 4px;
  vertical-align: -0.08em;
  background: #fff;
  animation: heroCaret 1.05s step-end infinite;
}
@keyframes heroCaret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Light glint — two soft light bands drifting across the hero's lower third. */
.hero-shimmer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(104deg, transparent 38%, rgba(255, 252, 240, 0.1) 46%, transparent 54%),
    linear-gradient(96deg, transparent 58%, rgba(216, 210, 198, 0.1) 66%, transparent 74%);
  background-size: 300% 100%, 320% 100%;
  animation: heroShimmer 13s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes heroShimmer {
  from { background-position: 120% 0, -40% 0; }
  to   { background-position: -40% 0, 130% 0; }
}

/* Orchestrated entrance on load (hero text staggers up) */
@media (prefers-reduced-motion: no-preference) {
  .hero--photo:not(.hero--page) .hero-inner > * {
    opacity: 0;
    transform: translateY(20px);
    animation: heroRise .9s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero--photo:not(.hero--page) .hero-inner > *:nth-child(1) { animation-delay: .12s; }
  .hero--photo:not(.hero--page) .hero-inner > *:nth-child(2) { animation-delay: .24s; }
  .hero--photo:not(.hero--page) .hero-inner > *:nth-child(3) { animation-delay: .36s; }
  .hero--photo:not(.hero--page) .hero-inner > *:nth-child(4) { animation-delay: .48s; }
}
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* Scroll cue at the foot of the immersive hero */
.hero--photo:not(.hero--page)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 22px; height: 22px;
  margin-left: -11px;
  border-right: 2px solid rgba(255,255,255,0.75);
  border-bottom: 2px solid rgba(255,255,255,0.75);
  transform: rotate(45deg);
  z-index: 2;
  animation: scrollCue 1.9s ease-in-out infinite;
}
@keyframes scrollCue { 0%,100% { transform: rotate(45deg) translateY(0); opacity:.55 } 50% { transform: rotate(45deg) translateY(7px); opacity:1 } }

/* Cinemagraph Ken Burns + optional video background */
.hero--cine .hero-art {
  animation: fvKenBurns 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes fvKenBurns {
  from { transform: scale(1.14) translate3d(0, 0, 0); }
  to   { transform: scale(1.24) translate3d(-1.5%, -1.2%, 0); }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--page.hero--photo .parallax-art { height: 136%; top: -18%; will-change: transform; }

/* --------------------------------------------------------------------------
   Sections — white by default, generous air, fluid curved overlaps kept
   -------------------------------------------------------------------------- */

.section { padding: clamp(60px, 9vw, 110px) var(--pad); background: var(--paper); }

.section-inner { max-width: var(--max); margin: 0 auto; }

.section--dark { background: var(--cream); color: var(--ink-soft); }

.section--dark h2, .section--dark h3 { color: var(--ink); }

.section--moss { background: var(--river-pale); }

.section--white { background: var(--white); }

.section--tint { background: var(--cream); }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }

.section-head h2 { letter-spacing: -0.01em; }

.section-head h2::after { display: none; }

/* masked headline rise (plays off the existing .reveal observer) */
@media (prefers-reduced-motion: no-preference) {
  .section-head.reveal h2, .reveal.head-mask h2 {
    clip-path: inset(0 0 102% 0);
    transform: translateY(30px);
    transition: clip-path 1.1s cubic-bezier(.19,1,.22,1), transform 1.1s cubic-bezier(.19,1,.22,1);
  }
  .section-head.reveal.in h2, .reveal.head-mask.in h2 {
    clip-path: inset(-6% -2% -12% -2%);
    transform: none;
  }
}

.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--ink-soft); line-height: 1.72; }

.section--dark .lead { color: var(--ink-soft); }

.section-lead { max-width: 620px; margin: 12px auto 0; color: var(--ink-soft); }

/* Curved, overlapping section transitions. */
main > .cta-band, .site-footer { position: relative; }
main > .cta-band { border-radius: var(--curve) var(--curve) 0 0; }
@media (max-width: 640px) {
  :root { --curve: 26px; }
}

/* Divider strip (the template's; this site uses .divider-band) — opaque so the pinned hero never shows through */
.divider-ledges {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0 auto;
  background: var(--paper);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Card grid
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.card {
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.16, 0.84, 0.28, 1), box-shadow 0.55s ease;
}

.card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -30px rgba(35, 50, 41,0.4); }

.card-art { border-radius: 0; background: var(--river-pale); overflow: hidden; }

.card-art img { width: 100%; height: 220px; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }

.card:hover .card-art img { transform: scale(1.06); }

.card-body { padding: 24px 26px 30px; }

.card-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ledge);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3 { margin-top: 6px; }

.card p { margin: 0; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   50/50 split rows — with a slow in-view drift on the photo (pan feel)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.split--flip .split-art { order: 2; }

.split-art { overflow: hidden; border-radius: 20px; }

.split-art img {
  width: 100%;
  height: auto; /* beat the HTML height attribute so aspect-ratio applies (audit 2026-10-23: missing this stretched every split photo) */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* The quiet pan: photos breathe while on screen. */
@media (prefers-reduced-motion: no-preference) {
  .split-art img[src$=".jpg"] { animation: photoBreathe 26s ease-in-out infinite alternate; will-change: transform; }
  @keyframes photoBreathe {
    from { transform: scale(1) translate3d(0,0,0); }
    to   { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
  }
}

/* Brand SVG scenes are drawn on a 1200x700 canvas — show them whole. */
.split-art img[src$=".svg"] {
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: contain;
  background: var(--cream);
  animation: none;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  color: var(--creek-deep);
  line-height: 1;
}

.section--dark .stat-num, .stats-band .stat-num { color: var(--ink); }

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
  color: var(--ink-soft);
}

.stats-band {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(28px, 5vw, 44px) var(--pad);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: -10px; top: 50%;
  transform: translateY(-50%);
  height: 46px; width: 1px;
  background: rgba(255,255,255,0.16);
}
.stats-band .stat-label { color: var(--ink-soft); }
@media (max-width: 640px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .stat-item:nth-child(3)::before, .stat-item:nth-child(odd)::before { display: none; }
}

/* --------------------------------------------------------------------------
   Plan sheet — the signature annotated floor plan
   -------------------------------------------------------------------------- */

.plan-sheet {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 44px);
  position: relative;
}


.plan-disclaimer {
  margin: 14px 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding: 18px 0 0;
  margin: 18px 0 0;
  border-top: 1px dashed var(--river);
  list-style: none;
}

.plan-meta li { font-size: 0.95rem; }

.plan-meta strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.avail-chip {
  display: inline-block;
  background: var(--creek);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.avail-chip--open { background: var(--ledge); }

/* Inline floor-plan SVG typography + linework */
.fp-svg { width: 100%; height: auto; }

.fp-svg .fp-room {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--creek);
}

.fp-svg .fp-dim {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  fill: var(--ink-soft);
}

.fp-svg .fp-note {
  font-family: var(--font-accent);
  font-size: 22px;
  fill: var(--ledge);
}

.fp-svg .fp-wall { stroke: var(--creek); stroke-width: 7; fill: none; stroke-linecap: square; }

.fp-svg .fp-wall-in { stroke: var(--creek); stroke-width: 4; stroke-linecap: square; }

.fp-svg .fp-dash { stroke: var(--river); stroke-width: 2.5; stroke-dasharray: 7 6; fill: none; }

.fp-svg .fp-furn { fill: var(--river-pale); stroke: var(--river); stroke-width: 2; }

.fp-svg .fp-door { stroke: var(--ledge); stroke-width: 2.5; fill: none; }

/* --------------------------------------------------------------------------
   Amenity lists
   -------------------------------------------------------------------------- */

.amenity-cols {
  columns: 2;
  column-gap: 48px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenity-cols li {
  break-inside: avoid;
  padding: 9px 0 9px 30px;
  border-bottom: 1px solid var(--river-pale);
  position: relative;
}

.amenity-cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--ledge);
  clip-path: polygon(50% 0, 62% 24%, 64% 52%, 100% 34%, 88% 74%, 64% 100%, 36% 100%, 12% 74%, 0 34%, 36% 52%, 38% 24%); /* the lotus motif (DESIGN.md) */
}

.section--dark .amenity-cols li { border-bottom-color: var(--river-pale); }

.section--dark .amenity-cols li::before { background: var(--ledge); }

.footnote { font-size: 0.9rem; color: var(--ink-soft); margin-top: 16px; }

.section--dark .footnote { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Gallery — caption ABOVE the photo, slow pan/zoom while in view
   -------------------------------------------------------------------------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.chip {
  background: var(--white);
  border: 1.5px solid rgba(37, 37, 42, 0.25);
  color: var(--creek-deep);
  font: 700 0.8rem var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 19px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.chip[aria-pressed="true"] { background: var(--creek-deep); border-color: var(--creek-deep); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: end; /* captions sit above the photos: a two-line caption grows upward, so the photos stay in line */
}

.gallery-item { margin: 0; display: flex; flex-direction: column; }

/* Caption on top. */
.gallery-item figcaption {
  order: -1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--creek-deep);
  padding: 0 2px 10px;
  text-align: left;
}

.gallery-frame, .gallery-item picture { display: block; overflow: hidden; border-radius: 18px; }

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--river-pale);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item img { animation: photoBreathe 24s ease-in-out infinite alternate; }
  .gallery-item:nth-child(even) img { animation-delay: -12s; animation-direction: alternate-reverse; }
}

.gallery-item:hover img { transform: scale(1.05); animation-play-state: paused; }

.gallery-item.hidden { display: none; }

/* Gallery photos open full size from the keyboard too (js/premium.js gives each one tabindex 0 and role="button").
   The global focus rule covers links, buttons and form fields only, so a photo gets its own accent ring (light
   section). A virtually staged photo sits in a frame that clips it (overflow: hidden), so the ring goes on the frame. */
.gallery-item > img:focus-visible { outline: 3px solid var(--ledge); outline-offset: 3px; }
.gallery-frame:has(> img:focus-visible) { outline: 3px solid var(--ledge); outline-offset: 3px; }
.gallery-frame > img:focus-visible { outline: none; } /* the browser's own ring would show, clipped, inside the frame's */

/* --------------------------------------------------------------------------
   Accordion (FAQ)
   -------------------------------------------------------------------------- */

.accordion { max-width: 820px; margin: 0 auto; }

.accordion details {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--creek-deep);
  padding: 19px 52px 19px 24px;
  list-style: none;
  position: relative;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--ledge);
}

.accordion details[open] summary::after { content: "–"; }

.accordion details[open] { border-color: rgba(140, 66, 112, 0.4); }

.accordion-body { padding: 0 24px 20px; color: var(--ink-soft); }

/* Keyboard focus on a question: the accent ring of every other control, drawn INSIDE the question row — the
   <details> above clips its overflow for the rounded corners, so the base rule's outer ring (outline-offset 2px)
   would be cut off. */
.accordion summary:focus-visible { outline-offset: -4px; border-radius: 11px; }

/* --------------------------------------------------------------------------
   Policy card (pets)
   -------------------------------------------------------------------------- */

.policy-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto;
}

/* The panel takes scene-pines.svg's own top sky colour: the tall desktop card shows sky above the illustration, not a cream
   box on top of it (.policy-art is on pets.html only; Delta Pines' fix, 2026-11-10). */
.policy-art { background: #C5E2F4; display: flex; align-items: flex-end; }

.policy-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.policy-body { padding: clamp(28px, 4vw, 52px); }

.policy-list { list-style: none; padding: 0; margin: 0; }

.policy-list li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--river-pale);
  position: relative;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ledge);
}

/* --------------------------------------------------------------------------
   Neighborhood POI tabs
   -------------------------------------------------------------------------- */

.poi-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.poi-panel { display: none; }

.poi-panel.active { display: block; }

.poi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.poi-list li {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--creek);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
}

.poi-name { font-weight: 700; color: var(--creek); font-size: 1.02rem; }

.poi-addr { color: var(--ink-soft); font-size: 0.92rem; }

.poi-dist {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ledge);
}

/* --------------------------------------------------------------------------
   Forms / contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--creek-deep);
  margin-bottom: 6px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(37, 37, 42, 0.25);
  border-radius: 10px;
  background: var(--paper);
  font: 1rem var(--font-body);
  color: var(--ink);
}

.field textarea { min-height: 130px; resize: vertical; }

.info-block {
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--ledge);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 22px 26px;
  margin-bottom: 20px;
}

.info-block h3 { margin-bottom: 6px; }

.info-block p { margin: 0; color: var(--ink-soft); }

.form-note { font-size: 0.9rem; color: var(--ink-soft); }

.form-legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--creek-deep);
  margin: 22px 0 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--river-pale);
  width: 100%;
}

.form-legend:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.field-row--name { grid-template-columns: 1fr 54px 1fr 90px; }
.field-row--csz { grid-template-columns: 1.5fr 0.8fr 1fr; }
.field-row--id { grid-template-columns: 1fr 1.1fr 0.9fr; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 6px 0 18px;
}

.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--ledge); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Assistant fab + quick-question stack (Cadena pattern, 2026-10-23)
   -------------------------------------------------------------------------- */

.assistant-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  background: var(--white);
  border: 1.5px solid rgba(37, 37, 42, 0.4);
  color: var(--ink);
  text-decoration: none;
  font: 700 0.85rem var(--font-body);
  letter-spacing: 0.08em;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(35, 50, 41, 0.5);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .2s;
}

.assistant-fab:hover { background: var(--cream-deep); }

/* Stacked quick questions that float above the fab until dismissed. */
.mira-quick {
  position: fixed;
  right: 22px;
  bottom: 78px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.mira-quick.is-hidden { display: none; }

.mira-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--creek-deep);
  border: 1px solid rgba(37, 37, 42, 0.18);
  border-radius: 999px;
  font: 600 0.74rem var(--font-body);
  padding: 6px 11px;
  cursor: pointer;
  box-shadow: 0 10px 26px -14px rgba(35, 50, 41, 0.45);
  transition: transform .2s ease, border-color .2s, color .2s;
}

.mira-quick-btn::after { content: "→"; color: var(--ledge); font-weight: 700; }

.mira-quick-btn:hover { transform: translateX(-3px); border-color: var(--ledge); color: var(--ledge); }

.mira-quick-close {
  background: none;
  border: none;
  color: var(--ink-soft);
  font: 600 0.68rem var(--font-body);
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .mira-quick { display: none; } /* small screens: chat starters cover it */
}

body.mira-open .assistant-fab, body.mira-open .mira-quick { display: none; }

/* --------------------------------------------------------------------------
   CTA band + footer
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  padding: clamp(72px, 11vw, 140px) var(--pad);
}

.cta-band h2 { color: var(--ink); }



.site-footer {
  background: var(--white);
  color: var(--ink-soft);
  padding: clamp(50px, 8vw, 90px) var(--pad) 32px;
  border-top: 1px solid var(--hairline);
}

.footer-corp {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 30px;
}
.footer-corp img {
  height: 46px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s;
  background: var(--creek); /* white corp logo needs a dark plate on the light footer */
  padding: 10px 16px;
  border-radius: 12px;
}
.footer-corp a:hover img { opacity: 1; }

.footer-cols {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}

.footer-cols h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft); /* AA: the template's #97918B is 3.1:1 */
  text-transform: lowercase;
  margin-bottom: 14px;
}

.footer-cols a { color: var(--ink); text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Links inside the footer's running text (the Mayfair link, the address, the office line, "Ask the assistant") keep an
   underline: colour alone can't mark them against the footer's text (WCAG 1.4.1). The link list doesn't. */
.footer-cols p a { text-decoration: underline; text-underline-offset: 3px; }

.footer-cols ul { list-style: none; padding: 0; margin: 0; }

.footer-cols li { padding: 4px 0; }

.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-legal { color: var(--ink-soft); /* AA: the template's #97918B is 3.1:1 */ }
.footer-legal a, .footer-bottom a { color: var(--ink-soft); }

.eho {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Wixby pass (2026-10-26): hide-on-scroll header, specials popdown, serif
   hero link, portrait cards with caption chips, parallax photo band.
   -------------------------------------------------------------------------- */

.site-header { transition: box-shadow .3s ease, background .3s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.site-header.nav-hidden { transform: translateY(-110%); }

/* Mock-B chrome: on pages that open with a photo hero (body.hero-under, set in
   main.js), the header floats transparent over the photo with white links,
   then turns solid paper once scrolled. */
body.hero-under .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}
body.hero-under .site-header:not(.is-scrolled) .site-nav a,
body.hero-under .site-header:not(.is-scrolled) .brand-name { color: #fff; }
/* The current-page and hover underline turns white over the photo, like the links and the focus ring: the accent
   measured well under 3:1 against the scrimmed photo heroes (WCAG 1.4.11). The accent again once the header is solid. */
body.hero-under .site-header:not(.is-scrolled) .site-nav a::after { background: #fff; }
body.hero-under .site-header:not(.is-scrolled) .brand-sub { color: rgba(255,255,255,0.85); }
body.hero-under .site-header:not(.is-scrolled) .menu-btn { border-color: rgba(255,255,255,0.5); }
body.hero-under .site-header:not(.is-scrolled) .menu-btn::before {
  background:
    linear-gradient(#fff, #fff) top / 100% 2.5px no-repeat,
    linear-gradient(#fff, #fff) center / 100% 2.5px no-repeat,
    linear-gradient(#fff, #fff) bottom / 100% 2.5px no-repeat;
}
body.hero-under .site-header:not(.is-scrolled) .nav-cta { background: var(--white); color: var(--ink) !important; }
body.hero-under main > .hero:first-child { margin-top: -104px; }

/* THE ARCHSCALE SCROLL MOMENT (measured from the template, 2026-10-26):
   the hero pins to the viewport while the rest of the page slides up OVER it
   with a rounded leading edge. Hero content gently fades as it's covered. */
body.hero-under main > .hero:first-child {
  position: sticky;
  top: 0;
  z-index: 0;
}
body.hero-under main > *:not(.hero:first-child) {
  position: relative;
  z-index: 1;
}
body.hero-under main > .hero:first-child + * {
  border-radius: var(--curve) var(--curve) 0 0;
  box-shadow: 0 -18px 40px -30px rgba(37, 37, 42, 0.35);
}
.hero-inner { will-change: transform, opacity; }
body.hero-under main > .hero:first-child .hero-inner { padding-top: clamp(140px, 20vh, 210px); }
@media (max-width: 1080px) {
  body.hero-under main > .hero:first-child { margin-top: -86px; }
}

/* The Wixby hero CTA: one big serif line, underline on hover. */
.hero-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--white);
  text-decoration: none;
  margin-top: 10px;
  padding-bottom: 3px;
  text-shadow: 0 1px 14px rgba(35, 50, 41, 0.6);
}
.hero-link:hover, .hero-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1.5px;
}

/* Three portrait cards with accent caption chips (Wixby home pattern). */
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.pcard {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 10 / 12;
  box-shadow: var(--shadow);
}
.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.pcard:hover img, .pcard:focus-visible img { transform: scale(1.06); }
.pcard-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(35, 50, 41, 0.88);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  padding: 11px 22px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.pcard-chip::after { content: " →"; }
@media (max-width: 820px) {
  .portrait-grid { grid-template-columns: 1fr; }
  .pcard { aspect-ratio: 16 / 11; }
}

/* Full-bleed photo band: drifting image, one giant serif link over a soft scrim. */
.photo-band {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 52vh, 520px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(48px, 8vw, 90px) var(--pad);
  background: var(--creek-deep);
}
.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.12);
  will-change: transform;
}
.photo-band .eyebrow { color: var(--sunlit); text-shadow: 0 1px 10px rgba(35, 50, 41,0.6); }
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 50, 41, 0.34);
}
.band-inner { position: relative; }
.band-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.15;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 2px 20px rgba(35, 50, 41, 0.6);
}
.band-link:hover, .band-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 9px;
  text-decoration-thickness: 1.5px;
}
.band-note { position: relative; color: #EEF1EE; margin: 14px 0 0; text-shadow: 0 1px 10px rgba(35, 50, 41,0.6); }

@media (prefers-reduced-motion: reduce) {
  .site-header, .pcard img { transition: none; }
  .site-header.nav-hidden { transform: none; }
  .photo-band img { transform: none; }
}

/* --------------------------------------------------------------------------
   Archscale structural components (promoted from the approved mock,
   2026-10-26): asymmetric section heads, white mega-cards, giant standalone
   image, floor-plan drawing cards.
   -------------------------------------------------------------------------- */

.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: left;
}
.head-split h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 0; }
.head-split p { color: var(--ink-soft); margin: 0 0 24px; max-width: 46ch; }
.head-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.mega {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--curve);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
}
.mega-copy { display: flex; flex-direction: column; min-height: 100%; }
.mega-copy .mark { width: 44px; height: 44px; margin-bottom: auto; }
.mega-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 40px 0 10px; }
.mega-copy p { color: var(--ink-soft); margin: 0 0 24px; }
.mega-art { border-radius: 18px; overflow: hidden; }
.mega-art img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .6s ease; }
.mega:hover .mega-art img { transform: scale(1.04); }

.big-image { border-radius: var(--curve); overflow: hidden; max-width: var(--max); margin: 0 auto; }
.big-image img { width: 100%; height: clamp(360px, 60vh, 620px); object-fit: cover; }
.big-caption { display: flex; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 16px auto 0; font-size: 1rem; color: var(--ink-soft); }

.fp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 48px); max-width: var(--max); margin: 0 auto; }
.fpc { text-decoration: none; display: block; }
.fpc-art { display: block; border-radius: 18px; overflow: hidden; background: var(--white); }
.fpc-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 6%; transition: transform .5s ease; }
.fpc:hover .fpc-art img { transform: scale(1.05); }
.fpc-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.fpc-title::after { content: "→"; font-size: 1.2em; }
.fpc-meta { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 4px; }

@media (max-width: 880px) {
  .head-split, .mega, .fp-cards { grid-template-columns: 1fr; }
  .head-split { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .mega-art img, .fpc-art img { transition: none; }
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.19,1,.22,1), transform 1s cubic-bezier(.19,1,.22,1);
}

.reveal.in { opacity: 1; transform: none; }

.card-grid > .reveal:nth-child(2), .portrait-grid > .reveal:nth-child(2), .quote-grid > .reveal:nth-child(2) { transition-delay: .12s; }
.card-grid > .reveal:nth-child(3), .portrait-grid > .reveal:nth-child(3), .quote-grid > .reveal:nth-child(3) { transition-delay: .24s; }
.card-grid > .reveal:nth-child(4), .portrait-grid > .reveal:nth-child(4) { transition-delay: .36s; }

/* --------------------------------------------------------------------------
   Availability, pricing, site map
   -------------------------------------------------------------------------- */

.avail-badge {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font: 700 0.8rem var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.avail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
}
.avail-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 5px solid var(--river);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.avail-card.is-available { border-top-color: var(--ledge); }
.avail-card.is-coming { border-top-color: var(--sunlit); }
.avail-card-tag {
  font: 700 0.72rem var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ledge);
  margin-bottom: 8px;
}
.avail-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 6px; }
.avail-card-spec { color: var(--ink-soft); margin: 0 0 14px; }
.avail-card-rent { font-family: var(--font-display); font-size: 1.7rem; color: var(--creek); margin: 0 0 4px; }
.avail-card-rent span { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-soft); font-weight: 400; }
.avail-card-when { color: var(--ink-soft); margin: 0 0 18px; font-weight: 600; }


/* Honest-scarcity note under the open-homes grid (real counts only). */
.avail-move-note {
  margin: 18px 4px 0;
  color: var(--creek);
  font-size: 0.96rem;
}

.avail-empty {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--river);
  border-radius: 14px;
  padding: clamp(32px, 6vw, 60px);
  max-width: 640px;
  margin: 0 auto;
}
.avail-empty h3 { font-family: var(--font-display); font-size: 1.7rem; margin: 0 0 12px; }
.avail-empty p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 22px; }

.price-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--river-pale);
}
.price-k { color: var(--ink-soft); font-weight: 600; }
.price-v { text-align: right; font-weight: 700; color: var(--creek); }
.price-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 16px; }

.sitemap-wrap { max-width: var(--max); margin: 0 auto; }
.sitemap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 20px;
}
.legend-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.legend-swatch { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.08); }
.sitemap-frame {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px;
  overflow-x: auto;
  box-shadow: var(--shadow);
}
.sitemap-svg { width: 100%; height: auto; min-width: 640px; display: block; }
.home-open { animation: homePulse 2.2s ease-in-out infinite; transform-origin: center; }
@keyframes homePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.72; } }

/* --------------------------------------------------------------------------
   Interactive neighborhood map (Leaflet)
   -------------------------------------------------------------------------- */
.area-map-wrap { max-width: var(--max); margin: 0 auto 36px; }
.area-map {
  height: 440px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  z-index: 0;
}
.map-note { text-align: center; font-size: 0.9rem; color: var(--ink-soft); margin-top: 12px; }
.fv-home-pin span {
  display: block;
  width: 22px; height: 22px;
  background: var(--creek);
  border: 3px solid var(--sunlit);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(35, 50, 41,0.45);
}
.fv-poi-pin { background: none; border: none; }
.fv-poi-pin svg { filter: drop-shadow(0 2px 3px rgba(37, 37, 42, 0.3)); }
.leaflet-popup-content { font-family: var(--font-body); font-size: 0.92rem; }
.leaflet-container a.leaflet-popup-close-button { color: var(--creek); }
@media (max-width: 560px) { .area-map { height: 340px; } }

/* --------------------------------------------------------------------------
   Promotions (scheduled specials)
   -------------------------------------------------------------------------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto 32px;
}
.promo-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 5px solid var(--ledge);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.promo-card--demo { border-top-color: var(--river); opacity: 0.96; }
.promo-flag {
  display: inline-block;
  font: 700 0.68rem var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ledge);
  margin-bottom: 10px;
}
.promo-card--demo .promo-flag { color: var(--ink-soft); }
.promo-card h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 10px; }
.promo-card p { color: var(--ink-soft); margin: 0 0 12px; }
.promo-code { font-size: 0.95rem; color: var(--creek); }
.promo-code strong { background: var(--sunlit); color: var(--ink); padding: 2px 8px; border-radius: 5px; letter-spacing: 0.04em; }
.promo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 18px; }
.promo-when { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.promo-countdown {
  font: 700 0.78rem var(--font-body);
  color: var(--white);
  background: var(--ledge);
  padding: 4px 10px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Video tour
   -------------------------------------------------------------------------- */
.tour-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--creek-deep);
}
.tour-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(35, 50, 41,0.25), rgba(35, 50, 41,0.72));
  color: var(--white);
}
.tour-overlay p { max-width: 460px; margin: 0; }
.tour-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Quote cards (the template's; unused on this site)
   -------------------------------------------------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--sunlit);
  border-radius: 14px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.quote-card blockquote {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--creek-deep);
}
.quote-card figcaption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.quote-card .vignette-tag {
  display: block;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ledge);
}
.quote-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--creek-deep);
}
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Quickbar
   -------------------------------------------------------------------------- */
.quickbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100vw - 28px);
  padding: 10px 12px 10px 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--hairline);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 18px 44px -16px rgba(0,0,0,0.5);
  backdrop-filter: saturate(140%) blur(6px);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.quickbar.is-visible { transform: translate(-50%, 0); opacity: 1; }
.quickbar-status { display: inline-flex; align-items: center; gap: 9px; font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.quickbar-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ledge); box-shadow: 0 0 0 0 rgba(140, 66, 112, 0.7); animation: qbPulse 2s infinite; } /* the accent on the white bar (a pale palette colour measured under 3:1 there) */
@keyframes qbPulse { 0%{box-shadow:0 0 0 0 rgba(140, 66, 112,0.6)} 70%{box-shadow:0 0 0 8px rgba(140, 66, 112,0)} 100%{box-shadow:0 0 0 0 rgba(140, 66, 112,0)} }
.quickbar-actions { display: inline-flex; align-items: center; gap: 8px; }
.quickbar-link { color: var(--ink-soft); text-decoration: none; font-size: 0.86rem; font-weight: 600; padding: 6px 4px; }
.quickbar-link:hover { color: var(--ink); }
.quickbar-cta {
  background: var(--white); color: var(--ink); border: 1.5px solid rgba(37, 37, 42,0.4); text-decoration: none;
  font: 700 0.78rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; transition: background .2s;
}
.quickbar-cta:hover { background: var(--cream-deep); color: var(--ink); }
.quickbar-call { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cream-deep); color: var(--ink); }
.quickbar-call:hover { background: var(--river-pale); }
body.quickbar-open .assistant-fab { transform: translateY(-64px); }
body.quickbar-open .mira-quick { transform: translateY(-64px); }
.mira-quick { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 620px) {
  .quickbar { gap: 10px; padding: 9px 10px 9px 16px; }
  .quickbar-link { display: none; }
  .quickbar-status { font-size: 0.84rem; }
  .quickbar-dot { animation: none; }
}

/* --------------------------------------------------------------------------
   Gallery lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(35, 50, 41, 0.94);
  backdrop-filter: blur(4px);
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lb-img { max-width: 92vw; max-height: 80vh; margin: 0 auto; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); } /* centred: img is display:block, so the figure's text-align can't centre it */
.lb-cap { color: var(--river-pale); font-size: 0.92rem; margin-top: 14px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none;
  cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s;
}
.lb-close { top: 20px; right: 24px; width: 46px; height: 46px; font-size: 1.3rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; line-height: 1; }
.lb-prev { left: 2vw; } .lb-next { right: 2vw; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.26); }
/* The viewer takes the keyboard focus on its close button (js/premium.js): on the dark backdrop the accent ring would
   sit dark on dark, so it turns white there, as over the photo heroes (WCAG 1.4.11). */
.lightbox button:focus-visible { outline-color: #fff; }
body.lb-open { overflow: hidden; }
@media (max-width: 620px) { .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.6rem; } }

/* --------------------------------------------------------------------------
   Specials popup — big, graphic, once per session
   -------------------------------------------------------------------------- */
.special-pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(35, 50, 41, 0.62); opacity: 0; transition: opacity 0.25s ease; }
.special-pop.is-open { opacity: 1; }
.special-pop-card { position: relative; max-width: 520px; width: 100%; background: var(--creek-deep); color: var(--white); text-align: center; padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 48px); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); transform: translateY(14px) scale(0.98); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.special-pop.is-open .special-pop-card { transform: none; }
.special-pop-eyebrow { font-family: var(--font-serif-i); font-style: italic; color: #D8D2C6; font-size: 1.5rem; display: block; margin-bottom: 4px; }
.special-pop-big { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.2rem, 9vw, 4.6rem); line-height: 0.95; text-transform: uppercase; margin: 6px 0 14px; color: var(--white); }
.special-pop-sub { color: var(--river-pale); max-width: 40ch; margin: 0 auto 22px; }
.special-pop-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.special-pop-later { background: none; border: 0; color: var(--river); font: 600 0.85rem var(--font-body); cursor: pointer; text-decoration: underline; }
.special-pop-later:hover, .special-pop-close:hover { color: var(--white); }
.special-pop-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--river-pale); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 6px; }

/* Floor plans → availability drill-down */
.plan-avail { margin: 4px 0 16px; border-top: 1px solid var(--river-pale); padding-top: 12px; }
.plan-avail-title { font: 700 0.76rem var(--font-body); letter-spacing: 0.09em; text-transform: uppercase; color: var(--creek); margin: 0 0 8px; }
.plan-avail ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.plan-avail li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.plan-avail li strong { color: var(--ink); font-weight: 600; }
.plan-avail-more, .plan-avail-none { font-size: 0.88rem; margin: 0; }

/* --------------------------------------------------------------------------
   Mira — leasing assistant chat widget (bright build)
   -------------------------------------------------------------------------- */

.mira-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  width: min(392px, calc(100vw - 32px));
  height: min(560px, 78vh);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(35, 50, 41, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mira-hidden { display: none; }

.mira-head {
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.mira-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ledge);
  display: grid;
  place-items: center;
  flex: none;
}

.mira-name { font-weight: 700; font-size: 0.95rem; line-height: 1.15; }

.mira-sub { font-size: 0.72rem; color: var(--ink-soft); }

.mira-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 8px;
  font-size: 1.05rem;
  line-height: 1;
}

.mira-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mira-bubble {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.mira-bubble--bot {
  background: var(--white);
  border: 1px solid var(--river-pale);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.mira-bubble--bot a { color: var(--ledge); font-weight: 600; }

.mira-bubble--user {
  background: var(--cream-deep);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  white-space: pre-wrap;
}

.mira-starters { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.mira-starter {
  background: var(--white);
  border: 1.5px solid rgba(37, 37, 42, 0.25);
  color: var(--creek-deep);
  font: 600 0.85rem var(--font-body);
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
}

.mira-starter:hover { border-color: var(--ledge); color: var(--ledge); }

.mira-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--river-pale);
  background: var(--white);
}

.mira-input {
  flex: 1;
  resize: none;
  border: 1px solid rgba(37, 37, 42, 0.25);
  background: var(--paper);
  font: 0.95rem var(--font-body);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 12px;
  max-height: 110px;
  min-height: 42px;
}

.mira-send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--ledge);
  color: var(--white);
  cursor: pointer;
  flex: none;
  display: grid;
  place-items: center;
}

.mira-send:hover { background: var(--creek); }

.mira-send:disabled { opacity: 0.4; cursor: not-allowed; }

.mira-note {
  font-size: 0.68rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0 10px 8px;
  background: var(--white);
  margin: 0;
}

.mira-dots { display: inline-flex; gap: 4px; padding: 4px 0; }

.mira-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--river);
  animation: mira-bounce 1s infinite;
}

.mira-dots span:nth-child(2) { animation-delay: 0.15s; }

.mira-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes mira-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* --------------------------------------------------------------------------
   Quiet signatures
   -------------------------------------------------------------------------- */
::selection { background: var(--sunlit); color: var(--creek-deep); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .header-inner { min-height: 86px; }
}

@media (max-width: 820px) {
  .card-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split-art { order: 0; }
  .policy-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-cols { columns: 1; }
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Reduced motion — one gate for every animation above
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .drawer { transition: none; }
  .card, .plan-card { transition: none; }
  .card:hover { transform: none; }
  .card:hover .card-art img, .gallery-item:hover img { transform: none; }
  .card-art img, .gallery-item img, .split-art img, .site-nav a::after { transition: none; animation: none; }
  .hero--cine .hero-art, .hero-shimmer, .hero-caret, .home-open, .mira-dots span,
  .quickbar-dot, .hero--photo:not(.hero--page)::after { animation: none; }
  .quickbar { transition: opacity .3s ease; }
  .special-pop, .special-pop-card { transition: none; }
}

/* ===========================================================================
   ELEGANCE PASS — 2026-10-27 (reversible; snapshot in /backups/pre-elegance-20261027)
   Hand-ported techniques (21st.dev research): word-mask headline reveals,
   blur-fade entrances, amenity marquee, stacking plan cards, zoom-parallax.
   =========================================================================== */

/* 1 · Word-mask headline reveals (replaces the clip-path rise when applied) */
@media (prefers-reduced-motion: no-preference) {
  h2.wsplit, .section-head.reveal h2.wsplit, .reveal.head-mask h2.wsplit {
    clip-path: none;
    transform: none;
    opacity: 1;
    transition: none;
  }
  h2.wsplit .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  h2.wsplit .wi { display: inline-block; transform: translateY(114%); transition: transform .9s cubic-bezier(.19, 1, .22, 1); }
  h2.wsplit.in .wi { transform: none; }
}

/* 2b · Pop-in (no blur): images and cards scale up slightly as they reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal.rv-img, .big-image.reveal, .gallery figure.reveal, .plan-card.reveal, .fpc.reveal, .mega.reveal {
    transform: translateY(28px) scale(0.96);
  }
}

/* 5b · Soft zoom — for pages whose photos shouldn't go fully full-bleed
   (1026–2048px sources): the frame grows, but caps below viewport width */
.zoomx--soft { height: 150vh; }
.zoomx--soft .zoomx-frame {
  width: calc(var(--zpb) + (min(1480px, 97vw) - var(--zpb)) * var(--zp, 0));
  height: calc(48vh + 26vh * var(--zp, 0));
  border-radius: calc(14px + (var(--curve) - 14px) * (1 - var(--zp, 0)));
}
@media (max-width: 880px), (prefers-reduced-motion: reduce) {
  .zoomx--soft { height: auto; }
  .zoomx--soft .zoomx-frame { height: clamp(260px, 44vh, 460px); }
}

/* 2 · Blur-fade entrances — removed (no blur while scrolling) */

/* 3 · Amenity marquee — slow ribbon with progressive-blur edges */
.mq {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  background: var(--paper); /* opaque — the pinned hero sits behind every section */
}
/* progressive-blur edges: paper gradients OVER the track (a mask would erase
   the background too and let the pinned hero bleed through) */
.mq::before, .mq::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 1;
  pointer-events: none;
}
.mq::before { left: 0; background: linear-gradient(90deg, var(--paper) 18%, transparent); }
.mq::after { right: 0; background: linear-gradient(270deg, var(--paper) 18%, transparent); }
.mq-track {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
  padding-right: 44px;
  animation: mq-slide 48s linear infinite;
}
.mq:hover .mq-track { animation-play-state: paused; }
.mq-track span {
  font-size: clamp(0.98rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--creek);
  opacity: 0.74;
}
.mq-track i { font-style: normal; color: var(--ledge); opacity: 0.8; }
@keyframes mq-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* 4 · Stacking plan cards (homepage) — each card pins, the next slides over */
.fp-cards.fp-stack { display: block; }
.fp-stack .fpc {
  position: sticky;
  top: calc(104px + var(--si, 0) * 16px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--curve);
  margin: 0 auto 28px;
  max-width: 1060px;
  min-height: clamp(380px, 54vh, 520px);
  overflow: hidden;
  box-shadow: 0 26px 64px -44px rgba(37, 37, 42, 0.4);
  transform-origin: top center;
  will-change: transform;
}
.fp-stack .fpc:nth-child(1) { --si: 0; }
.fp-stack .fpc:nth-child(2) { --si: 1; }
.fp-stack .fpc:nth-child(3) { --si: 2; }
.fp-stack .fpc:nth-child(4) { --si: 3; }
.fp-stack .fpc-art { display: grid; place-items: center; padding: 28px; background: var(--white); }
.fp-stack .fpc-art img { max-height: clamp(300px, 44vh, 440px); width: auto; max-width: 100%; }
.fp-stack .fpc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 36px 44px;
  border-left: 1px solid var(--hairline);
}
.fp-stack .fpc-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.fp-stack .fpc-meta { color: var(--creek); font-size: 1.02rem; }
.fp-stack .fpc-go {
  margin-top: 12px;
  align-self: flex-start;
  border: 1px solid rgba(37, 37, 42, 0.4);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: background .2s ease;
}
.fp-stack .fpc:hover .fpc-go { background: var(--cream-deep); }
@media (max-width: 880px) {
  .fp-stack .fpc { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; transform: none !important; }
  .fp-stack .fpc-info { border-left: none; border-top: 1px solid var(--hairline); padding: 26px 24px; }
}

/* 5 · Zoom-parallax photo moment — inset frame grows to full-bleed on scroll */
.zoomx { position: relative; height: 185vh; background: var(--paper); }
.zoomx-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
}
.zoomx-frame {
  --zpb: min(1160px, 92vw);
  width: calc(var(--zpb) + (100vw - var(--zpb)) * var(--zp, 0));
  height: calc(54vh + 46.5vh * var(--zp, 0)); /* reaches ~100svh at full zoom */
  border-radius: calc(var(--curve) * (1 - var(--zp, 0)));
  overflow: hidden;
  margin: 0;
  box-shadow: 0 30px 80px -50px rgba(37, 37, 42, 0.45);
}
.zoomx-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zoomx-cap {
  position: absolute;
  bottom: 96px; /* clears the fixed availability quickbar */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 9px 22px;
  display: flex;
  gap: 18px;
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--creek);
}
@media (max-width: 880px), (prefers-reduced-motion: reduce) {
  .zoomx { height: auto; padding: 0 0 26px; }
  .zoomx-sticky { position: static; height: auto; display: block; }
  .zoomx-frame { width: min(1160px, 94vw); height: clamp(300px, 52vh, 520px); margin: 0 auto; border-radius: var(--curve); }
  .zoomx-cap { position: static; transform: none; margin: 14px auto 0; width: fit-content; white-space: normal;
    max-width: calc(100% - 32px); border-radius: 18px; flex-wrap: wrap; justify-content: center; text-align: center; gap: 2px 14px; }
}

.plan-card-art img { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.plan-card-drawlink { margin: 2px 0 0; font-size: 0.85rem; }
.plan-card-drawlink a { color: var(--creek); }

/* ==========================================================================
   Site additions — the family's shared block on the template, with Lotus Landing's
   lotus motif in place of the earlier sites' bullet shapes.
   ========================================================================== */

/* The site's divider strip (img/divider*.svg): the template's .divider-ledges slot. Opaque, so the pinned hero
   never shows through. */
.divider-band { display: block; width: 100%; height: 46px; margin: 0 auto; background: var(--paper); position: relative; z-index: 1; }

/* A card's button sits at the foot of the card. */
.card-body > .btn { margin-top: auto; align-self: flex-start; }

/* Form rows: the labels in one row line up (name / MI / suffix, city / state / ZIP). */
.field-row > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.field-row > .field > label { align-self: end; }

/* Links on tinted bands use the secondary ink. */
.section--moss .lead a, .section--tint .form-note a { color: var(--creek); }

/* Keep short ranges and sizes (an hours range, a plan size such as "NNN sq ft") together on phones. */
.nw { white-space: nowrap; }

/* Plan strip (js/availability.js) on narrow screens: fit the card, keep the labels readable. */
@media (max-width: 760px) {
  .sitemap-svg.planstrip { min-width: 0; }
  .planstrip text { font-size: clamp(17px, calc(51.9px - 4.6vw), 34px); }
  .planstrip text[text-anchor="end"] { font-size: clamp(14px, calc(46.9px - 4.3vw), 30px); }
}

/* Quickbar on phones: this site's status line is longer than the template's, so the bar spans the width. */
@media (max-width: 620px) {
  .quickbar { left: 14px; right: 14px; max-width: none; justify-content: space-between; transform: translateY(140%); }
  .quickbar.is-visible { transform: translateY(0); }
  .quickbar-status { white-space: normal; min-width: 0; line-height: 1.25; }
  .quickbar-cta { white-space: nowrap; padding: 10px 14px; }
  body.quickbar-open .assistant-fab { transform: translateY(-78px); }
}

/* Photo-hero eyebrows: white with a soft shadow. These heroes are bright sky, asphalt and pool deck, where the template's pale
   tint (--sunlit) reads too faintly. The chip's fill is a see-through pine-night tint, not the template's pale white one,
   which let the bright sky through: five chips measured 4.10-4.47:1 at 1280 and five 4.07-4.24:1 at 390 at the brightest 5%
   of their pixels (2026-11-10 harmonization); with this fill every chip on the 20 photo heroes is >= 7.78:1 at 1280 and
   >= 7.74:1 at 390 (DESIGN.md "Contrast"). */
.hero .eyebrow, .hero--page .eyebrow, .hero--photo .eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(35, 50, 41, 0.65); background: rgba(35, 50, 41, 0.34); }

/* The contained page opener the template uses on amenities.html (inline styles there): eyebrow + head-split with the
   h1, then a soft-zoom photo (section.zoomx.zoomx--soft). */
.section--opener { padding-bottom: 0; }
.head-split--opener { margin-bottom: 34px; }
.head-split--opener h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); margin: 0; }

/* Button rows the template writes as inline style="display:flex…" (hero, CTA band): one class instead. */
.hero-ctas, .cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-ctas { margin-top: 26px; }

/* The home page's Spanish line (qa-check: an element with lang="es" linking to affordable-housing.html#espanol). */
.es-line { margin: 18px 0 0; font-size: 0.95rem; }

/* Plan cards: a link from the home page (floorplans.html#two-bedroom) lands below the sticky header. */
.plan-card[id] { scroll-margin-top: 120px; }

/* Floor plan cards (floorplans.html) — the template's page-scoped plan-card block, kept in this one stylesheet. Lotus
   Landing uses the 2-plan grid with type-only plates and "Drawing coming soon" (no drawings yet) and the layout lists;
   the rent line is words, never a price. The 3-plan grid and the drawing-thumbnail row stay defined but are unused. */
.plan-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.plan-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card { background: var(--white); border: 1px solid var(--river); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-card-art { padding: 24px 24px 10px; }
.plan-card-art a { display: block; }
.plan-card-art img { display: block; margin: 0 auto; width: auto; max-width: 100%; height: clamp(320px, 40vw, 520px); object-fit: contain; }
.plan-grid--3 .plan-card-art img { height: clamp(280px, 26vw, 400px); }
.plan-card-alts { padding: 4px 24px 20px; }
.plan-card-alts-title { font-family: var(--font-accent); font-size: 1.15rem; color: var(--ledge); margin: 0 0 8px; }
.plan-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-thumb { display: block; color: inherit; text-decoration: none; }
.plan-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 6px; background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; transition: border-color .2s ease; }
.plan-thumb:hover img, .plan-thumb:focus-visible img { border-color: var(--ledge); }
.plan-thumb-cap { display: block; margin-top: 6px; font-size: 0.78rem; line-height: 1.3; color: var(--ink-soft); }
.plan-card-alts .footnote { margin: 10px 0 0; font-size: 0.8rem; }
.plan-card-body { border-top: 1px dashed var(--river); padding: 22px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.plan-card-body h3 { margin: 0; font-size: 1.6rem; }
.plan-card-official { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 10px; }
.plan-card-meta { font-weight: 600; color: var(--creek); margin: 0 0 4px; }
.plan-card-rent { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--creek); margin: 0 0 6px; }
.plan-card-rent span { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.plan-card-note { font-family: var(--font-accent); font-size: 1.2rem; color: var(--ledge); margin: 0 0 6px; }
.plan-card-feats { list-style: none; padding: 0; margin: 12px 0 22px; }
.plan-card-feats li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--river-pale); font-size: 0.95rem; }
.plan-card-feats li:last-child { border-bottom: none; }
.plan-card-feats li::before { content: ""; position: absolute; left: 0; top: 12px; width: 15px; height: 15px; background: var(--ledge); clip-path: polygon(50% 0, 62% 24%, 64% 52%, 100% 34%, 88% 74%, 64% 100%, 36% 100%, 12% 74%, 0 34%, 36% 52%, 38% 24%); }
.plan-card-cta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.plan-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.plan-card--feature .plan-card-media { border-right: 1px dashed var(--river); }
.plan-card--feature .plan-card-body { border-top: none; }
.plan-card-art .plan-plate { min-height: clamp(260px, 26vw, 380px); }
@media (max-width: 1180px) { .plan-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .plan-grid, .plan-grid--3 { grid-template-columns: 1fr; }
  .plan-card-art img, .plan-grid--3 .plan-card-art img { height: clamp(300px, 86vw, 520px); }
  .plan-card--feature { display: flex; }
  .plan-card--feature .plan-card-media { border-right: none; }
  .plan-card--feature .plan-card-body { border-top: 1px dashed var(--river); }
}

/* Plan plate: the art slot for a plan with no drawing or rendering. Type only: never another plan's art, never a made-up layout. */
.plan-plate {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  width: 100%;
  min-height: clamp(300px, 34vw, 440px);
  padding: 32px 24px;
  background: var(--cream);
  border-radius: 18px;
  text-align: center;
  color: var(--creek-deep);
}
.plan-plate-num { font-family: var(--font-serif-i); font-style: italic; font-weight: 600; font-size: clamp(5.5rem, 10vw, 8.5rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 2px; }
.plan-plate-word { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; text-transform: lowercase; }
.plan-plate-mark { width: 26px; height: 26px; margin: 14px 0 6px; background: var(--ledge); clip-path: polygon(50% 0, 62% 24%, 64% 52%, 100% 34%, 88% 74%, 64% 100%, 36% 100%, 12% 74%, 0 34%, 36% 52%, 38% 24%); }
.plan-plate-line { font-size: 0.95rem; color: var(--ink-soft); }
.plan-plate-note { margin: 12px auto 0; max-width: 40ch; font-size: 0.9rem; color: var(--ink-soft); text-align: center; }
.fp-stack .fpc-art .plan-plate { min-height: clamp(280px, 40vh, 400px); max-width: 440px; }

/* Affordable Housing page (affordable-housing.html, <main class="aff">), restyled to the template. */
.aff { --aff-deep: var(--creek-deep); --aff-line: var(--river); }
.aff .hero-inner .btn { margin-block: 5px; }
.aff section[id] { scroll-margin-top: 120px; }
.aff-wrap { max-width: 760px; margin: 0 auto; }
.aff .section-head { text-align: left; max-width: none; margin: 0 0 24px; }
.aff-wrap h3 { margin: 28px 0 6px; }
.aff-check, .aff-steps { list-style: none; padding: 0; margin: 8px 0 0; }
.aff-check li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--aff-line); }
.aff-check li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 17px; height: 17px; background: var(--ledge); clip-path: polygon(50% 0, 62% 24%, 64% 52%, 100% 34%, 88% 74%, 64% 100%, 36% 100%, 12% 74%, 0 34%, 36% 52%, 38% 24%); }
.aff-ask { margin-top: 18px; }
.aff-steps { counter-reset: aff-step; }
.aff-steps li { counter-increment: aff-step; position: relative; padding: 6px 0 24px 60px; min-height: 44px; }
.aff-steps li::before {
  content: counter(aff-step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream-deep); color: var(--creek-deep); font: 600 1.25rem/42px var(--font-serif-i); font-style: italic; text-align: center;
}
.aff-steps li strong { display: block; font-size: 1.08rem; color: var(--creek-deep); }
.aff-fine { margin-top: 32px; padding-top: 6px; border-top: 1px solid var(--aff-line); }
.aff-fine .footnote { margin: 10px 0 0; }
#espanol .info-block h2 { margin-bottom: 12px; }
#espanol .info-block p + p { margin-top: 12px; }

/* Print (every page; brochure.html adds its own rules): no sticky or scroll-driven layout on paper. */
@media print {
  .site-header, .drawer, .scrim, .menu-btn, .assistant-fab, .quickbar, .mira-panel, .mira-quick, .mq { display: none !important; }
  body.hero-under main > .hero:first-child { position: relative; margin-top: 0; } /* relative, not static: it holds the absolute photo */
  body.hero-under main > .hero:first-child .hero-inner { padding-top: 28px; }
  .hero--photo { min-height: 0 !important; } /* lets a page's print cap (brochure: max-height 2.4in) work */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  h2.wsplit .wi { transform: none !important; transition: none !important; }
  .zoomx { height: auto; }
  .zoomx-sticky { position: static; height: auto; display: block; }
  .zoomx-frame { width: 100%; height: auto; border-radius: 12px; }
  .zoomx-cap { position: static; transform: none; }
  .fp-stack .fpc { position: relative; top: auto; transform: none !important; break-inside: avoid; }
  .hero--photo h1 { text-shadow: none !important; } /* the screen glow printed as a dark box behind the title */
}

/* ==========================================================================
   This family's own rules the shared starter doesn't carry (2026-11-03)
   ========================================================================== */

/* CTA band copy: this site's closing paragraphs run two or three sentences (the template's are one line), so they
   keep a readable measure instead of spanning the whole band. */
.cta-band > p:not(.cta-ctas) { max-width: 680px; margin-left: auto; margin-right: auto; }

/* Card buttons on the card foot: the shared "Site additions" rule (.card-body > .btn { margin-top: auto }) needs the
   card body to be a flex column that fills the card, as it was in this site's previous stylesheet. Without it the
   buttons in a row of uneven cards (Sister Communities) float at different heights. */
.card-body { display: flex; flex-direction: column; flex: 1; }

/* Hero scrim: Lotus Landing's hero photos are bright sky, asphalt and a sunlit pool deck, and the template's light scrim
   leaves white hero text too faint. A pine-night scrim keeps the white type at AA. */
.hero--page.hero--photo::before {
  background: linear-gradient(180deg, rgba(35, 50, 41, 0.8) 0%, rgba(35, 50, 41, 0.58) 55%, rgba(35, 50, 41, 0.66) 100%);
}
.hero--photo:not(.hero--page)::before {
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(35, 50, 41, 0) 40%, rgba(35, 50, 41, 0.35) 100%),
    linear-gradient(180deg, rgba(35, 50, 41, 0.62) 0%, rgba(35, 50, 41, 0.5) 42%, rgba(35, 50, 41, 0.78) 100%);
}

/* Keep the footer's last lines clear of the fixed quickbar and the raised Ask Mira button. */
.site-footer { padding-bottom: 160px; }
@media print { .site-footer { padding-bottom: 24px; } }

/* Quickbar on tablets and up: one line. Fixed at left: 50%, the bar could only shrink to half the screen, so this
   site's longer status line squeezed the button onto three or four lines. max-width still caps it. */
@media (min-width: 621px) {
  .quickbar { width: max-content; }
  .quickbar-cta { white-space: nowrap; }
}

/* The closed menu drawer leaves the tab order: hidden once it has slid away, shown as soon as it opens. */
.drawer { visibility: hidden; transition: transform 0.5s cubic-bezier(0.16, 0.84, 0.28, 1), visibility 0s linear 0.5s; }
.drawer.open { visibility: visible; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }

/* ==========================================================================
   Full features (2026-11-04), as far as this pre-launch site uses them
   From research/_templates/redesign/helpers/features-css.js. The top bar, the home pop-up card and the fee table
   are left out here (off in this build: no special, no confirmed fees); the quick-question rules stay.
   ========================================================================== */

/* Quick questions (js/assistant.js; the .mira-quick rules above are the template's). site: "Hide questions" gets a
   quiet chip of its own: the bare grey link vanished over the dark hero photos. */
.mira-quick-close { background: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 4px 10px; color: var(--ink-soft); }
.mira-quick-close:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  /* site: the quick questions and Ask Mira jump with the quickbar instead of gliding, and the questions keep still
     on hover (the template's glide and slide ran with reduced motion too). */
  .mira-quick, .mira-quick-btn { transition: none; }
  .mira-quick-btn:hover { transform: none; }
  .assistant-fab { transition: background .2s; }
}

/* Paper: no floating chrome. */
@media print {
  .special-pop, .mira-quick { display: none !important; }
}
/* ---- end of full features (2026-11-04) ---- */

/* A leasing inbox, once one is published (none is yet), is one long word: on screens under 375px let it wrap, so it
   never widens a card past a 320–360px screen. From 375px it fits on one line, so it stays whole there. */
@media (max-width: 374px) { a[href^="mailto:"] { overflow-wrap: anywhere; } }

/* Without JavaScript nothing runs the scroll reveal, so every section shows as it is, the forms included. Only the reveal
   and the masked headings wait for a script; the hero's entrance is CSS alone. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
  .section-head.reveal h2, .reveal.head-mask h2 { clip-path: none; transform: none; }
}

/* ==========================================================================
   Lotus Landing only (2026-11-09)
   ========================================================================== */

/* The header brand is the template's text wordmark with the entry sign's lotus as its mark (DESIGN.md: the property's logo
   is a stacked three-line wordmark, too small to read at header height). Over a photo hero, while the header is
   transparent, the lotus turns white so it reads on the pine-night scrim; once the header turns solid it is plum again. */
.brand-name { white-space: nowrap; }
body.hero-under .site-header:not(.is-scrolled) .brand-mark .lotus-outer { fill: rgba(255, 255, 255, 0.62); }
body.hero-under .site-header:not(.is-scrolled) .brand-mark .lotus-inner { fill: rgba(255, 255, 255, 0.82); }
body.hero-under .site-header:not(.is-scrolled) .brand-mark .lotus-centre { fill: #fff; }
@media (max-width: 400px) { .brand-name { font-size: 1.45rem; } .brand { gap: 10px; } }

/* The home page's mega-card glyph is the same lotus, in plum (index.html svg.mark, currentColor). */
.mega-copy .mark { color: var(--ledge); }

/* Plan plates: lining figures, so the italic "3" (an old-style figure that descends) clears the line under it. */
.plan-plate-num { font-variant-numeric: lining-nums; margin-bottom: 6px; }

/* The stacked logo (the property's own black version, used as supplied) heads the footer's first column and the brochure.
   From 820px down the footer is centred (.footer-cols text-align: center), so the logo is centred with it. */
.footer-logo { display: block; width: auto; height: 70px; margin: 0 0 18px; }
@media (max-width: 820px) { .footer-logo { margin: 0 auto 18px; } }
/* The Mayfair badge above the footer columns is centred with them from 820px down (it stayed flush left: the global
   img { display: block } defeats text-align). */
@media (max-width: 820px) { .footer-corp { text-align: center; } .footer-corp img { margin-left: auto; margin-right: auto; } }
.brochure-logo { display: block; width: auto; height: 96px; margin: 0 auto 18px; }

/* Home plan cards (.fp-stack): the template's .fpc-title is a flex row (space-between) with the arrow as ::after, so a
   size kept whole in <span class="nw"> became its own flex item and was pushed away from "Three Bedroom ·", leaving the
   "·" alone on a line. A plain block with the arrow pinned right lets the title wrap as one line of text. */
.fpc-title { display: block; position: relative; padding-right: 1.6em; }
.fpc-title::after { position: absolute; right: 0; top: 0; }

/* Virtually staged photos say so wherever they appear: a badge on the photo, and alt text that starts with
   "Virtually staged:" (property-facts.json photos). None of this property's photos is staged today; the rule stays for
   any staged photo added later. Never on a hero, a zoom or a decorative image. */
.staged { position: relative; }
.staged-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2; pointer-events: none;
  background: rgba(35, 50, 41, 0.84); color: #fff;
  font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px;
}

/* Floor plan feature cards (floorplans.html): the layouts of one bedroom count, listed under the type-only plate. */
.plan-layouts { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 10px; }
.plan-layouts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 12px 16px; border: 1px solid var(--river); border-radius: 12px; background: var(--paper); scroll-margin-top: 120px; }
.plan-layouts strong { color: var(--creek-deep); font-weight: 600; }
.plan-layouts span { color: var(--creek); font-weight: 600; white-space: nowrap; }
.plan-card-body[id] { scroll-margin-top: 120px; }

/* The entry-sign photo sits at card and split sizes only; frame the round sign, not the lawn. */
img[src$="exterior-entry-sign.jpg"], img[srcset*="exterior-entry-sign-"] { object-position: 32% 55%; }

/* Nearby places: the straight-line note under each list. */
.poi-dist { color: var(--ink-soft); }

/* Availability page (availability.html; rows rendered by js/availability.js): each layout row carries a quieter spec
   line (beds / baths · sq ft) under its name, and the right-hand column says "Ask our team" instead of a price. */
#fv-pricing .price-spec { display: block; margin-top: 3px; font-weight: 400; font-size: 0.9rem; }
#fv-open-homes .avail-card-rent { font-size: 1.3rem; }
#fv-open-homes .avail-card-rent span { display: block; margin-top: 2px; }
@media (max-width: 520px) {
  #fv-pricing .price-row { flex-direction: column; gap: 4px; }
  #fv-pricing .price-v { text-align: left; }
}

/* One heading colour (2026-11-10 harmonization, Vacaville Gables' review fix): the template paints the CTA band's heading,
   the .section--dark headings and the home plan-card titles with --ink, every other heading with --creek-deep; where the
   two differ, headings would come in two colours. creek-deep on cream and white is 11:1 or more on every California site. */
.cta-band h2, .section--dark h2, .section--dark h3, .fpc-title, .fp-stack .fpc-title { color: var(--creek-deep); }

/* "Bedroom · size" layout names in titles, plan lists, the brochure table and the price rows (2026-11-10, all six California
   sites): the bedroom words and the size are each one unit, and the dot belongs to the size. On one line it reads
   "Two Bedroom · 833 sq ft"; when it wraps, the size starts the next line and its dot falls outside the clipped box, so
   no line starts or ends with "·" (the classic clipped-separator technique). Running prose keeps the plain bound form. */
.ptitle { display: inline-block; overflow: hidden; vertical-align: top; max-width: 100%; }
.ptitle > .pt-in { display: block; margin-left: -0.45em; }
.ptitle .pt-name, .ptitle .pt-size { display: inline-block; margin-left: 0.45em; max-width: 100%; }
.ptitle .pt-size { white-space: nowrap; }
.ptitle .pt-size::before { content: "\00b7"; display: inline-block; width: 0.72em; margin-left: -0.72em; text-align: center; }
