/* Investor portal — page-level styles. Tokens come from /colors_and_type.css */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--er-ivory); color: var(--er-fg); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------------- Splash ---------------- */
@keyframes splashFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes splashLineGrow { from { width: 0; } to { width: 100%; } }
@keyframes splashFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.splash { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.splash-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.splash-vid-layer { transition: opacity 2.5s ease; }
.splash-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 1; }
.splash-exit { animation: splashFadeOut 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.splash-exit .splash-inner { transform: translateY(-20px); opacity: 0; transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.splash-exit .splash-overlay { opacity: 0; transition: opacity 1.2s ease 0.3s; }

.splash-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 48px; transition: transform 0.8s ease, opacity 0.8s ease; }

.splash-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; transform: translateY(12px); animation: splashFadeIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
.splash-logo-img { width: clamp(280px, 32vw, 380px); height: auto; display: block; object-fit: contain; object-position: center; filter: drop-shadow(0 8px 22px rgba(0,0,0,0.35)); }
.splash-logo-text { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: 0.3em; color: #fff; }
.splash-logo-line { height: 2px; width: 0; background: linear-gradient(to right, transparent, rgba(184, 150, 62, 0.9), transparent); animation: splashLineGrow 0.6s cubic-bezier(0.16,1,0.3,1) 0.6s forwards; }
.splash-address { font-family: var(--font-body); font-weight: 400; font-size: 10px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.6); opacity: 0; animation: splashFadeIn 0.6s ease 0.9s forwards; }

.splash-content { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.splash-welcome { font-family: var(--font-display); font-weight: 400; font-size: 16px; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.75); opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.splash-content.show .splash-welcome { opacity: 1; transform: translateY(0); transition-delay: 0s; }

.splash-lang-buttons { display: flex; align-items: center; justify-content: center; gap: 24px; opacity: 0.001; transform: translate3d(0,14px,0); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); will-change: opacity, transform; }
.splash-content.show .splash-lang-buttons { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.splash-lang-divider { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.25); }
.splash-lang-btn { min-width: 118px; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0.1em; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 100px; padding: 12px 30px; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateZ(0); backface-visibility: hidden; will-change: transform, background-color, border-color; }
.splash-lang-btn:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.6); }
.splash-lang-btn.active { background: rgba(184,150,62,0.9); border-color: rgba(184,150,62,0.95); color: #fff; }
.splash-lead-form { width: min(620px, calc(100vw - 32px)); opacity: 0.001; transform: translate3d(0,14px,0); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); will-change: opacity, transform; }
.splash-content.show .splash-lead-form { opacity: 1; transform: translateY(0); transition-delay: 0.09s; }
.splash-lang-buttons-card { width: fit-content; margin: 0 auto 22px; }
.splash-lead-title { margin-bottom: 14px; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.76); text-align: center; }
.splash-lead-rtl { direction: rtl; }
.splash-lead-rtl input { text-align: right; font-family: var(--font-arabic); }
.splash-lead-rtl .splash-lead-title,
.splash-lead-rtl .splash-lead-status,
.splash-lead-rtl .splash-lead-submit,
.splash-lead-rtl .splash-lead-skip { font-family: var(--font-arabic); letter-spacing: 0; }
.splash-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.splash-lead-grid input { width: 100%; min-height: 46px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; background: rgba(255,255,255,0.06); color: #fff; padding: 0 18px; outline: none; font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: 0.02em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateZ(0); backface-visibility: hidden; will-change: transform, background-color, border-color; transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; }
.splash-lead-grid input:nth-child(3) { grid-column: 1 / -1; }
.splash-lead-grid input::placeholder { color: rgba(255,255,255,0.72); }
.splash-lead-grid input:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.55); }
.splash-lead-grid input:focus { border-color: rgba(184,150,62,0.95); background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.splash-hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.splash-lead-bottom { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 14px auto 0; width: fit-content; max-width: 100%; }
.splash-action-divider { width: 1px; height: 20px; flex: 0 0 1px; background: rgba(255, 255, 255, 0.25); }
.splash-lead-lang { display: inline-flex; align-items: center; gap: 8px; }
.splash-lead-lang button { min-height: 40px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 0 22px; background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.splash-lead-lang button:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.splash-lead-lang button.active { background: rgba(184,150,62,0.92); border-color: rgba(184,150,62,0.92); color: #fff; }
.splash-lead-submit { min-width: 154px; min-height: 42px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 0 28px; background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateZ(0); backface-visibility: hidden; will-change: transform, background-color, border-color; transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.splash-lead-submit:hover { background: rgba(184,150,62,0.92); border-color: rgba(184,150,62,0.92); transform: translateY(-1px); }
.splash-lead-submit:disabled { opacity: 0.65; transform: none; cursor: wait; }
.splash-lead-skip { min-width: 154px; min-height: 42px; border: 1px solid rgba(184,150,62,0.95); border-radius: 999px; padding: 0 24px; background: rgba(184,150,62,0.92); color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; box-shadow: 0 10px 26px rgba(184,150,62,0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateZ(0); backface-visibility: hidden; will-change: transform, background-color, border-color, box-shadow; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.splash-lead-skip:hover { background: #c9a733; border-color: #c9a733; color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(184,150,62,0.24); }
.splash-lead-status { min-height: 18px; margin-top: 9px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.65); }
.splash-lead-status.sent { color: #d8f5cf; }
.splash-lead-status.error { color: #ffd7c7; }
@media (max-width: 640px) {
  .splash-inner { gap: 26px; padding: 0 16px; }
  .splash-content { gap: 18px; width: 100%; }
  .splash-lead-title { font-size: 10px; line-height: 1.45; margin-bottom: 12px; }
  .splash-lead-grid { grid-template-columns: 1fr; }
  .splash-lead-grid input:nth-child(3) { grid-column: auto; }
  .splash-lead-grid input { min-height: 43px; font-size: 13px; }
  .splash-lead-bottom { flex-direction: row; align-items: center; justify-content: center; gap: 16px; width: 100%; }
  .splash-lead-form:not(.splash-lead-rtl) .splash-lead-bottom { transform: translateX(0); }
  .splash-action-divider { width: 1px; height: 22px; flex: 0 0 1px; background: rgba(255, 255, 255, 0.25); }
  .splash-lead-submit, .splash-lead-skip { flex: 0 0 130px; min-width: 0; padding: 0 10px; font-size: 12px; line-height: 1.15; white-space: normal; }
  .splash-lead-lang button { flex: 1; min-height: 38px; padding: 0 12px; }
  .splash-lang-buttons { gap: 16px; }
  .splash-lang-buttons-card { margin-bottom: 18px; }
  .splash-lang-divider { height: 22px; }
  .splash-lang-btn { min-width: 112px; padding: 11px 20px; }
}

/* ---------------- Image fade-in on load ---------------- */
.img-fade { opacity: 0; transition: opacity 1s cubic-bezier(0.16,1,0.3,1); }
.img-fade.loaded { opacity: 1; }

/* ---------------- Scroll reveal ---------------- */
.scroll-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- Entrance animations ---------------- */
@keyframes enterUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.enter { opacity: 0; animation: enterUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
.enter-d1 { animation-delay: 0.1s; }
.enter-d2 { animation-delay: 0.25s; }
.enter-d3 { animation-delay: 0.4s; }
.enter-d4 { animation-delay: 0.55s; }
.enter-d5 { animation-delay: 0.7s; }
.enter-d6 { animation-delay: 0.85s; }

/* ---------------- Hero ---------------- */
.hero { min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; }

/* Sticky bar — floating pill, slides down on scroll */
.sticky-bar { position: fixed; top: 16px; left: 50%; transform: translateX(-50%) translateY(-120%); z-index: 200; display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; background: rgba(250,249,247,0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: 999px; border: 1px solid var(--er-rule-light); white-space: nowrap; opacity: 0; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.sticky-bar-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

.hero-nav { position: relative; z-index: 500; display: flex; justify-content: center; align-items: center; padding: 24px clamp(20px, 4vw, 56px); opacity: 0; animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; }
.hero-menu-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: transparent; border: 1px solid transparent; color: var(--er-obsidian); transition: all 0.3s ease; }
.hero-menu-btn:hover { background: var(--er-bone); color: var(--er-gold); }
.hero-logo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.hero-logo-img { width: clamp(190px, 18vw, 260px); height: auto; display: block; object-fit: contain; object-position: center; filter: none; }
.hero-logo-name { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: 0.3em; color: var(--er-obsidian); line-height: 1; }
.hero-logo-line { height: 1px; width: clamp(160px, 20vw, 280px); align-self: center; background: linear-gradient(to right, transparent, var(--er-gold) 30%, var(--er-gold) 70%, transparent); margin: 2px 0; }
.hero-logo-address { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.2em; color: var(--er-graphite); text-transform: uppercase; line-height: 1; }

.hero-pill-btn { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; padding: 12px 28px; border-radius: 999px; transition: all 0.3s ease; display: inline-flex; align-items: center; }
.hero-pill-gold { background: var(--er-gold); color: #fff; border: 1px solid var(--er-gold); }
.hero-pill-gold:hover { background: #c9a733; border-color: #c9a733; }
.hero-pill-outline { background: transparent; border: 1px solid var(--er-rule-strong); color: var(--er-obsidian); }
.hero-pill-outline:hover { border-color: var(--er-gold); color: var(--er-gold); }

.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: transparent; border: 1px solid transparent; color: var(--er-obsidian); transition: all 0.3s ease; }
.icon-btn:hover { background: var(--er-bone); color: var(--er-gold); }
.lang-toggle { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--er-rule-strong); background: transparent; color: var(--er-obsidian); font-size: 13px; letter-spacing: 0.04em; transition: all 0.3s ease; }
.lang-toggle:hover { border-color: var(--er-gold); color: var(--er-gold); }
[dir="rtl"] .lang-toggle { font-family: var(--font-arabic); font-weight: 500; }

.portal-search-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.hero-search-form { display: flex; align-items: center; gap: 8px; width: 100%; }
.hero-search-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; border: 0; background: transparent; padding: 0; }
.search-controls { display: inline-flex; align-items: center; gap: 2px; min-width: 78px; justify-content: flex-end; }
.search-count { min-width: 34px; text-align: right; font-size: 10px; color: var(--er-graphite); font-feature-settings: "tnum" 1; }
.search-step-btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--er-graphite); line-height: 1; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.search-step-btn:hover { border-color: var(--er-gold); color: var(--er-gold); }
.faq-toggle { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--er-rule-strong); background: transparent; color: var(--er-graphite); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.faq-toggle:hover, .faq-toggle[aria-expanded="true"] { background: var(--er-gold); border-color: var(--er-gold); color: var(--er-ivory); transform: translateY(-1px); }
.search-results, .faq-panel { position: absolute; right: 58px; top: calc(100% + 10px); width: min(420px, 80vw); background: rgba(250,250,247,0.97); border: 1px solid var(--er-stone); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.28s ease, transform 0.28s ease; overflow: hidden; z-index: 260; }
.search-results.open, .faq-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.faq-panel { right: 0; padding: 10px; max-height: min(520px, 70vh); overflow-y: auto; }
.search-result { display: grid; gap: 4px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--er-stone); background: transparent; color: var(--er-obsidian); text-align: left; transition: background-color 0.25s ease; }
.search-result:last-child { border-bottom: 0; }
.search-result:hover, .search-result.active { background: var(--er-gold-tint); }
.search-result span { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--er-gold); }
.search-result strong { font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.search-result small { font-size: 12px; line-height: 1.45; color: var(--er-graphite); }
.search-empty { padding: 14px; font-size: 13px; color: var(--er-graphite); }
.faq-item { border-bottom: 1px solid var(--er-stone); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { cursor: pointer; padding: 12px 8px; font-size: 13px; font-weight: 600; color: var(--er-obsidian); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--er-gold); }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { padding: 0 8px 14px; font-size: 13px; line-height: 1.6; color: var(--er-graphite); }
.search-current-match { outline: 2px solid rgba(184,150,62,0.45); outline-offset: 8px; border-radius: 12px; transition: outline-color 0.3s ease; }
.mobile-search-pop { display: none; }

.hero-card { flex: 1; position: relative; margin: 0 clamp(16px, 3vw, 48px) clamp(16px, 3vw, 48px); border-radius: 20px; overflow: hidden; background: var(--er-obsidian); box-shadow: 0 16px 48px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.1); }
.hero-card-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-vid-layer { opacity: 0; z-index: 0; transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1); }
.hero-card-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 55%, transparent 100%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%); z-index: 1; }
.hero-card-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(32px, 4vw, 56px); padding-bottom: 120px; }

.hero-text { max-width: 480px; }
.hero-headline { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 80px); line-height: 1.06; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero-headline em { font-style: italic; color: var(--er-gold); }
.investor-name { color: var(--er-gold); font-style: italic; }
.hero-sub { margin-top: 20px; font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.9); max-width: 420px; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }

@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-slide { transition: opacity 0.4s ease; }
.hero-slide-in { opacity: 1; }
.hero-slide-out { opacity: 0; pointer-events: none; }
@keyframes heroCardIn { from { opacity: 0; transform: scale(0.97) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes heroStatsIn { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.hero-card { animation: heroCardIn 1s cubic-bezier(0.16,1,0.3,1) 0.15s both; }

.hero-card-stats { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: clamp(16px, 3vw, 36px); padding: clamp(12px, 2vw, 18px) clamp(16px, 3vw, 40px); background: rgba(16, 14, 10, 0.72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); white-space: nowrap; width: max-content; max-width: calc(100% - 32px); }
.hero-stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.hero-stat-value { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 3vw, 28px); line-height: 1; color: #fff; }
.hero-stat-value.gold { color: var(--er-gold); }
.hero-stat-label { font-size: clamp(7px, 1.2vw, 10px); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero-stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.25); flex-shrink: 0; }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1; color: var(--er-ivory); font-feature-settings: "tnum" 1; }
.stat-value.gold { color: var(--er-gold); }
.stat-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(250, 250, 247, 0.7); }
.stat-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.18); }

@media (max-width: 768px) {
  .hero-nav { padding: 20px clamp(16px, 4vw, 32px); }
  .hero-pill-btn { padding: 10px 18px; font-size: 12px; }
  .sticky-bar { gap: 6px; padding: 6px 6px 6px 16px; top: 12px; }
  .hero-headline { font-size: 32px; }
  .hero-card-content { padding: 24px; padding-bottom: 90px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .hero-nav { justify-content: space-between !important; gap: 18px; padding: 18px 30px; }
  .hero-nav-left { flex: 1 1 0; min-width: 0; gap: 8px; }
  .hero-nav .hero-logo { position: static !important; flex: 0 0 auto; transform: none !important; margin: 0 auto; pointer-events: auto; }
  .hero-logo-img { width: 178px; }
  .hero-nav-right { flex: 1 1 0; min-width: 0; margin-right: 0 !important; justify-content: flex-end; gap: 10px; }
  .hero-pill-btn { padding: 9px 16px; font-size: 11px; line-height: 1.15; }
  .lang-toggle { padding: 8px 12px; font-size: 12px; }
  .portal-search-wrap .faq-toggle,
  .portal-search-wrap > .faq-panel,
  .portal-search-wrap > .hero-search .search-controls,
  .portal-search-wrap > .hero-search .search-results { display: none; }
  .portal-search-wrap > .hero-search { width: 42px; height: 42px; justify-content: center; padding: 0 !important; }
  .portal-search-wrap > .hero-search .hero-search-form { justify-content: center; }
  .portal-search-wrap > .hero-search .hero-search-input { display: none !important; }
  .mobile-search-pop { position: fixed; inset: 0; display: block; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.28s ease, visibility 0s linear 0.28s; z-index: 9000; }
  .mobile-search-pop.open { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
  .mobile-search-backdrop { position: absolute; inset: 0; background: rgba(12,11,9,0.46); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
  .mobile-search-sheet { position: absolute; left: 50%; top: max(28px, env(safe-area-inset-top)); width: min(520px, calc(100vw - 48px)); max-height: calc(100svh - 56px); display: flex; flex-direction: column; background: var(--er-ivory); border: 1px solid var(--er-stone); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: translate(-50%, 22px); transition: transform 0.32s cubic-bezier(0.16,1,0.3,1); }
  .mobile-search-pop.open .mobile-search-sheet { transform: translate(-50%, 0); }
  .mobile-search-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--er-stone); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--er-gold); }
  .mobile-search-head button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--er-stone); background: transparent; color: var(--er-obsidian); font-size: 22px; line-height: 1; }
  .mobile-search-body { padding: 14px; overflow-y: auto; overscroll-behavior: contain; }
  .mobile-search-field { display: block !important; width: 100%; padding: 0 !important; border: 0 !important; background: transparent !important; }
  .mobile-search-field .hero-search-form { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--er-gold); border-radius: 999px; background: rgba(250,250,247,0.96); }
  .mobile-search-field .hero-search-input { display: block !important; width: 100%; }
  .mobile-search-field .search-controls { display: inline-flex; }
  .mobile-search-field .search-results { position: static; width: 100%; margin-top: 10px; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; display: none; border: 1px solid var(--er-stone); border-radius: 12px; background: rgba(250,250,247,0.98); }
  .mobile-search-field .search-results.open { display: block; }
  .mobile-faq-list { margin-top: 14px; border-top: 1px solid var(--er-stone); }
}

@media (max-width: 640px) {
  .hero-nav { flex-wrap: wrap; row-gap: 10px; align-items: center; }
  .hero-nav-left,
  .hero-nav-right { flex: 0 0 50%; }
  .hero-nav .hero-logo { position: static; order: -1; flex: 0 0 100%; width: 100%; transform: none; margin: 0 auto; }
  .hero-logo-img { width: min(330px, 88vw); height: auto; margin: 0 auto; }
  .splash-logo-img { width: min(360px, 92vw); }
  .hero-logo-name { font-size: 17px; letter-spacing: 0.24em; }
  .hero-logo-line { width: 132px; }
  .hero-logo-address { font-size: 8px; letter-spacing: 0.18em; }
  .hero-card-stats { gap: 0; padding: 14px 10px; }
  .hero-stat-item { flex: 1 1 0; min-width: 0; }
  .hero-stat-value { font-size: 19px; max-width: 100%; white-space: nowrap; }
  .hero-stat-label { font-size: 7.5px; letter-spacing: 0.08em; white-space: normal; line-height: 1.15; }
  .hero-stat-divider { height: 30px; margin: 0 8px; flex: 0 0 1px; }
  .portal-search-wrap .faq-toggle,
  .portal-search-wrap > .faq-panel,
  .portal-search-wrap > .hero-search .search-controls,
  .portal-search-wrap > .hero-search .search-results { display: none; }
  .portal-search-wrap > .hero-search { width: 42px; height: 42px; justify-content: center; padding: 0 !important; }
  .portal-search-wrap > .hero-search .hero-search-form { justify-content: center; }
  .portal-search-wrap > .hero-search .hero-search-input { display: none !important; }
  .mobile-search-pop { position: fixed; inset: 0; display: block; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.28s ease, visibility 0s linear 0.28s; z-index: 9000; }
  .mobile-search-pop.open { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
  .mobile-search-backdrop { position: absolute; inset: 0; background: rgba(12,11,9,0.46); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
  .mobile-search-sheet { position: absolute; left: 50%; top: max(18px, env(safe-area-inset-top)); width: min(420px, calc(100vw - 28px)); max-height: calc(100svh - 36px); display: flex; flex-direction: column; background: var(--er-ivory); border: 1px solid var(--er-stone); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: translate(-50%, 22px); transition: transform 0.32s cubic-bezier(0.16,1,0.3,1); }
  .mobile-search-pop.open .mobile-search-sheet { transform: translate(-50%, 0); }
  .mobile-search-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--er-stone); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--er-gold); }
  .mobile-search-head button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--er-stone); background: transparent; color: var(--er-obsidian); font-size: 22px; line-height: 1; }
  .mobile-search-body { padding: 14px; overflow-y: auto; overscroll-behavior: contain; }
  .mobile-search-field { display: block !important; width: 100%; padding: 0 !important; border: 0 !important; background: transparent !important; }
  .mobile-search-field .hero-search-form { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--er-gold); border-radius: 999px; background: rgba(250,250,247,0.96); }
  .mobile-search-field .hero-search-input { display: block !important; width: 100%; }
  .mobile-search-field .search-controls { display: inline-flex; }
  .mobile-search-field .search-results { position: static; width: 100%; margin-top: 10px; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; display: none; border: 1px solid var(--er-stone); border-radius: 12px; background: rgba(250,250,247,0.98); }
  .mobile-search-field .search-results.open { display: block; }
  .mobile-faq-list { margin-top: 14px; border-top: 1px solid var(--er-stone); }
}

/* ---------------- 3D Tour ---------------- */
.tour-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; margin-top: 32px; flex-wrap: wrap; }
.tour-tab { min-width: 142px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-body); padding: 9px 20px; border-radius: 999px; border: 1px solid var(--er-stone); background: transparent; color: var(--er-graphite); cursor: pointer; transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.tour-tab-main { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tour-tab-sub { font-size: 12px; font-weight: 600; letter-spacing: 0; color: currentColor; opacity: 0.72; }
.tour-tab.active { background: var(--er-gold); color: var(--er-ivory); border-color: var(--er-gold); box-shadow: 0 12px 28px rgba(184,150,62,0.16); }
.tour-tab:hover:not(.active) { border-color: var(--er-gold); color: var(--er-gold); background: rgba(250,250,247,0.86); transform: translateY(-1px); }
.tour-frame-reveal.scroll-reveal,
.life-row-reveal.scroll-reveal { transform: translateY(44px) scale(0.985); transition-duration: 0.95s !important; transition-timing-function: cubic-bezier(0.16,1,0.3,1) !important; }
.tour-frame-reveal.scroll-reveal.visible,
.life-row-reveal.scroll-reveal.visible { transform: translateY(0) scale(1); }
.life-row-reveal .life-row-media,
.tour-frame-reveal .tour-container { transform: scale(0.988); filter: saturate(0.92); transition: transform 1.05s cubic-bezier(0.16,1,0.3,1), filter 1.05s cubic-bezier(0.16,1,0.3,1), box-shadow 1.05s cubic-bezier(0.16,1,0.3,1); }
.life-row-reveal.visible .life-row-media,
.tour-frame-reveal.visible .tour-container { transform: scale(1); filter: saturate(1); }
.tour-container { position: relative; width: 100%; padding-top: 56.25%; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.15); background: var(--er-obsidian); }
.tour-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ---------------- Amenities ---------------- */
.amenities-section { margin-top: 32px; }
.amenity-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.amenity-tab { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--er-stone); background: transparent; color: var(--er-graphite); transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.amenity-tab.active { background: var(--er-obsidian); color: var(--er-ivory); border-color: var(--er-obsidian); }
.amenity-tab:hover:not(.active) { border-color: var(--er-gold); color: var(--er-gold); transform: translateY(-1px); }
.amenity-display { margin-top: 24px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.amenity-img { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.amenity-display:hover .amenity-img { transform: scale(1.02); }
.amenity-copy { max-width: 860px; margin: 24px auto 0; text-align: center; color: var(--er-graphite); }
.amenity-copy span { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--er-gold); }
.amenity-copy p { margin: 10px auto 0; font-size: 20px; line-height: 1.55; }
.amenity-svg { width: 100%; display: block; background: var(--er-ivory); padding: 32px; }

/* --- Facilities Plan --- */
.facilities-plan { margin-top: 64px; padding-top: 48px; border-top: var(--border-hair); }
.facilities-plan-header { margin-bottom: 38px; }
.facilities-plan-header .er-eyebrow { font-size: 13px; }
.facilities-plan-header .er-display-4 { font-size: clamp(36px, 3.1vw, 50px); }
.facilities-plan-layout { display: grid; grid-template-columns: 380px 1fr; gap: 52px; align-items: start; }
.facilities-building { position: relative; max-width: 420px; margin: -48px auto 0; transform: translateX(8px); }
.facilities-svg { width: 100%; display: block; filter: none; }
.facilities-markers { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.facility-marker { pointer-events: auto; position: absolute; right: 100%; display: flex; flex-direction: row-reverse; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px 0; transition: all 0.3s ease; transform: translateY(-50%); }
.facility-marker:nth-child(1) { top: 12.2%; }
.facility-marker:nth-child(2) { top: 32.8%; }
.facility-marker:nth-child(3) { top: 53.4%; }
.facility-marker:nth-child(4) { top: 73.9%; }
.facility-marker:nth-child(5) { top: 95.7%; }
.facility-marker-dot { display: none; }
.facility-marker-label { font-family: var(--font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--er-ash); white-space: nowrap; transition: color 0.3s ease; }
.facility-marker-name { font-family: var(--font-body); font-size: 11px; font-weight: 400; color: var(--er-graphite); white-space: nowrap; }
.facility-marker.active .facility-marker-label { color: var(--er-gold); }
.facility-marker.active .facility-marker-name { color: var(--er-fg); }

.facilities-detail { display: flex; flex-direction: column; gap: 22px; opacity: 1; transform: translateY(0); transition: opacity 0.32s cubic-bezier(0.16,1,0.3,1), transform 0.32s cubic-bezier(0.16,1,0.3,1); will-change: opacity, transform; }
.facilities-detail.is-switching { opacity: 0; transform: translateY(10px); }
.facilities-detail.is-visible { opacity: 1; transform: translateY(0); }
.facilities-detail-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); background: rgba(250,250,247,0.72); }
.facilities-detail-img .amenity-img { aspect-ratio: 16/10; }
.facilities-detail-info { padding: 2px 6px; }
.facilities-detail-info .er-eyebrow { font-size: 13px; }
.facilities-detail-info .er-display-4 { font-size: clamp(36px, 2.8vw, 48px); }
.facilities-detail-info .er-body-muted { font-size: 20px; line-height: 1.45; }

.facilities-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.facility-card { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 15px 18px; border-radius: 8px; border: 1px solid var(--er-stone); background: rgba(250,250,247,0.5); cursor: pointer; transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; text-align: left; min-width: 0; }
.facility-card.active { background: var(--er-obsidian); border-color: var(--er-obsidian); }
.facility-card:hover:not(.active) { border-color: var(--er-gold); transform: translateY(-1px); }
.facility-card-level { font-family: var(--font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--er-ash); transition: color 0.3s ease; }
.facility-card.active .facility-card-level { color: var(--er-gold); }
.facility-card-name { font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--er-fg); transition: color 0.3s ease; }
.facility-card.active .facility-card-name { color: var(--er-ivory); }

@media (max-width: 860px) {
  .facilities-plan-layout { grid-template-columns: 1fr; }
  .facilities-building { max-width: 280px; margin: -28px auto 0; padding-left: 120px; transform: translateX(4px); }
  .facilities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .amenity-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .amenity-tab { width: 100%; min-height: 42px; padding: 9px 10px; font-size: 11px; letter-spacing: 0.055em; }
  .amenity-copy { margin-top: 14px; text-align: left; }
  .amenity-copy span { font-size: 11px; }
  .amenity-copy p { font-size: 13px; line-height: 1.55; }
  .facilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 26px; }
  .facility-card { min-width: 0; min-height: 68px; padding: 11px 12px; }
  .facility-card:nth-child(5) { grid-column: span 2; }
  .facility-card-level { font-size: 10px; letter-spacing: 0.08em; }
  .facility-card-name { font-size: 13px; line-height: 1.15; }
  .facilities-building { display: none; }
}

/* ---------------- Location ---------------- */
.location-header { text-align: center; margin-bottom: 64px; }
.location-header .section-headline { max-width: 100%; }
.location-header .section-desc { max-width: 560px; margin: 0 auto; }

.location-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; margin-bottom: 56px; }
.location-row-alt .location-row-media { grid-column: 2; grid-row: 1; }
.location-row-alt .location-row-text { grid-column: 1; grid-row: 1; }

.location-row-text { display: flex; flex-direction: column; gap: 16px; }
.location-row-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px,2.8vw,34px); color: var(--er-obsidian); line-height: 1.2; }
.location-row-desc { font-size: 15px; line-height: 1.75; color: var(--er-graphite); max-width: 420px; }

.location-map { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.location-map-img { width: 100%; display: block; filter: sepia(0.25) hue-rotate(-5deg) saturate(0.9) brightness(0.97); }

.life-inside-list { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 88px); }
.life-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.life-row-alt .life-row-media { grid-column: 2; grid-row: 1; }
.life-row-alt .life-row-text { grid-column: 1; grid-row: 1; }
.life-row-media { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--er-bone); }
.life-row-img { display: block; width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; }
.life-row-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.life-row-text .location-row-title { font-size: clamp(30px, 3.5vw, 48px); max-width: 520px; }
.life-row-text .location-row-desc { font-size: 17px; line-height: 1.7; max-width: 540px; }
.life-row-link { margin-top: 10px; display: inline-flex; align-items: center; justify-content: center; min-width: min(340px, 100%); min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--er-obsidian); color: var(--er-obsidian); font-size: 14px; font-weight: 600; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.life-row-link:hover { background: var(--er-gold); border-color: var(--er-gold); color: var(--er-ivory); transform: translateY(-1px); }

@media (max-width: 860px) {
  .location-row { grid-template-columns: 1fr; }
  .location-row-alt .location-row-media { grid-column: 1; grid-row: 2; }
  .location-row-alt .location-row-text { grid-column: 1; grid-row: 1; }
  .life-row { grid-template-columns: 1fr; gap: 24px; }
  .life-row-alt .life-row-media,
  .life-row-alt .life-row-text { grid-column: 1; }
  .life-row-alt .life-row-media { grid-row: 1; }
  .life-row-alt .life-row-text { grid-row: 2; }
}

/* ---------------- Section base ---------------- */
.section { padding: var(--section-y) var(--section-x); }
#location,
#views,
#tour { padding-top: clamp(42px, 6vw, 82px); }
.section.dark { background: var(--er-obsidian); color: var(--er-ivory); }
.section.bone { background: var(--er-bone); }
.section-inner { max-width: var(--max-content); margin: 0 auto; }
.section-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--er-gold); font-weight: 500; }
.section-headline { margin-top: 16px; font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; letter-spacing: -0.01em; max-width: 720px; }
.section.dark .section-headline { color: var(--er-ivory); }
.section-rule { margin-top: 18px; width: 32px; height: 1px; background: var(--er-gold); }
.section-desc { margin-top: 24px; font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--er-graphite); max-width: 580px; }
.section-desc-mobile { display: none; }

/* Location section overrides — centred text, gold gradient rule, worm-free content bg */
#location .section-rule { width: clamp(160px, 22vw, 300px); height: 1px; background: linear-gradient(to right, transparent, var(--er-gold) 30%, var(--er-gold) 70%, transparent); margin: 18px 0 0; }
.section.dark .section-desc { color: var(--er-ash); }


/* ---------------- Proximity grid ---------------- */
.proximity-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(16,14,10,0.82); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(20px); }
@media (max-width: 720px) { .proximity-grid { grid-template-columns: repeat(2, 1fr); } }
.proximity-card { padding: 28px 22px; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); transition: background 0.2s ease; }
.proximity-card:hover { background: rgba(255,255,255,0.05); }
.proximity-distance { display: block; font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1; color: var(--er-gold); font-feature-settings: "tnum" 1; }
.proximity-name { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); text-transform: uppercase; }

/* ---------------- View ---------------- */
.view-container { margin-top: 48px; aspect-ratio: 16/10; position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.view-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 4s ease; }
.view-container:hover .view-image { transform: scale(1.03); }

.b10-showcase { position: relative; margin-top: 42px; }
.b10-config-tabs { position: relative; z-index: 2; display: flex; justify-content: center; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; }
.b10-config-stepper,
.b10-slide-stepper { align-items: center; flex-wrap: nowrap; }
.b10-config-stepper,
.b10-slide-stepper { display: none; }
.b10-config-grid,
.b10-tab-grid { display: flex; }
.b10-config-tab { display: flex; align-items: center; gap: 10px; min-width: 142px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--er-stone); background: transparent; color: var(--er-graphite); cursor: pointer; transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.b10-config-tab:hover:not(.active) { border-color: var(--er-gold); color: var(--er-gold); transform: translateY(-1px); }
.b10-config-tab.active { background: var(--er-gold); border-color: var(--er-gold); color: var(--er-ivory); box-shadow: 0 12px 28px rgba(184,150,62,0.16); }
.b10-config-name { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.b10-config-meta { font-size: 12px; color: currentColor; opacity: 0.72; }
.b10-arrow { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--er-stone); background: rgba(250,250,247,0.78); color: var(--er-gold); font-size: 30px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.b10-arrow:hover { background: var(--er-gold); border-color: var(--er-gold); color: var(--er-ivory); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(184,150,62,0.16); }
.b10-arrow span { transform: translateY(-1px); }
.b10-stage { position: relative; z-index: 1; min-height: 680px; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 48px rgba(20,18,14,0.16); background: var(--er-obsidian); opacity: 0; transform: translateY(10px); transition: opacity 0.36s ease, transform 0.36s ease; }
.b10-stage.is-visible { opacity: 1; transform: translateY(0); }
.b10-image { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.015); transition: transform 1.2s ease; }
.b10-stage.is-visible .b10-image { transform: scale(1); }
.b10-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,7,0.76) 0%, rgba(10,9,7,0.38) 34%, rgba(10,9,7,0.05) 72%), linear-gradient(0deg, rgba(10,9,7,0.34), rgba(10,9,7,0)); pointer-events: none; z-index: 1; }
.b10-overlay { position: absolute; left: clamp(28px, 5vw, 72px); bottom: clamp(28px, 5vw, 64px); max-width: 480px; color: var(--er-ivory); z-index: 2; transition: opacity 0.36s ease, transform 0.36s ease; }
.b10-count { display: inline-block; margin-bottom: 18px; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--er-gold); text-transform: uppercase; }
.b10-overlay h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(34px, 4vw, 58px); line-height: 0.98; font-weight: 500; letter-spacing: 0; }
.b10-overlay p { margin: 0; font-family: var(--font-body); font-size: 14.5px; line-height: 1.58; color: rgba(250,250,247,0.78); }
.b10-tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.b10-slide-stepper { display: none; }
.b10-tab { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-height: 68px; padding: 14px 22px; border-radius: 8px; border: 1px solid var(--er-stone); background: transparent; color: var(--er-graphite); text-align: left; cursor: pointer; transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.b10-tab:hover:not(.active) { border-color: var(--er-gold); color: var(--er-gold); transform: translateY(-1px); }
.b10-tab.active { background: var(--er-gold); border-color: var(--er-gold); color: var(--er-ivory); box-shadow: 0 10px 24px rgba(184,150,62,0.14); }
.b10-tab-num { flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: currentColor; opacity: 0.62; }
.b10-tab-label { font-size: 14px; font-weight: 500; line-height: 1.15; }

@media (max-width: 980px) {
  .b10-stage { min-height: 560px; }
  .b10-tab-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section-desc-desktop { display: none; }
  .section-desc-mobile { display: inline; }
  .tour-tabs { justify-content: center; gap: 8px; margin-top: 28px; }
  .tour-tab { min-width: 0; min-height: 38px; padding: 9px 24px; gap: 0; }
  .tour-tab-sub { display: none; }
  .b10-showcase { margin-top: 32px; }
  .b10-config-grid,
  .b10-tab-grid { display: none !important; }
  .b10-config-stepper,
  .b10-slide-stepper { display: flex; }
  .b10-config-tabs { justify-content: center; padding-bottom: 4px; }
  .b10-config-tab { flex: 0 1 auto; min-width: 0; padding: 11px 16px; }
  .b10-config-meta { display: none; }
  .b10-arrow { flex-basis: 40px; width: 40px; height: 40px; font-size: 28px; }
  .b10-stage { min-height: 520px; border-radius: 12px; }
  .b10-stage::after { background: linear-gradient(0deg, rgba(10,9,7,0.82) 0%, rgba(10,9,7,0.38) 52%, rgba(10,9,7,0.08) 100%); }
  .b10-overlay { left: 20px; right: 20px; bottom: 22px; max-width: none; }
  .b10-overlay h3 { font-size: 34px; }
  .b10-overlay p { font-size: 12.5px; line-height: 1.5; }
  .b10-tabs { display: flex; padding-bottom: 6px; }
  .b10-tab { justify-content: center; min-width: 0; flex: 1 1 auto; padding: 11px 12px; text-align: center; }
}

/* ---------------- Gallery ---------------- */
.gallery-scroll { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1080px) { .gallery-scroll { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-scroll { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { display: flex; flex-direction: column; gap: 14px; }
.gallery-img { aspect-ratio: 4/5; background-size: cover; background-position: center; border-radius: 12px; position: relative; overflow: hidden; transition: transform var(--dur-base) var(--ease-out); }
.gallery-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -120px 100px -40px rgba(12,11,9,0.5); transition: opacity var(--dur-fast) var(--ease-out); }
.gallery-item:hover .gallery-img { transform: scale(1.01); }
.gallery-index { position: absolute; left: 16px; bottom: 14px; color: var(--er-ivory); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; z-index: 1; }
.gallery-caption { font-size: 13px; color: var(--er-fg-muted); line-height: 1.5; }

/* ---------------- Floor Plan ---------------- */
.floorplan-viewer { margin-top: 32px; }
.floorplan-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.floorplan-tab { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--er-stone); background: transparent; color: var(--er-graphite); transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.floorplan-tab.active { background: var(--er-gold); color: var(--er-ivory); border-color: var(--er-gold); }
.floorplan-tab:hover:not(.active) { border-color: var(--er-gold); color: var(--er-gold); transform: translateY(-1px); }
.floorplan-tab-short { display: none; }
.floorplan-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 18px; align-items: stretch; opacity: 1; transform: translateY(0); transition: opacity 0.38s ease, transform 0.38s ease; }
.floorplan-content.is-switching { opacity: 0; transform: translateY(6px); }
.floorplan-content.is-visible { opacity: 1; transform: translateY(0); }
.floorplan-main { min-height: 620px; display: flex; align-items: center; justify-content: center; background: var(--er-ivory); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.floorplan-img { width: auto; max-width: 100%; max-height: 620px; display: block; object-fit: contain; }
.floorplan-info { padding: 30px 10px 30px 28px; display: flex; flex-direction: column; justify-content: center; color: var(--er-obsidian); }
.floorplan-info-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--er-gold); }
.floorplan-info h3 { margin-top: 18px; font-family: var(--font-display); font-size: clamp(34px, 3vw, 48px); line-height: 0.98; font-weight: 500; letter-spacing: 0; }
.floorplan-info-metric { margin-top: 6px; font-size: 15px; color: var(--er-graphite); }
.floorplan-info-rule { width: 44px; height: 1px; margin: 24px 0; background: var(--er-gold); }
.floorplan-info-rooms { font-size: 15px; line-height: 1.45; color: var(--er-obsidian); }
.floorplan-info-storey { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--er-gold); }
.floorplan-info-desc { margin-top: 16px; font-size: 14px; line-height: 1.65; color: var(--er-graphite); }
.floorplan-key { background: var(--er-ivory); border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.floorplan-key-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--er-graphite); margin-bottom: 16px; }
.keyplan-img { width: 100%; display: block; }
@media (max-width: 768px) {
  #floorplan { padding-left: 8px; padding-right: 8px; overflow-x: hidden; }
  .floorplan-viewer { margin-top: 28px; }
  .floorplan-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: stretch; gap: 6px; overflow: visible; flex-wrap: initial; padding-bottom: 0; margin-bottom: 16px; }
  .floorplan-tab { min-height: 34px; width: 100%; padding: 8px 4px; font-size: 10px; letter-spacing: 0.04em; }
  .floorplan-tab-full { display: none; }
  .floorplan-tab-short { display: inline; }
  .floorplan-content { grid-template-columns: 1fr; gap: 12px; }
  .floorplan-main { min-height: 0; border-radius: 14px; padding: 10px 8px; }
  .floorplan-img { width: 100%; max-width: 100%; max-height: none; height: auto; object-fit: contain; }
  .floorplan-info { padding: 8px 18px 20px; }
  .floorplan-info h3 { margin-top: 10px; font-size: 30px; }
  .floorplan-info-rule { margin: 16px 0; }
  .floorplan-info-desc { font-size: 13px; line-height: 1.55; }
}

/* ---------------- Specs ---------------- */
.specs-grid { margin-top: 48px; max-width: var(--max-prose); }
.spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--er-rule); }
.spec-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--er-fg-muted); min-width: 0; }
.spec-value { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--er-fg); text-align: right; white-space: nowrap; }
.spec-value.positive { color: var(--er-positive); }

/* ---------------- Unit Selector ---------------- */
.unit-selector { margin-top: 32px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 768px) { .unit-selector { grid-template-columns: repeat(3, 1fr); } }
.unit-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border: 1px solid var(--er-stone); border-radius: 12px; background: transparent; color: var(--er-graphite); transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.unit-btn.active { background: var(--er-gold); color: var(--er-ivory); border-color: var(--er-gold); box-shadow: 0 10px 24px rgba(184,150,62,0.18); }
.unit-btn:hover:not(.active) { border-color: var(--er-gold); color: var(--er-gold); transform: translateY(-1px); }
.unit-btn-floor { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
.unit-btn-id { font-family: var(--font-display); font-size: 16px; font-weight: 500; }

/* ---------------- Pricing ---------------- */
.currency-toggle { display: inline-flex; padding: 4px; background: var(--er-ivory); border-radius: 999px; margin-top: 24px; }
.section.bone .currency-toggle { background: var(--er-ivory); }
.currency-btn { padding: 8px 18px; border: 0; background: transparent; color: var(--er-fg-muted); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 999px; transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease; }
.currency-btn.active { background: var(--er-gold); color: var(--er-ivory); }
.currency-btn:hover:not(.active) { color: var(--er-gold); transform: translateY(-1px); }

.pricing-card { margin-top: 24px; background: var(--er-ivory); border-radius: 16px; padding: 32px 36px; box-shadow: var(--shadow-lg); max-width: 640px; }
.pricing-card-animated { margin: 24px auto 0; opacity: 1; transform: translateY(0); transition: opacity 0.38s ease, transform 0.38s ease, box-shadow 0.38s ease; }
.pricing-card-animated.is-switching { opacity: 0; transform: translateY(6px); }
.pricing-card-animated.is-visible { opacity: 1; transform: translateY(0); }
.section.bone .pricing-card { background: var(--er-ivory); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; }
.price-row + .price-row { border-top: 1px solid var(--er-rule); }
.price-row.discount { color: var(--er-negative); }
.price-row.discount .price-value { color: var(--er-negative); }
.price-row.total { padding: 18px 0; border-top: 1px solid var(--er-rule-strong); }
.price-row.total .price-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.price-row.total .price-value { font-size: 22px; }
.price-row.highlight { margin: 14px -36px -32px; padding: 18px 36px; background: var(--er-gold-tint); border-radius: 0 0 16px 16px; border-top: 1px solid var(--er-gold-soft); }
.price-row.highlight .price-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--er-gold-deep); font-weight: 500; }
.price-row.highlight .price-value { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--er-gold-deep); font-feature-settings: "tnum" 1; }
.price-label { font-size: 14px; color: var(--er-fg); min-width: 0; }
.price-row.discount .price-label { color: var(--er-negative); }
.price-value { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--er-fg); font-feature-settings: "tnum" 1; white-space: nowrap; }

/* ---------------- Trust ---------------- */
.trust-grid { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.trust-item { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.trust-combined { position: relative; max-width: 640px; margin: 0 auto; }
.trust-awards-img { display: block; max-width: 640px; width: 100%; height: auto; }
.trust-cert-inline { position: absolute; top: 50%; right: 0; transform: translateY(-50%); height: 100%; width: auto; object-fit: contain; }
.trust-logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.trust-logo { height: 40px; opacity: 0.7; transition: opacity 0.3s ease; }
.trust-logo:hover { opacity: 1; }
@media (max-width: 600px) {
  .trust-combined { flex-direction: column; }
  .trust-awards-img, .trust-cert-inline { width: 100%; }
  .trust-logos { display: grid; grid-template-columns: max-content max-content; justify-content: flex-start !important; align-items: center; gap: 8px 12px; margin-left: 0; padding-right: 110px; }
  .trust-logo { height: 30px; }
  .trust-logo:nth-child(3) { grid-column: 1 / span 2; height: 34px; }
}

/* ---------------- Process ---------------- */
.steps { margin-top: 56px; display: flex; align-items: flex-start; justify-content: space-between; gap: 0; }
@media (max-width: 880px) { .steps { flex-direction: column; gap: 24px; align-items: flex-start; } .step-line { display: none; } }
.step { display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; max-width: 180px; }
.step-number { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--er-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; color: var(--er-gold); }
.section.dark .step-number { border-color: var(--er-gold); color: var(--er-gold); }
.step-content { margin-top: 18px; }
.step-content h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.step-content p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--er-fg-muted); }
.section.dark .step-content p { color: var(--er-ash); }
.step-line { flex: 0 0 32px; height: 1px; background: var(--er-gold-soft); margin-top: 28px; }
.section.dark .step-line { background: rgba(184, 150, 62, 0.4); }
.included { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--er-rule); }
.section.dark .included { border-top-color: rgba(255,255,255,0.12); }
.included h4 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--er-gold); font-weight: 500; }
.included-items { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.included-items span { font-size: 14px; }
.included-items span::before { content: "\u2014  "; color: var(--er-gold); }

/* ---------------- Contact ---------------- */
.contact-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.contact-desc { margin: 32px auto 0; font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--er-ash); max-width: 480px; }
.cta-whatsapp { margin-top: 40px; display: inline-flex; align-items: center; gap: 12px; padding: 18px 36px; border-radius: 999px; background: var(--er-gold); color: var(--er-ivory); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border: 0; transition: background var(--dur-fast) var(--ease-out); }
.cta-whatsapp:hover { background: var(--er-gold-deep); }
.contact-footer { margin-top: 64px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--er-graphite); }
.section.dark .contact-footer { color: var(--er-graphite); }

/* ---------------- RTL adjustments ---------------- */
[dir="rtl"] .hero-headline,
[dir="rtl"] .section-headline { font-family: var(--font-arabic); font-weight: 600; letter-spacing: 0; }
[dir="rtl"] .hero-sub,
[dir="rtl"] .section-desc,
[dir="rtl"] .contact-desc { font-family: var(--font-arabic); }
[dir="rtl"] .investor-name { font-style: normal; }
[dir="rtl"] .cta-secondary svg { transform: scaleX(-1); }
[dir="rtl"] .cta-primary,
[dir="rtl"] .cta-secondary,
[dir="rtl"] .cta-whatsapp,
[dir="rtl"] .lang-toggle,
[dir="rtl"] .currency-btn,
[dir="rtl"] .stat-label,
[dir="rtl"] .section-eyebrow,
[dir="rtl"] .hero-eyebrow,
[dir="rtl"] .spec-label,
[dir="rtl"] .price-row.total .price-label,
[dir="rtl"] .price-row.highlight .price-label,
[dir="rtl"] .included h4,
[dir="rtl"] .gallery-index,
[dir="rtl"] .contact-footer,
[dir="rtl"] .tour-tab,
[dir="rtl"] .amenity-tab,
[dir="rtl"] .floorplan-tab,
[dir="rtl"] .unit-btn-floor,
[dir="rtl"] .floorplan-key-label { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; }
