/* ==========================================================================
   Gatewood Village — design system
   The Mayfair template design, adapted 2026-11-04: the template's token names carry
   Gatewood Village's own palette (door blue (primary), dusk (night), clay (accent), haze (canvas), pond (midtone), wheat (highlight)). DESIGN.md has the mapping.
   Type: Instrument Sans + Cormorant Garamond italic accent words + Caveat plan notes, self-hosted in
   /vendor/fonts. Flat single-class selectors. Generated by shared/redesign/css_build.py.
   ========================================================================== */

:root {
  /* Gatewood Village's palette on the template's token names (DESIGN.md has the table). */
  --paper: #FCFCFB;
  --cream: #F1F5F8;
  --cream-deep: #E3EAEC;
  --white: #FFFFFF;
  --creek: #233B7A;
  --creek-deep: #141C2E;
  --ledge: #8A4B33;
  --ledge-soft: #A65E42;
  --mist: #F1F5F8;
  --river: #E0E5E7;
  --river-pale: #F2F5F6;
  --sunlit: #F6E6B8;
  --ink: #1C2333;
  --ink-soft: #566070;
  --black: #141C2E;
  --hl: #E2B44C;            /* the site's highlight: quickbar dot, map home-pin ring */

  --hairline: rgba(28, 35, 51, 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(28, 35, 51, 0.22);
  --curve: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

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

p { margin: 0 0 1em; }

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

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  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(28, 35, 51, 0.08);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  background: rgba(252, 252, 251, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 10px 30px -18px rgba(20, 28, 46, 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(28, 35, 51, 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(28, 35, 51, 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(138, 75, 51, 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(28, 35, 51, 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(20, 28, 46, 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(28, 35, 51, 0.5); }

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

.btn--pine { background: var(--white); color: var(--ink); border-color: rgba(28, 35, 51, 0.5); }

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

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 35, 51, 0.28);
}

.btn--ghost:hover { background: var(--white); border-color: rgba(28, 35, 51, 0.5); }

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(28, 35, 51, 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(28, 35, 51, 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(28, 35, 51, 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: #F4F6F8;
}

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

.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(20, 28, 46, 0.42) 0%, rgba(20, 28, 46, 0.14) 50%, rgba(20, 28, 46, 0.4) 100%);
}

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

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

.hero--photo p { color: #F7F8F9; text-shadow: 0 1px 14px rgba(20, 28, 46, 0.75), 0 1px 3px rgba(20, 28, 46, 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(20, 28, 46, 0.32) 0%, rgba(20, 28, 46, 0.1) 55%, rgba(20, 28, 46, 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(20, 28, 46,0) 48%, rgba(20, 28, 46,0.2) 100%),
    linear-gradient(180deg, rgba(20, 28, 46,0.4) 0%, rgba(20, 28, 46,0.12) 42%, rgba(20, 28, 46,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(20, 28, 46, 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(252, 252, 251, 0.1) 46%, transparent 54%),
    linear-gradient(96deg, transparent 58%, rgba(224, 229, 231, 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(20, 28, 46,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 mesa */
}

.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(28, 35, 51, 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(138, 75, 51, 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(28, 35, 51, 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(28, 35, 51, 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(20, 28, 46, 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(28, 35, 51, 0.18);
  border-radius: 999px;
  font: 600 0.74rem var(--font-body);
  padding: 6px 11px;
  cursor: pointer;
  box-shadow: 0 10px 26px -14px rgba(20, 28, 46, 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 var(--ink-soft) 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 var(--ink-soft) 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(28, 35, 51, 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(20, 28, 46, 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(20, 28, 46, 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(20, 28, 46,0.6); }
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 46, 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(20, 28, 46, 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: #EAEFF2; margin: 14px 0 0; text-shadow: 0 1px 10px rgba(20, 28, 46,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(20, 28, 46,0.45);
}
.fv-poi-pin { background: none; border: none; }
.fv-poi-pin svg { filter: drop-shadow(0 2px 3px rgba(28, 35, 51, 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(20, 28, 46,0.25), rgba(20, 28, 46,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(--hl); box-shadow: 0 0 0 0 rgba(226, 180, 76,0.7); animation: qbPulse 2s infinite; }
@keyframes qbPulse { 0%{box-shadow:0 0 0 0 rgba(226, 180, 76,0.6)} 70%{box-shadow:0 0 0 8px rgba(226, 180, 76,0)} 100%{box-shadow:0 0 0 0 rgba(226, 180, 76,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(28, 35, 51,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(20, 28, 46, 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(20, 28, 46, 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: #E0E5E7; 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(20, 28, 46, 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(28, 35, 51, 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(28, 35, 51, 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(28, 35, 51, 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(28, 35, 51, 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(28, 35, 51, 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(252, 252, 251, 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 the previous stylesheets 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(20, 28, 46, 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. 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; }
}

/* ==========================================================================
   This family's components, written with the template's tokens:
   the page content the redesign keeps, and what the site's own scripts build (availability cards, the floor-plan
   availability slot, form status notes, the photo viewer, the specials popup, the Mira chat). Each page keeps its
   own content markup; this block gives it the template's look. No inline styles anywhere (the CSP is 'self').
   ========================================================================== */

/* Utilities the pages use (they replace the template's inline style="" attributes too). */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.center .lead, .center .measure { margin-inline: auto; }
.measure { max-width: 68ch; }
.section-inner.measure { max-width: 780px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.cluster { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.cluster--center { justify-content: center; }
.stack > * + * { margin-top: 18px; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 24px; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.section--flush-top { padding-top: 0; }
.head-split--flush { margin-bottom: 0; }
.footnote--center { max-width: 860px; margin: 40px auto 0; text-align: center; }
.mega .mark { width: 44px; height: 44px; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* Two-column rows: this family's split collapses on its own (auto-fit), and keeps its form and top-aligned variants. */
.split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.split--top { align-items: start; }
@media (min-width: 900px) { .split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.split > div > img, .split > img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; height: auto; }

/* Cards with a photo on top and a body below. */
.card__media { background: var(--river-pale); overflow: hidden; }
.card__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__body > :last-child { margin-bottom: 0; }
.card__body > .btn, .card__body > .cluster { margin-top: auto; padding-top: 12px; }
.card__body > .eyebrow { align-self: flex-start; }
.card--flat { box-shadow: none; }
.card--stucco { background: var(--cream); border-color: transparent; box-shadow: none; }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--ledge); }
.icon { width: 1.25em; height: 1.25em; flex: none; color: var(--creek); }
.icon--lg { width: 2rem; height: 2rem; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon { color: var(--ledge); margin-top: .2rem; }
.feature h3 { margin-bottom: .25rem; font-size: 1.12rem; }
.feature p { margin-bottom: 0; }

/* Stats (availability counts) and fact lists. */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.stat { background: var(--white); border: 1px solid var(--river); border-radius: 18px; padding: 20px 22px; text-align: center; box-shadow: var(--shadow); }
.stat__n { font-family: var(--font-serif-i); font-style: italic; font-size: 2.6rem; font-weight: 600; color: var(--creek-deep); line-height: 1; }
.stat__l { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }
.facts, .checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 0.6rem; }
.facts li, .checks li { display: flex; gap: 0.75rem; align-items: flex-start; }
.facts .icon, .checks .icon { color: var(--ledge); margin-top: 0.22rem; width: 1.1em; height: 1.1em; }
.checks--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.amenity-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); list-style: none; padding: 0; margin: 0; }
.amenity-grid li { display: flex; gap: 0.75rem; align-items: center; background: var(--white); border: 1px solid var(--river); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--creek-deep); }
.amenity-grid .icon { color: var(--ledge); }
.amenity-grid small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.86rem; }
.places { list-style: none; padding: 0; margin: 0; display: grid; }
.places li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--river); }
.places li:last-child { border-bottom: 0; }
.places .dist { color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.places small { display: block; color: var(--ink-soft); font-size: 0.88rem; }

/* The floor-plan availability slot (js/plan-avail.js) and the availability cards (js/availability.js). */
.plan-avail h3 { font-size: 1.05rem; margin: 0 0 6px; }
.plan-avail p { margin: 0 0 6px; }
.avail-line { font-weight: 600; margin: 8px 0 12px; color: var(--creek); }
.avail-line--open { color: var(--creek-deep); }
.official { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
[data-avail-plans] .card { box-shadow: var(--shadow); }
[data-avail-plans] .card__body .btn { align-self: flex-start; margin-top: auto; }

/* Badges and notices. */
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.22rem 0.6rem; border-radius: 999px; background: var(--cream-deep); color: var(--creek-deep); vertical-align: middle; line-height: 1.3; }
.badge--sample { background: #FCE9C8; color: #5C3F0B; }
.notice { border-radius: 14px; padding: 14px 18px; border: 1px solid var(--river); background: var(--white); font-size: 0.96rem; }
.notice--offline { background: #FFF6E3; border-color: #EFD9A6; color: #5C3F0B; }
.notice--info { background: var(--cream); border-color: var(--river); color: var(--creek-deep); }
.notice--ok { background: #ECF2E2; border-color: #C9D8B0; color: #2E3D17; }
.notice--warn { background: #F8E9E3; border-color: #E6C4B6; color: #5E2C18; }
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; }
.notice strong { font-weight: 700; }

/* Tables (brochure plan table, policy tables). */
.table-wrap { overflow-x: auto; border: 1px solid var(--river); border-radius: 14px; background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.table caption { text-align: left; padding: 0.75rem 0.9rem; color: var(--ink-soft); font-size: 0.9rem; caption-side: bottom; }
.table th, .table td { padding: 0.75rem 0.9rem; text-align: left; border-bottom: 1px solid var(--river); vertical-align: top; }
.table thead th { font-weight: 700; color: var(--creek-deep); background: var(--cream); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Forms (guest card, referral, work order, contact, privacy request). Every control stays as it is. */
.form { display: grid; gap: 24px; background: var(--white); border: 1px solid var(--hairline); border-radius: 18px; padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form__row--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.field { display: grid; gap: 6px; align-content: start; margin-bottom: 0; }
.field__label, .field > label { font-weight: 600; font-size: 0.92rem; color: var(--creek-deep); }
.field__hint { font-size: 0.85rem; color: var(--ink-soft); }
.required::after { content: " *"; color: var(--ledge); }
input, select, textarea { font: inherit; font-weight: 500; color: var(--ink); width: 100%; padding: 12px 14px; border: 1px solid rgba(28, 35, 51, 0.28); border-radius: 12px; background: var(--white); }
input:focus, select:focus, textarea:focus { border-color: var(--ledge); outline: 3px solid rgba(138, 75, 51, 0.18); outline-offset: 0; }
textarea { min-height: 130px; resize: vertical; }
.field--check { display: flex; gap: 0.75rem; align-items: flex-start; }
.field--check input { width: 1.1rem; height: 1.1rem; margin-top: 0.3rem; flex: none; padding: 0; accent-color: var(--ledge); }
.field--check label { font-size: 0.95rem; font-weight: 500; color: var(--ink); }
fieldset { border: 1px solid var(--river); border-radius: 14px; padding: 16px 22px 22px; margin: 0; background: var(--paper); display: grid; gap: 16px; min-width: 0; }
legend { font-family: var(--font-display); font-weight: 600; color: var(--creek-deep); padding: 0 0.4rem; font-size: 1.1rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__status { font-weight: 600; margin: 0; }
.form__status:empty { display: none; }
.form__status[data-kind="ok"] { color: #2E3D17; }
.form__status[data-kind="err"] { color: #7A2F14; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* Buttons this family's pages and scripts use, on the template's pill. */
.btn--accent { background: var(--white); color: var(--ink); border-color: rgba(28, 35, 51, 0.5); }
.btn--accent:hover { background: var(--cream-deep); color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(28, 35, 51, 0.3); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: var(--white); color: var(--creek-deep); }
.btn .icon { width: 1.1em; height: 1.1em; color: currentColor; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ledge); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ledge-soft); }

/* Photo grid + the photo viewer (js/site.js). */
.photo-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; padding: 0; margin: 0; }
.photo-grid figure { margin: 0; background: var(--white); border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; height: 100%; box-shadow: var(--shadow); }
.photo-grid a { display: block; overflow: hidden; }
.photo-grid img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid figcaption { padding: 12px 16px; font-size: 0.92rem; color: var(--ink-soft); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 28, 46, 0.94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(96vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; color: #fff; font-size: 0.95rem; margin: 0; padding: 0 4rem; }
.lightbox__btn { position: absolute; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; border-radius: 999px; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__btn .icon { width: 22px; height: 22px; color: #fff; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
body.no-scroll { overflow: hidden; }

/* The specials popup (js/specials.js): it shows only a real special, and there is none today. */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(20, 28, 46, 0.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__card { position: relative; background: var(--paper); border-radius: 22px; max-width: 560px; width: 100%; padding: 48px 32px 32px; box-shadow: var(--shadow); text-align: center; }
.modal__card h2 { margin-bottom: 12px; }
.modal__card .lead { margin-inline: auto; color: var(--ink); }
.modal__fine { font-size: 0.85rem; color: var(--ink-soft); }
.modal__close { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--cream-deep); border: 0; border-radius: 999px; width: 40px; height: 40px; cursor: pointer; color: var(--creek-deep); display: grid; place-items: center; }
.modal__close .icon { width: 18px; height: 18px; color: currentColor; }

/* FAQ: the template's accordion look on this family's <details> list. */
.faq details { background: var(--white); border: 1px solid var(--hairline); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--creek-deep); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-serif-i); font-style: italic; font-size: 1.8rem; color: var(--ledge); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-soft); }
.faq details > div > :last-child { margin-bottom: 0; }

/* The site's own divider (img/brand/divider-*.svg), set on an opaque strip so the pinned hero never shows through. */
img.divider { display: block; width: min(340px, 60%); height: auto; margin: 0 auto; padding: 18px 0; box-sizing: content-box; background: var(--paper); position: relative; z-index: 1; }

/* Blog, brochure, map, 404. */
.post { max-width: 70ch; }
.post + .post { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--river); }
.post h3 { margin-top: 24px; }
.post-meta { font-size: 0.9rem; color: var(--ink-soft); }
.brochure-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.scene { border-radius: 20px; overflow: hidden; border: 1px solid var(--hairline); background: var(--cream); }
.scene img { width: 100%; height: auto; }
.map { height: 420px; border-radius: 20px; border: 1px solid var(--hairline); overflow: hidden; background: var(--cream); z-index: 0; }
.big404 { font-family: var(--font-serif-i); font-style: italic; font-size: 5rem; color: var(--ledge); line-height: 1; margin: 0; }
.eho .icon { color: currentColor; }
.fv-poi-pin { color: var(--ledge); }

/* Quickbar (this family's markup: the template's classes; js/premium.js fills the status text). */
.quickbar-text { font-weight: 600; }
.quickbar-dot { background: var(--hl); }

/* Mira chat — this site's own widget (js/assistant.js builds it), in the template's chat look. */
.mira-fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; background: var(--white); border: 1.5px solid rgba(28, 35, 51, 0.4); color: var(--ink); font: 700 0.85rem var(--font-body); letter-spacing: 0.08em; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(20, 28, 46, 0.5); display: flex; align-items: center; gap: 9px; cursor: pointer; transition: transform .4s cubic-bezier(.2, .8, .2, 1), background .2s; }
.mira-fab:hover { background: var(--cream-deep); }
.mira-fab .icon { width: 20px; height: 20px; color: currentColor; }
@media (max-width: 620px) { body.quickbar-open .mira-fab { transform: translateY(-74px); } }
.mira-panel { position: fixed; right: 16px; bottom: 84px; z-index: 70; width: min(392px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); background: var(--paper); border: 1px solid var(--hairline); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(20, 28, 46, 0.45); display: flex; flex-direction: column; overflow: hidden; }
.mira-panel[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__head h2 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0; line-height: 1.15; margin: 0; color: var(--ink); }
.mira__head p { font-size: 0.72rem; color: var(--ink-soft); margin: 0; }
.mira__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ledge); display: grid; place-items: center; flex: none; }
.mira__avatar .icon { width: 18px; height: 18px; color: #fff; }
.mira__close { margin-left: auto; background: none; border: none; color: var(--ink); cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; }
.mira__close:hover { background: var(--cream-deep); }
.mira__close .icon { width: 18px; height: 18px; color: currentColor; }
.mira__demo { background: #FFF6E3; color: #5C3F0B; font-size: 0.8rem; padding: 6px 14px; margin: 0; border-bottom: 1px solid #EFD9A6; }
.mira__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mira__msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; white-space: pre-line; margin: 0; overflow-wrap: anywhere; }
.mira__msg--bot { background: var(--white); border: 1px solid var(--river-pale); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.mira__msg--bot a { color: var(--ledge); font-weight: 600; }
.mira__msg--user { background: var(--cream-deep); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.mira__typing { align-self: flex-start; color: var(--ink-soft); font-size: 0.85rem; padding: 2px 6px; margin: 0; }
.mira__chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--river-pale); background: var(--white); }
.mira__chip { background: var(--white); border: 1.5px solid rgba(28, 35, 51, 0.25); color: var(--creek-deep); font: 600 0.82rem var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer; text-align: left; }
.mira__chip:hover { border-color: var(--ledge); color: var(--ledge); }
.mira__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--river-pale); background: var(--white); margin: 0; }
.mira__form input { flex: 1; min-width: 0; background: var(--paper); }
.mira__form .btn { flex: none; padding: 11px 16px; }
.mira__form .btn::after { content: none; }
/* The template's chat class names ride along on this widget (tools/live-check.js uses them); keep this widget's own sizes. */
.mira__form .mira-send { width: auto; height: auto; border-radius: 999px; padding: 11px 16px; display: inline-flex; background: var(--white); color: var(--ink); border: 1.5px solid rgba(28, 35, 51, 0.5); }
.mira__form .mira-send:hover { background: var(--cream-deep); color: var(--ink); }
.mira__msg.mira-bubble { max-width: 86%; }

/* Page heroes: this family's photos are bright stucco, lawn and sky; a deeper scrim keeps the white type readable. */
.hero--page.hero--photo::before { background: linear-gradient(180deg, rgba(20, 28, 46, 0.78) 0%, rgba(20, 28, 46, 0.56) 55%, rgba(20, 28, 46, 0.66) 100%); }
.hero--photo:not(.hero--page)::before { background: radial-gradient(120% 90% at 50% 12%, rgba(20, 28, 46, 0) 40%, rgba(20, 28, 46, 0.35) 100%), linear-gradient(180deg, rgba(20, 28, 46, 0.6) 0%, rgba(20, 28, 46, 0.48) 42%, rgba(20, 28, 46, 0.76) 100%); }
.hero .eyebrow, .hero--page .eyebrow, .hero--photo .eyebrow { text-shadow: 0 1px 10px rgba(20, 28, 46, 0.65); }

/* CTA band copy runs two sentences here, so it keeps a readable measure. */
.cta-band > p:not(.cta-ctas) { max-width: 680px; margin-left: auto; margin-right: auto; }

/* Keep the footer's last lines clear of the fixed quickbar and the raised Ask Mira button; the footer's EHO and
   accessibility sentences run longer here than the template's, so they keep a measure. */
.site-footer { padding-bottom: 160px; }
.footer-bottom .footer-legal { max-width: 78ch; }
.footer-bottom .eho { align-items: flex-start; }
.footer-bottom .eho .icon { margin-top: 2px; }
/* The rendering's rights line under a plan image (kept from the previous cards). */
.plan-card-credit { margin: 10px auto 0; max-width: 46ch; font-size: 0.78rem; line-height: 1.4; color: var(--ink-soft); text-align: center; }
/* The quickbar lifts the chat button only where the two would meet (phones). */


/* The brand line under the name stays on one line on phones (longer city names than the template's). */
.brand-sub { white-space: nowrap; }
@media (max-width: 420px) { .brand-sub { letter-spacing: 0.1em; font-size: 0.56rem; } }

/* Quickbar on tablets and up: one line. */
@media (min-width: 621px) {
  .quickbar { width: max-content; }
  .quickbar-cta { white-space: nowrap; }
}

/* The closed menu drawer leaves the tab order: hidden once it has slid away, shown as soon as it opens. */
.drawer { visibility: hidden; transition: transform 0.5s cubic-bezier(0.16, 0.84, 0.28, 1), visibility 0s linear 0.5s; }
.drawer.open { visibility: visible; transition-delay: 0s; }
.drawer-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
  .photo-grid img, .card__media img, .btn { transition: none; }
}

/* Print: the brochure fits one Letter page; every page drops the chrome on paper. */
@media print {
  .mira-fab, .mira-panel, .lightbox, .modal, .no-print, .cta-band, .footer-corp, .footer-cols { display: none !important; }
  body { background: #fff; color: #000; font-size: 10pt; line-height: 1.4; }
  .site-footer { padding: 8px 0 0; background: #fff; color: #000; font-size: 8pt; }
  .site-footer a, .footer-bottom span { color: #000; }
  .section { padding: 0 0 10px; background: #fff; }
  .scene { max-height: 1.75in; }
  .scene img { height: 1.75in; object-fit: cover; }
  .table { font-size: 9.5pt; }
  .table th, .table td { padding: 0.28rem 0.5rem; }
  .card, .stat, .table-wrap { box-shadow: none; break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   Community map (js/site-map.js; the Mayfair template site-map pattern, 2026-11-04)
   The painted rendering and the click zones share one 1000 x 580 box, so they zoom together.
   -------------------------------------------------------------------------- */
.pm { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.pm-stage { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 1000 / 580; background: var(--cream); box-shadow: var(--shadow); }
.pm-canvas { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 0.62s cubic-bezier(0.65, 0, 0.35, 1); }
.pm--still .pm-canvas { transition: none; }
.pm-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
.pm-hot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pm-zone { cursor: pointer; outline: none; }
.pm-zone polygon { fill: rgba(255, 255, 255, 0.001); stroke: transparent; stroke-width: 2.5; vector-effect: non-scaling-stroke; transition: fill 0.2s ease, stroke 0.2s ease; }
.pm-zone:hover polygon { fill: rgba(255, 255, 255, 0.2); stroke: var(--white); }
.pm-zone:focus-visible polygon { fill: rgba(255, 255, 255, 0.2); stroke: var(--sunlit); stroke-width: 4; }
.pm-zone.is-active polygon { fill: rgba(255, 255, 255, 0.12); stroke: var(--ledge); stroke-width: 3; }
.pm-back {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  border: 1px solid rgba(17, 17, 17, 0.35); border-radius: 999px;
  background: var(--white); color: var(--ink); font: 600 0.88rem var(--font-body);
  padding: 8px 16px; cursor: pointer; box-shadow: 0 8px 20px -12px rgba(14, 14, 12, 0.4);
}
.pm-back:hover { background: var(--cream-deep); }
.pm-back[hidden] { display: none; }
.pm-detail { background: var(--white); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.pm-detail h3 { margin-top: 0; }
.pm-hint { color: var(--ink-soft); margin: 0; }
.pm-counts { font-weight: 600; color: var(--creek); }
.pm-links { margin-bottom: 0; }
.pm-note { margin-top: 14px; }
@media (max-width: 820px) { .pm { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pm-canvas { transition: none; } }
@media print { .pm-detail, .pm-back { display: none; } }


/* Without JavaScript the reveal animation would keep every section (and the forms) hidden (FULL-FEATURES §3.3). */
@media (scripting: none) { .reveal { opacity: 1; transform: none; } .section-head.reveal h2, .reveal.head-mask h2 { clip-path: none; transform: none; } }

/* Fee table on the FAQ page (full features, 2026-11-05: the FAQ takes the Affordable page's place on this site), and
   room under the header for a linked answer (faq.html#affordable, faq.html#fees). */
.faq details[id], .faq-fees { scroll-margin-top: 120px; }
.faq-fees { margin: 40px 0 34px; }
.faq-fees h2 { margin: 4px 0 10px; }
.faq-fees .fee-table th { width: 34%; }
.faq-fees .fee-note { margin-left: 0; margin-right: 0; }
@media (max-width: 520px) { .faq-fees .fee-table th { width: 38%; } }

/* ==========================================================================
   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(20, 28, 46, 0.55), rgba(20, 28, 46, 0.88)),
    url("../img/photos/leasing-office-2-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(20, 28, 46,0.6); }
.special-pop-card--photo .special-pop-big { text-shadow: 0 2px 18px rgba(20, 28, 46,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) ---- */
