/* ==========================================================================
   Northgate Village — design system
   The Mayfair template design, adapted 2026-11-03: the
   template's token names carry Northgate Village's own palette (slate / barn / cream / bluff / sky),
   DESIGN.md has the mapping. Type: Instrument Sans + Cormorant Garamond italic
   accent words + Caveat plan notes. Flat single-class selectors.
   ========================================================================== */

:root {
  /* Northgate Village's palette on the template's token names (DESIGN.md has the table). */
  --paper: #FDFCF9;        /* page ground (the site's warm white) */
  --cream: #F5F2EC;        /* alternate sections, header, CTA band (the site's canvas) */
  --cream-deep: #E8E2D7;   /* eyebrow chips, pressed surfaces (the site's pale tint) */
  --white: #FFFFFF;

  --creek: #33475A;        /* secondary ink (the site's primary) */
  --creek-deep: #1F2B36;   /* headings, dark surfaces (the site's night color) */
  --ledge: #A3402F;        /* the accent: links, nav underline, bullets, focus */
  --ledge-soft: #B44C38;   /* accent hover only */
  --mist: #F5F2EC;
  --river: #D9D2C9;        /* mid neutral: borders, dividers (midtone, lightened) */
  --river-pale: #F3EFE8;   /* light neutral, moss bands (pale tint, lightened) */
  --sunlit: #CFE5F7;       /* pale highlight: photo-hero eyebrows, selection */
  --ink: #25292D;
  --ink-soft: #545A60;
  --black: #1F2B36;

  --hairline: rgba(37, 41, 45, 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, 41, 45, 0.22);
  --curve: 24px;

  /* Legacy names: the site's own scripts still read these (js/availability.js plan strip; the status notes
     in js/guestcard.js, contact.js, refer.js, workorder.js; a few page styles). Values are the previous
     palette, unchanged. Never use them in new CSS. */
  --slate: #33475A;
  --slate-night: #1F2B36;
  --barn: #A3402F;
  --barn-soft: #B44C38;
  --bluff: #B2A592;
  --bluff-pale: #E8E2D7;
  --sky: #86BCEB;
}

* { 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 {
  outline: 3px solid var(--ledge);
  outline-offset: 2px;
}

.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, 41, 45, 0.08);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  background: rgba(253, 252, 249, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 10px 30px -18px rgba(31, 43, 54, 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, 41, 45, 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, 41, 45, 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(163, 64, 47, 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, 41, 45, 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 + Guest Card CTA 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. */
#work-order { scroll-margin-top: 120px; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(31, 43, 54, 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, 41, 45, 0.5); }

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

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

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

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

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

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(37, 41, 45, 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, 41, 45, 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, 41, 45, 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, water-glint 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: #F2F6F4;
}

.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: #EDF3F1; }

.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(31, 43, 54, 0.42) 0%, rgba(31, 43, 54, 0.14) 50%, rgba(31, 43, 54, 0.4) 100%);
}

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

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

.hero--photo p { color: #F6F8F6; text-shadow: 0 1px 14px rgba(31, 43, 54, 0.75), 0 1px 3px rgba(31, 43, 54, 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(31, 43, 54, 0.32) 0%, rgba(31, 43, 54, 0.1) 55%, rgba(31, 43, 54, 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(31, 43, 54,0) 48%, rgba(31, 43, 54,0.2) 100%),
    linear-gradient(180deg, rgba(31, 43, 54,0.4) 0%, rgba(31, 43, 54,0.12) 42%, rgba(31, 43, 54,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(31, 43, 54, 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; } }

/* Water 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 — water over a ledge. */
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; }
}

/* Limestone-ledge divider strip — 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(31, 43, 54,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(0 100%, 0 55%, 45% 55%, 45% 12%, 100% 12%, 100% 100%); /* little two-step bluff */
}

.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, 41, 45, 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;
}

.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; }

/* --------------------------------------------------------------------------
   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(163, 64, 47, 0.4); }

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

/* --------------------------------------------------------------------------
   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;
}

.policy-art { background: var(--cream); 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, 41, 45, 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, 41, 45, 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(31, 43, 54, 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, 41, 45, 0.18);
  border-radius: 999px;
  font: 600 0.74rem var(--font-body);
  padding: 6px 11px;
  cursor: pointer;
  box-shadow: 0 10px 26px -14px rgba(31, 43, 54, 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; }

.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; }
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, 41, 45, 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(31, 43, 54, 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 terracotta 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(31, 43, 54, 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(31, 43, 54,0.6); }
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 43, 54, 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(31, 43, 54, 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: #E8F0EE; margin: 14px 0 0; text-shadow: 0 1px 10px rgba(31, 43, 54,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(31, 43, 54,0.45);
}
.fv-poi-pin { background: none; border: none; }
.fv-poi-pin svg { filter: drop-shadow(0 2px 3px rgba(37, 41, 45, 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(31, 43, 54,0.25), rgba(31, 43, 54,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; }

/* --------------------------------------------------------------------------
   Life-at-the-falls cards
   -------------------------------------------------------------------------- */
.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(--sky); box-shadow: 0 0 0 0 rgba(134, 188, 235,0.7); animation: qbPulse 2s infinite; }
@keyframes qbPulse { 0%{box-shadow:0 0 0 0 rgba(134, 188, 235,0.6)} 70%{box-shadow:0 0 0 8px rgba(134, 188, 235,0)} 100%{box-shadow:0 0 0 0 rgba(134, 188, 235,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, 41, 45,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(31, 43, 54, 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; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.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); }
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(31, 43, 54, 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(31, 43, 54, 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, 41, 45, 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, 41, 45, 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, 41, 45, 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, 41, 45, 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, 41, 45, 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(253, 252, 249, 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; }
}

.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 — kept from Northgate Village's previous stylesheet or added for the
   redesign, written with the template's token names. The same block is used by
   all four New Mexico sites (only the motif polygon differs).
   ========================================================================== */

/* The site's divider strip (img/divider*.svg): the template's .divider-ledges slot. Opaque, so the pinned hero
   never shows through. */
.divider-mesas { 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 ("926–1,146", "8:00 AM – 5:00 PM") 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 stucco and sky, where the template's pale
   tint (--sunlit) reads too faintly; the chip itself is the template's. */
.hero .eyebrow, .hero--page .eyebrow, .hero--photo .eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(31, 43, 54, 0.65); }

/* 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 (its floorplans.html <style>),
   moved here so all four sites share one copy, plus this family's extras: a row of the plan's other drawings and
   renderings, a 3-plan grid, a full-width "feature" card for the one drawn plan beside undrawn ones, and the rent
   line as words (never a price). */
.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: 13px; width: 14px; height: 14px; background: var(--ledge); clip-path: polygon(0 100%, 0 55%, 45% 55%, 45% 12%, 100% 12%, 100% 100%); }
.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 of its own. 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: 24px; height: 24px; margin: 14px 0 6px; background: var(--ledge); clip-path: polygon(0 100%, 0 55%, 45% 55%, 45% 12%, 100% 12%, 100% 100%); }
.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: 18px; width: 16px; height: 16px; background: var(--ledge); clip-path: polygon(0 100%, 0 55%, 45% 55%, 45% 12%, 100% 12%, 100% 100%); }
.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; }
}

/* ==========================================================================
   Northgate Village additions (2026-11-03): small rules this site needed on top
   of the shared starter. Each says why.
   ========================================================================== */

/* This site's CTA-band copy runs to two sentences: keep the line length readable on wide screens. */
.cta-band p { max-width: 660px; margin-left: auto; margin-right: auto; }

/* Floor plans: each plan has two more views (the plan drawing and the unfurnished rendering), so its thumb row is
   two columns instead of the starter's three. */
.plan-thumbs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Floor plans between 901 and 1180px: the three-plan grid is two columns there, so the third card sits centered
   under the first two instead of alone at the left. */
@media (min-width: 901px) and (max-width: 1180px) {
  .plan-grid--3 > .plan-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 17px); }
}

/* Card buttons with long labels (communities: "Ask our team about" and a sister community's name) wrap inside the pill: keep
   the wrapped label left-aligned beside its arrow. */
.card-body > .btn { text-align: left; justify-content: flex-start; }

/* Phones: "northgate village" and its "Apartments · Farmington, NM" line are long for a 390px header; tighten the
   brand a little so the sub-line stays on one line beside the menu button (and the name on one line at 360px). */
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand-sub { letter-spacing: 0.24em; }
}
@media (max-width: 370px) {
  .brand-name { font-size: 1.5rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.2em; }
}

/* Home plan cards: this site's plan sheets already carry their own white margin (and the vendor mark along the
   bottom), so they skip the template's extra 6% padding and 16:10 box and show whole at their own near-square
   shape: the plan reads larger, and nothing is cropped. */
.fp-stack .fpc-art img { padding: 0; aspect-ratio: auto; }

/* A phone number never breaks at its hyphen ("(505) 605-" / "2059" on phones): every tel: link stays on one line. */
a[href^="tel:"] { white-space: nowrap; }

/* Card buttons on the card's foot: the starter's ".card-body > .btn { margin-top: auto }" needs the card body to be
   a flex column (it was one in this site's previous stylesheet; the template's .card-body is a plain block), so cards
   that hold a button get one, and the line above the button keeps a little air. */
.card-body:has(> .btn) { display: flex; flex-direction: column; flex: 1; }
.card-body > :not(.btn):has(+ .btn) { margin-bottom: 20px; }
/* ...and a slightly smaller pill there, so long labels ("Ask our team about" and a sister community's name) fit on one line. */
.card-body > .btn { font-size: 0.92rem; padding: 12px 20px; }

/* ==========================================================================
   Review fixes (2026-11-03): each says why.
   ========================================================================== */

/* Bright stucco, concrete and sky (and the white office interior): the template's airy scrim leaves white hero text
   under 4.5:1 here, so the photo heroes take a deeper slate scrim and the hero chip a slate tint. The home scrim is
   a touch deeper at its middle and foot, where the "Ask Mira" outline button sits on bright concrete. */
.hero--page.hero--photo::before { background: linear-gradient(180deg, rgba(31, 43, 54, 0.55) 0%, rgba(31, 43, 54, 0.42) 55%, rgba(31, 43, 54, 0.5) 100%); }
.hero--photo:not(.hero--page)::before { background: radial-gradient(120% 90% at 50% 12%, rgba(31, 43, 54, 0) 48%, rgba(31, 43, 54, 0.2) 100%), linear-gradient(180deg, rgba(31, 43, 54, 0.5) 0%, rgba(31, 43, 54, 0.42) 42%, rgba(31, 43, 54, 0.64) 100%); }
.hero--photo .eyebrow { background: rgba(31, 43, 54, 0.38); }

/* The closed drawer waits off-screen: keep its links out of the Tab order and screen readers until it opens (it stays
   visible while it slides; with reduced motion it hides at once). */
.drawer:not(.open) { visibility: hidden; transition-property: transform, visibility; }

/* The quickbar button stays one line at every width (tablets stacked it into three lines). */
.quickbar-cta { white-space: nowrap; }

/* Phones: the typed phrases wrap to one or two lines, so hold the headline at three lines and the hero stops jumping
   as they cycle. Under 364px "Find your place" itself takes two lines, so there the headline holds four. */
@media (max-width: 504px) { .hero--cine h1 { min-height: 3.15em; } }
@media (max-width: 363px) { .hero--cine h1 { min-height: 4.2em; } }
/* ...and the typing caret takes no room of its own (4px gap + 2px bar, then -6px), so a phrase that just fits the line
   (505–511px) never pushes the caret onto a third line. */
.hero-caret { margin-right: -6px; }

/* The leasing inbox 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; } }

/* Just above the nav breakpoint the long brand leaves no room: drop the gap between nav links so nothing wraps. */
@media (max-width: 1100px) { .site-nav { gap: 0; } }

/* Floor plans: the furnished rendering that leads each card keeps the live page's caption under it, so it never
   reads as the plan drawing. */
.plan-card-art .plan-thumb-cap { text-align: center; margin: 8px 0 0; }

/* Footer room. At the very end of a page the fixed quickbar and the raised Ask Mira button sat on the footer's last
   lines (the fair-housing sentence and its link, the legal links, the © line). While the quickbar is showing, the
   footer gets room below its last line, so a visitor can scroll every line clear of both; the quick questions above
   Ask Mira step aside while those lines are on screen (js/assistant.js). Screen only: paper has no quickbar. */
@media screen { body.quickbar-open .site-footer { padding-bottom: 150px; } }
@media screen and (max-width: 620px) { body.quickbar-open .site-footer { padding-bottom: 176px; } }

/* ==========================================================================
   Full features (2026-11-04)
   Written by research/_templates/redesign/helpers/features-css.js: run it again rather than editing
   between the markers. The template's top bar, pop-up photo card and fee table, in this site's colours,
   plus the few rules this family adds (marked "site:").
   ========================================================================== */

/* Top bar: the standing message from published facts, or a real special (js/main.js). */
.topbar {
  background: var(--white);
  color: var(--ink);
  text-align: center;
  padding: 9px var(--pad);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}

.topbar a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

.topbar { position: relative; z-index: 60; }
.topbar-pop { position: relative; z-index: 60; } /* banner chrome always paints above the pinned hero */
.topbar-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
  display: inline-flex;
}
.topbar-toggle svg { transition: transform .25s ease; }
.topbar-toggle.is-open svg { transform: rotate(180deg); }
.topbar-pop {
  background: var(--cream-deep);
  color: var(--ink);
  text-align: center;
  padding: 9px var(--pad);
  border-bottom: 1px solid var(--hairline);
}
.topbar-pop p { margin: 0; max-width: 76ch; margin-inline: auto; font-size: 0.88rem; }
/* site: the detail line's link in ink (the accent on --cream-deep can fail AA). */
.topbar-pop a { color: var(--ink); font-weight: 700; }
/* site: on phones the bar keeps clear of the chevron on both sides, so the centred words never run under it, and
   the link's words stay together when the bar wraps. */
@media (max-width: 760px) { .topbar { padding-left: 46px; padding-right: 46px; } }
.topbar a { white-space: nowrap; }

/* 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); }

/* Home pop-up (js/specials.js, only with a real special): the site's own home-hero photo under the card. */
.special-pop-card--photo {
  background:
    linear-gradient(rgba(31, 43, 54, 0.55), rgba(31, 43, 54, 0.88)),
    url("../img/photos/r/exterior-1200.jpg") center 35% / cover no-repeat var(--creek-deep);
}
.special-pop-card--photo .special-pop-sub { color: #EAF2F0; text-shadow: 0 1px 8px rgba(31, 43, 54,0.6); }
.special-pop-card--photo .special-pop-big { text-shadow: 0 2px 18px rgba(31, 43, 54,0.65); }
/* site: a long special name steps down a size so it fits the card. */
.special-pop-big--long { font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.02; }

/* Fee table (affordable-housing.html#fees): words only on these sites, never a dollar figure. */
.fee-table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fee-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--creek-deep);
  padding: 0 4px 14px;
}
.fee-table th, .fee-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--river-pale);
  font-size: 0.97rem;
}
.fee-table th { color: var(--creek-deep); font-weight: 700; width: 46%; }
.fee-table td { color: var(--ink-soft); }
.fee-table tr:last-child th, .fee-table tr:last-child td { border-bottom: none; }
.fee-wrap { overflow-x: auto; }
.fee-note { max-width: 820px; margin: 14px auto 0; font-size: 0.88rem; color: var(--ink-soft); }
/* site: the table sits in the page's narrow column; its links take the secondary ink. */
.aff .fee-table { max-width: none; }
.aff .fee-table th { width: 34%; }
@media (max-width: 520px) { .fee-table th, .fee-table td { padding: 13px 14px; } .aff .fee-table th { width: 38%; } }
.fee-table td a { color: var(--creek); }
.aff .fee-note { max-width: none; margin-left: 0; margin-right: 0; }

@media (prefers-reduced-motion: reduce) {
  .topbar-toggle svg { transition: none; }
  /* 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 {
  .topbar, .topbar-pop, .special-pop, .mira-quick, .iso-modal { display: none !important; }
}
/* ---- end of full features (2026-11-04) ---- */

/* ==========================================================================
   Full features: 3D floor plans (2026-11-04)
   Written by research/_templates/redesign/helpers/features-css-3d.js: run it again rather than editing
   between the markers. The template's 3D viewer (js/unit3d.js), in this site's colours.
   ========================================================================== */

/* The viewer: plan tabs, the stage, the zoom buttons and the side panel. */
.iso-tabs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.iso-tabs button {
  border: 1px solid rgba(37, 41, 45, 0.28);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 600 0.92rem var(--font-body);
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.iso-tabs button:hover { background: var(--cream-deep); }
.iso-tabs button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.iso-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr); gap: 24px; align-items: start; }
.iso-stage { position: relative; background: linear-gradient(180deg, #F6F8F6, var(--cream)); border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; }
.iso-controls { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.iso-controls button { width: 40px; height: 40px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--white); color: var(--creek); font: 700 1.1rem var(--font-body); cursor: pointer; box-shadow: 0 6px 16px -8px rgba(31, 43, 54,0.3); }
.iso-controls button:hover { background: var(--river-pale); }
.iso-panel { background: var(--white); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.iso-panel h3 { margin-top: 0; }
@media (max-width: 820px) { .iso-wrap { grid-template-columns: 1fr; } }
/* site: a one-plan site hides its tab row (js/unit3d.js sets hidden; display:flex above would beat it). */
.iso-tabs[hidden] { display: none; }
.iso-panel .footnote { margin-bottom: 0; }

/* 3D viewer cover: opens on the photoreal render; click to wake the engine */
.iso-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  background: #fff;
  cursor: pointer;
  display: block;
  width: 100%;
}
.iso-cover img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.iso-cover-cta {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid rgba(37, 41, 45, 0.4);
  border-radius: 999px;
  padding: 11px 24px;
  font: 600 0.95rem var(--font-body);
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 12px 30px -16px rgba(31, 43, 54, 0.45);
  transition: background .2s ease;
}
.iso-cover:hover .iso-cover-cta, .iso-cover:focus-visible .iso-cover-cta { background: var(--cream-deep); }
/* site: every AI-made image says what it is: a "Rendering" chip on the cover. */
.iso-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 5px 12px;
  font: 700 0.72rem var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  pointer-events: none;
}
/* site: on phones the cover's pill may wrap to two lines inside the stage (on one line it was wider than the stage
   at 390 px and lost its rounded ends). */
@media (max-width: 520px) { .iso-cover-cta { font-size: 0.84rem; padding: 9px 16px; bottom: 12px; white-space: normal; width: max-content; max-width: calc(100% - 24px); text-align: center; text-wrap: balance; } .iso-modal { padding: 10px; } .iso-modal-box { padding: 50px 12px 14px; } }

/* The dialog, the link-styled "Explore in 3D" button, and the gate that keeps every 3D control hidden until
   js/unit3d.js is running (no script, no WebGL: the cards keep their drawings and renderings). */
.iso-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(31, 43, 54, 0.6);
}
.iso-modal[hidden] { display: none; }
.iso-modal-box {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 94vh;
  overflow: auto;
  background: var(--cream);
  border-radius: 18px;
  padding: 54px 22px 22px;
  box-shadow: 0 30px 80px -30px rgba(31, 43, 54, 0.55);
}
.iso-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 400 1.15rem/1 var(--font-body);
  cursor: pointer;
}
.iso-modal-close:hover { background: var(--cream-deep); }
body.iso-modal-open { overflow: hidden; }
/* Floating chrome steps aside while the dialog is up (same as body.mira-open). */
body.iso-modal-open .mira-quick,
body.iso-modal-open .assistant-fab,
body.iso-modal-open .quickbar { display: none; }

/* Text-link-styled button, for the "Explore in 3D" link on the plan cards. */
.linklike {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* 3D controls appear only once unit3d.js initializes (body.has-3d). Without the
   module — no JS, blocked CDN, no WebGL — they'd be dead buttons, so the cards
   keep just the static renders and the real 2D drawings. */
body:not(.has-3d) .iso-only,
body:not(.has-3d) .plan-card-cta .iso-open { display: none; }
body:not(.has-3d) .plan-card-art.iso-open { cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .iso-cover-cta, .iso-tabs button { transition: none; }
}
/* ---- end of full features: 3D floor plans (2026-11-04) ---- */

/* ==========================================================================
   Full features (2026-11-04): the painted site map
   availability.html#grounds and js/property-map.js. From the template's "Interactive property map" rules (the
   stage, the painting, transparent hit areas, the hover mark, the zoom, the "Full map" pill, the legend), without
   the parts that show per-building availability (dots, badges, floor chips, the home list): this site has no
   per-building data. Site: the stage keeps the picture's shape (1184 x 864, north up); the "Illustration" chip and the
   "Full map" pill share the top-left corner; + and − sit at the left of the bar under the map (the fixed chat buttons sit
   at the right of the window); drag to move. The same rules as the other New Mexico maps, with this picture's shape,
   paper colour and legend colours, and a narrower frame on wide screens (the picture is 4:3).
   ========================================================================== */
.pm-wrap { max-width: var(--max); margin: 0 auto; }
/* site: a 4:3 picture would stand taller than the window at full width */
#property-map.pm-wrap { max-width: 980px; }
.pm-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1184 / 864;
  background: #E7E7DD; /* the painting's paper colour, while it loads */
  box-shadow: var(--shadow);
}
.pm-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; transform-origin: 0 0; }
.pm-hits { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; }
.pm-bldg path { fill: rgba(255, 255, 255, 0.01); stroke: transparent; cursor: pointer; }
.pm-mark { fill: rgba(255, 255, 255, 0.92); stroke: var(--creek-deep); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.pm-bldg:hover .pm-mark { opacity: 1; }
.pm-bldg.is-active .pm-mark { opacity: 0 !important; }
.pm-street {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: var(--ink);
  stroke: rgba(255, 255, 255, 0.88);
  paint-order: stroke;
  stroke-linejoin: round;
  pointer-events: none;
}
.pm-stage.is-zoomed { cursor: grab; touch-action: none; }
.pm-stage.is-zoomed .pm-bldg path { cursor: zoom-in; }
.pm-stage.is-dragging, .pm-stage.is-dragging .pm-bldg path { cursor: grabbing; }
.pm-stage:focus-visible { outline: 3px solid var(--ledge); outline-offset: 3px; }
/* The chip says what the picture is, always: alone in the corner without the script, first in the corner group with it. */
.pm-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--hairline);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.pm-corner { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.pm-corner .pm-chip { position: static; }
.pm-back {
  border: 1px solid rgba(37, 41, 45, 0.35);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 600 0.88rem var(--font-body);
  padding: 7px 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px -12px rgba(31, 43, 54, 0.4);
}
.pm-back:hover { background: var(--cream-deep); }
.pm-back[hidden] { display: none; }
.pm-bar { display: flex; align-items: center; justify-content: flex-start; gap: 12px 22px; flex-wrap: wrap; margin-top: 12px; }
.pm-legend { display: flex; gap: 8px 18px; font-size: 0.85rem; color: var(--creek); flex-wrap: wrap; }
.pm-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pm-legend i { display: inline-block; width: 16px; height: 11px; border-radius: 4px; }
.pm-leg-north { width: 26px; height: 14px; color: var(--ink); }
.pm-leg-bldg { background: #8F6F58; }
.pm-leg-drive { background: #A5A4A0; }
.pm-leg-lawn { background: #B6C49E; }
.pm-zoom { display: flex; gap: 8px; }
.pm-zoom button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(37, 41, 45, 0.35);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 600 1.25rem/1 var(--font-body);
  cursor: pointer;
}
.pm-zoom button:hover:not([aria-disabled="true"]) { background: var(--cream-deep); }
.pm-zoom button[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.pm-hint { color: var(--ink-soft); margin: 10px 0 0; font-size: 0.92rem; max-width: 76ch; }
.pm-credit { text-align: center; max-width: 72ch; margin-left: auto; margin-right: auto; } /* clear of the fixed chat buttons */
@media (max-width: 640px) {
  .pm-stage { border-radius: 14px; }
  .pm-chip { top: 6px; left: 6px; padding: 2px 8px; font-size: 0.62rem; }
  .pm-corner { top: 6px; left: 6px; gap: 6px; }
  .pm-back { padding: 4px 10px; font-size: 0.78rem; }
  .pm-legend { font-size: 0.8rem; gap: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-mark { transition: none; }
}
@media print {
  .pm-zoom, .pm-back { display: none !important; }
}
/* ---- end of the painted site map (2026-11-04) ---- */

/* 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; }
}
