/* ==========================================================================
   NuLu Reserve — shared stylesheet
   Display type: Canela Trial  ·  Subheads, body & UI: Gotu
   ========================================================================== */

/* Canela Trial: the stack below uses the installed "Canela Trial" family directly.
   "Canela Web" is a fallback face that loads from the visitor's installed copy, then from
   /assets/fonts. Drop the trial files into assets/fonts with these names
   (or update the paths) to self-host them. */
@font-face {
  font-family: "Canela Web";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local("Canela Trial Light"), local("Canela-Light-Trial"),
       url("../fonts/Canela-Light-Trial.woff2") format("woff2"),
       url("../fonts/Canela-Light-Trial.otf") format("opentype");
}
@font-face {
  font-family: "Canela Web";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Canela Trial"), local("Canela Trial Regular"), local("Canela-Regular-Trial"),
       url("../fonts/Canela-Regular-Trial.woff2") format("woff2"),
       url("../fonts/Canela-Regular-Trial.otf") format("opentype");
}
@font-face {
  font-family: "Canela Web";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: local("Canela Trial Regular Italic"), local("Canela-RegularItalic-Trial"),
       url("../fonts/Canela-RegularItalic-Trial.woff2") format("woff2"),
       url("../fonts/Canela-RegularItalic-Trial.otf") format("opentype");
}

:root {
  --cream: #f9f5f2;
  --linen: #efeae4;
  --sand: #e3dbd1;
  --stone: #cdc4bb;
  --taupe: #7e6c57;
  --gold: #b8a27a;
  --cocoa: #352723;
  --espresso: #231917;
  --ink: #1f1816;
  --muted: #6f6359;
  --white: #ffffff;

  --display: "Canela Trial", "Canela Web", "Canela", Georgia, "Times New Roman", serif;
  --sans: "Gotu", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1600px;
  --gutter: clamp(20px, 3.5vw, 56px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--taupe); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--cream); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; margin: 0; color: inherit; }
.h-xxl { font-size: clamp(48px, 7.2vw, 120px); line-height: 1.0; }
.h-xl  { font-size: clamp(40px, 5vw, 80px);   line-height: 1.04; }
.h-lg  { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.1; }
.h-md  { font-size: clamp(26px, 2.4vw, 38px); line-height: 1.15; }
.h-sm  { font-size: clamp(21px, 1.6vw, 26px); line-height: 1.25; }
.tagline { font-family: var(--display); font-size: clamp(28px, 2.9vw, 46px); line-height: 1.25; text-align: center; max-width: 22em; margin: 0 auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 18px;
  display: block;
}
.subhead { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--muted); }
.lede { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 34em; }
p { margin: 0 0 1em; }
.caption { font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 10vw, 160px) 0; }
.section--tight { padding: clamp(56px, 6vw, 96px) 0; }
.section--linen { background: var(--linen); }
.section--dark { background: var(--cocoa); color: var(--cream); }
.section--dark .lede, .section--dark .subhead { color: rgba(249, 245, 242, .72); }
.section--dark .eyebrow { color: var(--gold); }
.rule { border: 0; border-top: 1px solid var(--stone); margin: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 24px; border: 1px solid var(--taupe);
  background: var(--taupe); color: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--cocoa); border-color: var(--cocoa); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: transparent; color: var(--cream); border-color: rgba(249,245,242,.6); }
.btn--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.arrow::after { content: "\2197"; font-size: 13px; letter-spacing: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap .3s var(--ease);
}
.text-link:hover { gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 245, 242, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--stone); }
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
}
.nav-primary { display: flex; gap: clamp(14px, 1.6vw, 30px); }
.nav-primary a, .nav-secondary .nav-link {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 6px 0;
}
.nav-primary a::after, .nav-secondary .nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after,
.nav-secondary .nav-link:hover::after { transform: scaleX(1); }
.logo { display: block; justify-self: center; }
.logo img { height: 34px; width: auto; }
.nav-secondary { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.nav-secondary .btn { padding: 11px 18px; font-size: 11px; }
.menu-toggle { display: none; width: 30px; height: 18px; position: relative; }
.menu-toggle span { position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: transform .3s, top .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 16px; }
.menu-open .menu-toggle span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); z-index: 99;
  padding: 40px var(--gutter); display: flex; flex-direction: column; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--display); font-size: 34px; line-height: 1.35; }
.mobile-menu .btn { margin-top: 28px; font-family: var(--sans); font-size: 12px; align-self: flex-start; }

@media (max-width: 1180px) {
  .nav-primary, .nav-secondary .nav-link, .nav-secondary .btn { display: none; }
  .menu-toggle { display: block; }
  .header-inner { grid-template-columns: 40px 1fr 40px; }
  .logo img { height: 28px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(249, 245, 242, .82); padding: 88px 0 36px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.footer-brand img.footer-logo { height: 40px; width: auto; margin-bottom: 36px; }
.footer-brand address { font-style: normal; font-family: var(--display); font-size: 18px; line-height: 1.6; color: var(--cream); }
.footer-brand .fleur { width: 30px; height: 30px; margin-top: 28px; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(249, 245, 242, .14);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 11.5px; color: rgba(249, 245, 242, .6);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Media helpers ---------- */
.media { position: relative; overflow: hidden; background: var(--sand); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--zoom img { transition: transform 1.2s var(--ease); }
.media--zoom:hover img { transform: scale(1.04); }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero (video teaser) ---------- */
.hero-video { position: relative; margin: 0 var(--gutter); height: calc(100vh - var(--header-h) - 24px); min-height: 520px; max-height: 960px; }
.hero-video .media { height: 100%; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,12,0) 55%, rgba(20,14,12,.45) 100%); pointer-events: none; }
.hero-meta {
  position: absolute; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 44px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; color: var(--cream); z-index: 2;
}
.hero-meta .eyebrow { color: var(--cream); margin: 0; }
.play-btn {
  display: inline-flex; align-items: center; gap: 14px; color: var(--cream);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
}
.play-btn .ring { width: 58px; height: 58px; border: 1px solid rgba(249,245,242,.7); border-radius: 50%; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.play-btn .ring::before { content: ""; border-left: 11px solid var(--cream); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.play-btn:hover .ring { background: rgba(249,245,242,.16); border-color: var(--cream); }

/* Page hero (interior pages) */
.page-hero { padding: clamp(64px, 8vw, 128px) 0 clamp(40px, 5vw, 72px); }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.page-hero .lede { margin: 0; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; gap: 24px; } }
.page-hero-media { margin: 0 var(--gutter); height: clamp(360px, 62vh, 780px); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split--reverse { grid-template-columns: 1fr 1.55fr; }
.split--reverse .split-media { order: 2; }
.split-copy { max-width: 30em; }
.split-copy h2 { margin-bottom: 28px; }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}

/* Home: architecture + interior blocks echo the Figma composition */
.home-arch .split-media { margin-left: calc(var(--gutter) * -1); }
.home-interior { padding-top: 0; }
.home-interior .split-media { margin-right: calc(var(--gutter) * -1); }

/* ---------- Three cards (dark band) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio .media { aspect-ratio: 4 / 4.6; }
.trio-copy { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.trio-copy > a { padding: 0 32px; border-left: 1px solid rgba(249,245,242,.18); display: block; }
.trio-copy > a:first-child { padding-left: 0; border-left: 0; }
.trio-copy h3 { margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.trio-copy h3 .ic { color: var(--gold); }
.trio-copy p { font-size: 14px; color: rgba(249,245,242,.72); margin: 0; }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; gap: 0; }
  .trio-copy { display: none; }
  .trio-mobile-copy { display: block !important; }
}
.trio-mobile-copy { display: none; padding: 20px 0 36px; }
.trio-mobile-copy p { font-size: 14px; color: rgba(249,245,242,.72); }

/* ---------- Lifestyle w/ scroll gallery ---------- */
.lifestyle { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--linen); min-height: 640px; }
.lifestyle-copy { padding: clamp(48px, 7vw, 120px) clamp(28px, 5vw, 96px); align-self: center; max-width: 36em; }
.lifestyle-copy h2 { margin-bottom: 22px; }
.lifestyle-copy .lede { margin-bottom: 40px; }
.scroll-gallery { position: relative; overflow: hidden; min-height: 640px; }
.scroll-track { position: absolute; inset: 0; display: flex; transition: transform 1.1s var(--ease); }
.scroll-track .media { flex: 0 0 100%; height: 100%; }
.scroll-dots { position: absolute; left: 32px; bottom: 28px; display: flex; gap: 10px; z-index: 2; }
.scroll-dots button { width: 34px; height: 2px; background: rgba(249,245,242,.45); }
.scroll-dots button.is-active { background: var(--cream); }
@media (max-width: 900px) { .lifestyle { grid-template-columns: 1fr; } .scroll-gallery { min-height: 420px; } }

/* ---------- Topic cards ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card h3 { margin: 20px 0 8px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-4, .cards-3 { grid-template-columns: 1fr; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }

/* ---------- Closer stack gallery ---------- */
.stack { position: relative; }
.stack-card {
  display: block; position: sticky; top: calc(var(--header-h) + 24px);
  height: min(78vh, 760px); margin: 0 var(--gutter) 48px; overflow: hidden;
  box-shadow: 0 -18px 40px rgba(35,25,23,.12);
}
.stack-card:nth-child(2) { top: calc(var(--header-h) + 48px); }
.stack-card:nth-child(3) { top: calc(var(--header-h) + 72px); }
.stack-card:nth-child(4) { top: calc(var(--header-h) + 96px); }
.stack-card .media { height: 100%; }
.stack-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,12,.55), rgba(20,14,12,0) 55%); }
.stack-label { position: absolute; left: clamp(24px, 4vw, 64px); bottom: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 64px); color: var(--cream); z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.stack-label .eyebrow { color: var(--sand); }
.stack-card--cta { background: var(--cocoa); color: var(--cream); display: grid; place-items: center; text-align: center; box-shadow: 0 -18px 40px rgba(35,25,23,.25); }
.stack-card--cta::after { display: none; }
.stack-card--cta .inner { max-width: 640px; padding: 24px; }
.stack-card--cta h2 { margin: 0 0 24px; }
.stack-card--cta .lede { margin: 0 auto 36px; color: rgba(249,245,242,.72); }
.stack-card--cta .eyebrow { color: var(--gold); }
.stack-card--cta .fleur { width: 34px; height: 34px; margin: 0 auto 28px; }

/* ---------- Pull quote ---------- */
.pull-quote { font-family: var(--display); font-style: italic; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.3; max-width: 26em; margin: 0 auto; text-align: center; }
.pull-quote cite { display: block; margin-top: 24px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Feature lists ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stone); }
.feature { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--stone); }
.feature + .feature { padding-left: 32px; border-left: 1px solid var(--stone); }
.feature:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.feature .num { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--taupe); }
.feature h3 { margin: 12px 0 10px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.section--dark .feature-grid, .section--dark .feature { border-color: rgba(249,245,242,.16); }
.section--dark .feature p { color: rgba(249,245,242,.68); }
.section--dark .feature .num { color: var(--gold); }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding-left: 0; border-left: 0; }
}

.check-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 48px; }
.check-list li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--stone); font-size: 15px; }
@media (max-width: 700px) { .check-list { columns: 1; } }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Accordion (FAQs) ---------- */
.faq-list { border-top: 1px solid var(--stone); }
.faq-item { border-bottom: 1px solid var(--stone); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--display); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-family: var(--sans); font-size: 22px; color: var(--taupe); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 48px 28px 0; color: var(--muted); max-width: 48em; }
.section--dark .faq-list, .section--dark .faq-item { border-color: rgba(249,245,242,.16); }
.section--dark .faq-item .answer { color: rgba(249,245,242,.7); }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Chips / filters ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--stone); border-radius: 999px; background: transparent;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

/* ---------- Residence finder ---------- */
.finder-filters { display: grid; grid-template-columns: auto auto auto auto auto 1fr; gap: 28px 36px; align-items: end; padding: 28px 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.field-label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 10px; }
.range-row { display: flex; align-items: center; gap: 14px; font-size: 14px; }
input[type="range"] { accent-color: var(--taupe); width: 180px; }
.select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: var(--ink);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%237e6c57'/%3E%3C/svg%3E") no-repeat right 4px center;
  border: 0; border-bottom: 1px solid var(--stone); padding: 6px 24px 6px 0; border-radius: 0;
}
@media (max-width: 1100px) { .finder-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .finder-filters { grid-template-columns: 1fr; } }

.finder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; margin-top: 40px; align-items: start; }
.finder-visual { position: sticky; top: calc(var(--header-h) + 24px); background: var(--linen); padding: 28px; }
.view-toggle { display: inline-flex; border: 1px solid var(--stone); border-radius: 999px; padding: 3px; margin-bottom: 20px; }
.view-toggle button { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }
.view-toggle button.is-active { background: var(--ink); color: var(--cream); }
.visual-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.floor-stepper { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-bottom: 20px; }
.floor-stepper button { width: 32px; height: 32px; border: 1px solid var(--stone); border-radius: 50%; }
.floor-stepper button:hover { border-color: var(--ink); }
.floor-stepper strong { font-family: var(--display); font-weight: 400; font-size: 22px; min-width: 92px; text-align: center; }

.plan-svg { width: 100%; height: auto; display: block; }
.plan-svg .unit { cursor: pointer; transition: fill .25s, stroke .25s; }
.plan-svg .unit-label { font-family: var(--sans); font-size: 30px; pointer-events: none; fill: var(--ink); }
.plan-svg .unit-sub { font-family: var(--sans); font-size: 16px; letter-spacing: .08em; pointer-events: none; fill: var(--muted); }
.plan-svg .plan-street { font-family: var(--sans); font-size: 22px; letter-spacing: .4em; fill: var(--taupe); }
.plan-svg .plan-note { font-family: var(--sans); font-size: 20px; letter-spacing: .16em; fill: #8f8173; pointer-events: none; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 1px solid var(--stone); }

.building-3d { padding: 8px 0; }
.bldg-svg { width: 100%; height: auto; display: block; overflow: visible; }
.slab3d { cursor: pointer; }
.slab3d .face-front { fill: #f9f5f2; stroke: #7e6c57; stroke-width: 1; transition: fill .25s; }
.slab3d .face-side { fill: #e3dbd1; stroke: #7e6c57; stroke-width: 1; transition: fill .25s; }
.slab3d .win line { stroke: #cdc4bb; stroke-width: 1; }
.slab3d text { font-family: var(--sans); font-size: 11px; letter-spacing: .06em; fill: var(--ink); }
.slab3d .leader { stroke: #cdc4bb; }
.slab3d:hover .face-front, .slab3d:focus-visible .face-front, .slab3d.is-active .face-front { fill: #b8a27a; }
.slab3d:hover .face-side, .slab3d:focus-visible .face-side, .slab3d.is-active .face-side { fill: #9c8662; }
.slab3d:focus { outline: none; }
.slab3d.is-lobby, .slab3d.is-none { cursor: default; }
.slab3d.is-lobby .face-front { fill: #352723; } .slab3d.is-lobby .face-side { fill: #231917; }
.slab3d.is-none .face-front, .slab3d.is-none .face-side { fill: #efeae4; }
.slab3d.is-none text { fill: var(--muted); }
.bldg-svg .roof { fill: #efeae4; stroke: #7e6c57; }
.bldg-svg .garage3d .g-front { fill: #e3dbd1; stroke: #7e6c57; }
.bldg-svg .garage3d .g-side { fill: #d6ccc0; stroke: #7e6c57; }
.bldg-svg .garage3d .deck line { stroke: #b3a597; stroke-width: 1; }
.bldg-svg .plaza3d { fill: #efeae4; stroke: #7e6c57; }
.bldg-svg .pool3d { fill: #c9d3d6; stroke: #7e6c57; }
.bldg-svg .club3d .c-front { fill: #f9f5f2; stroke: #7e6c57; }
.bldg-svg .club3d .c-side { fill: #e3dbd1; stroke: #7e6c57; }
.bldg-svg .club3d .c-top { fill: #e8e1d8; stroke: #7e6c57; }
.building-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

.listing-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.listings { display: grid; gap: 20px; }
.listing {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px; background: var(--white);
  border: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.listing.is-highlight { border-color: var(--gold); box-shadow: 0 10px 30px rgba(35,25,23,.08); }
.listing .media { aspect-ratio: 1 / 1; background: var(--linen); }
.listing .media svg { width: 100%; height: 100%; }
.listing-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.listing h3 { font-size: 24px; line-height: 1.2; }
.listing .type { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.listing dl { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 20px; margin: 14px 0 16px; font-size: 13px; justify-content: start; }
.listing dt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.listing dd { margin: 0; }
.listing-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.listing-actions .text-link { font-size: 11px; }
.badge {
  display: inline-block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  padding: 6px 10px; background: var(--cocoa); color: var(--cream);
}
.badge--gold { background: var(--gold); color: var(--ink); }
.badge--outline { background: transparent; color: var(--taupe); border: 1px solid var(--taupe); }
.empty-state { padding: 48px; text-align: center; color: var(--muted); background: var(--white); }
@media (max-width: 1000px) { .finder { grid-template-columns: 1fr; } .finder-visual { position: static; } }
@media (max-width: 560px) { .listing { grid-template-columns: 1fr; } .listing dl { grid-template-columns: repeat(2, auto); } }

/* ---------- Design page ---------- */
.words-panel { position: relative; height: clamp(460px, 80vh, 860px); margin: 0 var(--gutter); }
.words-panel .media { height: 100%; }
.words-panel::after { content: ""; position: absolute; inset: 0; background: rgba(20,14,12,.38); }
.words { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; color: var(--cream); text-align: center; }
.words span { font-family: var(--display); font-size: clamp(40px, 6vw, 96px); line-height: 1.1; opacity: .28; transition: opacity .8s var(--ease); }
.words span.is-on { opacity: 1; }

.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.swatch .chip-color { aspect-ratio: 1 / 1.25; margin-bottom: 14px; border: 1px solid rgba(35,25,23,.08); }
.swatch h4 { font-family: var(--display); font-size: 19px; }
.swatch p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
@media (max-width: 860px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Neighborhood map ---------- */
.map-shell { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); background: var(--white); border: 1px solid var(--stone); }
.map-canvas { position: relative; background: #efe9e1; overflow: hidden; }
.map-canvas svg { width: 100%; height: 100%; display: block; }
.map-pin { cursor: pointer; }
.map-pin circle { transition: r .2s; }
.map-pin:hover circle.pin-dot, .map-pin.is-active circle.pin-dot { r: 10; }
.map-pin text { font-family: var(--sans); font-size: 12px; fill: var(--ink); pointer-events: none; opacity: 0; transition: opacity .2s; paint-order: stroke; stroke: #efe9e1; stroke-width: 4px; }
.map-pin:hover text, .map-pin.is-active text { opacity: 1; }
.map-street { font-family: var(--sans); font-size: 10px; letter-spacing: .18em; fill: #8f8173; text-transform: uppercase; }
.map-note { position: absolute; left: 14px; bottom: 10px; font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.map-panel { border-left: 1px solid var(--stone); display: flex; flex-direction: column; max-height: 720px; }
.map-panel-head { padding: 24px 24px 16px; border-bottom: 1px solid var(--stone); }
.map-panel-head h3 { font-size: 26px; }
.map-list { overflow-y: auto; flex: 1; }
.place { padding: 18px 24px; border-bottom: 1px solid var(--linen); cursor: pointer; transition: background .2s; }
.place:hover, .place.is-active { background: var(--cream); }
.place h4 { font-family: var(--display); font-size: 20px; line-height: 1.25; }
.place .cat { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.place .addr { font-size: 13px; color: var(--muted); margin: 2px 0 8px; }
.place .times { display: flex; gap: 18px; font-size: 12.5px; }
.place .times b { font-weight: 400; color: var(--taupe); margin-right: 4px; }
.place .links { display: none; gap: 18px; margin-top: 12px; }
.place.is-active .links { display: flex; }
.place .links a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
@media (max-width: 960px) { .map-shell { grid-template-columns: 1fr; } .map-panel { border-left: 0; border-top: 1px solid var(--stone); max-height: 520px; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.form-grid .full { grid-column: 1 / -1; }
.input, .textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--stone); padding: 10px 0; border-radius: 0;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-bottom-color: var(--ink); }
.textarea { min-height: 110px; resize: vertical; }
.tour-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tour-type { position: relative; }
.tour-type input { position: absolute; opacity: 0; }
.tour-type label { display: block; height: 100%; padding: 24px; border: 1px solid var(--stone); cursor: pointer; transition: border-color .25s, background .25s; }
.tour-type label:hover { border-color: var(--ink); }
.tour-type input:checked + label { border-color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.tour-type input:focus-visible + label { outline: 1px solid var(--taupe); outline-offset: 3px; }
.tour-type h3 { font-size: 24px; margin-bottom: 6px; }
.tour-type p { font-size: 13px; color: var(--muted); margin: 0; }
.tour-type .eyebrow { margin-bottom: 14px; }
.form-note { font-size: 12px; color: var(--muted); }
.form-success { display: none; padding: 48px; background: var(--white); border: 1px solid var(--stone); }
.form-success.is-visible { display: block; }
@media (max-width: 760px) { .form-grid, .tour-types { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.contact-grid h3 { margin-bottom: 12px; }
.contact-grid p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3; column-gap: 20px; margin-top: 40px; }
.gallery-item { break-inside: avoid; margin-bottom: 20px; cursor: zoom-in; display: block; width: 100%; text-align: left; }
.gallery-item .media img { height: auto; }
.gallery-item figcaption { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 10px; letter-spacing: .04em; }
.gallery-item.is-hidden { display: none; }
@media (max-width: 960px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }

.lightbox { position: fixed; inset: 0; background: rgba(20,14,12,.94); z-index: 300; display: none; align-items: center; justify-content: center; padding: 64px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1400px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: var(--cream); margin-top: 18px; font-size: 13px; letter-spacing: .06em; }
.lightbox button { position: absolute; color: var(--cream); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 12px; }
.lb-close { top: 20px; right: 24px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Video modal ---------- */
.video-modal { position: fixed; inset: 0; z-index: 300; background: rgba(20,14,12,.94); display: none; align-items: center; justify-content: center; padding: 48px; }
.video-modal.is-open { display: flex; }
.video-modal .frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; color: var(--cream); text-align: center; }
.video-modal .frame p { font-family: var(--display); font-size: 28px; margin: 0 0 8px; }
.video-modal .frame small { color: rgba(249,245,242,.6); font-size: 12px; letter-spacing: .08em; }
.video-modal .close { position: absolute; top: 20px; right: 24px; color: var(--cream); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 12px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.max-34 { max-width: 34em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Mobile refinements */
@media (max-width: 900px) {
  .home-arch .split-media, .home-interior .split-media { margin-left: 0; margin-right: 0; }
}
@media (max-width: 600px) {
  .hero-meta .eyebrow { font-size: 10px; max-width: 60%; line-height: 1.6; }
  .play-btn > span:first-child { display: none; }
  .tagline { font-size: 26px; }
}

/* ---------- Animated link icons ---------- */
.ic { --ic-accent: var(--gold); display: inline-flex; width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }
.ic svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; }
.ic svg * { transform-box: fill-box; transition: transform .55s var(--ease), opacity .4s, fill .4s, fill-opacity .4s, stroke-dashoffset .9s ease; }
.btn .ic { --ic-accent: #efe2c8; }
.text-link .ic, .btn .ic { margin-left: 2px; }

/* door — swings open to a warm glow */
.ic-door .glow { fill: var(--ic-accent); stroke: none; opacity: 0; }
.ic-door .leaf { transform-origin: left center; }
.ic-door .knob { fill: currentColor; stroke: none; }
.ilink:hover .ic-door .glow, .ilink:focus-visible .ic-door .glow { opacity: .5; }
.ilink:hover .ic-door .leaf, .ilink:focus-visible .ic-door .leaf { transform: skewY(-12deg) scaleX(.55); }

/* plan — floor plan draws itself */
.ic-plan .ghost { opacity: .3; }
.ic-plan .draw { stroke-dasharray: 70; stroke-dashoffset: 70; }
.ilink:hover .ic-plan .draw, .ilink:focus-visible .ic-plan .draw { stroke-dashoffset: 0; }

/* sprout — stem grows, leaves unfurl */
.ic-sprout .stem { stroke-dasharray: 10; stroke-dashoffset: 3; }
.ic-sprout .lf { fill: var(--ic-accent); fill-opacity: .15; transform: scale(.62); opacity: .85; }
.ic-sprout .lf-r { transform-origin: left bottom; }
.ic-sprout .lf-l { transform-origin: right bottom; }
.ilink:hover .ic-sprout .stem, .ilink:focus-visible .ic-sprout .stem { stroke-dashoffset: 0; transition-duration: .4s; }
.ilink:hover .ic-sprout .lf, .ilink:focus-visible .ic-sprout .lf { transform: scale(1); opacity: 1; fill-opacity: .45; }
.ilink:hover .ic-sprout .lf-l, .ilink:focus-visible .ic-sprout .lf-l { transition-delay: .15s; }

/* arch & curtains — two leaves part to reveal light */
.ic-arch .glow, .ic-curtains .glow { fill: var(--ic-accent); stroke: none; opacity: 0; }
.ic-arch .leaf-l, .ic-curtains .leaf-l { transform-origin: left center; }
.ic-arch .leaf-r, .ic-curtains .leaf-r { transform-origin: right center; }
.ic-curtains .leaf-l, .ic-curtains .leaf-r { fill: currentColor; fill-opacity: .12; }
.ilink:hover .ic-arch .glow, .ilink:hover .ic-curtains .glow,
.ilink:focus-visible .ic-arch .glow, .ilink:focus-visible .ic-curtains .glow { opacity: .5; }
.ilink:hover .ic-arch .leaf-l, .ilink:hover .ic-arch .leaf-r,
.ilink:focus-visible .ic-arch .leaf-l, .ilink:focus-visible .ic-arch .leaf-r { transform: scaleX(.25); }
.ilink:hover .ic-curtains .leaf-l, .ilink:hover .ic-curtains .leaf-r,
.ilink:focus-visible .ic-curtains .leaf-l, .ilink:focus-visible .ic-curtains .leaf-r { transform: scaleX(.3); }

/* bourbon — glass fills with amber */
.ic-bourbon .pour { fill: var(--ic-accent); stroke: none; transform-origin: center bottom; transform: scaleY(0); }
.ilink:hover .ic-bourbon .pour, .ilink:focus-visible .ic-bourbon .pour { transform: scaleY(1); }

/* lamp — pendant switches on */
.ic-lamp .bulb { fill: transparent; }
.ic-lamp .ray { opacity: 0; }
.ilink:hover .ic-lamp .bulb, .ilink:focus-visible .ic-lamp .bulb { fill: var(--ic-accent); }
.ilink:hover .ic-lamp .ray, .ilink:focus-visible .ic-lamp .ray { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .ic svg * { transition: none; } }

/* Unit plan thumbnails in the Residence Finder */
.listing .unit-plan { display: grid; place-items: center; padding: 10px; }
.listing .unit-plan svg { width: 100%; height: 100%; }
.listing .unit-plan { background: #fff; }
.listing .unit-plan img { width: 100%; height: 100%; object-fit: contain; }
.listing { grid-template-columns: 220px 1fr; }

.plan-zoom { position: fixed; inset: 0; z-index: 300; background: var(--cream); display: none; align-items: center; justify-content: center; padding: 56px 32px 32px; }
.plan-zoom.is-open { display: flex; }
.plan-zoom figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.plan-zoom img { max-height: 78vh; max-width: 100%; margin: 0 auto; background: #fff; padding: 24px; border: 1px solid var(--stone); }
.plan-zoom figcaption { margin-top: 16px; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.plan-zoom-close { position: absolute; top: 20px; right: 24px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 12px; }
@media (max-width: 560px) { .listing { grid-template-columns: 1fr; } }

/* ---------- Floor plan sheet pop-up ---------- */
.unit-sheet { position: fixed; inset: 0; z-index: 300; background: rgba(35,25,23,.55); display: none; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.unit-sheet.is-open { display: flex; }
.us-card { position: relative; background: #fff; width: min(1240px, 100%); height: min(calc(100vh - 48px), 880px); display: flex; flex-direction: column; border: 1px solid var(--stone); box-shadow: 0 30px 80px rgba(20,14,12,.25); padding: 28px 40px 18px; margin: auto; }
.us-close { position: absolute; top: 14px; right: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 10px; color: var(--muted); }
.us-close:hover { color: var(--ink); }
.us-head { flex: 0 0 auto; display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: start; padding-right: 70px; }
.us-key { position: relative; }
.us-key .kp { width: 100%; height: auto; display: block; }
.us-north { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .14em; color: var(--taupe); }
.us-meta p { margin: 0 0 2px; font-size: 15px; color: var(--ink); }
.us-meta .us-title { font-family: var(--display); font-size: 28px; line-height: 1.2; margin-bottom: 6px; }
.us-meta .us-title span { color: var(--stone); margin: 0 6px; }
.us-meta .us-plan { margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.us-logo { height: 42px; width: auto; margin-top: 6px; }
.us-drawing { position: relative; flex: 1 1 auto; min-height: 200px; margin: 10px 0 10px; }
.us-drawing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.us-foot { flex: 0 0 auto; display: grid; grid-template-columns: 78px 1fr auto; gap: 28px; align-items: end; border-top: 1px solid var(--linen); padding-top: 12px; }
.us-iso { width: 78px; }
.us-iso svg { width: 100%; height: auto; display: block; }
.us-links { display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 13px; color: var(--ink); }
.us-links span { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.us-note { margin: 8px 0 0; font-size: 11px; color: var(--muted); text-align: right; }
.listing .unit-plan img, .plan-svg .unit { cursor: pointer; }
@media (max-width: 860px) {
  .us-card { padding: 24px 18px 18px; height: auto; }
  .us-drawing { min-height: 0; }
  .us-drawing img { position: static; height: auto; max-height: 60vh; }
  .us-head { grid-template-columns: 120px 1fr; padding-right: 0; gap: 16px; }
  .us-logo { grid-column: 1 / -1; height: 30px; order: -1; }
  .us-meta .us-title { font-size: 22px; }
  .us-foot { grid-template-columns: 1fr; }
  .us-iso { display: none; }
}

/* ==========================================================================
   Prototype alignment (measured from the Figma home page, 1728 px frame)
   ========================================================================== */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Montserrat-latin.woff2") format("woff2");
}
:root { --nav: "Montserrat", "Helvetica Neue", Arial, sans-serif; --header-h: 70px; --edge: 11px; }

/* ---------- Nav bar: 70 px tall, Montserrat 10 px, 1.1 px tracking ---------- */
.site-header { transition: transform .45s var(--ease), border-color .3s; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { max-width: none; padding: 0 33px 0 39px; height: var(--header-h); gap: 20px; }
.nav-primary { gap: 27px; }
.nav-primary a, .nav-secondary .nav-link { font-family: var(--nav); font-size: 10px; font-weight: 500; letter-spacing: 1.1px; line-height: 1; padding: 6px 0; color: var(--ink); }
.nav-secondary { gap: 22px; }
.logo img { height: auto; width: 278px; max-width: 100%; }
.btn--nav { font-family: var(--nav); font-size: 10px; font-weight: 600; letter-spacing: 1.1px; width: 165px; height: 41px; padding: 0 8px; gap: 8px; white-space: nowrap; justify-content: center; }
.btn--nav .ic { width: 15px; height: 15px; margin-left: 0; }
@media (max-width: 1260px) {
  .nav-primary, .nav-secondary .nav-link, .nav-secondary .btn { display: none; }
  .menu-toggle { display: block; }
  .header-inner { grid-template-columns: 40px 1fr 40px; padding: 0 20px; }
  .logo img { width: 200px; }
}
@media (max-width: 1180px) { .logo img { width: 200px; } }

/* ---------- Hero film: 11 px side margins, 16:9, autoplay with pause/play ---------- */
.hero-video { margin: 3px var(--edge) 0; height: auto; min-height: 0; max-height: none; aspect-ratio: 1704 / 958; }
.hero-video::after { display: none; }
.hero-video .media, .hero-video video { width: 100%; height: 100%; }
.hero-video video { object-fit: cover; display: block; }
.hero-video--page { margin-top: 0; }
.video-toggle {
  position: absolute; right: clamp(16px, 2.2vw, 36px); bottom: clamp(16px, 2.2vw, 36px); z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(249,245,242,.75);
  background: rgba(20,14,12,.18); display: grid; place-items: center; transition: background .3s, border-color .3s;
}
.video-toggle:hover { background: rgba(249,245,242,.18); border-color: var(--cream); }
.vt-icon { display: block; width: 14px; height: 16px; position: relative; }
.vt-icon::before, .vt-icon::after { content: ""; position: absolute; top: 0; width: 4px; height: 16px; background: var(--cream); }
.vt-icon::before { left: 1px; } .vt-icon::after { right: 1px; }
.is-paused .vt-icon::before { left: 3px; width: 0; height: 0; background: none; border-left: 13px solid var(--cream); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.is-paused .vt-icon::after { display: none; }
.hero-address { margin: 14px var(--edge) 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Feature images: 1274 px wide at 1728 (73.7%), 11 px edge on the photo side ---------- */
.feature-split { display: grid; align-items: center; padding: clamp(64px, 8.2vw, 142px) 0 0; }
.feature-split--left { grid-template-columns: calc((100% + var(--edge)) * .7373) 1fr; padding-left: var(--edge); }
.feature-split--right { grid-template-columns: 1fr calc((100% + var(--edge)) * .7373); padding-right: var(--edge); padding-bottom: clamp(64px, 8.2vw, 142px); }
.feature-split .fs-media { margin: 0; }
.feature-split--left .media { aspect-ratio: 1274 / 972; }
.feature-split--right .media { aspect-ratio: 1274 / 848; }
.feature-split .fs-copy { max-width: 380px; }
.feature-split--left .fs-copy { padding: 0 40px 0 clamp(28px, 2.9vw, 50px); }
.feature-split--right .fs-copy { padding: 0 clamp(28px, 2.9vw, 50px) 0 clamp(20px, 3.2vw, 56px); }
.feature-split .fs-copy h2 { margin-bottom: 24px; }
.feature-split .lede { font-size: 15px; }
@media (max-width: 900px) {
  .feature-split--left, .feature-split--right { grid-template-columns: 1fr; padding-left: var(--edge); padding-right: var(--edge); gap: 32px; }
  .feature-split--right .fs-media { order: -1; }
  .feature-split .fs-copy, .feature-split--left .fs-copy, .feature-split--right .fs-copy { padding: 0 12px; max-width: none; }
}

/* ---------- Three cards: 55 px margins, 2 px gaps, 541 x 634 cards ---------- */
.trio-band { padding: 60px 0 80px; }
.trio-wrap { padding: 0 55px; }
.trio { gap: 2px; }
.trio .media { aspect-ratio: 541 / 634; }
@media (max-width: 860px) { .trio-wrap { padding: 0 var(--edge); } }

/* Interior page hero images share the hero's 11 px margins */
.page-hero-media, .words-panel { margin-left: var(--edge); margin-right: var(--edge); }

/* ---------- A Day at NuLu Reserve ---------- */
.day { padding: clamp(80px, 9vw, 150px) 55px clamp(80px, 9vw, 150px); border-top: 1px solid var(--stone); }
.day-head { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 48px; align-items: end; margin-bottom: clamp(44px, 5vw, 80px); }
.day-intro .lede { margin: 0 0 22px; }
.day-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 33px; }
.day-card .media { aspect-ratio: 4 / 5; }
.day-time { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 12px; padding-bottom: 14px; border-bottom: 1px solid var(--gold); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.day-time em { font-family: var(--display); font-style: italic; font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--gold); line-height: 1; }
.day-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 1.9vw, 32px); line-height: 1.15; margin: 0 0 12px; }
.day-card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .day-cards { grid-template-columns: repeat(2, 1fr); } .day-head { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .day { padding-left: 20px; padding-right: 20px; } .day-cards { grid-template-columns: 1fr; } }

/* ---------- Footer: 67 px margins, columns at 960 / 1195 / 1430 of 1728 ---------- */
.site-footer { padding: 74px 0 52px; font-size: 15px; }
.footer-inner { padding: 0 67px; }
.footer-top { grid-template-columns: 1fr 235px 235px 230px; gap: 0; }
.footer-brand img.footer-logo { width: 278px; height: auto; margin: 12px 0 46px; }
.footer-brand address { font-size: 17px; line-height: 1.4; color: #e9e1d6; }
.footer-brand .fleur { width: 22px; height: 22px; margin-top: 22px; }
.footer-col h4 { font-family: var(--display); font-size: 12px; letter-spacing: .24em; color: var(--white); margin: 0 0 20px; }
.footer-col ul { gap: 0; }
.footer-col li { line-height: 30px; }
.footer-col a { color: #cfc6ba; }
.footer-bottom { margin-top: 42px; padding-top: 26px; font-size: 13.5px; color: #b9afa3; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 40px 24px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-inner { padding: 0 24px; } .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand img.footer-logo { width: 220px; } }
@media (max-width: 600px) { .video-toggle { width: 42px; height: 42px; right: 12px; bottom: 12px; } .vt-icon { transform: scale(.8); } }

/* Action-button arrow: right-angle chevron filled with vertical stripes (crescent-moon style) */
.ic-chevron svg { stroke: none; }
.ic-chevron .stripes { fill: currentColor; transition: transform .6s var(--ease); }
.ic-chevron svg { transition: transform .45s var(--ease); }
.ilink:hover .ic-chevron .stripes, .ilink:focus-visible .ic-chevron .stripes { transform: translateX(3.2px); }
.ilink:hover .ic-chevron svg, .ilink:focus-visible .ic-chevron svg { transform: translate(2px, -2px); }
.btn .ic-chevron, .btn--nav .ic-chevron { width: 16px; height: 16px; }

/* ==========================================================================
   Round 2: cohesive margins + page refinements
   ========================================================================== */
/* Same side margins on every page as the home page's lower sections */
:root { --gutter: 55px; }
.wrap { max-width: none; padding: 0 55px; }
@media (max-width: 860px) { :root { --gutter: 20px; } .wrap { padding: 0 20px; } }

/* ---------- Design: Rooted in Main Street collage ---------- */
.collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; }
.collage-copy { grid-column: 1 / span 5; grid-row: 1; align-self: center; padding-right: clamp(0px, 3vw, 48px); }
.collage-copy h2 { margin-bottom: 28px; }
.collage .cl { margin: 0; }
.collage .cl .media img { height: 100%; }
.collage figcaption { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin-top: 12px; }
.cl-a { grid-column: 6 / span 7; grid-row: 1; } .cl-a .media { aspect-ratio: 4 / 3; }
.cl-b { grid-column: 1 / span 3; grid-row: 2; margin-top: clamp(-120px, -6vw, -40px) !important; } .cl-b .media { aspect-ratio: 3 / 4; }
.cl-c { grid-column: 4 / span 5; grid-row: 2; margin-top: clamp(32px, 5vw, 90px) !important; } .cl-c .media { aspect-ratio: 5 / 4; }
.cl-d { grid-column: 9 / span 4; grid-row: 2; } .cl-d .media { aspect-ratio: 4 / 5; }
.cl-e { grid-column: 2 / span 7; grid-row: 3; margin-top: clamp(24px, 3vw, 56px) !important; } .cl-e .media { aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .collage { grid-template-columns: 1fr 1fr; }
  .collage-copy, .cl-a, .cl-e { grid-column: 1 / -1; grid-row: auto; }
  .cl-b, .cl-c, .cl-d { grid-column: auto; grid-row: auto; margin-top: 0 !important; }
  .cl-d { grid-column: 1 / -1; }
}

/* ---------- Amenities: horizontal panels driven by vertical scroll ---------- */
.hscroll { position: relative; background: var(--linen); }
.hs-sticky { padding: 80px 0 60px; }
.hscroll.is-pinned .hs-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 32px 0; }
.hs-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(24px, 3vh, 44px); }
.hs-progress { width: 180px; height: 1px; background: var(--stone); position: relative; }
.hs-progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(.17); transition: transform .2s linear; }
.hs-track { display: flex; will-change: transform; }
.hscroll:not(.is-pinned) .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; }
.hs-panel { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 110px); align-items: center; padding: 0 55px; scroll-snap-align: start; }
.hs-media { aspect-ratio: 4 / 3; max-height: 68vh; width: 100%; }
.hs-copy { max-width: 450px; }
.hs-copy h3 { margin: 6px 0 22px; }
.hs-copy .lede { margin-bottom: 26px; }
@media (max-width: 900px) {
  .hs-panel { grid-template-columns: 1fr; padding: 0 20px; flex-basis: 88%; }
  .hs-head { flex-direction: column; align-items: start; }
  .hs-progress { display: none; }
}

/* ---------- Neighborhood: numbered pins, plus toggles, thumbnails ---------- */
.map-pin { cursor: pointer; }
.map-pin .pin-num { font-family: var(--display); font-size: 12px; fill: #fff; pointer-events: none; letter-spacing: .04em; }
.map-pin .pin-name { font-family: var(--sans); font-size: 12px; fill: var(--ink); opacity: 0; transition: opacity .2s; paint-order: stroke; stroke: #efe9e1; stroke-width: 4px; pointer-events: none; }
.map-pin:hover .pin-name, .map-pin.is-active .pin-name, .map-pin:focus .pin-name { opacity: 1; }
.map-pin .pin-dot { transition: transform .2s; }
.map-pin:hover .pin-dot { transform: scale(1.12); }
.map-pin:focus { outline: none; }
.place { padding: 0; cursor: default; border-bottom: 1px solid var(--linen); }
.place:hover { background: transparent; }
.place-row { width: 100%; display: grid; grid-template-columns: 64px 1fr 28px; gap: 16px; align-items: center; padding: 14px 20px; text-align: left; transition: background .2s; }
.place-row:hover, .place.is-active .place-row { background: var(--cream); }
.place-thumb { position: relative; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--c, #7e6c57) 14%, #fff); color: var(--c, #7e6c57); }
.place-thumb svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-thumb b { position: absolute; left: 0; bottom: 0; font-family: var(--display); font-weight: 400; font-size: 12px; line-height: 1; padding: 4px 6px; background: var(--ink); color: var(--cream); }
.place-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.place-name { font-family: var(--display); font-size: 19px; line-height: 1.25; color: var(--ink); }
.place-walk { font-size: 12px; color: var(--muted); }
.place-plus { width: 26px; height: 26px; border: 1px solid var(--stone); border-radius: 50%; position: relative; transition: transform .35s var(--ease), border-color .2s, background .2s; }
.place-plus::before, .place-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.place-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.place-row:hover .place-plus { border-color: var(--ink); }
.place.is-active .place-plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.place.is-active .place-plus::before, .place.is-active .place-plus::after { background: var(--cream); }
.place-detail { padding: 0 20px 18px 100px; background: var(--cream); }
.place-detail .links { display: flex; gap: 18px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- Gallery: contemporary editorial grid ---------- */
.gallery-grid { columns: auto; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 13vw, 260px); grid-auto-flow: dense; gap: clamp(10px, 1.2vw, 20px); margin-top: 40px; }
.gallery-item { margin: 0; break-inside: auto; display: block; height: 100%; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-item figure { margin: 0; height: 100%; }
.gallery-item .media { height: 100%; }
.gallery-item .media img { height: 100%; width: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover .media img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 12px; align-items: baseline; padding: 40px 18px 14px; color: var(--cream); background: linear-gradient(0deg, rgba(20,14,12,.55), rgba(20,14,12,0)); font-size: 12px; letter-spacing: .06em; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-item .gi-num { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--gold); }
.gallery-item .gi-cat { margin-left: auto; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; opacity: .8; }
.g-xl { grid-column: span 7; grid-row: span 2; }
.g-s  { grid-column: span 5; grid-row: span 1; }
.g-m  { grid-column: span 4; grid-row: span 1; }
.g-w  { grid-column: span 6; grid-row: span 1; }
.g-q  { grid-column: span 3; grid-row: span 1; }
.gallery-item.is-hidden { display: none; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .g-xl { grid-column: span 2; grid-row: span 2; } .g-s, .g-m, .g-w, .g-q { grid-column: span 1; grid-row: span 1; }
  .gallery-item figcaption { opacity: 1; transform: none; padding: 30px 12px 10px; }
}
@media (hover: none) { .gallery-item figcaption { opacity: 1; transform: none; } }
.g-row { grid-column: span 12; grid-row: span 1; }
.g-hero { grid-column: span 12; grid-row: span 2; }
.g-tall { grid-column: span 5; grid-row: span 2; }
@media (max-width: 860px) { .g-row, .g-hero { grid-column: span 2; } .g-tall { grid-column: span 1; grid-row: span 1; } }
.map-pin text.pin-num { opacity: 1; stroke: none; }
.map-pin .pin-dot { transform-box: fill-box; transform-origin: center; }
.map-pin.is-active text.pin-name { opacity: 1; }
.hs-head { width: 100%; }
.cl-e { grid-column: 5 / span 8; }

/* Unit numbers on the floor plans use the display face */
.plan-svg .unit-label { font-family: var(--display); }

/* FAQ: full-width rules between topics */
.faq-groups { padding-bottom: clamp(64px, 8vw, 120px); }
.faq-group { border-top: 1px solid var(--stone); padding: clamp(40px, 5vw, 72px) 0; }
.faq-group:last-child { border-bottom: 1px solid var(--stone); }
.faq-group .faq-list { border-top: 0; }
.faq-group .faq-item:last-child { border-bottom: 0; }
.faq-group .faq-item:first-child summary { padding-top: 6px; }
.faq-group .faq-item:first-child summary::after { top: 2px; }

/* Contact the Leasing Office: dark band like the home page's three cards */
.contact-dark .eyebrow { color: var(--gold); }
.contact-dark .contact-grid h3 { color: var(--cream); }
.contact-dark .contact-grid p { color: rgba(249,245,242,.72); }
.contact-dark .contact-grid a { color: var(--cream); border-bottom: 1px solid rgba(249,245,242,.35); }
.contact-dark .contact-grid a:hover { border-color: var(--cream); }
.trio-copy h3 .ic-chevron { width: 18px; height: 18px; }

/* Closer-look cards: label sits at the top of each photo */
.stack-card::after { background: linear-gradient(180deg, rgba(20,14,12,.55), rgba(20,14,12,0) 50%); }
.stack-label { top: clamp(28px, 4vw, 60px); bottom: auto; align-items: flex-start; }
.stack-label .text-link { margin-top: 10px; }

/* Soft shadow at the top of the hero film, falling from the nav bar */
.hero-video::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(70px, 9vw, 140px); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,14,12,.5) 0%, rgba(20,14,12,.2) 45%, rgba(20,14,12,0) 100%);
}

/* ---------- Amenities: captioned photo row (gallery-card format) ---------- */
.hs-sub { margin: 18px 0 0; }
.hs-head h2 { margin: 0; }
.hs-track { gap: 40px; padding: 0 55px; align-items: flex-start; }
.hs-card { flex: 0 0 clamp(260px, 24vw, 420px); min-width: 0; }
.hs-card .media { width: 100%; }
.hs-card.t1 .media { aspect-ratio: 1.08 / 1; }
.hs-card.t2 .media { aspect-ratio: 3 / 4; }
.hs-card.t3 .media { aspect-ratio: 1 / 1; }
.hs-card.t4 .media { aspect-ratio: 4 / 5; }
.hs-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.hs-cap h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 1.9vw, 34px); line-height: 1.15; margin: 0; }
.hs-num { font-family: var(--display); font-size: clamp(24px, 1.9vw, 34px); line-height: 1; color: var(--ink); }
.hs-card p { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 32em; }
.hscroll.is-pinned .hs-sticky { justify-content: flex-start; padding-top: clamp(48px, 9vh, 110px); }
.hscroll.is-pinned .hs-card .media { max-height: 54vh; }
@media (max-width: 900px) { .hs-track { gap: 20px; padding: 0 20px; } .hs-card { flex-basis: 72%; } }

/* ---------- Design collage: two photos side by side, evenly spaced, within the margins ---------- */
.cl-b, .cl-d { grid-row: 2; margin-top: clamp(32px, 4vw, 64px) !important; }
.cl-b { grid-column: 1 / span 6; } .cl-d { grid-column: 7 / span 6; }
.cl-b .media, .cl-d .media { aspect-ratio: 5 / 4; }
.cl-e { grid-row: 3; }
@media (max-width: 900px) { .cl-b, .cl-d { grid-column: 1 / -1; margin-top: 0 !important; } }
.hs-track::after { content: ""; flex: 0 0 15px; }

/* Gallery: more breathing room between photos */
.gallery-grid { gap: clamp(20px, 2.6vw, 44px); grid-auto-rows: clamp(160px, 14vw, 280px); margin-top: 56px; }
@media (max-width: 860px) { .gallery-grid { gap: 14px; } }

/* ==========================================================================
   Gallery: contact-sheet grid (even 4-column rhythm, varied widths, vertical type)
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 17vw, 320px); grid-auto-flow: row; gap: clamp(22px, 2.4vw, 44px) clamp(18px, 2vw, 36px); margin-top: 56px; }
.gallery-grid .gallery-item { grid-column: auto !important; grid-row: auto !important; width: var(--w, 100%); justify-self: var(--j, start); height: 100%; }
.gallery-item figcaption { padding: 28px 14px 12px; }
.gallery-word { display: flex; align-items: center; justify-content: center; gap: 22px; writing-mode: vertical-rl; font-family: var(--display); font-size: clamp(15px, 1.15vw, 19px); color: var(--ink); letter-spacing: .02em; user-select: none; }
.gallery-word span:last-child { font-size: .9em; color: var(--taupe); }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 18px 14px; }
}

/* ---------- Contact Leasing pop-up ---------- */
.contact-modal { position: fixed; inset: 0; z-index: 320; background: rgba(35,25,23,.55); display: none; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.contact-modal.is-open { display: flex; animation: cmFade .25s ease; }
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }
.cm-card { position: relative; display: grid; grid-template-columns: 300px 1fr; width: min(1000px, 100%); background: var(--white, #fff); box-shadow: 0 30px 80px rgba(35,25,23,.25); margin: auto; }
.cm-info { background: #231917; color: #efeae4; padding: 48px 36px; }
.cm-info .cm-logo { width: 150px; height: auto; display: block; margin-bottom: 40px; }
.cm-info .eyebrow { color: #b8a27a; }
.cm-info .h-sm { color: #fff; margin: 28px 0 8px; font-size: 20px; }
.cm-info p { font-size: 14px; line-height: 1.7; color: #d6ccc0; margin: 0; }
.cm-info a { color: inherit; }
.cm-body { padding: 56px 48px 48px; }
.cm-body .h-md { margin: 8px 0 12px; }
.cm-lede { color: var(--muted); margin: 0 0 32px; }
.cm-actions { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cm-close { position: absolute; top: 14px; right: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 10px; color: var(--muted); background: none; border: 0; cursor: pointer; font-family: var(--sans); }
.cm-close:hover { color: var(--ink); }
.cm-success .btn { margin-top: 8px; }
@media (max-width: 760px) {
  .cm-card { grid-template-columns: 1fr; }
  .cm-info { order: 2; padding: 32px 24px; }
  .cm-body { padding: 48px 24px 32px; }
}
.us-links a, .cm-info a { color: inherit; text-decoration: none; }

/* Neighborhood list: text-only rows that expand to routes & website */
.place-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 18px 24px; cursor: pointer; }
.place-row .cat { display: flex; align-items: center; gap: 8px; }
.place-num { font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: 0; line-height: 1; padding: 3px 6px; background: var(--ink); color: var(--cream); }
.place-row .place-name { font-size: 20px; margin-top: 6px; }
.place-row .addr { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.place-row .times { display: flex; gap: 18px; font-size: 12.5px; color: var(--ink); }
.place-detail { padding: 0 24px 20px; }
.place-detail .links { margin-top: 0; }
.place-row { position: relative; padding-right: 64px; }
.place-row .place-plus { position: absolute; right: 24px; top: 50%; margin-top: -13px; }
.place.is-active .place-row .place-plus { transform: rotate(45deg); }
@keyframes resFlash { 0% { background: #efe4d2; } 100% { background: var(--white, #fff); } }
.listing.flash { animation: resFlash 1.6s ease; }

/* Residence list scrolls on its own; the page scrolls everywhere else */
@media (min-width: 1001px) {
  .finder .listings { scroll-behavior: auto; position: relative; max-height: calc(100vh - var(--header-h) - 120px); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--stone) transparent; }
  .finder .listings::-webkit-scrollbar { width: 6px; }
  .finder .listings::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
}

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 250; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--cream); border: 1px solid rgba(255,255,255,.18); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; box-shadow: 0 8px 24px rgba(35,25,23,.18); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #4a3a33; }
.to-top .ic { display: inline-flex; width: 18px; height: 18px; transform: rotate(-45deg); }
.to-top .ic svg { width: 100%; height: 100%; }
.to-top span:last-child { font-family: var(--nav, var(--sans)); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }
.plan-svg .unit.is-hover rect { fill: #7e6c57; stroke: #231917; }
.plan-svg .unit.is-hover text { fill: #fff; }
.listing:hover { border-color: var(--stone); }

/* Text-link hover: slide the arrow without changing the link's width (prevents neighbors from wrapping) */
.text-link { padding-right: 6px; }
.text-link:hover { gap: 8px; }
.text-link .ic { transition: transform .3s var(--ease); }
.text-link:hover .ic, .text-link:focus-visible .ic { transform: translateX(6px); }
.listing-actions { flex-wrap: nowrap; gap: 20px; }
.listing-actions .text-link { white-space: nowrap; letter-spacing: .14em; flex: 0 0 auto; }

/* Amenity row: auto-drifting horizontal scroller (not pinned), captions always fully visible */
.hscroll .hs-sticky { position: static; height: auto; padding: clamp(56px, 8vh, 100px) 0 clamp(56px, 8vh, 100px); overflow: visible; }
.hscroll .hs-track { overflow-x: auto; overflow-y: hidden; scroll-snap-type: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.hscroll .hs-track::-webkit-scrollbar { display: none; }
.hscroll .hs-card .media { max-height: 58vh; }
.hscroll .hs-card { padding-bottom: 4px; }
.hscroll .hs-card p { max-width: none; }
.hscroll .hs-track { cursor: grab; user-select: none; }
.hscroll .hs-track.is-dragging { cursor: grabbing; }
.map-canvas svg { overflow: visible; }
.hscroll .hs-track::after { flex: 0 0 15px; }

/* Neighborhood panel: always as tall as the map (no white gap on wide screens), scrollbar always shown */
@media (min-width: 961px) {
  .map-panel { max-height: none; height: 0; min-height: 100%; }
}
.map-list { scrollbar-width: thin; scrollbar-color: #b9ab9b #f3eee8; overflow-y: scroll; }
.map-list::-webkit-scrollbar { width: 8px; -webkit-appearance: none; }
.map-list::-webkit-scrollbar-track { background: #f3eee8; }
.map-list::-webkit-scrollbar-thumb { background: #b9ab9b; border-radius: 4px; }
/* Place numbers: outlined circle, legible digits */
.place-num { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; background: transparent; color: var(--ink); border: 1.5px solid currentColor; border-color: inherit; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: 0; line-height: 1; }

/* Neighborhood list: custom scrollbar that is always visible (native overlay scrollbars hide when idle) */
.map-panel { position: relative; }
.map-list { scrollbar-width: none; overflow-y: auto; }
.map-list::-webkit-scrollbar { display: none; width: 0; }
.list-rail { position: absolute; right: 4px; width: 6px; border-radius: 3px; background: #f1ebe4; }
.list-rail-thumb { position: absolute; left: 0; width: 100%; border-radius: 3px; background: #b9ab9b; cursor: grab; transition: background .2s; }
.list-rail-thumb:hover, .list-rail.is-drag .list-rail-thumb { background: #8f8173; }
.list-rail[hidden] { display: none; }
/* Place numbers: plain, same color as the category label, sharing its baseline */
.place-row .cat { align-items: baseline; gap: 8px; }
.place-num { display: inline; min-width: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .08em; line-height: 1; }
.place-num { font-size: 14px; font-weight: 700; -webkit-text-stroke: .35px currentColor; letter-spacing: .04em; }
.map-pin.is-hover .pin-dot { fill: #231917; transform: scale(1.18); }
.map-pin.is-hover .pin-name { opacity: 1; font-size: 13px; }
/* Home: divider sits just above the photo row (gap = side margin), extra space moves above the line */
.rule + .feature-split { padding-top: var(--edge); }
hr.rule:has(+ .feature-split) { margin-top: clamp(64px, 8.2vw, 142px); margin-left: var(--edge); margin-right: var(--edge); }

/* Amenity row pinned: scroll moves cards sideways, then the page continues */
.hscroll .hs-track { cursor: default; user-select: auto; }
.hscroll.is-pinned .hs-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 24px 0; }
.hscroll.is-pinned .hs-track { overflow: visible; will-change: transform; }
.hscroll.is-pinned .hs-card .media { max-height: var(--hs-media-max, 54vh); }
.hscroll .hs-track { position: relative; }

/* ---------- Gallery: scattered editorial rows (The Olivia-inspired) ---------- */
.gallery-grid { display: block; columns: auto; margin-top: 56px; }
.gallery-grid .g-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 1.6vw, 28px); align-items: start; margin-bottom: clamp(48px, 6vw, 110px); }
.gallery-grid .gallery-item { grid-column: var(--col) / span var(--span) !important; grid-row: 1 !important; width: 100%; height: auto; justify-self: stretch; margin-top: var(--drop, 0); overflow: visible; position: relative; }
.gallery-grid .gallery-item .media { aspect-ratio: var(--ar, .75); height: auto; overflow: hidden; }
.gallery-grid .gallery-item .media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .gallery-item figcaption { position: static; opacity: 1; transform: none; background: none; color: var(--muted); padding: 12px 0 0; display: flex; gap: 10px; align-items: baseline; font-size: 12px; letter-spacing: .04em; }
.gallery-grid .gallery-item .gi-num { font-family: var(--sans); font-style: normal; font-size: 11px; color: var(--taupe); }
.gallery-grid .gallery-item .gi-cat { margin-left: auto; color: var(--taupe); opacity: 1; }
.gallery-grid .gallery-item.is-hidden { display: none; }
.gallery-word { display: none !important; }
@media (max-width: 860px) {
  .gallery-grid .g-row { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 28px; margin-bottom: 28px; }
  .gallery-grid .gallery-item { grid-column: auto / span 6 !important; grid-row: auto !important; margin-top: 0; }
  .gallery-grid .g-row .gallery-item:nth-child(3n+2) { grid-column: 2 / span 5 !important; }
  .gallery-grid .g-row .gallery-item:nth-child(3n) { grid-column: 1 / span 4 !important; }
}

/* Nav "Schedule a Tour": dark brown at rest, light brown on hover/press, equal padding both sides */
.btn--nav { width: auto; padding: 0 18px; background: var(--cocoa); border-color: var(--cocoa); }
.btn--nav:hover, .btn--nav:focus-visible, .btn--nav:active, .btn--nav.is-pressed { background: var(--taupe); border-color: var(--taupe); }
.btn--nav .ic { margin-left: 0; }
/* Largest headings capped at 70px (design-page word list keeps its own size) */
.h-xl { font-size: clamp(40px, 4.4vw, 70px); }
/* No single-word last lines */
p, li, dd, figcaption, blockquote, .lede, .caption { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

/* Residences hero: title on its own full-width line, intro below */
@media (min-width: 861px) {
  .page-hero--stack .wrap { grid-template-columns: 1fr; gap: 28px; }
  .page-hero--stack h1 { white-space: nowrap; }
  .page-hero--stack .lede { max-width: 640px; }
}
/* Home page action links and buttons use the nav bar's type */
.page-index .text-link, .page-index main .btn, .page-index .stack-card .text-link, .page-index .cta-band .btn {
  font-family: var(--nav); font-size: 11px; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase;
}
.page-index main .btn, .page-index .cta-band .btn { font-weight: 600; background: var(--cocoa); border-color: var(--cocoa); padding: 0 18px; height: 41px; }
.page-index main .btn:hover, .page-index .cta-band .btn:hover { background: var(--taupe); border-color: var(--taupe); }
.page-index main .btn--light, .page-index .cta-band .btn--light { background: transparent; border-color: rgba(249,245,242,.6); }
.page-index main .btn--light:hover, .page-index .cta-band .btn--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
/* Draw-in list lines */
.draw-list li { position: relative; border-bottom: 0; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 110ms); }
.draw-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--stone); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); transition-delay: calc(var(--k, 0) * 110ms + 120ms); }
.draw-list.is-drawn li { opacity: 1; transform: none; }
.draw-list.is-drawn li::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .draw-list li { opacity: 1; transform: none; } .draw-list li::after { transform: none; } }
.chip .chip-ic { width: 20px; height: 20px; margin: -4px 8px -4px -6px; vertical-align: middle; flex: 0 0 auto; }
/* Residences hero: one-line title with the intro beside it */
@media (min-width: 1101px) {
  .page-hero--stack .wrap { grid-template-columns: auto minmax(280px, 520px); justify-content: space-between; gap: 64px; align-items: start; }
  .page-hero--stack .lede { max-width: 520px; padding-top: 34px; }
}
/* Home feature text: even space on both sides of the copy */
.feature-split .fs-copy { max-width: none; }
.feature-split--left .fs-copy { padding: 0 clamp(28px, 2.9vw, 50px); }
.feature-split--right .fs-copy { padding: 0 clamp(28px, 2.9vw, 50px); }
@media (min-width: 901px) {
  .feature-split--left { grid-template-columns: calc((100% + var(--edge)) * .7373) minmax(0, 1fr); }
  .feature-split--right { grid-template-columns: minmax(0, 1fr) calc((100% + var(--edge)) * .7373); }
}
.feature-split .fs-copy { min-width: 0; }
@media (max-width: 900px) { .feature-split .fs-copy, .feature-split--left .fs-copy, .feature-split--right .fs-copy { padding: 0 12px; } }
/* Residence thumbnails: the whole plan always fits inside its square, never cropped */
.listing .unit-plan { position: relative; }
.listing .unit-plan img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
