/* ==========================================================================
   AEROVISTA — CORE STYLES (desktop-first; phones in mobile.css)
   The video is the page. Everything else is a quiet sheet laid over it.
   ========================================================================== */

:root {
  --ink:        #0B0D1C;                      /* page ground behind the video */
  --glass:      rgba(11, 13, 28, 0.84);       /* sheet over video */
  --glass-line: rgba(255, 255, 255, 0.10);
  --ivory:      #F7F4EE;                      /* solid sheet (residences) */
  --ivory-2:    #EDE8DF;
  --text:       #FFFFFF;
  --text-2:     rgba(255, 255, 255, 0.74);
  --text-3:     rgba(255, 255, 255, 0.52);
  --ink-text:   #16171B;
  --ink-text-2: #5A5B62;
  --ink-line:   rgba(22, 23, 27, 0.12);
  --gold:       #C9AF86;
  --cta:        #B8471B;
  --cta-hover:  #9C3B15;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --gutter:  clamp(1.5rem, 5vw, 5rem);
  --max-w:   1480px;
  --sheet-w: 560px;
  --sheet-r: 20px;
  --sec-gap: 22vh;                             /* clear video between sheets */

  /* Scroll runway: ~165px per second of the 102 s master (≈14 frames per 100px wheel notch) */
  --scrub-track: 2000vh;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; background: var(--ink); }
body { background: transparent; color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
body.video-loading, body.nav-locked, body.modal-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
address { font-style: normal; }
sup { font-size: 0.55em; vertical-align: super; line-height: 0; }
b { font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anchor { position: absolute; top: -80px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- Type --- */
.t-display { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6.5vw, 6rem); line-height: 0.98; letter-spacing: -0.015em; }
.t-h1      { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.01em; }
.lines     { margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.4; color: var(--text-2); }
.t-body-light { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: var(--text-2); max-width: 34em; }
.note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-3); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.8rem 1.7rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em; border-radius: 10px; white-space: nowrap; transition: background-color 0.25s var(--ease), border-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.btn-lg { min-height: 56px; padding: 1rem 2.2rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.btn-secondary { background: transparent; color: var(--ink-text); border: 1px solid var(--ink-line); }
.btn-secondary:hover { border-color: var(--ink-text); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #DCC9A8; transform: translateY(-1px); }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }

/* ==========================================================================
   Loader
   ========================================================================== */
.video-loader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 2rem; transition: opacity 0.8s var(--ease), visibility 0.8s; }
.video-loader.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { width: min(100%, 340px); text-align: center; }
.loader-logo { width: 130px; height: auto; margin-inline: auto; filter: invert(1); }
.loader-tagline { margin-top: 0.75rem; font-family: var(--serif); font-size: 1.1rem; color: var(--gold); }
.loader-track { margin: 2.5rem 0 0.8rem; height: 1px; background: rgba(255,255,255,0.14); position: relative; }
.loader-bar { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gold); transition: width 0.25s linear; }
.loader-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-3); }

/* ==========================================================================
   Fixed video background
   ========================================================================== */
.video-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); }
.hero-video, .hero-poster-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-poster-fallback { opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.video-bg.has-fallback-poster .hero-poster-fallback { opacity: 1; }

/* Scrim: light touch at the top (header), deeper only in the hero pocket */
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(6,8,20,0.42) 0%, transparent 18%); }
.hero-scrim::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 74% at 8% 100%, rgba(6,8,20,0.92) 0%, rgba(6,8,20,0.7) 42%, rgba(6,8,20,0.25) 75%, transparent 100%), linear-gradient(to top, rgba(6,8,20,0.5) 0%, transparent 42%); opacity: 1; transition: opacity 0.6s; }
.video-bg.past-hero .hero-scrim::after { opacity: 0; }

/* ==========================================================================
   Hero identity — anchored left, facade stays clear on the right
   ========================================================================== */
.hero-intro { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0 var(--gutter) clamp(2.5rem, 5vh, 4rem); color: #fff; will-change: opacity; }
.hero-pocket { max-width: 640px; text-shadow: 0 1px 24px rgba(0,0,0,0.45); }
.hero-title { font-weight: 400; line-height: 1; }
.hero-title-word { display: block; font-family: var(--serif); font-size: clamp(3.4rem, 8vw, 7rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 0.95; }
.hero-positioning { margin-top: 1.1rem; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.35; color: rgba(255,255,255,0.9); }

.hero-facts { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(201,175,134,0.45); display: flex; gap: 0.5rem 2.5rem; flex-wrap: wrap; }
.hero-facts div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-facts dt { font-size: 0.78rem; color: var(--text-2); }
.hero-facts dd { font-size: 0.95rem; font-weight: 500; white-space: nowrap; }

.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-actions .btn { text-shadow: none; }

.hero-scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 5vh, 4rem); display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; font-size: 0.78rem; color: var(--text-2); }
.hero-scroll-line { display: block; width: 1px; height: 44px; background: linear-gradient(to bottom, var(--gold), transparent); animation: cue 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(18px); opacity: 0; } }

/* Scrub UI: chapter caption + hairline progress, only during the scrub */
.scrub-ui { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.video-bg.show-chapter .scrub-ui { opacity: 1; transform: none; }
.hero-chapter { position: absolute; left: var(--gutter); bottom: clamp(2rem, 4vh, 3rem); display: inline-flex; align-items: baseline; gap: 0.75rem; padding: 0.55rem 0.9rem 0.55rem 0.8rem; border-radius: 999px; background: rgba(11,13,28,0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-chapter-index { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.06em; }
.hero-chapter-label { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.02em; }
.scrub-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,0.12); }
.scrub-progress i { display: block; height: 100%; width: 0; background: var(--gold); }

/* ==========================================================================
   Header — transparent over the hero, ink glass afterwards
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: calc(0.9rem + env(safe-area-inset-top)) 0 0.9rem; color: #fff; transition: background-color 0.4s var(--ease), box-shadow 0.4s; }
.site-header.is-scrolled { background: rgba(11,13,28,0.62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--glass-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
/* Header only: both marks in original colours on a clear glass chip */
.brand-glass { display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.5rem 0.95rem; border-radius: 14px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); -webkit-backdrop-filter: blur(18px) saturate(140%) brightness(1.15); backdrop-filter: blur(18px) saturate(140%) brightness(1.15); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 24px rgba(0,0,0,0.18); }
.brand-glass img { display: block; width: auto; }
.brand-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.3); }
.brand-logo { height: 50px; }
.brand-dev  { height: 34px; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-cta { min-height: 42px; padding: 0.55rem 1.2rem; font-size: 0.8rem; }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 42px; padding: 0.4rem 0.2rem; font-size: 0.82rem; font-weight: 500; }
.menu-toggle-lines { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-toggle-lines span { display: block; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-toggle.is-active .menu-toggle-lines span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle-lines span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
body.nav-locked .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.nav-locked .header-cta { visibility: hidden; }

/* --- Full-screen menu --- */
.site-menu { position: fixed; inset: 0; z-index: 99; background: rgba(11,13,28,0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: #fff; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; overflow-y: auto; }
.site-menu.is-open { opacity: 1; visibility: visible; }
.site-menu-inner { min-height: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: end; padding-top: calc(7rem + env(safe-area-inset-top)); padding-bottom: calc(3rem + env(safe-area-inset-bottom)); }
.site-menu-list { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.site-menu-list a { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.18; opacity: 0; transform: translateY(12px); transition: color 0.25s, opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.site-menu.is-open .site-menu-list a { opacity: 1; transform: none; }
.site-menu.is-open .site-menu-list li:nth-child(1) a { transition-delay: 0.04s; }
.site-menu.is-open .site-menu-list li:nth-child(2) a { transition-delay: 0.08s; }
.site-menu.is-open .site-menu-list li:nth-child(3) a { transition-delay: 0.12s; }
.site-menu.is-open .site-menu-list li:nth-child(4) a { transition-delay: 0.16s; }
.site-menu.is-open .site-menu-list li:nth-child(5) a { transition-delay: 0.20s; }
.site-menu.is-open .site-menu-list li:nth-child(6) a { transition-delay: 0.24s; }
.site-menu.is-open .site-menu-list li:nth-child(7) a { transition-delay: 0.28s; }
.site-menu-list a:hover { color: var(--gold); }
.site-menu-aside { display: flex; flex-direction: column; gap: 1rem; font-size: 0.98rem; line-height: 1.6; color: var(--text-2); }
.site-menu-phone { font-family: var(--serif); font-size: 1.7rem; color: #fff; }
.site-menu-rera { font-size: 0.85rem; color: var(--gold); }
.site-menu-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }

/* ==========================================================================
   Scrub track + content
   ========================================================================== */
.scrub-track { position: relative; height: var(--scrub-track); }
.content { position: relative; z-index: 2; }

.sec { position: relative; padding-block: var(--sec-gap); }
.sec + .sec { padding-top: 0; }
.stagger { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem var(--gutter); align-items: start; }
.stagger .sheet--right { margin-top: 18vh; }

/* Sheets */
.sheet { position: relative; width: min(100%, var(--sheet-w)); padding: clamp(2rem, 3vw, 3rem); border-radius: var(--sheet-r); background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(115%); backdrop-filter: blur(20px) saturate(115%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 40px 90px rgba(0,0,0,0.38); }
.sheet::before { content: ''; position: absolute; top: 0; left: clamp(2rem, 3vw, 3rem); width: 40px; height: 1px; background: linear-gradient(to right, var(--gold), transparent); }
.sheet > .t-h1:first-child, .sheet > .m-kicker + .t-h1 { margin-top: 0.15rem; }
.m-kicker { display: none; }
.sheet--right { margin-left: auto; }
.sheet--wide { --sheet-w: 760px; }
.sheet--full { width: 100%; }
.sheet--tight { padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem); margin-bottom: 2rem; }
.sheet--solid { background: var(--ivory); color: var(--ink-text); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 40px 90px rgba(0,0,0,0.38); }
.sheet--solid::before { display: none; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.75rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1.25rem; }
.stats dd { font-family: var(--serif); font-size: clamp(2.1rem, 2.8vw, 2.8rem); line-height: 1; white-space: nowrap; letter-spacing: -0.01em; }
.stats dd span, .stats dd sup { color: var(--gold); }
.stats dt { margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-2); }

/* Principles */
.principles { list-style: none; margin-top: 1.75rem; border-top: 1px solid var(--glass-line); }
.principles li { padding: 1.2rem 0; border-bottom: 1px solid var(--glass-line); }
.principles h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.principles p { margin-top: 0.3rem; font-size: 0.95rem; color: var(--text-2); }

/* Residences (solid sheet) */
.sheet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.residence-switch { display: inline-flex; gap: 1.75rem; border-bottom: 1px solid var(--ink-line); }
.residence-tab { padding: 0 0 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--ink-text-2); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color 0.25s, border-color 0.25s; }
.residence-tab.is-active { color: var(--ink-text); border-bottom-color: var(--ink-text); }
.residence-panel { display: none; }
.residence-panel.is-active { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.residence-figure { border-radius: 14px; overflow: hidden; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.residence-figure::-webkit-scrollbar { display: none; }
.residence-figure img { flex: 0 0 100%; scroll-snap-align: start; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.residence-sheet { display: flex; flex-direction: column; gap: 1.1rem; }
.residence-kicker { font-size: 0.9rem; color: var(--ink-text-2); }
.residence-area { font-family: var(--serif); font-size: clamp(2.2rem, 3.2vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.residence-area small { font-size: 0.42em; color: var(--ink-text-2); }
.residence-price { display: flex; align-items: baseline; gap: 0.8rem; font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1; padding-bottom: 1.1rem; border-bottom: 1px solid var(--ink-line); }
.residence-price span { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-text-2); }
.residence-price sup { color: var(--gold); margin-left: -0.15em; }
.residence-feature dt { font-size: 0.85rem; color: var(--ink-text-2); }
.residence-feature dd { margin-top: 0.2rem; font-size: 1.05rem; font-weight: 500; }
.residence-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.price-note { font-size: 0.78rem; color: var(--ink-text-2); }

/* Horizontal strips (amenities, site photographs) */
.strip { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); padding-bottom: 0.5rem; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: 0 0 clamp(280px, 30vw, 460px); scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.strip figcaption { margin-top: 0.8rem; font-size: 0.9rem; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
.strip figcaption b { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--gold); margin-bottom: 0.1rem; }

/* Location */
.location-highlight { margin-top: 1.25rem; font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; color: var(--text-2); }
.location-highlight b { color: var(--gold); font-weight: 400; }
.location-list { list-style: none; border-top: 1px solid var(--glass-line); }
.location-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--glass-line); }
.location-list li span:first-child { font-size: 0.98rem; }
.location-list li span:last-child { font-family: var(--serif); font-size: 1.45rem; white-space: nowrap; color: var(--gold); }

/* FAQ */
.faq-list { margin-top: 1.75rem; border-top: 1px solid var(--glass-line); }
.faq-item { border-bottom: 1px solid var(--glass-line); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; text-align: left; }
.faq-trigger .question { font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }
.faq-trigger .icon { position: relative; flex: 0 0 20px; height: 20px; }
.faq-trigger .icon::before, .faq-trigger .icon::after { content: ''; position: absolute; top: 50%; left: 50%; background: #fff; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.3s; }
.faq-trigger .icon::before { width: 16px; height: 1px; }
.faq-trigger .icon::after { width: 1px; height: 16px; }
.faq-item.is-open .faq-trigger .icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 2.5rem 1.3rem 0; color: var(--text-2); line-height: 1.65; }

/* ==========================================================================
   Final + footer (solid)
   ========================================================================== */
.sec-final { margin-top: var(--sec-gap); background: var(--ink); text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; padding-block: clamp(6rem, 12vw, 10rem) clamp(4rem, 8vw, 6rem); }
.final-mark { width: 84px; height: auto; filter: invert(1); opacity: 0.9; margin-bottom: 2rem; }
.final-lines { margin-top: 1.75rem; font-family: var(--serif); font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.5; color: var(--text-2); }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.5rem; }
.final-meta { margin-top: 2rem; font-size: 0.85rem; color: var(--text-3); }
.final-meta a { color: var(--text-2); }

.site-footer { border-top: 1px solid var(--glass-line); padding-block: clamp(3rem, 5vw, 4rem) 2rem; text-align: left; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-logo { width: 110px; height: auto; filter: invert(1); }
.footer-by { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.footer-dev { height: 22px; width: auto; }
.footer-brand address { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.65; }
.footer-phone { color: #fff; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-rera { margin-top: 0.75rem; font-size: 0.85rem; }
.footer-rera b { color: #fff; }
.footer-summary { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-line); font-size: 0.9rem; line-height: 1.65; color: var(--text-2); max-width: 70em; }
.footer-disclaimer { margin-top: 1rem; font-size: 0.78rem; line-height: 1.65; color: var(--text-3); max-width: 70em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; font-size: 0.75rem; color: var(--text-3); }

/* Mobile bar (shown in mobile.css) */
.mobile-bar { display: none; }

/* ==========================================================================
   Modal + lead form (light surface)
   ========================================================================== */
.site-modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; color: var(--ink-text); }
.site-modal.is-active { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; inset: 0; background: rgba(6,8,20,0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-container { position: relative; z-index: 1; width: 100%; max-width: 620px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; background: var(--ivory); border-radius: 20px; padding: 2.5rem; box-shadow: 0 40px 100px rgba(0,0,0,0.5); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--ivory-2); }
.modal-header { margin-bottom: 1.5rem; padding-right: 2.5rem; }
.modal-header h3, .t-h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.modal-header .t-micro, .text-accent { display: block; font-size: 0.8rem; color: var(--ink-text-2); margin-bottom: 0.35rem; text-transform: none; letter-spacing: 0; }
.t-meta { font-size: 0.85rem; color: var(--ink-text-2); line-height: 1.55; }
.modal-media { margin: 1.5rem 0; border-radius: 12px; overflow: hidden; }
.modal-img { width: 100%; height: auto; }
.modal-footer-action { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--ink-line); }
.modal-footer-action .plan-note { flex: 1 1 240px; }
.t-body-bold { display: block; font-weight: 500; margin-bottom: 0.15rem; }
.site-modal.is-lightbox .modal-container { background: var(--ink); color: #fff; }
.modal-media-caption { display: none; }

.lead-form { display: flex; flex-direction: column; gap: 1.3rem; width: 100%; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; text-align: left; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--ink-text); text-transform: none; letter-spacing: 0; }
.form-input { width: 100%; max-width: 100%; height: 50px; padding: 0 1rem; font: inherit; font-size: 1rem; color: var(--ink-text); background: #fff; border: 1px solid var(--ink-line); border-radius: 10px; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { outline: none; border-color: var(--ink-text); box-shadow: 0 0 0 3px rgba(22,23,27,0.08); }
.phone-input-wrap { display: flex; }
.country-prefix { height: 50px; padding: 0 0.9rem; display: flex; align-items: center; background: var(--ivory-2); border: 1px solid var(--ink-line); border-right: 0; border-radius: 10px 0 0 10px; font-weight: 500; }
.phone-field { border-radius: 0 10px 10px 0; }
.form-error { font-size: 0.78rem; color: #B42318; min-height: 1em; }
.segmented-control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--ivory-2); border-radius: 10px; }
.segment-btn { min-height: 44px; padding: 0.5rem; font-size: 0.85rem; font-weight: 500; border-radius: 7px; }
.segment-btn.is-active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-btn { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.85rem; border: 1px solid var(--ink-line); border-radius: 999px; background: #fff; }
.chip-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-actions, .form-actions-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.form-actions .btn, .form-actions-row .btn { flex: 1 1 auto; }
.form-disclaimer { font-size: 0.78rem; color: var(--ink-text-2); text-align: center; }
.form-success-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; padding: 1rem 0; }
.success-icon-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; width: 100%; }
.visit-info-box { width: 100%; padding: 1.1rem 1.25rem; background: var(--ivory-2); border-radius: 10px; text-align: left; }


/* ==========================================================================
   DESKTOP (≥ 769px) — the same language as the phone build:
   frosted logo chip + floating menu pill, hairline glass sheets over the
   film, boxed numbers, gold line-icons, pill toggles, ticket pricing,
   image-first amenity cards, boxed FAQ, editorial contents-page menu.
   Phones never load this block (mobile.css is authoritative ≤ 768px).
   ========================================================================== */
@media (min-width: 769px) {
  :root { --glass: rgba(15, 18, 34, 0.84); --sheet-r: 28px; }

  /* --- Buttons --- */
  .btn { min-height: 54px; padding: 0.8rem 1.8rem; border-radius: 16px; font-size: 0.86rem; }
  .btn-lg { min-height: 58px; padding: 1rem 2.4rem; font-size: 0.92rem; }
  .btn-ghost { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); }

  /* --- Loader: sunset elevation behind the mark --- */
  .video-loader::before { content: ''; position: absolute; inset: -40px; background: url('../assets/images/building-right-view.webp') center / cover no-repeat; filter: blur(14px) saturate(110%); opacity: 0.6; }
  .video-loader::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,13,28,0.35), rgba(11,13,28,0.85)); }
  .loader-inner { position: relative; z-index: 1; }
  .loader-tagline { margin-top: 1.4rem; font-size: 2.2rem; line-height: 1.15; }
  .loader-track { background: rgba(255,255,255,0.18); }
  .loader-meta { color: var(--text-2); }

  /* --- Header: chip left, CTA + menu pill right, no bar --- */
  .site-header { padding: 20px 0 0; pointer-events: none; }
  .site-header.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-inner { align-items: flex-start; }
  .brand-glass { pointer-events: auto; height: 74px; padding: 0 22px; gap: 16px; border-radius: 24px; background: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.55); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 6px 22px rgba(0,0,0,0.14); transition: opacity 0.3s var(--ease); }
  .brand-divider { height: 30px; background: rgba(11,13,28,0.16); }
  .brand-logo { height: 44px; }
  .brand-dev { height: 30px; }
  body.nav-locked .brand-glass { opacity: 0; pointer-events: none; }
  .header-actions { pointer-events: auto; gap: 10px; margin-top: 11px; }
  .header-cta { min-height: 52px; padding: 0 22px; border-radius: 16px; font-size: 0.84rem; }
  .menu-toggle { min-height: 52px; padding: 0 18px 0 20px; gap: 12px; border-radius: 16px; color: var(--ink); background: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.55); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 6px 22px rgba(0,0,0,0.14); transition: background-color 0.3s var(--ease), color 0.3s; }
  .menu-toggle-lines { width: 20px; gap: 6px; }
  body.nav-locked .menu-toggle { color: #fff; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

  /* --- Menu: contents page --- */
  .site-menu { background: rgba(11,13,28,0.9); }
  .site-menu-inner { grid-template-columns: 1.4fr 1fr; align-items: center; padding-top: calc(8rem + env(safe-area-inset-top)); padding-bottom: 5rem; }
  .site-menu-list { gap: 0.4rem; }
  .site-menu-list a { font-size: clamp(3rem, 5.5vw, 4.6rem); line-height: 1.15; }
  .site-menu-aside { max-width: 400px; gap: 1.1rem; }
  .site-menu-aside::before { content: ''; display: block; width: 214px; height: 70px; border-radius: 22px; background: url('../assets/logos/aerovista-logo.png') 20px center / auto 42px no-repeat, linear-gradient(rgba(11,13,28,0.16), rgba(11,13,28,0.16)) 94px center / 1px 28px no-repeat, url('../assets/logos/dukia-group-logo.png') right 20px center / auto 30px no-repeat, rgba(255,255,255,0.86); box-shadow: 0 6px 22px rgba(0,0,0,0.18); margin-bottom: 0.5rem; }
  .site-menu-phone { font-size: 1.8rem; }
  .site-menu-rera { color: var(--gold); }
  .site-menu-actions { gap: 0.7rem; }

  /* --- Hero --- */
  .hero-title-word { text-transform: none; letter-spacing: -0.01em; font-size: clamp(3.6rem, 7vw, 6.4rem); }
  .hero-actions .btn { border-radius: 16px; }
  .scrub-progress { display: none; }
  .hero-chapter { bottom: clamp(2rem, 4vh, 3rem); }

  /* --- Sheets --- */
  .sheet { border-radius: var(--sheet-r) var(--sheet-r) 18px 18px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 24px 60px rgba(0,0,0,0.28); padding: clamp(2.25rem, 3vw, 3rem) clamp(2rem, 3vw, 2.75rem); }
  .sheet::before { left: 50%; top: 14px; width: 48px; height: 5px; border-radius: 999px; transform: translateX(-50%); background: rgba(255,255,255,0.16); }
  .sheet--solid { border: 0; }
  .sheet--solid::before { display: block; background: rgba(22,23,27,0.14); }
  .sheet--left .m-kicker { display: block; font-size: 0.82rem; font-weight: 500; color: var(--gold); margin-bottom: 0.8rem; }
  .lines { font-family: var(--sans); font-size: 1.08rem; line-height: 1.65; margin-top: 1.25rem; }
  .sheet-actions .btn { flex: 1 1 auto; }

  /* --- Numbers: boxed cards --- */
  .stats { gap: 12px; padding-top: clamp(2.75rem, 3.5vw, 3.25rem); }
  .stats > div { padding: 1.5rem 1.25rem 1.35rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; background: rgba(255,255,255,0.035); }
  .stats dd { font-size: clamp(2rem, 2.5vw, 2.5rem); }

  /* --- Principles: gold line-icons in hairline circles --- */
  .principles li { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 1.25rem; align-items: start; padding: 1.4rem 0; }
  .principles li::before { content: ''; grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(201,175,134,0.32); background: rgba(255,255,255,0.03); }
  .principles li::after { content: ''; position: absolute; left: 14px; top: calc(1.4rem + 14px); width: 24px; height: 24px; background: var(--gold); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
  .principles li:nth-child(1) { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4'/><path d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/></svg>"); }
  .principles li:nth-child(2) { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><path d='M9.5 12l1.8 1.8L15 10'/></svg>"); }
  .principles li:nth-child(3) { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 3c-6 1-13 4-13 13 0 2 1.2 4 4 4 8 0 9-9 9-17z'/><path d='M17 8c-5 2-8 6-11 12'/></svg>"); }
  .principles h3, .principles p { grid-column: 2; }

  /* --- Residences: pill toggle, ticket price, rounded figure --- */
  .residence-switch { gap: 4px; padding: 4px; border-bottom: 0; border-radius: 999px; background: var(--ivory-2); }
  .residence-tab { min-height: 46px; margin: 0; padding: 0 1.75rem; border: 0; border-radius: 999px; transition: background-color 0.25s, color 0.25s; }
  .residence-tab.is-active { background: var(--ink); color: #fff; }
  .residence-figure { border-radius: 18px; }
  .residence-price { padding: 1rem 1.2rem; border: 0; border-radius: 18px; background: var(--ivory-2); align-items: center; gap: 0.15rem; box-shadow: 0 8px 24px rgba(22,23,27,0.06); }
  .residence-price span { margin-right: auto; }

  /* --- Strips: amenities image-first with overlay caption; photos rounded --- */
  .strip { padding-bottom: 1rem; }
  #amenities .strip figure { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.28); }
  #amenities .strip img { border-radius: 0; box-shadow: none; }
  #amenities .strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 4rem 1.5rem 1.4rem; text-shadow: none; background: linear-gradient(to top, rgba(8,10,25,0.9) 0%, rgba(8,10,25,0.55) 45%, transparent 100%); }
  #amenities .strip figcaption b { font-size: 1.6rem; margin-bottom: 0.2rem; }
  #progress .strip img { border-radius: 18px; }

  /* --- Swipe nav (built by main.js): counter · dots · prev/next arrows --- */
  .swipe-nav { display: flex; align-items: center; gap: 0.9rem; margin: 1rem var(--gutter) 0; font-size: 0.8rem; color: var(--text-2); }
  .strip + .swipe-nav { margin-inline: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); }
  .swipe-dots { display: flex; gap: 5px; }
  .swipe-dots i { width: 5px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.28); transition: width 0.3s var(--ease), background-color 0.3s; }
  .swipe-dots i.is-active { width: 16px; background: var(--gold); }
  .swipe-prev, .swipe-next { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(11,13,28,0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background-color 0.25s, opacity 0.25s; }
  .swipe-prev { margin-left: auto; }
  .swipe-prev:hover, .swipe-next:hover { background: rgba(255,255,255,0.14); }
  .swipe-nav.is-start .swipe-prev, .swipe-nav.is-end .swipe-next { opacity: 0.35; pointer-events: none; }
  .residence-panel.is-active { grid-template-rows: auto 1fr; }
  .residence-panel .swipe-nav { grid-column: 1; grid-row: 2; margin: 0.8rem 0 0; color: var(--ink-text-2); }
  .residence-panel .residence-sheet { grid-column: 2; grid-row: 1 / span 2; }
  .residence-panel .swipe-dots i { background: rgba(22,23,27,0.18); }
  .residence-panel .swipe-dots i.is-active { background: var(--ink-text); }
  .residence-panel .swipe-prev, .residence-panel .swipe-next { width: 42px; height: 42px; color: var(--ink-text); background: #fff; border-color: var(--ink-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .residence-panel .swipe-prev:hover, .residence-panel .swipe-next:hover { background: var(--ivory-2); }

  /* --- Location: icon buttons, minute pills --- */
  #location .sheet-actions .btn { gap: 0.75rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
  #location .sheet-actions .btn::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
  #location .sheet-actions .btn:nth-child(1) { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }
  #location .sheet-actions .btn:nth-child(2) { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M22 2L11 13'/><path d='M22 2l-7 20-4-9-9-4 20-7z'/></svg>"); }
  .location-highlight { margin-top: 1rem; font-size: 1.3rem; }
  .location-highlight b { display: block; font-size: clamp(3rem, 3.5vw, 3.6rem); line-height: 1; margin-bottom: 0.3rem; }
  .location-list { border-top: 0; }
  .location-list li { align-items: center; }
  .location-list li span:last-child { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; padding: 0.3rem 0.7rem; border: 1px solid rgba(201,175,134,0.35); border-radius: 999px; }

  /* --- FAQ: gold heading, boxed rows, circled plus/minus --- */
  #faq .t-h1 { color: var(--gold); }
  .faq-list { border-top: 0; }
  .faq-item { margin-bottom: 10px; padding: 0 1.25rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; background: rgba(255,255,255,0.03); transition: background-color 0.3s; }
  .faq-item.is-open { background: rgba(255,255,255,0.07); }
  .faq-trigger { padding: 1.1rem 0; }
  .faq-trigger .question { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; line-height: 1.35; }
  .faq-trigger .icon { flex-basis: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); transition: background-color 0.3s; }
  .faq-item.is-open .faq-trigger .icon { background: rgba(255,255,255,0.16); }
  .faq-trigger .icon::before { width: 12px; }
  .faq-trigger .icon::after { height: 12px; }
  .faq-answer-inner { padding-right: 1rem; }

  /* --- Final + footer: one glass sheet, film still visible around it --- */
  .sec-final { margin: var(--sec-gap) var(--gutter) 0; border-radius: var(--sheet-r) var(--sheet-r) 18px 18px; background: var(--glass); border: 1px solid rgba(255,255,255,0.08); -webkit-backdrop-filter: blur(20px) saturate(115%); backdrop-filter: blur(20px) saturate(115%); box-shadow: 0 24px 60px rgba(0,0,0,0.28); overflow: hidden; }
  .final-inner { padding-block: clamp(4rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); }
  .footer-rera b { color: var(--gold); }

  /* --- Modal / lead form --- */
  .modal-container { border-radius: 28px; padding: 2.75rem 2.5rem 2.5rem; }
  .modal-close { top: 1.1rem; right: 1.1rem; }
  .modal-header .t-micro, .text-accent { color: #957B54; font-weight: 500; }
  .form-input { height: 56px; padding: 0 1.15rem; border-radius: 18px; border-color: rgba(22,23,27,0.09); }
  .country-prefix { height: 56px; padding: 0 1rem; border-radius: 18px 0 0 18px; border-color: rgba(22,23,27,0.09); }
  .phone-field { border-radius: 0 18px 18px 0; }
  .segmented-control { border-radius: 18px; }
  .segment-btn { min-height: 48px; border-radius: 14px; }
  .step-indicator .t-micro { display: block; font-size: 0.72rem; letter-spacing: 0.08em; color: #957B54; }
  .visit-info-box { border-radius: 16px; }
  .visit-info-box .t-micro { font-size: 0.72rem; letter-spacing: 0.08em; }
  .modal-media { border-radius: 16px; }
}
