/* ==========================================================================
   Infinity Garden — site stylesheet
   Sibling of the Ferndale Garden IV system: same spacing scale and grid logic,
   different voice — charcoal, warm stone and bronze; Inter Display with Lora
   italic accents; pill controls; numbered chapters.
   Breakpoints: 1200 / 1024 / 960 (mobile nav) / 860 / 640 / 380.
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin subset, SIL Open Font Licence) ---------- */
@font-face { font-family: "Inter Display"; src: url("assets/inter-display-300.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("assets/inter-display-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Lora; src: url("assets/lora-italic-400.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f3f0ea;
  --white: #fbfaf7;
  --tint: #e8e3da;
  --stone: #d8d0c3;
  --ink: #1d2125;
  --text: #45494d;
  --muted: #6e7276;
  --accent: #8b6a48;          /* bronze */
  --accent-strong: #6e5338;
  --accent-soft: #d6bfa1;
  --dark: #1b1e21;
  --dark-2: #25292d;
  --line: #dbd4c9;
  --line-strong: #bdb3a4;
  --line-dark: rgba(255, 255, 255, 0.14);
  --focus: #b07a3c;

  --display: "Inter Display", Inter, "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --serif-italic: Lora, Georgia, "Times New Roman", serif;

  --max: 1560px;
  --gutter: clamp(20px, 5vw, 80px);
  --col-gap: clamp(40px, 6vw, 112px);
  --sp: clamp(88px, 10vw, 160px);
  --sp-block: clamp(40px, 5vw, 72px);
  --header-h: 88px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
body:not(.home-page) { padding-top: var(--header-h); }
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.65; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, h4, p, figure, ul, ol, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(46px, 6vw, 100px); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 4.2vw, 66px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; }
h1 em, h2 em, h3 em, .statement em, blockquote em { font-family: var(--serif-italic); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
p { text-wrap: pretty; }
p + p { margin-top: 1.1em; }
strong { font-weight: 500; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 200; background: var(--white); color: var(--ink); padding: 12px 20px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--sp); }
.block-gap { margin-top: var(--sp-block); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); }
.split-start { align-items: start; }
.split-end { align-items: end; }
.split-center { align-items: center; }
.split > :last-child { max-width: 540px; }

/* Numbered chapter label: "01 — The collection" */
.chapter { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.chapter span { font-family: var(--display); font-size: 14px; font-weight: 400; letter-spacing: 0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.chapter::after { content: ""; width: 48px; height: 1px; background: var(--line-strong); order: 1; }
.chapter span { order: 0; }
.chapter b { order: 2; font-weight: 500; }
.on-dark .chapter { color: #fff; }
.on-dark .chapter::after { background: rgba(255, 255, 255, 0.3); }
.on-dark .chapter span { color: var(--accent-soft); }

.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--text); }
.body-copy { color: var(--text); }
.statement { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.18; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.caption, .disclaimer { font-size: 14px; line-height: 1.55; color: var(--muted); }
.caption { margin-top: 14px; }
.disclaimer { margin-top: 28px; max-width: 900px; }
.caption a, .disclaimer a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Links & buttons ---------- */
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; color: var(--ink); }
.arrow-link::after {
  content: ""; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%231d2125' stroke-width='1.3'%3E%3Cpath d='M1 7h12M8 2l5 5-5 5'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s;
}
.arrow-link:hover::after { transform: translateX(4px); border-color: var(--ink); }
.on-dark .arrow-link { color: #fff; }
.on-dark .arrow-link::after { border-color: rgba(255, 255, 255, 0.4); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23ffffff' stroke-width='1.3'%3E%3Cpath d='M1 7h12M8 2l5 5-5 5'/%3E%3C/svg%3E"); }
.on-dark .arrow-link:hover::after { border-color: #fff; }
.spaced { margin-top: 32px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-size: 15.5px; font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button.accent { background: var(--accent); border-color: var(--accent); }
.button.accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button.light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button.light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.button.ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.button.outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.button.outline:hover { border-color: var(--ink); background: transparent; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }

/* ---------- Media ---------- */
.image-frame { position: relative; overflow: hidden; background: var(--tint); border-radius: var(--radius); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a:hover .image-frame img, .photo-button:hover img { transform: scale(1.03); }
.photo-button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; line-height: 0; text-align: left; }
.enlarge {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(251, 250, 247, 0.92); color: var(--ink); line-height: 1;
  transition: transform 0.25s var(--ease);
}
.photo-button:hover .enlarge { transform: scale(1.08); }
.image-label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  background: rgba(27, 30, 33, 0.72); color: #fff; font-size: 14px; line-height: 1.3; letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); color: var(--ink); transition: color 0.35s ease, box-shadow 0.35s ease; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(243, 240, 234, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: opacity 0.35s ease, background-color 0.35s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(29, 33, 37, 0.06); }
.header-inner {
  height: 100%; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 36px;
}
.brand { position: relative; display: block; justify-self: start; }
.brand img { height: 40px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; transition: opacity 0.35s ease; }
.brand .brand-light { position: absolute; left: 0; top: 0; opacity: 0; }
.desktop-nav { justify-self: end; display: flex; align-items: center; gap: clamp(22px, 2.4vw, 40px); }
.desktop-nav a { position: relative; padding: 8px 0; font-size: 15px; letter-spacing: 0.01em; }
.desktop-nav a::before { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform 0.3s var(--ease); }
.desktop-nav a:hover::before, .desktop-nav a[aria-current]::before { transform: translateX(-50%) scale(1); }
.header-cta { min-height: 44px; padding: 9px 24px; font-size: 14.5px; }
.menu-toggle { display: none; align-items: center; gap: 12px; height: 44px; padding: 0 0 0 4px; border: 0; background: none; color: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.menu-lines { position: relative; display: block; width: 26px; height: 10px; }
.menu-lines span { position: absolute; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease), width 0.3s var(--ease); }
.menu-lines span:first-child { top: 0; width: 100%; }
.menu-lines span:last-child { top: 8.5px; width: 65%; }
.menu-toggle[aria-expanded="true"] .menu-lines span { width: 100%; top: 4.25px; }
.menu-toggle[aria-expanded="true"] .menu-lines span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines span:last-child { transform: rotate(-45deg); }

/* Light-on-dark header: over the home hero, and while the dark menu is open */
.site-header.is-transparent:not(.scrolled), .site-header.menu-open { color: #fff; }
.site-header.is-transparent:not(.scrolled)::before { opacity: 0; }
.site-header.menu-open::before { opacity: 1; background: var(--dark); border-color: var(--line-dark); }
.site-header.is-transparent:not(.scrolled) .brand-dark, .site-header.menu-open .brand-dark { opacity: 0; }
.site-header.is-transparent:not(.scrolled) .brand-light, .site-header.menu-open .brand-light { opacity: 1; }
.site-header.is-transparent:not(.scrolled) .header-cta, .site-header.menu-open .header-cta { background: var(--white); border-color: var(--white); color: var(--ink); }
.site-header.is-transparent:not(.scrolled) .header-cta:hover, .site-header.menu-open .header-cta:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.mobile-nav { display: none; }

/* ==========================================================================
   Home hero — full window, Vimeo background film over a poster frame
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; height: 100vh; height: 100svh; min-height: 640px; background: var(--dark); color: #fff; }
.hero-media, .hero-poster, .hero-video { position: absolute; inset: 0; }
.hero-poster { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 55%); transform: scale(1.04); animation: hero-settle 2.4s var(--ease) forwards; }
@keyframes hero-settle { to { transform: scale(1); } }
.hero-video { overflow: hidden; opacity: 0; transition: opacity 1.4s ease; container-type: size; }
.hero.is-playing .hero-video { opacity: 1; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 22, 25, 0.55) 0, rgba(20, 22, 25, 0) 180px),
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(20, 22, 25, 0.42) 0, rgba(20, 22, 25, 0) 100%),
    linear-gradient(0deg, rgba(20, 22, 25, 0.7) 0, rgba(20, 22, 25, 0) 34%);
}
.hero-inner { position: absolute; inset: 0; z-index: 2; margin-inline: auto; display: flex; align-items: center; justify-content: center; padding-top: var(--header-h); padding-bottom: 120px; text-align: center; }
.hero-copy { max-width: 980px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 14px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88); }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: rgba(255, 255, 255, 0.5); }
.hero h1 { color: #fff; font-size: clamp(50px, 7.4vw, 128px); line-height: 0.98; letter-spacing: -0.045em; text-shadow: 0 2px 40px rgba(10, 12, 14, 0.25); }
.hero h1 em { color: var(--accent-soft); }
.hero-copy p { max-width: 520px; margin: 28px auto 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.hero-copy .button-row { justify-content: center; margin-top: 36px; gap: 12px; }

.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255, 255, 255, 0.18); background: rgba(20, 22, 25, 0.28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(24px, 4vw, 64px); padding: 0; list-style: none; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.hero-stats li { display: flex; align-items: baseline; gap: 10px; }
.hero-stats strong { font-family: var(--display); font-size: 26px; font-weight: 300; letter-spacing: -0.02em; color: #fff; }
.hero-toggle {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 40px; padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; background: none; color: #fff; font-size: 14px;
  transition: border-color 0.2s, background-color 0.2s;
}
.hero-toggle:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.hero-toggle .icon-play, .hero-toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero-toggle[aria-pressed="true"] .icon-play { display: block; }
.hero:not(.has-video) .hero-toggle { display: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 104px; z-index: 3; width: 1px; height: 44px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ==========================================================================
   Home sections
   ========================================================================== */
.intro-grid { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); column-gap: var(--col-gap); align-items: end; }
.intro-aside { padding-bottom: 8px; color: var(--text); font-size: 16px; }
.intro-aside .arrow-link { margin-top: 24px; }

.inside-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.inside-card a { display: block; }
.inside-card .image-frame { aspect-ratio: 4 / 5; }
.inside-card .card-index { display: block; margin: 22px 0 8px; font-family: var(--display); font-size: 14px; color: var(--accent); letter-spacing: 0.04em; }
.inside-card h3 { margin-bottom: 10px; }
.inside-card p { color: var(--text); font-size: 16px; max-width: 420px; }

.comfort-band { margin-top: var(--sp); padding-block: var(--sp); background: var(--dark); color: #fff; }
.comfort-band h2 { color: #fff; }
.comfort-band .lead { color: rgba(255, 255, 255, 0.74); }
.comfort-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.comfort-item { padding: 36px clamp(16px, 2vw, 32px) 0 0; }
.comfort-item + .comfort-item { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line-dark); }
.comfort-item svg { width: 34px; height: 34px; margin-bottom: 28px; color: var(--accent-soft); }
.comfort-item h3 { color: #fff; font-size: clamp(22px, 1.8vw, 27px); margin-bottom: 10px; }
.comfort-item p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.comfort-band .arrow-link { margin-top: 48px; }

.place-feature { position: relative; }
.place-feature-media { height: clamp(520px, 78vh, 860px); border-radius: 0; }
.place-card {
  position: absolute; right: var(--gutter); bottom: clamp(32px, 5vw, 72px); z-index: 2;
  width: min(560px, calc(100% - 2 * var(--gutter))); padding: clamp(28px, 3.4vw, 52px);
  background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(20, 22, 25, 0.18);
}
.place-card h2 { font-size: clamp(32px, 3.2vw, 50px); margin-bottom: 18px; }
.place-card > p { color: var(--text); }
.pillars { display: grid; gap: 0; margin-top: 28px; padding: 0; list-style: none; }
.pillars li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.pillars strong { font-family: var(--display); font-size: 18px; font-weight: 400; color: var(--ink); }
.place-card .arrow-link { margin-top: 24px; }

.team-strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: center; }
.team-strip h2 { margin-bottom: 20px; }
.team-strip p { color: var(--text); max-width: 480px; }
.logo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 200px; padding: 28px 24px; }
.logo-cell + .logo-cell { border-left: 1px solid var(--line); }
.logo-cell img { max-height: 54px; width: auto; max-width: 150px; object-fit: contain; }
.logo-cell span { font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.closing-cta { margin-top: var(--sp); padding-block: clamp(80px, 9vw, 140px); background: var(--tint); text-align: center; }
.closing-cta .chapter { justify-content: center; }
.closing-cta .chapter::after { display: none; }
.closing-cta h2 { font-size: clamp(40px, 5vw, 80px); max-width: 980px; margin-inline: auto; }
.closing-cta p { max-width: 560px; margin: 24px auto 0; color: var(--text); }
.closing-cta .button-row { justify-content: center; }

/* ==========================================================================
   Inner page head — centred, with an optional full-width image band
   ========================================================================== */
.page-head { padding-top: clamp(56px, 7vw, 120px); padding-bottom: clamp(48px, 5vw, 88px); text-align: center; }
.page-head .chapter { justify-content: center; }
.page-head .chapter::after { display: none; }
.page-head h1 { max-width: 1100px; margin-inline: auto; }
.page-head .lead { max-width: 640px; margin: 28px auto 0; }
.page-band { height: clamp(320px, 46vw, 680px); overflow: hidden; background: var(--tint); }
.page-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.page-top { padding-top: clamp(56px, 7vw, 120px); }

/* Neighbourhood */
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.pillar { padding-top: 28px; border-top: 1px solid var(--ink); }
.pillar-num { display: block; margin-bottom: 40px; font-family: var(--display); font-size: clamp(54px, 5vw, 80px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--text); max-width: 420px; }
.park-pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); align-items: end; }
.park-pair .image-frame { aspect-ratio: 3 / 2; }
.park-pair figure:last-child .image-frame { aspect-ratio: 4 / 5; }
.park-pair h3 { margin: 24px 0 10px; }
.park-pair p { color: var(--text); max-width: 520px; }
.access-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); padding: 0; list-style: none; }
.access-list li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.access-list li:nth-child(-n + 2) { border-top: 1px solid var(--line); }
.access-list svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--accent); }

/* Map explorer */
.map-explorer { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.map-toolbar .filter-pills { flex-wrap: wrap; }
.map-toolbar-note { font-size: 14px; color: var(--muted); white-space: nowrap; }
.filter-pills { display: flex; gap: 8px; }
.pill { min-height: 40px; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font-size: 14.5px; white-space: nowrap; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.map-body { display: grid; grid-template-columns: 320px 1fr; min-height: 620px; }
.map-sidebar { max-height: 620px; overflow: auto; border-right: 1px solid var(--line); scrollbar-width: thin; scroll-behavior: smooth; scroll-padding-top: 64px; }
.map-list-title { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.place-button { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 18px 22px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; transition: background-color 0.2s; }
.place-button:hover { background: #f3efe8; }
.place-button[aria-pressed="true"] { background: #ece5da; }
.place-number { display: grid; place-items: center; min-width: 28px; height: 28px; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 14px; }
.place-button[aria-pressed="true"] .place-number { background: var(--accent); border-color: var(--accent); color: #fff; }
.place-button strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.35; }
.place-button small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.map-canvas-wrap { position: relative; min-height: 620px; overflow: hidden; background: #e9e4db; }
.map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Two-class selector so Mapbox’s own `.mapboxgl-map { position: relative }` can never collapse the map to 0px. */
.map-canvas-wrap > .map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-loading { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 48px; background: #ebe6dd; text-align: center; font-size: 16px; }
.map-loading.hidden { display: none; }
.map-loading p { max-width: 340px; }
.map-spinner { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
.map-loading.failed .map-spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-controls { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.map-control { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; box-shadow: 0 2px 12px rgba(29, 33, 37, 0.08); }
.map-control:hover { border-color: var(--ink); }
.map-control[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.map-control.icon-only { width: 40px; justify-content: center; padding: 8px; }
.map-control svg { width: 17px; height: 17px; }
.project-chip { position: absolute; left: 18px; bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 36px); padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 4px 24px rgba(29, 33, 37, 0.12); font-size: 14px; }
.project-chip svg { width: 22px; height: 22px; color: var(--accent); }
.project-chip strong { display: block; font-size: 14.5px; font-weight: 500; }
.project-chip span { display: block; color: var(--muted); }
.map-info { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; min-height: 128px; padding: 24px 28px; border-top: 1px solid var(--line); }
.map-info h3 { font-size: 26px; margin-bottom: 4px; }
.map-info p { max-width: 680px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.map-info-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.map-info .button { min-height: 44px; padding: 10px 22px; font-size: 14.5px; }
.map-info .text-link { font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.route-status { padding-top: 8px; font-size: 14px; color: var(--muted); }
.map-marker { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #8f8576; border-radius: 50%; background: var(--white); color: var(--ink); font: 500 14px var(--sans); box-shadow: 0 2px 8px rgba(29, 33, 37, 0.16); cursor: pointer; }
.map-marker.selected, .map-marker[aria-pressed="true"] { width: 40px; height: 40px; background: var(--accent); border-color: var(--accent); color: #fff; }
.project-marker { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid #fff; border-radius: 50% 50% 50% 0; background: var(--ink); color: #fff; transform: rotate(-45deg); box-shadow: 0 0 0 8px rgba(139, 106, 72, 0.22); cursor: pointer; }
.project-marker span { font: 400 16px var(--display); letter-spacing: 0.02em; transform: rotate(45deg); }
.mapboxgl-popup-content { min-width: 210px; max-width: 300px; padding: 18px 38px 18px 20px !important; border-radius: var(--radius) !important; color: var(--ink); font: 15.5px/1.5 var(--sans); box-shadow: 0 8px 30px rgba(29, 33, 37, 0.17); }
.mapboxgl-popup-content strong { display: block; margin-bottom: 6px; font-size: 16.5px; font-weight: 500; line-height: 1.35; }
.mapboxgl-popup-content span { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); }
.mapboxgl-popup-close-button { right: 3px !important; top: 2px !important; min-width: 32px; min-height: 32px; color: var(--ink); font-size: 24px !important; }
.mapboxgl-ctrl-attrib, .mapboxgl-ctrl-scale { font-size: 14px !important; }
.mapboxgl-ctrl-group button { width: 38px !important; height: 38px !important; }
.map-explorer:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: auto; border-radius: 0; }
.map-explorer:fullscreen .map-body { flex: 1; }
.map-explorer:fullscreen .map-canvas-wrap { min-height: 70vh; height: auto; flex: 1; }
.raster-map-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: grab; touch-action: none; user-select: none; }
.raster-map-image:active { cursor: grabbing; }
.raster-hit-layer { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.raster-pin-hit { position: absolute; width: 36px; height: 48px; padding: 0; transform: translate(-50%, -100%); border: 0; border-radius: 20px 20px 12px 12px; background: transparent; pointer-events: auto; }
.raster-pin-hit:hover, .raster-pin-hit:focus-visible { background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 3px var(--focus); }
.raster-place-popup { position: absolute; z-index: 3; width: max-content; max-width: 280px; padding: 16px 38px 16px 18px; transform: translate(-50%, -100%); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 15.5px; line-height: 1.4; box-shadow: 0 8px 30px rgba(29, 33, 37, 0.19); pointer-events: auto; }
.raster-place-popup::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; transform: translateX(-50%) rotate(45deg); background: var(--white); }
.raster-place-popup strong { display: block; max-width: 220px; font-size: 16.5px; font-weight: 500; }
.raster-place-popup small { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); }
.raster-place-popup button { position: absolute; top: 3px; right: 3px; width: 32px; height: 32px; border: 0; background: none; color: var(--ink); font-size: 23px; }
.raster-zoom { position: absolute; top: 18px; right: 12px; z-index: 2; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: 0 2px 12px rgba(29, 33, 37, 0.08); }
.raster-zoom button { width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font-size: 22px; line-height: 1; }
.raster-zoom button + button { border-top: 1px solid var(--line); }
.raster-hint { position: absolute; left: 150px; bottom: 10px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: rgba(251, 250, 247, 0.9); color: var(--ink); font-size: 14px; pointer-events: none; }

/* ==========================================================================
   The homes — tabbed feature explorer
   ========================================================================== */
.check-list { display: grid; gap: 0; margin-top: 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.extras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; align-self: stretch; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.extras-grid > div { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 220px; padding: clamp(22px, 2.4vw, 36px); background: var(--white); }
.extras-grid svg { width: 32px; height: 32px; color: var(--accent); }
.extras-grid h3 { font-size: clamp(20px, 1.6vw, 24px); }
.extras-grid p { margin-top: 8px; font-size: 15px; color: var(--text); }

.comfort-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; padding: clamp(36px, 5vw, 80px); border-radius: var(--radius); background: var(--dark); color: #fff; }
.comfort-detail h2 { color: #fff; }
.comfort-detail .lead { color: rgba(255, 255, 255, 0.76); }
.comfort-detail .comfort-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 0; }
.comfort-detail .comfort-item { padding: 28px 28px 28px 0; border-top: 1px solid var(--line-dark); }
.comfort-detail .comfort-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.comfort-detail .comfort-item + .comfort-item:nth-child(odd) { border-left: 0; padding-left: 0; }
.comfort-detail .comfort-item svg { margin-bottom: 18px; }

/* ==========================================================================
   Floorplans
   ========================================================================== */
.home-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.home-type { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.home-type-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.home-type-num { font-family: var(--display); font-size: clamp(96px, 10vw, 160px); font-weight: 300; line-height: 0.82; letter-spacing: -0.06em; color: var(--ink); }
.home-type-head h2 { font-size: clamp(28px, 2.6vw, 40px); text-align: right; }
.home-type-head h2 small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.home-type .check-list { margin-top: 8px; }
.home-type .check-list li:first-child { border-top: 0; }
.home-type .check-list li:last-child { border-bottom: 0; }
.plan-note { margin-top: auto; padding-top: 28px; }
.plan-note p { padding: 16px 18px; border-radius: var(--radius); background: var(--paper); font-size: 14.5px; color: var(--text); }
.plan-note .button { margin-top: 20px; width: 100%; white-space: normal; text-align: center; }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); counter-reset: level; }
.level { padding-top: 24px; border-top: 1px solid var(--ink); }
.level span { display: block; margin-bottom: 18px; font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.level h3 { margin-bottom: 10px; }
.level p { color: var(--text); font-size: 16px; max-width: 420px; }

/* ==========================================================================
   Team
   ========================================================================== */
.developer-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; }
.developer-feature .team-logo { height: 64px; width: auto; margin-bottom: 32px; }
.developer-feature p { color: var(--text); max-width: 520px; }
blockquote { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 84px); line-height: 1.02; letter-spacing: -0.04em; color: var(--ink); }
blockquote cite { display: block; margin-top: 24px; font-family: var(--sans); font-size: 14px; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.partner { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.partner-logo { display: flex; align-items: center; height: 60px; margin-bottom: 40px; }
.partner-logo img { max-height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.partner .chapter { margin-bottom: 14px; }
.partner h3 { margin-bottom: 16px; font-size: clamp(26px, 2.4vw, 36px); }
.partner p { color: var(--text); }

/* ==========================================================================
   Register
   ========================================================================== */
.register-section { padding-top: clamp(32px, 4vw, 64px); }
.register-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.register-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(32px, 4vw, 60px); border-radius: var(--radius); background: var(--dark); color: #fff; }
.register-panel h1 { color: #fff; font-size: clamp(44px, 4.6vw, 76px); margin-bottom: 24px; }
.register-panel h1 em { color: var(--accent-soft); }
.register-panel .lead { color: rgba(255, 255, 255, 0.78); }
.visit-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.visit-block h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.visit-block p { color: rgba(255, 255, 255, 0.76); font-size: 15.5px; }
.contact-list { display: grid; gap: 0; margin-top: 18px; padding: 0; list-style: none; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.contact-list span { color: rgba(255, 255, 255, 0.66); }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--accent-soft); }
.form-panel { padding: clamp(28px, 4vw, 60px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.lead-form h2 { font-size: clamp(30px, 2.8vw, 42px); margin-bottom: 8px; }
.form-note { margin-bottom: 32px; font-size: 14.5px; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #cfc7bb; border-radius: var(--radius); background: #fff; color: var(--ink); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231d2125' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--accent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 106, 72, 0.18); }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; font-size: 14px; line-height: 1.6; color: var(--text); }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.lead-form .button { margin-top: 28px; min-width: 220px; }
.form-status { margin-top: 22px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #efe8dc; font-size: 15.5px; }
.form-status:empty { display: none; }
.form-status.error { border-color: #a35b3a; background: #f5e4da; }
.form-success h2 { margin-bottom: 16px; }
.form-success p { color: var(--text); }
.form-success a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }

.faq-list details { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq.split > :last-child { max-width: 720px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--display); font-size: 20px; font-weight: 400; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--sans); font-size: 18px; font-weight: 300; line-height: 1; transition: transform 0.3s var(--ease), background-color 0.2s; }
details[open] summary::after { transform: rotate(45deg); background: var(--tint); }
details p { padding: 14px 56px 0 0; color: var(--text); }
details a { text-decoration: underline; text-underline-offset: 3px; }

/* Privacy & 404 */
.privacy-copy { max-width: 780px; }
.privacy-copy h1 { font-size: clamp(40px, 4.6vw, 68px); margin-bottom: 36px; }
.privacy-copy h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 44px 0 14px; }
.privacy-copy p { color: var(--text); }
.privacy-copy a { text-decoration: underline; text-underline-offset: 3px; }
.notfound { display: flex; align-items: center; min-height: calc(80vh - var(--header-h)); padding-block: clamp(64px, 10vw, 140px); text-align: center; }
.notfound .lead { max-width: 520px; margin: 24px auto 0; }
.notfound .button-row { justify-content: center; }

/* Dialog (image lightbox) */
dialog { color: var(--ink); }
.lightbox { width: 1280px; max-width: 94vw; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 22, 25, 0.9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 84svh; object-fit: contain; border-radius: var(--radius); }
.lightbox-caption { margin-top: 14px; color: rgba(255, 255, 255, 0.86); font-size: 15px; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: clamp(64px, 7vw, 112px) 0 32px; background: var(--dark); color: #fff; }
.footer-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: end; padding-bottom: clamp(48px, 5vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-lead p.footer-statement { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.1; letter-spacing: -0.03em; }
.footer-lead p.footer-statement em { font-family: var(--serif-italic); color: var(--accent-soft); letter-spacing: -0.01em; }
.footer-lead .button-row { justify-content: flex-end; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
.footer-brand img { height: 44px; width: auto; max-width: 240px; object-fit: contain; object-position: left; }
.footer-brand p { margin-top: 22px; font-size: 14.5px; color: rgba(255, 255, 255, 0.62); max-width: 280px; }
.footer-column h3 { margin: 4px 0 18px; font: 500 14px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); }
.footer-column a, .footer-column p { font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, 0.86); }
.footer-column a { display: block; width: fit-content; }
.footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-column p { margin: 0 0 14px; }
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer-bottom p { max-width: 780px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.footer-meta { text-align: right; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.footer-meta > a { display: inline-block; margin-bottom: 8px; color: rgba(255, 255, 255, 0.86); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta span { display: block; }
.footer-meta span a { text-decoration: underline; text-underline-offset: 3px; }

/* Scroll reveal (added by app.js only when motion is allowed) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1800px) { :root { --max: 1680px; } }
@media (min-width: 961px) and (max-height: 780px) {
  .hero h1 { font-size: clamp(48px, 10.5vh, 96px); }
  .eyebrow { margin-bottom: 20px; }
  .hero-copy p { margin-top: 20px; }
  .hero-copy .button-row { margin-top: 26px; }
  .scroll-cue { display: none; }
}

@media (max-width: 1200px) {
  :root { --header-h: 80px; }
  .header-inner { gap: 28px; }
  .desktop-nav { gap: 24px; }
  .desktop-nav a { font-size: 14.5px; }
  .comfort-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comfort-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .comfort-item:nth-child(n + 3) { margin-top: 40px; border-top: 1px solid var(--line-dark); }
  .map-body { grid-template-columns: 280px 1fr; }
  .map-info { grid-template-columns: 1fr; }
  .map-toolbar-note { display: none; }
  .intro-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .intro-aside { max-width: 560px; }
}

@media (max-width: 1024px) {
  .comfort-detail { grid-template-columns: 1fr; row-gap: 32px; }
  .home-types { grid-template-columns: 1fr; }
  .home-type { max-width: 760px; }
  .register-layout { grid-template-columns: 1fr; }
  .register-panel { position: static; }
}

/* Tablet & phone: mobile navigation */
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 18px; }
  .brand img { height: 34px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { min-height: 40px; padding: 8px 18px; font-size: 14px; }

  .mobile-nav {
    position: fixed; inset: 0; z-index: 59; display: block; overflow-y: auto; overscroll-behavior: contain;
    padding-top: var(--header-h); background: var(--dark); color: #fff; animation: nav-in 0.4s var(--ease);
  }
  .mobile-nav[hidden] { display: none !important; }
  @keyframes nav-in { from { opacity: 0; } to { opacity: 1; } }
  .mobile-nav-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 100%; padding: 28px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
  .mobile-nav-links { display: flex; flex-direction: column; counter-reset: nav; }
  .mobile-nav-links a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font: 300 clamp(32px, 7vw, 48px)/1.05 var(--display); letter-spacing: -0.035em; animation: link-in 0.6s var(--ease) both; }
  .mobile-nav-links a::before { counter-increment: nav; content: "0" counter(nav); font: 400 14px var(--display); letter-spacing: 0.04em; color: var(--accent-soft); transform: translateY(-14px); }
  .mobile-nav-links a:nth-child(2) { animation-delay: 0.04s; } .mobile-nav-links a:nth-child(3) { animation-delay: 0.08s; } .mobile-nav-links a:nth-child(4) { animation-delay: 0.12s; } .mobile-nav-links a:nth-child(5) { animation-delay: 0.16s; }
  @keyframes link-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .mobile-nav-links a[aria-current] { color: var(--accent-soft); }
  .mobile-nav-foot .button { width: 100%; }
  .mobile-nav-foot p { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.64); }
  .mobile-nav-foot p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

  .hero-inner { padding-bottom: 140px; }
  .scroll-cue { display: none; }
  .inside-cards { grid-template-columns: 1fr 1fr; }
  .inside-card:last-child { grid-column: 1 / -1; }
  .inside-card:last-child .image-frame { aspect-ratio: 16 / 9; }
  .team-strip { grid-template-columns: 1fr; row-gap: 40px; }
  .developer-feature { grid-template-columns: 1fr; row-gap: 40px; }
  .park-pair { grid-template-columns: 1fr 1fr; }
  .park-pair figure:last-child .image-frame { aspect-ratio: 3 / 2; }
  .map-body { grid-template-columns: 240px 1fr; }
  .place-button { padding: 16px; }
  .map-controls .icon-only { display: none; }
  .footer-lead { grid-template-columns: 1fr; row-gap: 28px; }
  .footer-lead .button-row { justify-content: flex-start; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; row-gap: 24px; }
  .split > :last-child { max-width: 620px; }
  .split-end, .split-center { align-items: start; }
  .pillars-grid, .levels { grid-template-columns: 1fr; row-gap: 40px; }
  .pillar-num { margin-bottom: 20px; }
  .partner-grid { grid-template-columns: 1fr; }
  .place-feature-media { height: clamp(360px, 70vw, 560px); }
  .place-card { position: relative; right: auto; bottom: auto; width: auto; margin: -80px var(--gutter) 0; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --header-h: 66px; --sp: 80px; --sp-block: 36px; --col-gap: 24px; }
  body { font-size: 16.5px; }
  h2 { font-size: clamp(34px, 9.4vw, 46px); }
  .statement { font-size: clamp(26px, 7.4vw, 34px); }
  .brand img { height: 30px; max-width: 170px; }
  .header-inner { gap: 12px; }
  .menu-label { display: none; }
  .header-cta { min-height: 38px; padding: 7px 16px; font-size: 14px; }
  .button { min-height: 50px; padding: 12px 24px; font-size: 15px; }

  .hero { min-height: 580px; }
  .hero-inner { align-items: flex-end; padding-bottom: 150px; text-align: left; justify-content: flex-start; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(20, 22, 25, 0.5) 0, rgba(20, 22, 25, 0) 140px),
      linear-gradient(0deg, rgba(20, 22, 25, 0.88) 0, rgba(20, 22, 25, 0.55) 45%, rgba(20, 22, 25, 0) 75%);
  }
  .eyebrow { margin-bottom: 18px; font-size: 14px; letter-spacing: 0.16em; }
  .eyebrow::after { display: none; }
  .hero h1 { font-size: clamp(44px, 13.4vw, 60px); }
  .hero-copy p { margin: 18px 0 0; font-size: 16.5px; max-width: 360px; }
  .hero-copy .button-row { justify-content: flex-start; margin-top: 24px; gap: 10px; }
  .hero-copy .button { flex: 1 1 auto; }
  .hero-bar-inner { min-height: 0; padding-block: 16px calc(16px + env(safe-area-inset-bottom)); gap: 12px; }
  .hero-stats { gap: 4px 20px; font-size: 14px; }
  .hero-stats li:nth-child(n + 3) { display: none; }
  .hero-stats strong { font-size: 21px; }
  .hero-toggle { padding: 0 12px; min-height: 36px; }
  .hero-toggle .toggle-label { display: none; }

  .inside-cards { grid-template-columns: 1fr; row-gap: 48px; }
  .inside-card .image-frame, .inside-card:last-child .image-frame { aspect-ratio: 4 / 3; }
  .comfort-grid { grid-template-columns: 1fr; }
  .comfort-item, .comfort-item + .comfort-item { padding: 28px 0; border-left: 0; margin-top: 0; }
  .comfort-item + .comfort-item { border-top: 1px solid var(--line-dark); }
  .comfort-item:nth-child(n + 3) { margin-top: 0; }
  .comfort-item svg { margin-bottom: 18px; }
  .pillars li { grid-template-columns: 1fr; gap: 2px; }
  .place-card { margin: -56px 12px 0; padding: 26px 22px; }
  .logo-row { grid-template-columns: 1fr; }
  .logo-cell { flex-direction: row; align-items: center; min-height: 0; padding: 22px 0; }
  .logo-cell + .logo-cell { border-left: 0; border-top: 1px solid var(--line); }
  .logo-cell img { max-height: 44px; max-width: 120px; }
  .closing-cta { text-align: left; }
  .closing-cta .chapter, .closing-cta .button-row { justify-content: flex-start; }
  .closing-cta p { margin-left: 0; }
  .closing-cta h2 { font-size: clamp(38px, 10.4vw, 50px); }

  .page-head { padding-top: 44px; padding-bottom: 40px; text-align: left; }
  .page-head .chapter { justify-content: flex-start; }
  .page-head h1 { font-size: clamp(42px, 12vw, 58px); }
  .page-head .lead { margin-left: 0; }
  .page-band { height: 280px; }
  .park-pair { grid-template-columns: 1fr; row-gap: 40px; }
  .access-list { grid-template-columns: 1fr; }
  .access-list li:nth-child(2) { border-top: 0; }

  .extras-grid { grid-template-columns: 1fr; }
  .extras-grid > div { min-height: 0; gap: 20px; }
  .comfort-detail { padding: 32px 22px; margin-inline: calc(var(--gutter) * -0.5); }
  .comfort-detail .comfort-grid { grid-template-columns: 1fr; }
  .comfort-detail .comfort-item, .comfort-detail .comfort-item:nth-child(even) { padding: 24px 0; border-left: 0; }

  .home-type-head { flex-direction: column; align-items: flex-start; }
  .home-type-head h2 { text-align: left; }
  .home-type-num { font-size: 104px; }
  .home-type, .partner, .form-panel { padding: 26px 20px; }
  .register-panel { padding: 32px 22px; }
  .contact-list li { flex-direction: column; gap: 2px; }
  .lead-form .button { width: 100%; }
  details p { padding-right: 8px; }
  summary { font-size: 18px; }

  .map-toolbar { padding: 14px 16px; overflow-x: auto; scrollbar-width: none; }
  .map-toolbar::-webkit-scrollbar { display: none; }
  .map-toolbar .filter-pills { flex-wrap: nowrap; min-width: max-content; }
  .map-body { display: flex; flex-direction: column-reverse; min-height: 0; }
  .map-canvas-wrap { flex-shrink: 0; height: clamp(380px, 62svh, 520px); min-height: 0; }
  .map-sidebar { display: grid; grid-template-columns: 1fr 1fr; align-content: start; max-height: 260px; border-right: 0; border-top: 1px solid var(--line); }
  .map-list-title { grid-column: 1 / -1; padding: 12px 16px; }
  .place-button { gap: 10px; padding: 14px 12px; border-right: 1px solid var(--line); }
  .place-button strong { font-size: 14.5px; }
  .place-button small { font-size: 14px; }
  .place-number { min-width: 24px; height: 24px; font-size: 14px; }
  .map-controls { top: 12px; left: 12px; right: 56px; gap: 6px; }
  .map-control { min-height: 38px; padding: 7px 11px; font-size: 14px; }
  .map-controls .icon-only { display: inline-flex; width: 38px; }
  .project-chip { left: 12px; bottom: 36px; padding: 10px 14px; }
  .map-info { padding: 20px 18px; min-height: 0; }
  .map-info h3 { font-size: 23px; }
  .raster-hint { left: 10px; right: 10px; bottom: 26px; width: fit-content; }
  .raster-zoom { top: 64px; }

  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; column-gap: 24px; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; gap: 20px; }
  .footer-meta { text-align: left; }
  .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .fields { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .brand img { height: 26px; }
  .header-cta { padding: 7px 12px; font-size: 14px; }
  .hero h1 { font-size: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .map-sidebar { grid-template-columns: 1fr; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .hero h1 { font-size: 44px; }
  .hero-copy p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-poster { transform: none; }
  .reveal { opacity: 1; transform: none; }
}


/* Original Infinity Garden identity and full rendering compositions. */
:root { --header-h: 116px; }
.brand img { height: 86px; width: auto; max-width: 190px; }
.footer-brand img { height: 112px; max-width: 200px; }
.inside-card .image-frame, .inside-card:last-child .image-frame, .feature-media { aspect-ratio: 1400 / 1147; }
.photo-button:hover img { transform: none; }
.local-life { max-width: 390px; margin-top: 36px; }
.local-life img { width: 100%; height: auto; border-radius: var(--radius); }
.local-life figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Six published plan types, with access to every original drawing. */
.plans-toolbar { position: sticky; top: var(--header-h); z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; margin-bottom: 36px; background: var(--paper); border-block: 1px solid var(--line); }
.plan-filters { display: flex; gap: 8px; }
.plan-filters button { min-height: 44px; padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: 15px; white-space: nowrap; }
.plan-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.plans-toolbar > p { font-size: 14px; color: var(--muted); white-space: nowrap; }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.plan-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.8vw, 40px); }
.plan-card-head { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.plan-card-head h2 { font-size: clamp(32px, 3vw, 46px); }
.plan-card-head > span { font-size: 15px; color: var(--muted); }
.plan-preview { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #fff; }
.plan-preview img { width: 100%; height: auto; }
.plan-preview > span { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; background: var(--ink); color: #fff; border-radius: 99px; font-size: 14px; }
.plan-area { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.plan-area strong { font: 300 clamp(36px, 3vw, 48px)/1 var(--display); letter-spacing: -.04em; }
.plan-area > span { font-size: 14px; line-height: 1.5; }
.plan-area small { font-size: 14px; color: var(--muted); }
.plan-parking { margin-top: 22px; font-size: 15px; font-weight: 500; }
.plan-description { margin-top: 8px; font-size: 16px; color: var(--text); }
.plan-homes { margin-top: 16px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: auto; }
.plan-download { border-bottom: 1px solid currentColor; text-underline-offset: 4px; font-size: 15px; width: fit-content; }
.plan-dialog { width: min(1240px, calc(100vw - 48px)); max-width: none; max-height: 92svh; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.plan-dialog::backdrop { background: rgba(15, 18, 20, .76); }
.plan-dialog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.plan-modal-image { display: grid; place-items: center; min-height: 480px; max-height: 88svh; overflow: auto; background: #fff; }
.plan-modal-image img { width: 100%; height: auto; max-height: 85svh; object-fit: contain; }
.plan-modal-image.zoomed { display: block; }
.plan-modal-image.zoomed img { width: 190%; max-width: none; max-height: none; }
.plan-dialog-copy { padding: 76px 28px 32px; }
.plan-dialog-copy h2 { font-size: 42px; margin-bottom: 20px; }
.plan-dialog-copy > p { margin-block: 18px; }
.plan-dialog-copy > .button, .plan-dialog-copy > .plan-download { display: flex; width: 100%; justify-content: center; margin-top: 16px; }
.plan-dialog .dialog-close { z-index: 5; }
@media (max-width: 960px) {
  :root { --header-h: 104px; }
  .brand img { height: 76px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-cta { grid-column: 3; grid-row: 1; }
  .plan-dialog-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .plan-dialog-copy { padding-inline: 22px; }
}
@media (max-width: 680px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plans-toolbar { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .plan-filters { width: 100%; overflow-x: auto; }
  .plan-filters button { padding-inline: 16px; font-size: 14px; }
  .plans-toolbar > p { padding-left: 4px; }
  .plan-dialog { width: calc(100vw - 20px); }
  .plan-dialog-layout { grid-template-columns: 1fr; }
  .plan-modal-image { min-height: 240px; height: 44svh; max-height: 44svh; padding-top: 50px; }
  .plan-modal-image img { max-height: 100%; }
  .plan-modal-image.zoomed img { max-height: none; }
  .plan-dialog-copy { padding: 24px; }
  .plan-dialog-copy .chapter { display: none; }
  .plan-dialog-copy h2 { font-size: 34px; }
  .local-life { max-width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 96px; }
  .brand img { height: 70px; }
  .header-cta { font-size: 14px; min-height: 44px; }
  .hero-inner { padding-bottom: 140px; }
}
@media (max-width: 380px) {
  :root { --header-h: 90px; }
  .brand img { height: 64px; }
}
/* Keep the close control readable rather than wrapping inside the image icon. */
.dialog-close { width: auto; min-width: 88px; min-height: 44px; padding: 8px 15px; border-radius: 99px; white-space: nowrap; }

/* ==========================================================================
   2026-11-17 update
   ========================================================================== */

/* Privacy: room between the last section and the footer */
.privacy-page main { padding-bottom: var(--sp); }

/* The homes: stacked sections with a quick-access bar under the header */
html:has(.section-nav) { scroll-padding-top: 0; }
.section-nav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(243, 240, 234, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.section-nav-inner { display: flex; justify-content: center; gap: 6px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 42px; padding: 8px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; transition: background-color 0.25s, color 0.25s; }
.section-nav a:hover { color: var(--ink); background: var(--tint); }
.section-nav a.is-active { background: var(--ink); color: #fff; }
.feature-section { padding-top: var(--sp); scroll-margin-top: calc(var(--header-h) + 66px + 40px - var(--sp)); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: center; }
.feature-section.is-flipped .feature-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature-section.is-flipped .feature-grid > :first-child { order: 2; }
.feature-copy h2 { font-size: clamp(34px, 3.4vw, 54px); margin-bottom: 20px; }
.feature-copy > p { color: var(--text); }
.feature-section .extras-grid { align-self: center; }

/* Team page: Western's mark large enough to read */
.developer-feature .team-logo { height: clamp(104px, 9vw, 140px); width: auto; max-width: 100%; margin-bottom: 40px; }
.partner-logo { height: 72px; }
.partner-logo img { max-height: 64px; max-width: 210px; }

/* Home: team logos and titles centred in their cells */
.logo-cell { align-items: center; justify-content: center; gap: 26px; min-height: 220px; text-align: center; }
.logo-cell img { max-height: 64px; max-width: 170px; }

/* Floorplan cards: interior / garage / total from the plan drawings */
.plan-stats { display: grid; grid-template-columns: 1.35fr 1fr 1fr; margin: 24px 0 0; border-block: 1px solid var(--line); }
.plan-stats > div { padding: 16px 0 16px 18px; }
.plan-stats > div:first-child { padding-left: 0; }
.plan-stats > div + div { border-left: 1px solid var(--line); }
.plan-stats dt { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plan-stats dd { margin: 6px 0 0; font: 300 clamp(24px, 2vw, 30px)/1.05 var(--display); letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.plan-stats .plan-stat-main dd { font-size: clamp(32px, 3vw, 46px); }
.plan-stats small { font: 400 13px var(--sans); letter-spacing: 0; color: var(--muted); }
.plan-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.plan-tags li { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; }
.plan-tags .is-feature { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Registration: invisible bot trap + friendly field messages */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field-error { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: #a33b2b; }
.consent + .field-error { margin-top: 8px; padding-left: 32px; }
.field [aria-invalid="true"] { border-color: #a33b2b; box-shadow: 0 0 0 3px rgba(163, 59, 43, 0.12); }
.consent input[aria-invalid="true"] { outline: 2px solid #a33b2b; outline-offset: 2px; }

@media (max-width: 1024px) {
  .feature-grid, .feature-section.is-flipped .feature-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .feature-section.is-flipped .feature-grid > :first-child { order: 0; }
  .feature-copy { max-width: 680px; }
}
@media (max-width: 860px) {
  .section-nav-inner { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .section-nav-inner { gap: 4px; padding-block: 10px; }
  .section-nav a { min-height: 38px; padding: 7px 14px; font-size: 14px; }
  .feature-section { scroll-margin-top: calc(var(--header-h) + 58px + 28px - var(--sp)); }
  .developer-feature .team-logo { height: 96px; margin-bottom: 28px; }
  .logo-cell { flex-direction: column; align-items: center; min-height: 0; padding: 28px 0; gap: 16px; }
  .logo-cell img { max-height: 56px; max-width: 150px; }
  .plan-stats > div { padding-left: 12px; }
  .plan-stats dd { font-size: 22px; }
  .plan-stats .plan-stat-main dd { font-size: 30px; }
}
/* Western's mark is nearly square, so give it more height to match the wider logos visually */
.logo-cell img[src*="western"] { max-height: 82px; }
@media (max-width: 640px) { .logo-cell img[src*="western"] { max-height: 70px; } }
