/* ATS Kingston Heath — Brochure Bronze/Gold + Deep Charcoal + Stone White.
   Only file with colour / font / radius values (docs/StopAISlop.md §3.3). */

:root {
  --color-primary: #A68A56;
  --color-primary-dark: #8C744F;
  --color-primary-light: #D4C29A;
  --color-primary-glow: rgba(166, 138, 86, 0.35);
  --color-surface-dark: #191C1A;
  --color-surface-warm: #121513;
  --color-accent: #D4C29A;
  --color-cream: #EDE9E3;
  --color-earth: #8C744F;
  --gold-light: #F2E8D5;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --radius: 8px;
  --radius-sm: 8px;
  --shadow-rest: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.38);
}

/* ---------- type ---------- */
body { font-family: var(--font-body); font-size: 17px; background: var(--color-surface-dark); font-weight: 400; }
h1, h2, h3, .hero-title, .offering-title, .unlock-section-title, .dd-title, .final-cta h2, .walkthrough-title {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0;
}
.form-header h3, .form-success h3 { font-family: var(--font-display); font-weight: 600; }
.nav-brand-text { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; text-transform: none; font-size: 17px; }

/* ---------- surfaces: flat, no gradients ---------- */
.hero-gradient { background: rgba(11, 22, 11, 0.55); }
.offering-bg-orb { display: none; }
.btn-primary, .btn-primary.pulse-glow { background: var(--color-primary); color: var(--color-surface-warm); border-radius: 999px; box-shadow: var(--shadow-rest); }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-hover); }
.btn-secondary, .btn-glass-light, .btn-glass-dark, .footer-cta, .sticky-cta-btn, .form-submit, .type-v2-cta, .unlock-price-cta { border-radius: 999px; }
.unlock-price-card, .unlock-banner, .unlock-map-gate, .unlock-plan-card, .unlock-tour, .dd, .type-v2-card, .invest-card, .amenity-v2, .form-modal-content, .promo-video-wrap, .about-image img, .location-map img, .gallery-grid img, .floor-card {
  border-radius: var(--radius);
}

/* ---------- nav ---------- */
.nav-brand-logo { width: 32px; height: 32px; margin-right: 8px; }

/* ---------- hero: minimal statement ----------
   Rhythm (8pt): mark → 24 → eyebrow → 20 → H1 → 28 → price → 40 → CTA → 16 → link. ---------- */
.hero { background: var(--color-surface-warm); min-height: auto; position: relative; }
.hero[data-variant="lux"] .hero-bg { background-image: url('../assets/gallery/hero-elevation.png'); background-size: cover; background-position: center; opacity: 0.28; }
.hero[data-variant="lux"] .hero-gradient { background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(14, 32, 19, 0) 0%, rgba(8, 20, 11, 0.85) 100%); }
.hero-content.hero-lux { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 760px; margin: 0 auto; padding: 136px 24px 112px; }
.hero-mark { width: 48px; height: 48px; margin: 0 0 24px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45)); opacity: 0.95; }
.hero-lux-eyebrow { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.4; color: var(--color-primary-light); margin: 0 0 20px; white-space: nowrap; }
.hero-title.hero-lux-title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--color-cream); margin: 0 0 28px; max-width: none; text-shadow: none; overflow-wrap: normal; text-wrap: balance;
}
.hero-title.hero-lux-title::after { display: none; }
.hero-price-line { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 20px; }
.hero-price-label { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244, 241, 232, 0.55); }
.hero-price-amt { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; color: var(--color-primary); }
.hero-price-amt sup { font-size: 0.4em; vertical-align: top; line-height: 1; margin-left: 2px; }
.hero-price-was { font-family: var(--font-body); font-size: 14px; color: rgba(244, 241, 232, 0.6); margin-top: 2px; font-weight: 500; }

.hero-bhk-badges { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 36px; flex-wrap: wrap; }
.bhk-badge { display: inline-flex; flex-direction: column; align-items: center; background: rgba(166, 138, 86, 0.12); border: 1px solid rgba(166, 138, 86, 0.35); padding: 10px 22px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: center; }
.bhk-badge strong { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--color-primary-light); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.bhk-badge span { font-family: var(--font-body); font-size: 13px; color: var(--color-cream); font-weight: 500; }
.bhk-badge-sep { color: rgba(212, 194, 154, 0.4); font-size: 18px; display: inline-block; }
.hero-lux-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.hero-lux-cta .btn-primary { font-size: 16px; font-weight: 600; padding: 16px 32px; line-height: 1.2; }
.hero-lux-film { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: rgba(244, 241, 232, 0.7); font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; padding: 4px 0; }
.hero-lux-film span { color: var(--color-primary); font-size: 20px; line-height: 1; transition: transform 0.22s ease; }
.hero-lux-film:hover { color: var(--color-cream); }
.hero-lux-film:hover span { transform: translateX(3px); }
@media (max-width: 900px) {
  .hero[data-variant="lux"] .hero-bg { background-image: url('../assets/hero-fern-mobile.webp'); background-position: center top; opacity: 0.2; }
  .hero-content.hero-lux { padding: 104px 20px 72px; }
  .hero-mark { width: 40px; height: 40px; margin-bottom: 20px; }
  .hero-lux-eyebrow { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 16px; }
  .hero-title.hero-lux-title { font-size: clamp(36px, 10.5vw, 42px); margin-bottom: 24px; }
  .hero-price-amt { font-size: 40px; }
  .hero-price-line { margin-bottom: 32px; }
  .hero-lux-cta .btn-primary { width: 100%; justify-content: center; }
}

/* ---------- AQI count-up band (signature element) ---------- */
.aqi-band { padding: 64px 24px 24px; }
.aqi-band-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.aqi-band-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary-light); margin: 0 0 8px; }
.aqi-band h2 { font-size: clamp(24px, 3vw, 34px); color: var(--color-cream); margin: 0 0 32px; }
.aqi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aqi-tile { padding: 24px 16px; border: 1px solid rgba(244, 241, 232, 0.12); border-radius: var(--radius); background: rgba(244, 241, 232, 0.03); }
.aqi-tile--here { border-color: var(--color-primary); background: rgba(194, 141, 33, 0.08); }
.aqi-num { display: block; font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px); line-height: 1; color: var(--color-cream); }
.aqi-tile--here .aqi-num { color: var(--color-primary); }
.aqi-city { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--color-cream); }
.aqi-tag { display: block; margin-top: 4px; font-size: 12px; color: rgba(244, 241, 232, 0.55); }
.aqi-note { margin: 16px 0 0; font-size: 12px; color: rgba(244, 241, 232, 0.5); }
@media (max-width: 720px) { .aqi-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- pricing: festive card ---------- */
.unlock-price-card--offer { border: 1px solid var(--color-primary); background: rgba(194, 141, 33, 0.08); }
.unlock-price-note { display: block; margin-top: 4px; font-size: 12px; color: var(--color-primary-light); }

/* ---------- drive-time list ---------- */
.drive-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.drive-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(244, 241, 232, 0.1); font-size: 15px; color: var(--color-cream); }
.drive-list li strong { font-weight: 600; color: var(--color-primary-light); white-space: nowrap; }
@media (max-width: 600px) { .drive-list { grid-template-columns: 1fr; } }

/* ---------- amenities: text groups, no icon grid ---------- */
.amenity-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.amenity-group h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--color-primary-light); margin: 0 0 8px; }
.amenity-group ul { list-style: none; margin: 0; padding: 0; }
.amenity-group li { padding: 4px 0; font-size: 15px; color: var(--color-cream); }
@media (max-width: 900px) { .amenity-groups { grid-template-columns: repeat(2, 1fr); } }

/* ---------- gallery captions ---------- */
.gallery-grid figure { margin: 0; }
.gallery-grid figcaption { font-size: 12px; color: rgba(244, 241, 232, 0.5); padding: 8px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; }
.faq-list details { border: 1px solid rgba(244, 241, 232, 0.12); border-radius: var(--radius); padding: 0 16px; }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--color-cream); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: rgba(244, 241, 232, 0.8); }

/* ---------- footer ---------- */
.footer-logo-img { width: 56px; height: 56px; filter: none; }
.footer-developer { display: flex; align-items: center; gap: 16px; }
.footer-developer img { height: 40px; width: auto; }
.footer-rera { margin: 8px 0 0; font-size: 13px; color: var(--color-primary-light); }

/* ---------- form ---------- */
.form-logo { width: 64px; height: 64px; filter: none; }

/* ---------- about: walkthrough video in the image slot ---------- */
.about-video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--color-surface-warm); }
.media-caption { margin: 8px 0 0; font-size: 12px; color: rgba(244, 241, 232, 0.5); }

/* ---------- amenities gallery strip ---------- */
.amenity-gallery { margin-top: 24px; }

/* ---------- template overrides: colour images, real logo, nav without voice slot ---------- */
img { filter: none; }
.hero .hero-logo, .nav-brand-logo, .footer-logo-img, .form-logo { filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5)) !important; }
.nav-inner { grid-template-columns: auto auto; justify-content: space-between; }
.nav-call { width: auto; padding: 0 16px; }

/* ---------- amenities + floor grid styled in Intelligence section ---------- */


/* ---------- hero enters on load, without waiting for the scroll observer ---------- */
.hero .fade-up { opacity: 1; transform: none; animation: heroIn 0.7s ease both; }
.hero .hero-copy > .fade-up:nth-child(2) { animation-delay: 0.08s; }
.hero .hero-copy > .fade-up:nth-child(3) { animation-delay: 0.16s; }
.hero .hero-copy > .fade-up:nth-child(4) { animation-delay: 0.24s; }
.hero .hero-copy > .fade-up:nth-child(5) { animation-delay: 0.32s; }
.hero .hero-copy > .fade-up:nth-child(6) { animation-delay: 0.4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .fade-up { animation: none; } }

/* ---------- surfaces: force the forest green over template browns/blacks ---------- */
html, body { background: var(--color-surface-warm); }
.nav { background: rgba(14, 32, 19, 0.82); }
.offering, .stats-banner, .accordion-wrap { background: transparent; }
.accordion-wrap { background: var(--color-surface-dark); }
.offering-inner, .dd, .stats-banner-strip, .invest-card, .type-v2-card, .amenity-v2, .unlock-price-card { background: rgba(244, 241, 232, 0.045); border-color: rgba(233, 207, 142, 0.16); }
.dd.open, .dd:hover:not(.open) { background: rgba(244, 241, 232, 0.06); }
.dd-body-inner.dd-body-dark { background: rgba(14, 32, 19, 0.55); }
.final-cta { background: var(--color-surface-warm); }
.final-cta-inner { background: rgba(244, 241, 232, 0.045); }
.footer { background: var(--color-surface-warm); border-top-color: rgba(233, 207, 142, 0.16); }
.form-modal-content { background: var(--color-surface-dark); }
.sticky-cta { background: rgba(14, 32, 19, 0.92); }

/* template sets body background #121110 !important (style.css ~L1364); win on specificity + importance */
html body, body.sticky-bar-on { background: var(--color-surface-warm) !important; background-image: none !important; }
.form-modal-content { background: var(--color-surface-dark) !important; }
::-webkit-scrollbar-track { background: var(--color-surface-warm); }
.nav, .nav.scrolled { background: rgba(14, 32, 19, 0.9) !important; border-bottom-color: rgba(233, 207, 142, 0.18); }


/* ---------- mobile header: brand name + labelled CTA (template hid both and left an icon square) ---------- */
@media (max-width: 768px) {
  .nav-inner { height: 56px; grid-template-columns: auto auto; justify-content: space-between; align-items: center; column-gap: 12px; }
  .nav-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
  .nav-brand-logo { width: 28px; height: 28px; margin: 0; }
  .nav-brand-text { display: inline; font-size: 16px; white-space: nowrap; }
  .nav-call { width: auto; height: 36px; padding: 0 14px; border-radius: 999px; gap: 6px; }
  .nav-call-label { display: inline; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .nav-call svg { width: 13px; height: 13px; }
}


/* ---------- journey line: scroll-drawn route Delhi → Casa Corbett (signature element) ---------- */
.journey { padding: 72px 24px 48px; }
.journey-shell { max-width: 1200px; margin: 0 auto; text-align: center; }
.journey-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: var(--color-cream); margin: 0 0 24px; }
.journey-stage { position: relative; }
.journey-svg { display: block; width: 100%; height: auto; overflow: visible; }
.journey-svg--tall { display: none; max-width: 360px; margin: 0 auto; }
.journey-track { fill: none; stroke: rgba(233, 207, 142, 0.18); stroke-width: 2; stroke-dasharray: 4 8; stroke-linecap: round; }
.journey-draw { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(194, 141, 33, 0.45)); }
.journey-marker circle:first-child { fill: rgba(194, 141, 33, 0.25); }
.journey-marker circle:last-child { fill: var(--color-primary-light); }
.journey-marker { opacity: 0; transition: opacity 0.3s; }
.journey-stop-ring { fill: var(--color-surface-warm); stroke: rgba(233, 207, 142, 0.3); stroke-width: 2; transition: stroke 0.4s, fill 0.4s; }
.journey-stop-dot { fill: rgba(233, 207, 142, 0.3); transition: fill 0.4s, r 0.4s; }
.journey-stop-name { font-family: var(--font-body); font-size: 15px; font-weight: 700; fill: rgba(244, 241, 232, 0.55); transition: fill 0.4s; }
.journey-stop-meta { font-family: var(--font-body); font-size: 12px; fill: rgba(244, 241, 232, 0.4); transition: fill 0.4s; }
.journey-stop.lit .journey-stop-ring { stroke: var(--color-primary); fill: rgba(194, 141, 33, 0.15); }
.journey-stop.lit .journey-stop-dot { fill: var(--color-primary); }
.journey-stop.lit .journey-stop-name { fill: var(--color-cream); }
.journey-stop.lit .journey-stop-meta { fill: var(--color-primary-light); }
.journey-note { margin: 16px auto 0; max-width: 640px; font-size: 12px; color: rgba(244, 241, 232, 0.5); }
.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; }
@media (max-width: 900px) {
  .journey { padding: 56px 16px 40px; }
  .journey-svg--wide { display: none; }
  .journey-svg--tall { display: block; }
  .journey-stop-name { font-size: 15px; }
  .journey-stop-meta { font-size: 12px; }
}

/* ====================================================================
   Ribbons (Vastu Shree departure-ticker pattern) + LightBeam border
   LightBeam ported from a React/framer component to plain CSS:
   @property angle → conic-gradient ring, masked to a 1px border.
   ==================================================================== */
@property --beam-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes beamSpin { to { --beam-angle: 360deg; } }
@keyframes ribbonScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.ribbon { position: relative; isolation: isolate; overflow: hidden; background: var(--color-surface-warm); padding: 13px 0; border-top: 1px solid rgba(233, 207, 142, 0.22); border-bottom: 1px solid rgba(233, 207, 142, 0.22); }
.ribbon::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; padding: 1px;
  background: conic-gradient(from var(--beam-angle), transparent 0%, var(--color-primary) 40%, var(--color-primary-light) 50%, transparent 60%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: beamSpin 6s linear infinite;
}
.ribbon-fade { position: absolute; top: 0; bottom: 0; width: 64px; z-index: 2; pointer-events: none; }
.ribbon-fade--l { left: 0; background: linear-gradient(90deg, var(--color-surface-warm), transparent); }
.ribbon-fade--r { right: 0; background: linear-gradient(270deg, var(--color-surface-warm), transparent); }
.ribbon-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: ribbonScroll 48s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary-light); white-space: nowrap; }
.ribbon-track i { font-style: normal; font-size: 7px; color: rgba(194, 141, 33, 0.7); }

/* LightBeam button: dark pill, rotating gold beam on a 1px ring, soft glow, hover shine */
.btn-beam { position: relative; isolation: isolate; overflow: hidden; background: var(--color-surface-warm); border: 1px solid transparent; color: var(--color-cream); box-shadow: 0 0 20px -6px rgba(194, 141, 33, 0.45); transition: box-shadow 0.3s, transform 0.2s; }
.btn-beam > span { position: relative; z-index: 2; }
.btn-beam::before {
  content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--beam-angle), transparent 0%, var(--color-primary) 40%, var(--color-primary-light) 50%, transparent 60%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: beamSpin 2.4s linear infinite;
}
.btn-beam::after { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(circle at 50% 0%, rgba(194, 141, 33, 0.22) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s; }
.btn-beam:hover { transform: scale(1.02); box-shadow: 0 0 26px -6px rgba(194, 141, 33, 0.7); }
.btn-beam:hover::after { opacity: 1; }
.btn-beam:active { transform: scale(0.98); }

@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ribbon::before, .btn-beam::before { animation: none; background: rgba(233, 207, 142, 0.35); }
}

/* LightBeam ring on any panel: add .beam-ring (offering panel uses it) */
.beam-ring { position: relative; isolation: isolate; }
.beam-ring::before {
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--beam-angle), transparent 0%, var(--color-primary) 40%, var(--color-primary-light) 50%, transparent 60%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: beamSpin 8s linear infinite; background-size: auto; height: auto; top: 0; left: 0; right: 0;
}
.offering-inner.beam-ring { overflow: hidden; border-color: rgba(233, 207, 142, 0.16); }
.offering-inner.beam-ring::before { animation: beamSpin 8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .beam-ring::before { animation: none; background: rgba(233, 207, 142, 0.35); } }

/* ---------- final section: official film (portrait 9:16 facade) + closing CTAs ---------- */
.final-cta--video .final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-video-eyebrow { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary-light); margin: 0 0 16px; }
.final-cta--video h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 32px; }
.final-video-frame { position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--color-surface-warm); border: 1px solid rgba(233, 207, 142, 0.3); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 60px 120px rgba(0, 0, 0, 0.35); margin: 0 0 32px; }
.final-video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: none !important; transition: transform 0.6s ease; }
.final-video-frame:hover img { transform: scale(1.03); }
.final-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.final-video-frame.playing img, .final-video-frame.playing .final-video-play { display: none; }
.final-video-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; border: 0; cursor: pointer; background: var(--color-primary); color: var(--color-surface-warm); display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); transition: transform 0.25s ease, background 0.25s ease; }
.final-video-play::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(194, 141, 33, 0.55); animation: playPulse 2s ease-out infinite; pointer-events: none; }
.final-video-frame:hover .final-video-play { transform: scale(1.06); background: var(--color-primary-light); }
@keyframes playPulse { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .final-video-play::after { animation: none; } }
@media (max-width: 600px) { .final-video-frame { max-width: 300px; margin-bottom: 24px; } }

/* final film: self-hosted video + beam sound button */
.final-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--color-surface-warm); }
.final-video-frame::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(8, 20, 11, 0.7)); }
.final-sound-btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; height: 44px; padding: 0 20px; border-radius: 999px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; }
.final-sound-btn > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.final-sound-btn em { font-style: normal; }
.final-sound-btn .ico-sound { display: none; }
.final-sound-btn.on .ico-sound { display: inline; }
.final-sound-btn.on .ico-muted { display: none; }
.final-sound-btn:hover { transform: translateX(-50%) scale(1.03); }
.final-sound-btn:active { transform: translateX(-50%) scale(0.98); }

/* ---------- Why Casa Corbett: two-column panel + interactive card stack (ported from InteractiveCardStack) ---------- */
.offering-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; text-align: left; }
.offering-grid .offering-content { text-align: left; max-width: none; }
.offering-grid .offering-eyebrow { justify-content: flex-start; }
.offering-grid .offering-title { text-align: left; margin-left: 0; }
.offering-grid .offering-sub { text-align: left; margin-left: 0; max-width: 46ch; }
.offering-grid .offering-actions { justify-content: flex-start; margin-top: 32px; }
.offering-stack-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.card-stack { position: relative; width: 100%; max-width: 320px; aspect-ratio: 4 / 5; perspective: 1000px; outline: none; }
.card-stack:focus-visible { box-shadow: 0 0 0 2px var(--color-primary); border-radius: var(--radius); }
.stack-card {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: var(--color-surface-warm);
  border: 1px solid rgba(233, 207, 142, 0.25); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  transform-origin: center center; will-change: transform; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform 0.6s cubic-bezier(0.22, 1.25, 0.36, 1), opacity 0.4s ease;
}
.stack-card.is-top { cursor: grab; }
.stack-card.dragging { cursor: grabbing; transition: none; }
.stack-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none !important; pointer-events: none; }
.stack-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 11, 0) 35%, rgba(8, 20, 11, 0.85) 100%); pointer-events: none; }
.stack-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; display: grid; gap: 6px; pointer-events: none; }
.stack-card-icon { width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: rgba(194, 141, 33, 0.18); border: 1px solid rgba(233, 207, 142, 0.35); color: var(--color-primary-light); margin-bottom: 6px; }
.stack-card-body strong { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.1; color: var(--color-cream); }
.stack-card-body span { font-family: var(--font-body); font-size: 14px; line-height: 1.45; color: rgba(244, 241, 232, 0.8); }
.card-stack-hint { margin: 0; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 241, 232, 0.45); }
@media (max-width: 900px) {
  .offering-grid { grid-template-columns: 1fr; gap: 32px; }
  .offering-grid .offering-content, .offering-grid .offering-title, .offering-grid .offering-sub { text-align: left; }
  .offering-grid .offering-actions { flex-direction: column; }
  .offering-grid .offering-actions .btn-primary, .offering-grid .offering-actions .btn-glass-light { width: 100%; justify-content: center; }
  .card-stack { max-width: 280px; }
  .stack-card-body strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .stack-card { transition: none; } }
/* mobile reading order for the Why panel: eyebrow → title → copy → card stack → CTAs */
@media (max-width: 900px) {
  .offering-grid { display: flex; flex-direction: column; gap: 24px; }
  .offering-grid .offering-content { display: contents; }
  .offering-grid .offering-eyebrow { order: 1; }
  .offering-grid .offering-title { order: 2; margin-bottom: 0; }
  .offering-grid .offering-sub { order: 3; margin-bottom: 0; }
  .offering-stack-wrap { order: 4; margin: 8px 0; }
  .offering-grid .offering-actions { order: 5; margin-top: 0; }
}
.card-stack { width: 320px; max-width: 100%; }
.offering-stack-wrap { align-items: center; width: 100%; }
@media (max-width: 900px) { .card-stack { width: 280px; } }

/* Why panel, text-free: card stack centred, CTAs under it */
.offering-grid { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
.offering-grid .offering-content { display: contents; }
.offering-stack-wrap { order: 1; }
.offering-grid .offering-actions { order: 2; justify-content: center; margin-top: 0; }
.offering-inner { padding-top: 48px; padding-bottom: 48px; }

/* ---------- Section panel stack (six content cards; ported from InteractiveCardStack) ---------- */
.accordion-intro { margin-bottom: 20px; }
.stack-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.stack-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid rgba(233, 207, 142, 0.22); background: rgba(244, 241, 232, 0.04); color: rgba(244, 241, 232, 0.75); font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.stack-chip span { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(233, 207, 142, 0.12); color: var(--color-primary-light); font-size: 12px; font-weight: 700; }
.stack-chip:hover { border-color: rgba(233, 207, 142, 0.45); color: var(--color-cream); }
.stack-chip.active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-surface-warm); }
.stack-chip.active span { background: rgba(14, 32, 19, 0.25); color: var(--color-surface-warm); }
.panel-stack { position: relative; perspective: 1400px; transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1); margin-top: 28px; }
.stack-panel {
  position: absolute; left: 0; right: 0; top: 0; overflow: hidden;
  background: rgba(244, 241, 232, 0.045); border: 1px solid rgba(233, 207, 142, 0.16); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); transform-origin: center top; will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1.25, 0.36, 1), opacity 0.4s ease;
}
.stack-panel:not(.is-top) { background: var(--color-surface-dark); }
.stack-panel.dragging { transition: none; }
.stack-panel-head { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid rgba(233, 207, 142, 0.12); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.stack-panel.dragging .stack-panel-head { cursor: grabbing; }
.stack-panel-head:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.stack-panel-head .dd-head-text { flex: 1; min-width: 0; }
.stack-panel-count { font-family: var(--font-body); font-size: 13px; color: rgba(244, 241, 232, 0.45); white-space: nowrap; }
.stack-panel-count b { color: var(--color-primary-light); font-weight: 700; }
.stack-panel-next { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(233, 207, 142, 0.3); color: var(--color-primary-light); flex-shrink: 0; transition: background 0.25s, transform 0.25s; }
.stack-panel-head:hover .stack-panel-next { background: var(--color-primary); color: var(--color-surface-warm); transform: translateX(2px); }
.stack-panel-body { padding: 26px 26px 30px; }
.stack-panel-body.dd-body-dark { background: rgba(14, 32, 19, 0.55); }
@media (max-width: 900px) {
  .stack-chips { gap: 6px; margin-bottom: 20px; }
  .stack-chip { height: 32px; font-size: 12px; padding: 0 10px 0 4px; }
  .stack-chip span { width: 22px; height: 22px; }
  .stack-panel-head { padding: 16px 16px; gap: 12px; }
  .stack-panel-count { display: none; }
  .stack-panel-body { padding: 18px 16px 22px; }
  .stack-panel-body.dd-body-dark { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .stack-panel, .panel-stack { transition: none; } }
/* panel stack: opaque top card, behind cards clipped to the stack height */
.stack-panel { background: #17301F; }
.stack-panel.is-top { background: #17301F; }
.stack-panel:not(.is-top) { height: 100%; background: var(--color-surface-dark); }
.stack-panel:not(.is-top) .stack-panel-body { visibility: hidden; }
.stack-panel .stack-panel-body.dd-body-inner { border-top: 0; margin-top: 0; padding: 26px 26px 30px; }
@media (max-width: 900px) { .stack-panel .stack-panel-body.dd-body-inner { padding: 18px 16px 22px; } }
/* pricing grid inside the panel stack: template scopes .dd-body-inner .unlock-price-grid, so re-assert the featured layout */
@media (min-width: 900px) {
  .stack-panel-body #unlockPricingList.unlock-price-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px; }
  .stack-panel-body #unlockPricingList .unlock-price-card--offer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 24px; }
}
/* pricing cards inside the panel stack: re-assert the stacked tag/price layout over template .dd-body-inner rules */
.stack-panel-body .unlock-price-card { display: flex; flex-direction: column; align-items: stretch; }
.stack-panel-body .unlock-price-card .unlock-price-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.stack-panel-body .unlock-price-card .unlock-price-tag { white-space: nowrap; }
.stack-panel-body .unlock-price-card .unlock-price-amt { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; line-height: 1; color: var(--color-primary-light); }
.stack-panel-body .unlock-price-card .unlock-price-cta { white-space: nowrap; }
.stack-panel-body .unlock-price-card .unlock-price-cta-text { font-size: 11px; letter-spacing: 0.08em; }
@media (min-width: 900px) {
  .stack-panel-body #unlockPricingList .unlock-price-card--offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 24px; }
  .stack-panel-body #unlockPricingList .unlock-price-card--offer .unlock-price-card-top { grid-column: 1; grid-row: 1; }
  .stack-panel-body #unlockPricingList .unlock-price-card--offer .unlock-price-area { grid-column: 1; grid-row: 2; }
  .stack-panel-body #unlockPricingList .unlock-price-card--offer .unlock-price-cta { grid-column: 2; grid-row: 1 / span 2; min-width: 220px; }
  .stack-panel-body #unlockPricingList .unlock-price-card--offer .unlock-price-amt { font-size: 34px; color: var(--color-primary); }
}

/* ====================================================================
   Luminous panels (ported from the "Luminous Design" card):
   radial dark surface, corner-bracket frame, top slit + lumen glow.
   Top card = lumen on; cards behind stay unlit.
   ==================================================================== */
.stack-panel {
  --ax: 48px; --offset: 10px;
  background: radial-gradient(circle at 50% 0%, #1F3D2A 0%, #132A1B 64%);
  border: 1px solid rgba(233, 207, 142, 0.14);
  box-shadow: inset 0 1px 0 rgba(233, 207, 142, 0.10), inset 0 -48px 48px -40px rgba(0, 0, 0, 0.55), 0 24px 48px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s cubic-bezier(0.22, 1.25, 0.36, 1), opacity 0.4s ease, box-shadow 0.4s ease-in-out;
}
.stack-panel.is-top { overflow: visible; box-shadow: inset 0 1px 0 rgba(233, 207, 142, 0.35), inset 0 -48px 48px -40px rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(233, 207, 142, 0.25), 0 28px 56px rgba(0, 0, 0, 0.5); }
.stack-panel.is-top .stack-panel-body { border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
/* corner-bracket frame (the ::before clip-path from the reference) */
.stack-panel::before {
  content: ''; position: absolute; inset: calc(-1 * var(--offset)); pointer-events: none; z-index: 5;
  border-radius: calc(var(--radius) + var(--offset)); box-shadow: inset 0 0 0 1px rgba(233, 207, 142, 0.34);
  clip-path: polygon(var(--ax) 0, 0 0, 0 var(--ax), var(--ax) var(--ax), var(--ax) calc(100% - var(--ax)), 0 calc(100% - var(--ax)), 0 100%, var(--ax) 100%, var(--ax) calc(100% - var(--ax)), calc(100% - var(--ax)) calc(100% - var(--ax)), calc(100% - var(--ax)) 100%, 100% 100%, 100% calc(100% - var(--ax)), calc(100% - var(--ax)) calc(100% - var(--ax)), calc(100% - var(--ax)) var(--ax), 100% var(--ax), 100% 0, calc(100% - var(--ax)) 0, calc(100% - var(--ax)) var(--ax), var(--ax) var(--ax));
  opacity: 0; transition: inset 0.4s ease-in-out, opacity 0.4s ease-in-out, border-radius 0.4s ease-in-out;
}
.stack-panel.is-top::before { opacity: 1; }
.stack-panel.is-top:hover::before { --offset: 6px; --ax: 96px; }
/* slit + lumen in the header */
.stack-panel-head { position: relative; overflow: hidden; border-bottom-color: rgba(233, 207, 142, 0.14); }
.stack-panel-head::before {
  content: ''; position: absolute; left: 18%; right: 18%; top: 0; height: 2px; border-radius: 2px;
  background: rgba(233, 207, 142, 0.18); box-shadow: 0 0 0 0 rgba(233, 207, 142, 0); transition: background 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
.stack-panel-head::after {
  content: ''; position: absolute; left: 10%; right: 10%; top: -60px; height: 140px; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(233, 207, 142, 0.55) 0%, rgba(233, 207, 142, 0.12) 45%, transparent 75%);
  filter: blur(14px); opacity: 0; transition: opacity 0.5s ease-in-out;
}
.stack-panel.is-top .stack-panel-head::before { background: var(--color-primary-light); box-shadow: 0 0 10px 1px rgba(233, 207, 142, 0.7), 0 0 30px 4px rgba(194, 141, 33, 0.35); }
.stack-panel.is-top .stack-panel-head::after { opacity: 0.55; }
.stack-panel-head > * { position: relative; z-index: 1; }
/* icon lights up like the reference (gradient fill + inner glow) */
.stack-panel-head .dd-head-icon { background: linear-gradient(180deg, rgba(233, 207, 142, 0.16), rgba(233, 207, 142, 0.04)); border: 1px solid rgba(233, 207, 142, 0.22); color: rgba(233, 207, 142, 0.6); transition: filter 0.4s ease-in-out, color 0.4s; }
.stack-panel-head .dd-head-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stack-panel-head .dd-title { color: var(--color-cream); font-size: clamp(16px, 1.8vw, 19px); font-weight: 600; line-height: 1.25; margin: 0; }
.stack-panel-head .dd-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary-light); }
.stack-panel.is-top .stack-panel-head .dd-eyebrow { color: var(--color-primary-light); }
.dd-teaser {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(244, 241, 232, 0.65);
  line-height: 1.35;
  margin-top: 3px;
  display: block;
}
.stack-panel.open .dd-teaser { color: rgba(233, 207, 142, 0.85); }
/* the "next" control reads like the reference toggle: pill with a glowing handle */
.stack-panel-next { width: 56px; height: 30px; border-radius: 8px; background: var(--color-surface-warm); border: 1px solid rgba(233, 207, 142, 0.3); position: relative; box-shadow: inset 0 -6px 8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(233, 207, 142, 0.2); transition: box-shadow 0.3s; }
.stack-panel-next svg { display: none; }
.stack-panel-next::after { content: ''; position: absolute; top: 5px; bottom: 5px; left: 6px; width: 20px; border-radius: 4px; background: var(--color-primary-light); box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.7), 0 2px 6px rgba(0, 0, 0, 0.6); transition: transform 0.35s cubic-bezier(0.22, 1.25, 0.36, 1); }
.stack-panel-head:hover .stack-panel-next { background: var(--color-surface-warm); transform: none; box-shadow: inset 0 -6px 8px rgba(0, 0, 0, 0.45), 0 0 12px 2px rgba(233, 207, 142, 0.35); }
.stack-panel-head:hover .stack-panel-next::after { transform: translateX(22px); }
@media (prefers-reduced-motion: reduce) { .stack-panel::before, .stack-panel-head::before, .stack-panel-head::after, .stack-panel-next::after { transition: none; } }
.stack-panel-body .invest-card .invest-number { font-family: var(--font-display); font-weight: 500; font-size: 40px; letter-spacing: -0.01em; background: none; -webkit-text-fill-color: var(--color-primary); color: var(--color-primary); }

/* ====================================================================
   Bubble menu chips (ported from BubbleMenu): tilted pills, staggered
   back-out scale-in when the row enters the viewport, label slide-up,
   hover colour swap + scale. GSAP replaced by CSS keyframes.
   ==================================================================== */
.stack-chips.bubble-menu { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 12px; margin: 0 0 36px; padding: 4px 0; }
.stack-chip.bubble {
  --rot: 0deg; --i: 0;
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px 0 8px; border-radius: 999px;
  background: var(--color-cream); color: var(--color-surface-warm); border: 0; cursor: pointer; overflow: hidden; white-space: nowrap;
  font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: 0; line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); transform: rotate(var(--rot)) scale(0); transform-origin: 50% 50%; will-change: transform;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stack-chips.visible .stack-chip.bubble { animation: bubbleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(var(--i) * 0.12s); }
@keyframes bubbleIn { from { transform: rotate(var(--rot)) scale(0); } to { transform: rotate(var(--rot)) scale(1); } }
.stack-chip.bubble .bubble-label { display: inline-block; transform: translateY(24px); opacity: 0; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease; transition-delay: calc(var(--i) * 0.12s + 0.05s); }
.stack-chips.visible .stack-chip.bubble .bubble-label { transform: translateY(0); opacity: 1; }
.stack-chip.bubble .bubble-n { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(14, 32, 19, 0.08); color: var(--color-surface-warm); font-family: var(--font-body); font-size: 13px; font-weight: 700; transition: background 0.3s, color 0.3s; }
.stack-chip.bubble:hover { background: var(--color-primary); color: var(--color-surface-warm); transform: rotate(var(--rot)) scale(1.06); }
.stack-chip.bubble:hover .bubble-n { background: rgba(14, 32, 19, 0.16); }
.stack-chip.bubble:active { transform: rotate(var(--rot)) scale(0.94); }
.stack-chip.bubble.active { background: var(--color-primary); color: var(--color-surface-warm); transform: rotate(0deg) scale(1.04); box-shadow: 0 8px 22px rgba(194, 141, 33, 0.35), 0 0 0 4px rgba(233, 207, 142, 0.18); }
.stack-chip.bubble.active .bubble-n { background: var(--color-surface-warm); color: var(--color-primary-light); }
.stack-chip.bubble:focus-visible { outline: 2px solid var(--color-primary-light); outline-offset: 3px; }
/* once the entrance has played, hover/active transforms must win over the keyframe's final frame */
.stack-chips.visible .stack-chip.bubble:hover, .stack-chips.visible .stack-chip.bubble.active, .stack-chips.visible .stack-chip.bubble:active { animation: none; }
@media (max-width: 900px) {
  .stack-chips.bubble-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin-bottom: 24px; }
  .stack-chip.bubble { --rot: 0deg; height: 52px; padding: 0 14px 0 6px; font-size: 17px; justify-content: flex-start; }
  .stack-chip.bubble .bubble-n { width: 36px; height: 36px; }
  .stack-chip.bubble .bubble-label { overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-chip.bubble, .stack-chips.visible .stack-chip.bubble { animation: none; transform: rotate(var(--rot)) scale(1); transition: none; }
  .stack-chip.bubble .bubble-label { transform: none; opacity: 1; transition: none; }
}
/* the old .stack-chip span badge rule must not touch the bubble label */
.stack-chip.bubble .bubble-label { width: auto; height: auto; border-radius: 0; background: none; color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: 1.2; }
.stack-chip.bubble.active .bubble-label, .stack-chip.bubble:hover .bubble-label { color: inherit; }
/* bubbles: 3 + 3 rows on desktop (reference layout), flat and snug on mobile */
.stack-chips.bubble-menu { max-width: 640px; margin-left: auto; margin-right: auto; }
@keyframes bubbleInFlat { from { transform: scale(0); } to { transform: scale(1); } }
@media (max-width: 900px) {
  .stack-chips.bubble-menu { max-width: none; }
  .stack-chip.bubble { transform: scale(0); gap: 8px; font-size: 15.5px; padding: 0 12px 0 6px; }
  .stack-chips.visible .stack-chip.bubble { animation-name: bubbleInFlat; }
  .stack-chip.bubble:hover, .stack-chip.bubble.active { transform: scale(1.03); }
  .stack-chip.bubble:active { transform: scale(0.96); }
  .stack-chip.bubble .bubble-n { width: 34px; height: 34px; font-size: 12px; }
}
/* stack section header: eyebrow + one crisp line */
.stack-header { text-align: center; margin: 0 0 28px; }
.stack-header-eyebrow { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary-light); margin: 0 0 12px; }
.stack-header-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.01em; color: var(--color-cream); margin: 0; }
.panel-stack { margin-top: 56px; }
@media (max-width: 900px) { .stack-header { margin-bottom: 20px; } }

/* ====================================================================
   Cards back to a collapsed list: same luminous card design, tap to open.
   Overrides the stack layout rules above.
   ==================================================================== */
.panel-stack { display: grid; gap: 14px; height: auto !important; perspective: none; margin-top: 32px; }
.stack-panel, .stack-panel:not(.is-top) { position: relative; left: auto; right: auto; top: auto; height: auto; transform: none !important; opacity: 1 !important; pointer-events: auto !important; overflow: visible; }
.stack-panel:not(.is-top) .stack-panel-body { visibility: visible; }
.stack-panel .stack-panel-body { max-height: 0; overflow: hidden; padding-top: 0 !important; padding-bottom: 0 !important; transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease; }
.stack-panel.open .stack-panel-body { padding-top: 26px !important; padding-bottom: 30px !important; }
.stack-panel-head { border-bottom-color: transparent; transition: border-color 0.3s; cursor: pointer; }
.stack-panel.open .stack-panel-head { border-bottom-color: rgba(233, 207, 142, 0.14); }
.stack-panel:not(.open) { background: var(--color-surface-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.stack-panel:not(.open):hover { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(233, 207, 142, 0.2); }
.stack-panel:not(.open) .stack-panel-head::before { background: rgba(233, 207, 142, 0.28); }
/* toggle shows state: handle right = open */
.stack-panel.open .stack-panel-next::after { transform: translateX(22px); }
.stack-panel.open .stack-panel-next { box-shadow: inset 0 -6px 8px rgba(0, 0, 0, 0.45), 0 0 12px 2px rgba(233, 207, 142, 0.35); }
.stack-panel:not(.open) .stack-panel-head:hover .stack-panel-next::after { transform: translateX(6px); }
@media (max-width: 900px) {
  .panel-stack { gap: 12px; margin-top: 24px; }
  .stack-panel.open .stack-panel-body { padding-top: 18px !important; padding-bottom: 22px !important; }
  .stack-panel-count { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .stack-panel .stack-panel-body { transition: none; } }
/* Why Invest body: template's negative margins on .dd-body-dark shrank the collapsed card and let the next card overlap */
.stack-panel .stack-panel-body.dd-body-dark { margin: 0 !important; border-radius: 0 0 var(--radius) var(--radius); }

/* ====================================================================
   Scroll motion system
   ==================================================================== */
/* 1. nav progress line (--scroll set on <html> by the rAF loop) */
html { --scroll: 0; }
.nav::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--color-primary); transform-origin: left center; transform: scaleX(var(--scroll)); pointer-events: none; }
.nav { overflow: visible; }

/* 2. hero parallax layer */
.hero .hero-bg { will-change: transform; }

/* 3. route spine: page-long gold line that draws with scroll, nodes light per section */
.route-spine { --p: 0; position: absolute; left: 40px; width: 2px; z-index: 4; pointer-events: none; }
.route-spine-track { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(233, 207, 142, 0.22) 0 6px, transparent 6px 14px); }
.route-spine-line { position: absolute; inset: 0; background: var(--color-primary); transform-origin: top center; transform: scaleY(var(--p)); box-shadow: 0 0 10px rgba(194, 141, 33, 0.55); }
.route-node { position: absolute; left: 1px; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 0; }
.route-node-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(233, 207, 142, 0.35); background: var(--color-surface-warm); box-sizing: border-box; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.route-node-line { display: block; width: 0; height: 2px; background: var(--color-primary); opacity: 0; transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s; }
.route-node-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 241, 232, 0.5); white-space: nowrap; margin-left: 10px; opacity: 0; transform: translateX(-6px); transition: opacity 0.4s, transform 0.4s, color 0.3s; }
.route-node.lit .route-node-dot { border-color: var(--color-primary); background: var(--color-primary); box-shadow: 0 0 12px rgba(194, 141, 33, 0.6); }
.route-node.active .route-node-dot { transform: scale(1.6); background: var(--color-primary-light); border-color: var(--color-primary-light); box-shadow: 0 0 18px 2px rgba(233, 207, 142, 0.55); }
.route-node.active .route-node-line { width: 28px; opacity: 1; }
.route-node.active .route-node-label { opacity: 1; transform: translateX(0); color: var(--color-primary-light); }
.route-node.lit:not(.active) .route-node-label { opacity: 0.6; transform: translateX(0); }
@media (max-width: 1240px) { .route-spine { left: 18px; } .route-node-label { display: none; } .route-node.active .route-node-line { width: 14px; } }
@media (max-width: 900px) { .route-spine { left: 8px; width: 2px; } .route-node-dot { width: 10px; height: 10px; } .route-node.active .route-node-dot { transform: scale(1.4); } .route-node-line { display: none; } }

/* 4. staggered reveals: detail cards, ribbons, film frame, why-stack */
.stack-panel.fade-up { transition-delay: var(--d, 0s); }
.ribbon { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ribbon.visible { opacity: 1; transform: none; }
.final-video-frame.fade-up { transition-duration: 0.9s; transform: translateY(40px) scale(0.96); }
.final-video-frame.fade-up.visible { transform: none; }
.offering-stack-wrap.fade-up .stack-card { transition-delay: calc(var(--k, 0) * 0.08s); }
@media (prefers-reduced-motion: reduce) {
  .nav::after { transform: scaleX(0); }
  .route-spine-line { transform: scaleY(1); }
  .route-node-dot, .route-node-line, .route-node-label, .ribbon, .final-video-frame.fade-up { transition: none; }
  .ribbon { opacity: 1; transform: none; }
}
/* node anchors on the spine by its dot, not by the whole dot+label group */
.route-node { left: 0; transform: translateY(-50%); }
.route-node-dot { margin-left: -5px; flex-shrink: 0; }
@media (max-width: 900px) { .route-node-dot { margin-left: -4px; } }

/* ====================================================================
   Section reveals: stronger than the template's 30px fade, and
   re-enabled on the detail cards (the collapsed-list override had
   forced opacity/transform with !important).
   ==================================================================== */
.fade-up { opacity: 0; transform: translateY(48px) scale(0.985); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.fade-up.visible { opacity: 1; transform: none; }
/* detail cards: reveal wins over the collapsed-list override */
.stack-panel.fade-up:not(.visible) { opacity: 0 !important; transform: translateY(48px) scale(0.985) !important; }
.stack-panel.fade-up.visible { opacity: 1 !important; transform: none !important; }
/* big containers get a slower, deeper entrance */
.offering-inner.fade-up, .final-cta-inner.fade-up, .journey-stage { transition-duration: 1.1s; }
.offering-inner.fade-up:not(.visible) { transform: translateY(64px) scale(0.97); }
.journey-title.fade-up:not(.visible) { transform: translateY(32px); }
/* the six detail cards cascade in */
.stack-panel.fade-up { transition-delay: var(--d, 0s); }
/* stack header eyebrow → title → cards */
.stack-header.fade-up { transition-delay: 0s; }
/* hero keeps its own on-load entrance (defined earlier) */
.hero .fade-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up, .stack-panel.fade-up:not(.visible) { opacity: 1 !important; transform: none !important; transition: none; } }
/* spine runs behind the cards: sections with a surface sit above it, nodes live in the gaps */
.route-spine { z-index: 0; }
.offering-inner, .stack-panel, .final-cta-inner, .ribbon, .journey-stage, .stack-header, .footer { position: relative; z-index: 1; }
.route-node { z-index: 2; }
/* timeline threads behind the cards: every surfaced block sits above the line, so it shows only in the gaps */
.route-spine { left: auto; }
.journey, .accordion-wrap, .final-cta, .offering { position: relative; z-index: 1; }
.journey { background: var(--color-surface-warm); }
.route-node-label { margin-left: 14px; }
@media (max-width: 1240px) { .route-node-label { display: inline; } }
@media (max-width: 900px) { .route-node-label { display: none; } .route-node-line { display: block; } }
/* stacking fix: sections stay below the line (z auto), the line at 1, surfaced cards at 2, nodes at 3; the journey band hides it */
.accordion-wrap, .final-cta, .offering { z-index: auto; }
.route-spine { z-index: 1; }
.offering-inner, .stack-panel, .final-cta-inner, .ribbon, .footer, .journey { z-index: 2; }
.route-node { z-index: 3; }
/* spine is not a stacking context: line at 1 (behind cards), nodes at 3 (above ribbons/journey band) in the root context */
.route-spine { z-index: auto; }
.route-spine-track, .route-spine-line { z-index: 1; }
.route-node { z-index: 3; }
/* hero CTA: LightBeam button (dark pill, rotating gold ring, glow, hover shine), compact on mobile */
.hero-beam-cta { height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--color-cream); width: auto; }
.hero-beam-cta > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-beam-cta > span svg { color: var(--color-primary); transition: transform 0.22s ease; }
.hero-beam-cta:hover > span svg { transform: translateX(3px); }
.hero-beam-cta::before { animation-duration: 2s; }
@media (max-width: 900px) {
  .hero-lux-cta .hero-beam-cta { width: auto; height: 46px; padding: 0 22px; font-size: 14px; }
}
/* nav brand: official ATS builder lockup */
.nav-brand-lockup { height: 38px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)); }
@media (max-width: 768px) { .nav-brand-lockup { height: 32px; } }

/* hero project logo: ATS Kingston Heath lockup */
.hero-project-logo {
  height: 52px;
  width: auto;
  max-width: 320px;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}
@media (max-width: 768px) {
  .hero-project-logo {
    height: 40px;
    max-width: 240px;
    margin-bottom: 14px;
  }
}

/* consent checkbox (ClosKar spec 5.1 option A; pre-ticked at the client's instruction) */
.form-consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 16px; cursor: pointer; text-align: left; }
.form-consent input[type="checkbox"] { flex-shrink: 0; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--color-primary); cursor: pointer; }
.form-consent span { font-family: var(--font-body); font-size: 10.5px; line-height: 1.5; color: rgba(244, 241, 232, 0.5); }
.form-consent a { color: var(--color-primary-light); text-decoration: underline; }
.form-consent:hover span { color: rgba(244, 241, 232, 0.65); }

/* ---------- Walkthrough Cinema Section ---------- */
.walkthrough-section {
  padding: 80px 24px;
  background: var(--color-surface-warm);
  position: relative;
  overflow: hidden;
}
.walkthrough-shell {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.walkthrough-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 16px;
}
.walkthrough-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-cream);
  margin-bottom: 16px;
  text-wrap: balance;
}
.walkthrough-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 241, 232, 0.75);
  max-width: 640px;
  margin: 0 auto 36px;
}
.walkthrough-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(194, 141, 33, 0.25);
  background: #000;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}
.walkthrough-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.walkthrough-sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(14, 32, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(194, 141, 33, 0.4);
  color: var(--color-cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.walkthrough-sound-btn:hover {
  background: var(--color-primary);
  color: var(--color-surface-warm);
}
.walkthrough-sound-btn .ico-sound { display: none; }
.walkthrough-sound-btn.unmuted .ico-sound { display: inline-block; }
.walkthrough-sound-btn.unmuted .ico-muted { display: none; }
.walkthrough-caption {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(244, 241, 232, 0.5);
  margin-top: 14px;
}

/* ---------- Footer Partners Strip (FOP & Mzzi) ---------- */
.footer-partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0 28px;
  width: 100%;
}
.footer-partner-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
}
.footer-partner-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(166, 138, 86, 0.4);
}
.partner-kicker {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  line-height: 1.2;
}
.partner-body {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
.partner-logo-box {
  width: 78px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
.partner-logo-fop {
  width: auto;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
.partner-logo-mzzi {
  width: auto;
  max-width: 100%;
  height: 20px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.partner-link:hover .partner-logo-mzzi {
  opacity: 1;
}
.partner-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.partner-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-cream);
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.partner-link:hover .partner-title {
  color: var(--color-primary-light);
}
.partner-desc {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--color-text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .footer-partners {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 28px 0 24px;
  }
  .footer-partner-card {
    padding: 16px 18px;
    gap: 10px;
  }
  .partner-body {
    gap: 14px;
  }
  .partner-logo-box {
    width: 72px;
    height: 38px;
  }
  .partner-logo-fop {
    height: 36px;
  }
  .partner-logo-mzzi {
    height: 18px;
  }
  .partner-title {
    font-size: 13.5px;
  }
  .partner-desc {
    font-size: 11px;
  }
}

/* ---------- Project Snapshot & Luxury Specs Grids ---------- */
.about-dossier {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-lead-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--color-primary);
}
.about-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-cream);
  margin: 0;
  letter-spacing: -0.01em;
}
.about-summary {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 241, 232, 0.78);
  margin: 0;
  max-width: 95ch;
}
.about-summary strong {
  color: var(--color-cream);
  font-weight: 600;
}

/* 4-column metric horizon strip */
.project-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
}
.project-fact-item {
  padding: 16px 18px;
  background: rgba(244, 241, 232, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.25s, transform 0.25s;
}
.project-fact-item:hover {
  border-color: rgba(233, 207, 142, 0.4);
  transform: translateY(-2px);
}
.fact-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.fact-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: rgba(194, 141, 33, 0.14);
  border: 1px solid rgba(233, 207, 142, 0.25);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.project-fact-item span,
.fact-item-header span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-primary-light);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}
.project-fact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-cream);
  font-weight: 600;
  line-height: 1.2;
}
.project-fact-item small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(244, 241, 232, 0.55);
  line-height: 1.35;
}

/* Two-column architectural breakdown */
.dd-body-inner .about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  gap: 36px !important;
  align-items: start !important;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hallmarks-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 10px;
}
.hallmark-card {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(233, 207, 142, 0.12);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hallmark-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(194, 141, 33, 0.15);
  border: 1px solid rgba(233, 207, 142, 0.3);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hallmark-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hallmark-content strong {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-cream);
}
.hallmark-content p {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 241, 232, 0.72);
  margin: 0;
}

/* Showcase image styling */
.dd-body-inner .about-image {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(233, 207, 142, 0.2);
  background: rgba(14, 32, 19, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.about-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.about-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}
.about-image-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 32, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(233, 207, 142, 0.35);
  border-radius: 4px;
  padding: 4px 10px;
}
.about-media-callout {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(14, 32, 19, 0.6);
  border-top: 1px solid rgba(233, 207, 142, 0.12);
}
.about-media-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}
.media-caption {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 241, 232, 0.75);
  margin: 0;
}

.specs-feature-box {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.specs-feature-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 14px;
}
.specs-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.spec-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(194, 141, 33, 0.14);
  border: 1px solid rgba(233, 207, 142, 0.25);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.spec-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-item strong,
.spec-content strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-cream);
  margin-bottom: 2px;
}
.spec-item span,
.spec-content span {
  display: block;
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .project-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dd-body-inner .about-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .dd-body-inner .about-image { position: static; }
}
@media (max-width: 540px) {
  .project-facts-grid { grid-template-columns: 1fr; }
  .specs-feature-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Intelligence Section Helpers ---------- */
.intel-subhead {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin: 18px 0 8px;
  display: block;
}
.intel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intel-list li {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 241, 232, 0.75);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.intel-list li strong {
  color: var(--color-cream);
  font-weight: 600;
}
.intel-list li::before {
  content: "◆";
  font-size: 8px;
  color: var(--color-primary);
  margin-top: 5px;
  flex-shrink: 0;
}
.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}
.sector-tag {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-cream);
}

/* Typology spec cards */
.typology-specs-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.typology-spec-card {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(233, 207, 142, 0.16);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.25s, transform 0.25s;
}
.typology-spec-card:hover {
  border-color: rgba(233, 207, 142, 0.35);
  transform: translateY(-2px);
}
.typology-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 2px;
}
.typology-spec-card strong {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-cream);
}
.typology-spec-card p {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 241, 232, 0.7);
  margin: 0;
}

/* Transit Matrix Grid */
.transit-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0 20px;
}
.transit-pill-item {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(233, 207, 142, 0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.25s, transform 0.25s;
}
.transit-pill-item:hover {
  border-color: rgba(233, 207, 142, 0.35);
  transform: translateY(-2px);
}
.transit-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(194, 141, 33, 0.12);
  border: 1px solid rgba(233, 207, 142, 0.22);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.transit-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.transit-pill-item span,
.transit-info span {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: rgba(244, 241, 232, 0.65);
}
.transit-pill-item strong,
.transit-info strong {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--color-primary-light);
  font-weight: 600;
}

@media (max-width: 768px) {
  .typology-specs-cards { grid-template-columns: 1fr; }
  .transit-pills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .transit-pills-grid { grid-template-columns: 1fr; }
}

/* Card 2: Interactive Pricing Grid */
.dd-body-inner .unlock-price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 24px;
}
@media (max-width: 680px) {
  .dd-body-inner .unlock-price-grid {
    grid-template-columns: 1fr;
  }
}
.dd-body-inner .unlock-price-card {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(233, 207, 142, 0.18);
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.dd-body-inner .unlock-price-card:hover {
  border-color: rgba(233, 207, 142, 0.45);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}
.dd-body-inner .unlock-price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.dd-body-inner .unlock-price-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: rgba(194, 141, 33, 0.12);
  border: 1px solid rgba(233, 207, 142, 0.22);
  border-radius: 4px;
  padding: 4px 10px;
}
.dd-body-inner .unlock-price-amt {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: -0.02em;
}
.dd-body-inner .unlock-price-area {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(244, 241, 232, 0.7);
  line-height: 1.5;
  margin: 6px 0 16px;
  flex-grow: 1;
}
.dd-body-inner .unlock-price-note {
  display: block;
  font-size: 11.5px;
  color: var(--color-primary-light);
  margin-top: 4px;
}
.dd-body-inner .unlock-price-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(233, 207, 142, 0.28);
  background: rgba(194, 141, 33, 0.12);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  margin-top: auto;
}
.dd-body-inner .unlock-price-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(233, 207, 142, 0.15);
  color: var(--color-primary-light);
  transition: transform 0.25s ease;
}
.dd-body-inner .unlock-price-card:hover .unlock-price-cta {
  background: var(--color-primary);
  color: #0E2013;
  border-color: var(--color-primary);
}
.dd-body-inner .unlock-price-card:hover .unlock-price-cta-text {
  color: #0E2013;
}
.dd-body-inner .unlock-price-card:hover .unlock-price-cta-icon {
  background: rgba(14, 32, 19, 0.15);
  color: #0E2013;
  transform: translateX(3px);
}

/* Card 3: Refined Amenities Grid & Gallery */
.dd-body-inner .amenities-v2-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px !important;
  margin: 16px 0 24px !important;
}
.dd-body-inner .amenity-v2 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(233, 207, 142, 0.14);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s, transform 0.25s;
}
.dd-body-inner .amenity-v2:hover {
  border-color: rgba(233, 207, 142, 0.35);
  transform: translateY(-2px);
}
.dd-body-inner .amenity-v2-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(194, 141, 33, 0.15);
  border: 1px solid rgba(233, 207, 142, 0.25);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  box-shadow: none;
}
.dd-body-inner .amenity-v2-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dd-body-inner .amenity-v2-text h4 {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-cream);
  margin: 0;
  letter-spacing: -0.01em;
}
.dd-body-inner .amenity-v2-text span {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(244, 241, 232, 0.7);
  margin: 0;
}
.dd-body-inner .amenity-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dd-body-inner .amenity-gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(233, 207, 142, 0.16);
  background: rgba(14, 32, 19, 0.5);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.dd-body-inner .amenity-gallery figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.dd-body-inner .amenity-gallery figcaption {
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.35;
  color: rgba(244, 241, 232, 0.75);
  background: rgba(14, 32, 19, 0.65);
  border-top: 1px solid rgba(233, 207, 142, 0.1);
  text-align: center;
}
@media (max-width: 900px) {
  .dd-body-inner .amenities-v2-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .dd-body-inner .amenity-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dd-body-inner .amenities-v2-grid {
    grid-template-columns: 1fr !important;
  }
  .dd-body-inner .amenity-gallery {
    grid-template-columns: 1fr;
  }
}

/* Card 5: Gated Floor Plans Matrix */
.dd-body-inner .floor-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin: 20px 0 24px !important;
}
@media (max-width: 1024px) {
  .dd-body-inner .floor-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 540px) {
  .dd-body-inner .floor-grid {
    grid-template-columns: 1fr !important;
  }
}
.dd-body-inner .floor-card {
  position: relative;
  background: rgba(14, 32, 19, 0.5);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(233, 207, 142, 0.18);
  aspect-ratio: 4 / 3;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.dd-body-inner .floor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.dd-body-inner .floor-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 32, 19, 0.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
}
.dd-body-inner .floor-lock-overlay:hover {
  background: rgba(14, 32, 19, 0.65);
}
.dd-body-inner .floor-lock-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(194, 141, 33, 0.2);
  border: 1px solid rgba(233, 207, 142, 0.4);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.dd-body-inner .floor-lock-overlay p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-cream);
  margin: 0;
  line-height: 1.4;
}
.dd-body-inner .floor-lock-overlay p strong {
  color: var(--color-primary-light);
  display: block;
}

/* Floor Plan Schedule Matrix with Icons */
.floor-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 14px 0 20px;
}
.floor-matrix-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(233, 207, 142, 0.18);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, transform 0.25s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.floor-matrix-card:hover {
  border-color: rgba(233, 207, 142, 0.45);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}
.floor-matrix-header h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-cream);
  margin: 3px 0;
}
.floor-matrix-price {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-primary-light);
  font-weight: 600;
}
.floor-matrix-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.floor-matrix-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(244, 241, 232, 0.75);
}
.matrix-list-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(194, 141, 33, 0.14);
  border: 1px solid rgba(233, 207, 142, 0.25);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.floor-matrix-list li strong {
  color: var(--color-cream);
}
@media (max-width: 768px) {
  .floor-matrix-grid {
    grid-template-columns: 1fr;
  }
}

/* Image natural color override (no dead grayscale) */
.about-image img,
.location-map img,
.gallery-grid img {
  filter: none !important;
}
.floor-card img {
  filter: none;
}
.floor-card.locked img {
  filter: blur(28px) brightness(0.6) !important;
}






/* ---------- Round 2: cinematic hero — one full-bleed image, copy bottom-left, one CTA ---------- */
.hero[data-variant="cinema"] { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; min-height: 100svh; text-align: left; background: var(--color-surface-warm); overflow: hidden; }
.hero[data-variant="cinema"] .hero-bg, .hero[data-variant="cinema"] .hero-gradient { display: none; }
.hero[data-variant="cinema"] .hero-cinema-media { position: absolute; inset: 0; margin: 0; }
.hero[data-variant="cinema"] .hero-cinema-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero[data-variant="cinema"] .hero-cinema-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 9, 0.92) 0%, rgba(8, 10, 9, 0.7) 38%, rgba(8, 10, 9, 0.15) 66%, rgba(8, 10, 9, 0) 80%), linear-gradient(180deg, rgba(8, 10, 9, 0.35) 0%, rgba(8, 10, 9, 0) 30%, rgba(8, 10, 9, 0.7) 100%); }
.hero[data-variant="cinema"] .hero-content.hero-cinema { position: relative; z-index: 2; grid-row: 1; align-self: end; justify-self: start; display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 940px; width: 100%; margin: 0; padding: 160px 32px 96px max(48px, calc((100vw - 1280px) / 2)); }
.hero-cinema-eyebrow { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary-light); margin: 0 0 22px; }
.hero-title.hero-cinema-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1.0; letter-spacing: -0.01em; color: var(--color-cream); margin: 0 0 24px; max-width: 100%; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4); }
.hero-title.hero-cinema-title::after { display: none; }
.hero-title.hero-cinema-title em { font-style: italic; font-weight: 500; color: var(--color-primary-light); }
.hero-cinema-subs { display: flex; align-items: stretch; gap: 0 32px; margin: 0 0 34px; }
.hero-cinema-sub { font-family: var(--font-body); font-size: 16px; line-height: 1.45; color: rgba(237, 233, 227, 0.82); margin: 0; padding-right: 32px; border-right: 1px solid rgba(212, 194, 154, 0.3); }
.hero-cinema-price { font-family: var(--font-display); font-size: 34px; font-weight: 500; line-height: 1; color: var(--color-cream); margin: 0; align-self: flex-end; }
.hero-cinema-price .rs { font-family: var(--font-body); font-weight: 500; font-size: 0.72em; margin-right: 2px; vertical-align: 0.06em; }
.hero-cinema-price sup { font-size: 0.45em; vertical-align: top; margin-left: 1px; color: var(--color-primary-light); }
.hero-cinema-sublabel { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-primary-light); margin: 0 0 6px; }
.hero-cinema-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-cinema-cta .btn-beam { min-height: 54px; }
.hero-cinema-film { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: rgba(237, 233, 227, 0.78); transition: color 0.22s ease; }
.hero-cinema-film span { color: var(--color-primary); font-size: 22px; line-height: 1; transition: transform 0.22s ease; }
.hero-cinema-film:hover { color: var(--color-cream); }
.hero-cinema-film:hover span { transform: translateX(3px); }
.hero-cinema-hint { margin: 20px 0 0; font-family: var(--font-body); font-size: 12px; color: rgba(237, 233, 227, 0.45); }
@media (max-width: 900px) {
  .hero[data-variant="cinema"] .hero-cinema-scrim { background: linear-gradient(180deg, rgba(8, 10, 9, 0.45) 0%, rgba(8, 10, 9, 0) 18%, rgba(8, 10, 9, 0.2) 34%, rgba(8, 10, 9, 0.88) 52%, rgba(8, 10, 9, 0.97) 100%); }
  .hero[data-variant="cinema"] .hero-content.hero-cinema { justify-self: stretch; max-width: 100%; padding: 120px 22px 28px; }
  .hero-cinema-eyebrow { font-size: 11px; margin-bottom: 14px; }
  .hero-title.hero-cinema-title { font-size: clamp(38px, 10.4vw, 46px); line-height: 1.02; margin-bottom: 14px; }
  .hero-cinema-subs { flex-direction: column; gap: 14px 0; margin-bottom: 22px; }
  .hero-cinema-sub { font-size: 15px; padding-right: 0; border-right: 0; }
  .hero-cinema-sub br { display: none; }
  .hero-cinema-price { font-size: 30px; align-self: flex-start; }
  .hero-cinema-cta { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .hero-cinema-cta .btn-beam { width: 100%; justify-content: center; }
  .hero-cinema-film { justify-content: center; }
  .hero-cinema-hint { text-align: center; margin-top: 12px; }
}
