/* Omaxe Hathras Phase 2: Casa Corbett layout, Omaxe colours.
   Omaxe navy surfaces, Omaxe red (#EE1D25 family) for actions and prices, light Omaxe blue (#4F91C9 family) for eyebrows and lines.
   Colours sampled from omaxebetogether.co (CSS variables) and the Omaxe / BeTogether logos.
   Only file with colour / font / radius values (docs/StopAISlop.md 3.3). */

:root {
  --color-primary: #FF3B42;
  --color-primary-dark: #D71920;
  --color-primary-light: #A9D1F2;
  --color-primary-glow: rgba(255, 59, 66, 0.35);
  --color-surface-dark: #0B2545;
  --color-surface-warm: #061A33;
  --color-accent: #A9D1F2;
  --color-cream: #F2F6FB;
  --color-earth: #2C5D8F;
  --gold-light: #DCEBF8;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, 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); }
h1, h2, h3, .hero-title, .offering-title, .unlock-section-title, .dd-title, .final-cta h2 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: 0;
}
.form-header h3, .form-success h3 { font-family: var(--font-display); }
.nav-brand-text { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; text-transform: none; font-size: 18px; }

/* ---------- surfaces: flat, no gradients ---------- */
.hero-gradient { background: rgba(4, 18, 36, 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/hero-gate.webp'); background-size: cover; background-position: center; opacity: 0.22; }
.hero[data-variant="lux"] .hero-gradient { background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(6, 26, 51, 0) 0%, rgba(3, 15, 31, 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 40px; }
.hero-price-label { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242, 246, 251, 0.55); }
.hero-price-amt { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 60px); 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(242, 246, 251, 0.5); text-decoration: line-through; text-decoration-color: rgba(242, 246, 251, 0.4); margin-top: 2px; }
.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(242, 246, 251, 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-gate-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(242, 246, 251, 0.12); border-radius: var(--radius); background: rgba(242, 246, 251, 0.03); }
.aqi-tile--here { border-color: var(--color-primary); background: rgba(255, 59, 66, 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(242, 246, 251, 0.55); }
.aqi-note { margin: 16px 0 0; font-size: 12px; color: rgba(242, 246, 251, 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(255, 59, 66, 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(242, 246, 251, 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(242, 246, 251, 0.5); padding: 8px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; }
.faq-list details { border: 1px solid rgba(242, 246, 251, 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(242, 246, 251, 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(242, 246, 251, 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 feature card image + plan grid ---------- */
.amenity-v2-feature { background-image: url('../assets/gallery/club-interiors.webp'); background-size: cover; background-position: center; }
.amenity-v2-feature .amenity-v2-icon { background: rgba(4, 18, 36, 0.6); }
.amenity-v2-feature .amenity-v2-text h4, .amenity-v2-feature .amenity-v2-text span { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
#floorGrid { grid-template-columns: repeat(2, 1fr); }

/* ---------- 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(6, 26, 51, 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(242, 246, 251, 0.045); border-color: rgba(169, 209, 242, 0.16); }
.dd.open, .dd:hover:not(.open) { background: rgba(242, 246, 251, 0.06); }
.dd-body-inner.dd-body-dark { background: rgba(6, 26, 51, 0.55); }
.final-cta { background: var(--color-surface-warm); }
.final-cta-inner { background: rgba(242, 246, 251, 0.045); }
.footer { background: var(--color-surface-warm); border-top-color: rgba(169, 209, 242, 0.16); }
.form-modal-content { background: var(--color-surface-dark); }
.sticky-cta { background: rgba(6, 26, 51, 0.92); }

/* template sets body background #04122A !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(6, 26, 51, 0.9) !important; border-bottom-color: rgba(169, 209, 242, 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(169, 209, 242, 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(255, 59, 66, 0.45)); }
.journey-marker circle:first-child { fill: rgba(255, 59, 66, 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(169, 209, 242, 0.3); stroke-width: 2; transition: stroke 0.4s, fill 0.4s; }
.journey-stop-dot { fill: rgba(169, 209, 242, 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(242, 246, 251, 0.55); transition: fill 0.4s; }
.journey-stop-meta { font-family: var(--font-body); font-size: 12px; fill: rgba(242, 246, 251, 0.4); transition: fill 0.4s; }
.journey-stop.lit .journey-stop-ring { stroke: var(--color-primary); fill: rgba(255, 59, 66, 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(242, 246, 251, 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(169, 209, 242, 0.22); border-bottom: 1px solid rgba(169, 209, 242, 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(255, 59, 66, 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(255, 59, 66, 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(255, 59, 66, 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(255, 59, 66, 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(169, 209, 242, 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(169, 209, 242, 0.16); }
.offering-inner.beam-ring::before { animation: beamSpin 8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .beam-ring::before { animation: none; background: rgba(169, 209, 242, 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(169, 209, 242, 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(255, 59, 66, 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(3, 15, 31, 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(169, 209, 242, 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(3, 15, 31, 0) 35%, rgba(3, 15, 31, 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(255, 59, 66, 0.18); border: 1px solid rgba(169, 209, 242, 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(242, 246, 251, 0.8); }
.card-stack-hint { margin: 0; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242, 246, 251, 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(169, 209, 242, 0.22); background: rgba(242, 246, 251, 0.04); color: rgba(242, 246, 251, 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(169, 209, 242, 0.12); color: var(--color-primary-light); font-size: 12px; font-weight: 700; }
.stack-chip:hover { border-color: rgba(169, 209, 242, 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(6, 26, 51, 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(242, 246, 251, 0.045); border: 1px solid rgba(169, 209, 242, 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(169, 209, 242, 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(242, 246, 251, 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(169, 209, 242, 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(6, 26, 51, 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: #0D2A4E; }
.stack-panel.is-top { background: #0D2A4E; }
.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%, #143563 0%, #0A2140 64%);
  border: 1px solid rgba(169, 209, 242, 0.14);
  box-shadow: inset 0 1px 0 rgba(169, 209, 242, 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(169, 209, 242, 0.35), inset 0 -48px 48px -40px rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(169, 209, 242, 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(169, 209, 242, 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(169, 209, 242, 0.14); }
.stack-panel-head::before {
  content: ''; position: absolute; left: 18%; right: 18%; top: 0; height: 2px; border-radius: 2px;
  background: rgba(169, 209, 242, 0.18); box-shadow: 0 0 0 0 rgba(169, 209, 242, 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(169, 209, 242, 0.55) 0%, rgba(169, 209, 242, 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(169, 209, 242, 0.7), 0 0 30px 4px rgba(255, 59, 66, 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(169, 209, 242, 0.16), rgba(169, 209, 242, 0.04)); border: 1px solid rgba(169, 209, 242, 0.22); color: rgba(169, 209, 242, 0.6); transition: filter 0.4s ease-in-out, color 0.4s; }
.stack-panel.is-top .stack-panel-head .dd-head-icon { color: var(--color-primary-light); filter: drop-shadow(0 -10px 14px rgba(169, 209, 242, 0.35)) brightness(1.15); }
.stack-panel-head .dd-title { color: var(--color-cream); }
.stack-panel.is-top .stack-panel-head .dd-eyebrow { color: var(--color-primary-light); }
/* 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(169, 209, 242, 0.3); position: relative; box-shadow: inset 0 -6px 8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(169, 209, 242, 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(169, 209, 242, 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(6, 26, 51, 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(6, 26, 51, 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(255, 59, 66, 0.35), 0 0 0 4px rgba(169, 209, 242, 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(169, 209, 242, 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(169, 209, 242, 0.2); }
.stack-panel:not(.open) .stack-panel-head::before { background: rgba(169, 209, 242, 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(169, 209, 242, 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(169, 209, 242, 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(255, 59, 66, 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(169, 209, 242, 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(242, 246, 251, 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(255, 59, 66, 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(169, 209, 242, 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 lockup instead of mark + text */
.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; } }

/* 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(242, 246, 251, 0.5); }
.form-consent a { color: var(--color-primary-light); text-decoration: underline; }
.form-consent:hover span { color: rgba(242, 246, 251, 0.65); }


/* ---------- Omaxe overrides ---------- */
/* red buttons carry white text (the gold buttons carried dark text) */
.btn-primary, .btn-primary.pulse-glow, .sticky-cta-btn, .form-submit, .footer-cta, .unlock-price-cta { background: #E31E24 !important; color: #FFFFFF !important; border-color: #E31E24 !important; }
.btn-primary:hover, .sticky-cta-btn:hover, .form-submit:hover, .footer-cta:hover { background: #C4161C !important; }
.btn-primary svg, .sticky-cta-btn svg, .form-submit svg { color: #FFFFFF; }
/* Omaxe logo is a wide lockup, not a square mark */
.hero-mark { width: auto !important; height: 72px !important; }
.footer-logo-img { width: auto !important; height: 64px !important; }
.footer-developer img { width: auto !important; height: 28px !important; }
.form-logo { width: auto !important; height: 48px !important; }
.nav-brand-lockup { height: 30px !important; width: auto !important; }
@media (max-width: 900px) { .hero-mark { height: 60px !important; } .nav-brand-lockup { height: 24px !important; } }
/* the saving line is a discount, not a struck-out old price */
.hero-price-was.hero-price-save { text-decoration: none !important; color: #A9D1F2 !important; font-weight: 600; }
/* hero fills the phone screen (99% of the traffic is mobile) */
@media (max-width: 900px) {
  .hero[data-variant="lux"] { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; }
  .hero[data-variant="lux"] .hero-bg { opacity: 0.32; }
}

/* fonts as on Eldeco 7 Peaks: Fraunces + Manrope; lining figures for prices */
h1, h2, h3, .hero-title, .hero-price-amt, .invest-number, .unlock-price-amt, .stack-card-body strong { font-variant-numeric: lining-nums; font-optical-sizing: auto; }
/* readability fixes from the contrast audit */
.footer-disclaimer, .footer-disclaimer a { color: rgba(242, 246, 251, 0.62) !important; opacity: 1 !important; }
.unlock-price-cta-text, .unlock-price-cta-icon { color: #FFFFFF !important; }
.stack-panel-count { color: rgba(242, 246, 251, 0.7) !important; }
.card-stack-hint { color: rgba(242, 246, 251, 0.62) !important; }
.amenity-v2-text span { color: rgba(242, 246, 251, 0.72) !important; font-size: 12.5px; }
.media-caption, .amenity-gallery figcaption { color: rgba(242, 246, 251, 0.66) !important; }

/* ---------- hero offer coupon ---------- */
.hero[data-variant="lux"] .hero-price-line { margin-bottom: 22px; }
.hero-offer { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto 30px; padding: 14px 34px 14px; border: 1.5px dashed rgba(255, 255, 255, 0.55); border-radius: 12px; background: linear-gradient(135deg, #E31E24 0%, #B8141A 100%); color: #FFFFFF; cursor: pointer; box-shadow: 0 14px 34px -10px rgba(227, 30, 36, 0.6); transition: transform 0.2s ease, box-shadow 0.2s ease; font-family: var(--font-body); }
.hero-offer::before, .hero-offer::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--color-surface-warm); }
.hero-offer::before { left: -10px; }
.hero-offer::after { right: -10px; }
.hero-offer:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(227, 30, 36, 0.75); }
.hero-offer-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #FFFFFF; color: #C4161C; }
.hero-offer-main { display: flex; align-items: center; gap: 8px; line-height: 1; }
.hero-offer-main strong { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.hero-offer-upto { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-offer-off { display: flex; flex-direction: column; align-items: flex-start; font-size: 22px; font-weight: 800; letter-spacing: 0.04em; line-height: 0.95; }
.hero-offer-off small { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.9; margin-top: 3px; }
.hero-offer-save { font-size: 13px; font-weight: 500; opacity: 0.95; }
.hero-offer-save b { font-weight: 800; }
/* a slow shine across the coupon */
.hero-offer > span { position: relative; z-index: 2; }
.hero-offer .hero-offer-shine { display: none; }
.hero-offer { background-size: 100% 100%; }
.hero-offer::selection { background: transparent; }
@keyframes offerShine { 0%, 62% { transform: translateX(-140%) skewX(-20deg); } 100% { transform: translateX(240%) skewX(-20deg); } }
.hero-offer .hero-offer-main::after { content: ''; position: absolute; z-index: 1; top: -60px; bottom: -60px; left: 0; width: 60px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0)); animation: offerShine 3.6s ease-in-out infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-offer .hero-offer-main::after { animation: none; display: none; } }
@media (max-width: 900px) {
  .hero-offer { padding: 12px 26px; margin-bottom: 24px; }
  .hero-offer-main strong { font-size: 38px; }
  .hero-offer-off { font-size: 19px; }
}
.hero-lux-title .nowrap { white-space: nowrap; }
@media (max-width: 900px) { .hero-title.hero-lux-title { font-size: clamp(30px, 8.6vw, 38px) !important; } }
.hero-price-amt .hero-price-unit { font-family: var(--font-body); font-size: 0.36em; font-weight: 600; letter-spacing: 0.02em; color: rgba(242, 246, 251, 0.85); margin-left: 4px; vertical-align: 0.35em; }
/* Omaxe logo (wide, no "new venture" line) */
.hero-mark { height: 52px !important; }
.footer-logo-img { height: 46px !important; }
.form-logo { height: 36px !important; }
@media (max-width: 900px) { .hero-mark { height: 42px !important; } }
