/* ===================================================
   LIONS CAMP MARRAKECH — $10M+ Investor Pitch
   ASTONISHING CINEMATIC DESIGN SYSTEM v4
   ─────────────────────────────────────────────
   • Premium glassmorphism · Animated SVG gauges
   • Revenue mosaic with flagship hero card
   • Orbital revenue model · Particle effects
   • 12 unique zone panels · Full projector-ready
   =================================================== */

/* ── VARIABLES ── */
:root {
    --lc:     #060504;
    --lc2:    #0c0b09;
    --lc3:    #12110e;
    --lc4:    #1a1814;
    --lc5:    #231f1a;
    --gold:   #c8a750;
    --gold-l: #e0c06e;
    --gold-d: #9a7d38;
    --gold-glow: rgba(200,167,80,.35);
    --tx:     #ede8de;
    --tx2:    #bfb8a8;
    --tx3:    #8a8070;
    --ff-d:   'Playfair Display', Georgia, serif;
    --ff-b:   'Inter', system-ui, sans-serif;
    --glass:  rgba(12,11,9,.55);
    --glass-border: rgba(200,167,80,.08);
    --ease-spring: cubic-bezier(.16,1,.3,1);
    --ease-smooth: cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(200,167,80,.12) var(--lc);
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--lc); }
::-webkit-scrollbar-thumb { background: rgba(200,167,80,.15); border-radius: 9px; }
::selection { background: rgba(200,167,80,.22); color: #fff; }
body {
    background: var(--lc);
    color: var(--tx);
    font-family: var(--ff-b);
    font-size: 18px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* ══════════════════════════════════════════════════════════════ */
/*  GLOBAL UTILITIES                                             */
/* ══════════════════════════════════════════════════════════════ */

.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-line--xs  { width: 3.5rem; margin-top: 1.5rem; margin-bottom: 2rem; }
.gold-line--sm  { width: 5rem; margin: 0 auto; }
.gold-line--md  { width: 8rem; margin: 0 auto; }
.ml-auto { margin-left: auto; margin-right: 0; }

.eyebrow {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: var(--ff-b);
    font-weight: 500;
    margin-bottom: .75rem;
}

.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-title {
    font-family: var(--ff-d);
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    font-weight: 700;
    color: #fff;
    margin-top: .75rem;
    line-height: 1.1;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-sub {
    color: rgba(191,184,168,.78);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    margin-top: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    font-weight: 300;
}

.corner {
    position: absolute;
    width: clamp(28px, 3.5vw, 56px);
    aspect-ratio: 1;
    border-color: rgba(200,167,80,.12);
    border-style: solid;
    border-width: 0;
    z-index: 10;
    pointer-events: none;
}
.corner--tl { top: clamp(14px,2.5vw,28px); left: clamp(14px,2.5vw,28px); border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: clamp(14px,2.5vw,28px); right: clamp(14px,2.5vw,28px); border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: clamp(14px,2.5vw,28px); left: clamp(14px,2.5vw,28px); border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: clamp(14px,2.5vw,28px); right: clamp(14px,2.5vw,28px); border-bottom-width: 1px; border-right-width: 1px; }

.grain {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 3;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.rv { opacity: 0; transform: translateY(30px); }
.rv-s { opacity: 0; transform: scale(.95) translateY(18px); }

/* ══════════════════════════════════════════════════════════════ */
/*  GLOBAL MOTION CANVAS                                         */
/* ══════════════════════════════════════════════════════════════ */
#motion-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* ══════════════════════════════════════════════════════════════ */
/*  PRELOADER                                                    */
/* ══════════════════════════════════════════════════════════════ */
#loader {
    position: fixed; inset: 0; z-index: 999;
    background: var(--lc);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .4s var(--ease-smooth), visibility .4s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-line {
    width: 50px; height: 2px; margin: 0 auto 2.5rem;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: loaderPulse 1.8s ease-in-out infinite;
}
@keyframes loaderPulse {
    0%, 100% { opacity: .25; transform: scaleX(.5); }
    50% { opacity: 1; transform: scaleX(1); }
}
.loader-t1 {
    font-family: var(--ff-d);
    color: var(--gold);
    font-size: 1.8rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    opacity: 0;
}
.loader-t2 {
    color: var(--tx2);
    font-size: 1.05rem;
    letter-spacing: .5em;
    text-transform: uppercase;
    margin-top: .6rem;
    opacity: 0;
}

/* ══════════════════════════════════════════════════════════════ */
/*  PROGRESS BAR                                                 */
/* ══════════════════════════════════════════════════════════════ */
#prog-bar {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 100%;
    background: linear-gradient(90deg, rgba(200,167,80,.6), var(--gold-l));
    z-index: 100;
    box-shadow: 0 0 12px rgba(200,167,80,.3);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* ══════════════════════════════════════════════════════════════ */
/*  NAVIGATION                                                   */
/* ══════════════════════════════════════════════════════════════ */
#main-nav {
    position: fixed; top: 0; width: 100%; z-index: 50;
    opacity: 0; pointer-events: none;
    transition: opacity .6s, background .5s, backdrop-filter .5s, transform .45s var(--ease-spring);
}
#main-nav.nav-visible { opacity: 1; pointer-events: auto; }
#main-nav.nav-solid {
    background: rgba(6,5,4,.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(200,167,80,.05);
}
.nav-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
    display: flex; align-items: center; justify-content: space-between;
    height: clamp(3.8rem, 5.5vw, 5rem);
}
.nav-logo {
    display: flex; align-items: center; gap: .75rem;
    pointer-events: auto;
}
.nav-logo-main {
    color: var(--gold);
    font-family: var(--ff-d);
    font-size: 1.2rem;
    letter-spacing: .2em;
    transition: color .3s;
}
.nav-logo:hover .nav-logo-main { color: var(--gold-l); }
.nav-logo-sub {
    color: var(--tx2);
    font-size: .95rem;
    letter-spacing: .35em;
    display: none;
}
@media (min-width: 640px) { .nav-logo-sub { display: inline; } }
.nav-links { display: none; align-items: center; gap: 2.5rem; pointer-events: auto; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
    font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--tx2); transition: color .3s; position: relative; padding-bottom: 2px;
    font-weight: 400;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width .35s var(--ease-spring);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
#mob-btn {
    display: block; pointer-events: auto;
    color: var(--tx2); font-size: 1.3rem;
    transition: color .3s;
}
#mob-btn:hover { color: var(--gold); }
@media (min-width: 1024px) { #mob-btn { display: none; } }

#mob-menu {
    position: fixed; inset: 0; z-index: 80;
    background: rgba(6,5,4,.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2.5rem;
}
#mob-menu.mob-closed { opacity: 0; pointer-events: none; transition: opacity .45s; }
#mob-menu.mob-open { opacity: 1; pointer-events: auto; transition: opacity .45s; }
#mob-close {
    position: absolute; top: 1.25rem; right: 1.5rem;
    color: var(--tx2); font-size: 1.8rem; transition: color .3s;
}
#mob-close:hover { color: var(--gold); }
.mob-link {
    font-family: var(--ff-d); font-size: 2rem;
    color: rgba(228,221,208,.5); transition: color .3s; letter-spacing: .08em;
}
.mob-link:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════ */
/*  HERO                                                         */
/* ══════════════════════════════════════════════════════════════ */
#hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    z-index: 2;
}
.hero-bg {
    position: absolute; inset: 0;
    transform: scale(1.08);
    will-change: transform;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-grad {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 2;
}
.hero-grad--top {
    background: linear-gradient(to bottom, rgba(6,5,4,.55) 0%, transparent 40%);
}
.hero-grad--radial {
    background: radial-gradient(ellipse at center, transparent 30%, rgba(6,5,4,.65) 100%);
}
.hero-grad--bottom {
    background: linear-gradient(to top, var(--lc) 0%, transparent 35%);
}
.hero-vignette {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 2;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(6,5,4,.7) 100%);
}
.hero-content {
    position: relative; z-index: 10;
    height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 0 2rem;
}
.hero-title {
    font-family: var(--ff-d);
    font-weight: 700;
    line-height: .86;
}
.hero-word {
    display: block;
    font-size: clamp(4.5rem, 13vw, 13rem);
    color: #fff;
    text-shadow: 0 4px 60px rgba(0,0,0,.5);
}
.hero-word--gold {
    color: var(--gold);
    text-shadow: 0 4px 60px rgba(200,167,80,.25);
}
.hero-sub {
    font-family: var(--ff-d);
    font-style: italic;
    color: rgba(255,255,255,.72);
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    letter-spacing: .22em;
    margin-top: 1rem;
}
.hero-tag {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    letter-spacing: .4em;
    text-transform: uppercase;
    color: rgba(191,184,168,.68);
    font-weight: 400;
}
#hero-line1 { margin-bottom: 3rem; }
#hero-line2 { margin-top: 3rem; margin-bottom: 2rem; }
.hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    color: rgba(200,167,80,.3);
    font-size: 1.1rem;
    z-index: 10;
    transition: color .3s;
    animation: heroFloat 2.5s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--gold); }
@keyframes heroFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════════ */
/*  COMPOUND                                                     */
/* ══════════════════════════════════════════════════════════════ */
#compound {
    position: relative;
    z-index: 20;
    background: var(--lc);
    margin-top: -6rem;
    padding-top: 0;
}
.compound-visual { position: relative; }
.compound-img-wrap {
    position: relative;
    overflow: hidden;
}
.compound-img-wrap img {
    width: 100%; height: auto; display: block;
    will-change: transform;
    filter: brightness(1.08) contrast(1.05) saturate(1.08);
}
.compound-overlay {
    position: absolute; pointer-events: none; z-index: 1;
}
.compound-overlay--top {
    top: 0; left: 0; right: 0; height: 18%;
    background: linear-gradient(to bottom, var(--lc) 0%, transparent 100%);
}
.compound-overlay--bottom {
    bottom: 0; left: 0; right: 0; height: 22%;
    background: linear-gradient(to top, var(--lc) 0%, transparent 100%);
}

/* Hotspots */
.hotspot {
    position: absolute; width: 40px; height: 40px;
    transform: translate(-50%, -50%); z-index: 20; padding: 0;
}
.hotspot::before {
    content: ''; position: absolute; inset: 50% auto auto 50%;
    width: 10px; height: 10px; background: var(--gold); border-radius: 50%;
    transform: translate(-50%, -50%); z-index: 2;
    transition: transform .35s var(--ease-spring), box-shadow .35s;
    box-shadow: 0 0 12px rgba(200,167,80,.5), 0 0 30px rgba(200,167,80,.15);
}
.hotspot::after {
    content: ''; position: absolute; inset: 50% auto auto 50%;
    width: 40px; height: 40px; border: 1.5px solid rgba(200,167,80,.45);
    border-radius: 50%; transform: translate(-50%, -50%);
    animation: hotspotPing 3s ease-out infinite;
}
.hotspot:hover::before {
    transform: translate(-50%, -50%) scale(1.8);
    box-shadow: 0 0 28px rgba(200,167,80,.7), 0 0 60px rgba(200,167,80,.2);
}
@keyframes hotspotPing {
    0% { transform: translate(-50%, -50%) scale(.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}
.hotspot-tooltip {
    position: absolute; z-index: 30; pointer-events: none;
    padding: 14px 24px; background: rgba(6,5,4,.94);
    backdrop-filter: blur(20px); border: 1px solid rgba(200,167,80,.3);
    border-radius: 4px; white-space: nowrap;
    font-size: 1rem;
    color: var(--gold); letter-spacing: .06em;
    box-shadow: 0 10px 40px rgba(0,0,0,.6), 0 0 20px rgba(200,167,80,.05);
    opacity: 0; transition: opacity .25s; font-family: var(--ff-b);
    font-weight: 500;
}
.hotspot-tooltip.visible { opacity: 1; }

/* KPI Strip */
.kpi-strip {
    position: relative; z-index: 10;
    margin-top: -3rem;
    padding: 0 1.5rem;
}
.kpi-row {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: rgba(26,24,20,.5);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(200,167,80,.1);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.kpi-cell {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2.5rem 1.2rem; background: rgba(6,5,4,.65);
    transition: background .35s;
    overflow: hidden;
}
.kpi-glow {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 60px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,167,80,.08) 0%, transparent 70%);
    pointer-events: none;
}
.kpi-cell:hover { background: rgba(200,167,80,.05); }
.kpi-cell:hover .kpi-num { text-shadow: 0 0 30px rgba(200,167,80,.3); }
.kpi-num {
    font-family: var(--ff-d); font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700; color: var(--gold);
    transition: text-shadow .35s;
}
.kpi-label {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--tx2); margin-top: .6rem;
    font-weight: 500;
}

/* Journey */
.journey-wrap {
    max-width: 1440px; margin: 0 auto;
    padding: clamp(5rem, 8vw, 7rem) clamp(1.5rem, 3vw, 2.5rem) 4rem;
}
.journey-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(.75rem, 1.5vw, 1rem);
}
.journey-line {
    display: none;
    position: absolute; top: 50%; left: 0; right: 0;
    height: 1px; transform: translateY(-50%); z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(200,167,80,.12) 20%, rgba(200,167,80,.12) 80%, transparent);
    overflow: hidden;
}
.journey-line::before {
    content: ''; position: absolute; top: 0; left: -50%;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,167,80,.5), transparent);
    animation: journeyPulse 5s ease-in-out infinite;
}
@keyframes journeyPulse { 0% { left: -30%; } 100% { left: 100%; } }
@media (min-width: 1024px) { .journey-line { display: block; } }

.journey-card {
    position: relative; z-index: 1;
    text-align: center; padding: 3rem 1rem 2.5rem;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: transform .55s var(--ease-spring), border-color .4s, box-shadow .4s;
    overflow: hidden;
}
.journey-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(200,167,80,.3), transparent);
    opacity: 0; transition: opacity .4s;
}
.journey-card:hover {
    transform: translateY(-10px);
    border-color: rgba(200,167,80,.2);
    box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 30px rgba(200,167,80,.03);
}
.journey-card:hover::before { opacity: 1; }
.jc-num {
    font-size: 1rem; letter-spacing: .3em; color: var(--gold);
    margin-bottom: .85rem; display: block; font-weight: 600;
    opacity: .6;
}
.jc-icon {
    width: 60px; height: 60px; margin: 0 auto; border-radius: 50%;
    border: 1px solid rgba(200,167,80,.2); display: flex; align-items: center;
    justify-content: center; color: var(--gold); font-size: 1.2rem;
    transition: all .4s var(--ease-spring);
    background: rgba(200,167,80,.03);
}
.journey-card:hover .jc-icon {
    background: rgba(200,167,80,.1); border-color: rgba(200,167,80,.4);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(200,167,80,.1);
}
.jc-title {
    font-family: var(--ff-d);
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    font-weight: 600; color: #fff; margin-top: 1rem;
}
.jc-desc {
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    color: var(--tx2); margin-top: .6rem; letter-spacing: .03em; line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════ */
/*  ZONES — Full-viewport panels                                */
/* ══════════════════════════════════════════════════════════════ */
#zones {
    position: relative;
    z-index: 20;
    margin-top: -1px;
}
.zone-panel {
    position: relative;
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    margin-bottom: -1px;
}
.zone-panel--break {
    height: 60svh;
    min-height: 400px;
}
.zone-bg {
    position: absolute; inset: 0; overflow: hidden;
}
.zone-bg-img {
    width: 100%; height: 115%;
    object-fit: cover;
    object-position: center 40%;
    will-change: transform;
    filter: brightness(1.08) contrast(1.05) saturate(1.08);
}
.zone-overlay {
    position: absolute; inset: 0; z-index: 1;
}
.zone-overlay--left {
    background:
        linear-gradient(to right, rgba(6,5,4,.85) 0%, rgba(6,5,4,.55) 28%, rgba(6,5,4,.05) 55%, rgba(6,5,4,.15) 100%),
        linear-gradient(to bottom, rgba(6,5,4,.25) 0%, transparent 20%, transparent 80%, rgba(6,5,4,.25) 100%);
}
.zone-overlay--right {
    background:
        linear-gradient(to left, rgba(6,5,4,.85) 0%, rgba(6,5,4,.55) 28%, rgba(6,5,4,.05) 55%, rgba(6,5,4,.15) 100%),
        linear-gradient(to bottom, rgba(6,5,4,.25) 0%, transparent 20%, transparent 80%, rgba(6,5,4,.25) 100%);
}
.zone-overlay--center {
    background:
        radial-gradient(ellipse at center, rgba(6,5,4,.35) 0%, rgba(6,5,4,.15) 45%, rgba(6,5,4,.45) 100%),
        linear-gradient(to bottom, rgba(6,5,4,.25) 0%, transparent 20%, transparent 80%, rgba(6,5,4,.35) 100%);
}
.zone-content h2,
.zone-content h3,
.zone-content p,
.zone-content li {
    text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.6);
}

.zone-inner {
    position: relative; z-index: 10;
    max-width: 1400px; margin: 0 auto;
    padding: 6rem 2rem;
    display: flex; flex-direction: column;
    justify-content: center;
    height: 100%;
}
.zone-inner--left {
    align-items: flex-start;
    padding-left: clamp(2rem, 7vw, 8rem);
}
.zone-inner--right {
    align-items: flex-end;
    text-align: right;
    padding-right: clamp(2rem, 7vw, 8rem);
}
.zone-inner--center {
    align-items: center;
    text-align: center;
}
.zone-inner--compact {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.zone-heading {
    font-family: var(--ff-d);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 700; color: #fff; line-height: 1.08;
}
.zone-heading--sm {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}
.zone-heading em { color: var(--gold); font-style: italic; }

.zone-caption {
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    color: rgba(228,221,208,.78);
    max-width: 580px;
    line-height: 1.75; font-weight: 300; letter-spacing: .02em;
    margin-top: .5rem;
}

.zone-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.zone-list li {
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    color: rgba(228,221,208,.8);
    font-weight: 400; letter-spacing: .03em;
    display: flex; align-items: center; gap: 1rem;
    transition: color .3s, transform .3s;
}
.zone-list li:hover { color: rgba(228,221,208,.95); transform: translateX(4px); }
.zone-list li::before {
    content: '→'; color: var(--gold); font-size: 1.1rem;
    flex-shrink: 0; transition: transform .3s;
}
.zone-list li:hover::before { transform: translateX(3px); }
.zone-list--right li { flex-direction: row-reverse; }
.zone-list--right li::before { content: '←'; }
.zone-list--right li:hover { transform: translateX(-4px); }
.zone-list--right li:hover::before { transform: translateX(-3px); }

/* ══════════════════════════════════════════════════════════════ */
/*  ECOSYSTEM — ASTONISHING Revenue Section                     */
/* ══════════════════════════════════════════════════════════════ */
#ecosystem {
    position: relative;
    z-index: 20;
    overflow: hidden;
    margin-top: -1px;
}
.eco-bg {
    position: absolute; inset: 0; z-index: 0;
}
.eco-bg img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .05;
}
.eco-bg-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, var(--lc) 0%, rgba(6,5,4,.96) 15%, rgba(6,5,4,.96) 85%, var(--lc) 100%);
}
#eco-particle-canvas {
    position: absolute; inset: 0; z-index: 2;
    width: 100%; height: 100%;
    pointer-events: none;
}
.eco-top {
    position: relative; z-index: 3;
    padding: clamp(6rem, 10vw, 9rem) clamp(1.5rem, 3vw, 2.5rem) 4rem;
}

/* ── ORBITAL HUB ── */
.eco-orbit-wrap {
    position: relative;
    width: clamp(340px, 55vw, 600px);
    height: clamp(340px, 55vw, 600px);
    margin: clamp(2rem, 4vw, 3rem) auto 0;
}
#orbit-canvas {
    position: absolute;
    top: -40px; left: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    pointer-events: none;
}
.eco-hub {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 110px; height: 110px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,167,80,.12) 0%, rgba(6,5,4,.9) 70%);
    border: 2px solid rgba(200,167,80,.2);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 10;
    box-shadow: 0 0 50px rgba(200,167,80,.08), 0 0 100px rgba(200,167,80,.03);
}
.eco-hub-title {
    font-family: var(--ff-d);
    font-size: 1.1rem; font-weight: 700; color: var(--gold);
    text-align: center; line-height: 1.15;
}
.eco-hub-sub {
    font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--tx3); margin-top: .25rem;
}

.eco-orb-node {
    position: absolute;
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    transform: translate(-50%, -50%);
    z-index: 5; cursor: default;
    transition: transform .4s var(--ease-spring);
    opacity: 0;
}
.eco-orb-node:hover { transform: translate(-50%, -50%) scale(1.15); }
.eco-orb-node i {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(12,11,9,.9);
    border: 1px solid rgba(200,167,80,.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1rem;
    transition: all .35s;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.eco-orb-node:hover i {
    border-color: rgba(200,167,80,.5);
    background: rgba(200,167,80,.1);
    box-shadow: 0 0 25px rgba(200,167,80,.15), 0 4px 20px rgba(0,0,0,.4);
}
.eco-orb-node span {
    font-size: .7rem;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--tx2); text-align: center; transition: color .35s;
    font-weight: 600; white-space: nowrap;
}
.eco-orb-node:hover span { color: var(--gold); }

/* ── REVENUE MOSAIC — Flagship hero + 6 tiles in creative grid ── */
.eco-bottom {
    position: relative; z-index: 3;
    padding: clamp(5rem, 8vw, 7rem) clamp(1.5rem, 3vw, 2.5rem) clamp(5rem, 8vw, 7rem);
}

.rev-mosaic {
    max-width: 80rem; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: clamp(1rem, 1.8vw, 1.5rem);
}

/* Flagship hero tile spans 2 columns + 2 rows */
.rev-tile--hero {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* ── REVENUE TILE BASE ── */
.rev-tile {
    position: relative; overflow: hidden;
    border: 1px solid rgba(200,167,80,.08); border-radius: 20px;
    background: linear-gradient(165deg, rgba(26,24,20,.55), rgba(6,5,4,.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all .55s var(--ease-spring);
    padding: 0;
}
.rev-tile::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0); transition: transform .6s var(--ease-spring);
    z-index: 2;
}
.rev-tile:hover {
    border-color: rgba(200,167,80,.25);
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 50px rgba(200,167,80,.04);
}
.rev-tile:hover::before { transform: scaleX(1); }

/* Flagship extra styling */
.rev-tile--hero {
    border-color: rgba(200,167,80,.15);
    background: linear-gradient(165deg, rgba(35,31,26,.65), rgba(12,11,9,.92));
}
.rev-tile--hero .rev-tile-badge {
    background: rgba(200,167,80,.08);
    border-color: rgba(200,167,80,.25);
    color: var(--gold);
}

/* Glow effect on tiles */
.rev-tile-glow {
    position: absolute; top: -40px; right: -40px;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,167,80,.04) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

/* Shimmer sweep */
.rev-tile::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(200,167,80,.02) 45%,
        rgba(200,167,80,.05) 50%,
        rgba(200,167,80,.02) 55%,
        transparent 60%
    );
    background-size: 300% 100%;
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.rev-tile-content {
    position: relative; z-index: 1;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    display: flex; flex-direction: column;
    height: 100%;
}

.rev-tile-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: clamp(0.68rem, 0.85vw, 0.78rem);
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold); opacity: .85;
    padding: .3rem .85rem; border: 1px solid rgba(200,167,80,.18);
    border-radius: 4px; margin-bottom: .75rem;
    font-weight: 600; width: fit-content;
}
.rev-tile-badge i { font-size: .7em; }

.rev-tile-name {
    font-family: var(--ff-d);
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    font-weight: 700; color: #fff;
    line-height: 1.2;
    margin-bottom: .35rem;
}
.rev-tile--hero .rev-tile-name {
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.rev-tile-desc {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    color: var(--tx2);
    letter-spacing: .04em;
    margin-bottom: 1rem;
}

/* ── SVG GAUGE — Circular progress ── */
.rev-tile-gauge {
    position: relative;
    width: clamp(140px, 14vw, 180px);
    height: clamp(140px, 14vw, 180px);
    margin: auto;
    flex-shrink: 0;
}
.rev-tile-gauge--sm {
    width: clamp(90px, 8vw, 110px);
    height: clamp(90px, 8vw, 110px);
    margin: .5rem auto;
}

.rev-gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rev-gauge-track {
    fill: none; stroke: rgba(200,167,80,.06); stroke-width: 6;
}
.rev-gauge-fill {
    fill: none; stroke: var(--gold); stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 534.07;
    stroke-dashoffset: 534.07;
    filter: drop-shadow(0 0 10px rgba(200,167,80,.35));
    transition: stroke-dashoffset 2.2s var(--ease-spring);
}

.rev-gauge-center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.rev-gauge-num {
    font-family: var(--ff-d);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 700; color: var(--gold);
    line-height: 1;
}
.rev-tile-gauge--sm .rev-gauge-num {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
}
.rev-gauge-pct {
    font-family: var(--ff-d);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--gold-d);
    font-weight: 600;
}
.rev-gauge-label {
    font-size: clamp(0.65rem, 0.8vw, 0.75rem);
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--tx3); margin-top: .2rem;
    font-weight: 500;
}

/* ── METRIC STRIP ── */
.rev-tile-metrics {
    display: flex; gap: clamp(.8rem, 1.5vw, 2rem);
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.04);
    margin-top: auto;
}
.rev-metric { display: flex; flex-direction: column; }
.rev-metric-val {
    font-family: var(--ff-d);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    font-weight: 700; color: var(--tx);
}
.rev-metric-val small { font-size: .75em; color: var(--gold); }
.rev-metric-key {
    font-size: clamp(0.68rem, 0.85vw, 0.78rem);
    color: var(--tx3); text-transform: uppercase;
    letter-spacing: .1em; font-weight: 500; margin-top: .15rem;
}

/* ── FLYWHEEL ── */
.rev-flywheel {
    max-width: 52rem; margin: clamp(3rem, 5vw, 4.5rem) auto 0;
}
.rev-flywheel-inner {
    display: flex; align-items: center; gap: 2rem;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(200,167,80,.12);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(200,167,80,.03) 0%, rgba(6,5,4,.6) 100%);
    backdrop-filter: blur(10px);
}
.rev-flywheel-icon {
    flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
    border: 1px solid rgba(200,167,80,.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.4rem;
    animation: flywheelSpin 10s linear infinite;
}
@keyframes flywheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.rev-flywheel-text {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    color: var(--tx2); line-height: 1.75; font-weight: 300;
}
.rev-flywheel-text em {
    color: var(--gold); font-style: italic; font-weight: 500;
}

/* ── REVENUE TAGS ── */
.rev-tags {
    text-align: center;
    margin-top: clamp(3rem, 5vw, 4.5rem);
    max-width: 64rem; margin-left: auto; margin-right: auto;
}
.rev-tags-label {
    color: var(--tx2);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    letter-spacing: .16em; text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.rev-tags-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .75rem;
}
.rev-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.6rem; border: 1px solid rgba(255,255,255,.06);
    border-radius: 6px;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    letter-spacing: .08em;
    text-transform: uppercase; color: var(--tx2);
    transition: all .35s; cursor: default;
    font-weight: 400;
    background: rgba(255,255,255,.01);
}
.rev-tag i { color: var(--gold); font-size: .85em; opacity: .6; transition: opacity .35s; }
.rev-tag:hover {
    border-color: rgba(200,167,80,.3); color: var(--gold);
    background: rgba(200,167,80,.04);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
}
.rev-tag:hover i { opacity: 1; }

/* ══════════════════════════════════════════════════════════════ */
/*  PHASES                                                       */
/* ══════════════════════════════════════════════════════════════ */
#phases {
    position: relative;
    z-index: 20;
    overflow: hidden;
    margin-top: -1px;
}
.phases-bg {
    position: absolute; inset: 0; z-index: 0;
}
.phases-bg img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .04;
}
.phases-bg-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, var(--lc) 0%, rgba(6,5,4,.97) 15%, rgba(6,5,4,.97) 85%, var(--lc) 100%);
}
.phases-inner {
    position: relative; z-index: 2;
    max-width: 1440px; margin: 0 auto;
    padding: clamp(6rem, 10vw, 9rem) clamp(1.5rem, 3vw, 2.5rem);
}

.phases-timeline {
    display: none;
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    z-index: 0;
}
.phases-timeline-line {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 10%, rgba(200,167,80,.1) 30%, rgba(200,167,80,.1) 70%, transparent 90%);
}
.phases-timeline-dot {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid rgba(200,167,80,.3);
    background: var(--lc);
}
.phases-timeline-dot--1 { top: 32%; }
.phases-timeline-dot--1::after {
    content: ''; position: absolute; inset: 2px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 12px rgba(200,167,80,.4);
}
.phases-timeline-dot--2 { top: 68%; }
@media (min-width: 768px) { .phases-timeline { display: block; } }

.phases-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    max-width: 64rem; margin: 0 auto;
}

.phase-card {
    position: relative; overflow: hidden;
    padding: clamp(2.5rem, 3.5vw, 3.5rem);
    border: 1px solid rgba(200,167,80,.08); border-radius: 12px;
    background: linear-gradient(165deg, rgba(26,24,20,.6), rgba(12,11,9,.85));
    backdrop-filter: blur(12px);
    transition: border-color .4s, transform .55s var(--ease-spring), box-shadow .4s;
}
.phase-glow {
    position: absolute; top: -30px; right: -30px;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,167,80,.06) 0%, transparent 70%);
    pointer-events: none;
}
.phase-card:hover {
    border-color: rgba(200,167,80,.2);
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 40px rgba(200,167,80,.03);
}
.phase-card--dim {
    border-color: rgba(255,255,255,.04);
}
.phase-head {
    display: flex; align-items: center; gap: 1.25rem;
    margin-bottom: 2rem;
}
.phase-badge {
    width: 60px; height: 60px; border-radius: 50%;
    border: 2px solid rgba(200,167,80,.35);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-d); font-size: 1.4rem;
    font-weight: 700; color: var(--gold); flex-shrink: 0;
    transition: border-color .3s, box-shadow .3s;
}
.phase-card:hover .phase-badge {
    border-color: rgba(200,167,80,.5);
    box-shadow: 0 0 30px rgba(200,167,80,.12);
}
.phase-badge--dim {
    border-color: rgba(200,167,80,.15);
    color: rgba(200,167,80,.5);
}
.phase-name {
    font-family: var(--ff-d);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 700; color: #fff;
}
.phase-list {
    list-style: none; display: flex; flex-direction: column; gap: 1.1rem;
}
.phase-list li {
    display: flex; align-items: center; gap: 1rem;
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    color: rgba(228,221,208,.78);
    font-weight: 400; letter-spacing: .02em;
    transition: color .3s;
}
.phase-list li:hover { color: rgba(228,221,208,.92); }
.phase-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(200,167,80,.2); flex-shrink: 0;
    transition: background .3s, box-shadow .3s;
}
.phase-dot--on {
    background: var(--gold);
    box-shadow: 0 0 14px rgba(200,167,80,.4);
}
.phase-footer {
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.04);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--gold);
    letter-spacing: .08em; font-style: italic;
    font-weight: 400;
    display: flex; align-items: center; gap: .6rem;
    opacity: .75;
}
.phase-footer i { font-size: .85em; }

/* Financial Logic cards */
.fin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 64rem; margin: clamp(4rem, 6vw, 6rem) auto 0;
}
.fin-card {
    position: relative; overflow: hidden;
    padding: 2.8rem 1.5rem; border: 1px solid rgba(200,167,80,.06);
    border-radius: 10px; background: var(--glass);
    text-align: center;
    transition: all .5s var(--ease-spring);
}
.fin-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0); transition: transform .55s var(--ease-spring);
}
.fin-card:hover {
    border-color: rgba(200,167,80,.18);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 30px rgba(200,167,80,.03);
}
.fin-card:hover::before { transform: scaleX(1); }
.fin-icon {
    width: 56px; height: 56px; margin: 0 auto; border-radius: 50%;
    border: 1px solid rgba(200,167,80,.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.15rem;
    transition: all .35s;
    background: rgba(200,167,80,.03);
}
.fin-card:hover .fin-icon {
    background: rgba(200,167,80,.08);
    border-color: rgba(200,167,80,.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(200,167,80,.1);
}
.fin-title {
    font-family: var(--ff-d);
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
    font-weight: 600; color: #fff; margin-top: 1.3rem;
}
.fin-desc {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--tx2); margin-top: .75rem;
    line-height: 1.7; letter-spacing: .02em;
    font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════ */
/*  FOOTER                                                       */
/* ══════════════════════════════════════════════════════════════ */
#site-footer {
    position: relative;
    z-index: 20;
    background: var(--lc);
    padding: clamp(5rem, 7vw, 7rem) 2rem clamp(3rem, 5vw, 5rem);
    border-top: 1px solid rgba(200,167,80,.04);
}
.footer-inner { text-align: center; }
.footer-brand {
    font-family: var(--ff-d);
    color: var(--gold);
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    letter-spacing: .2em;
    font-weight: 600;
    margin-top: 2.5rem;
}
.footer-tag {
    color: rgba(191,184,168,.78);
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-top: .8rem;
}
.footer-divider {
    width: 40px; height: 1px; margin: 2.5rem auto;
    background: linear-gradient(90deg, transparent, rgba(200,167,80,.2), transparent);
}
.footer-copy {
    color: rgba(138,128,112,.6);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    letter-spacing: .15em;
}

/* ══════════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                   */
/* ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .zone-panel { height: 85svh; min-height: 580px; }
    .zone-panel--break { height: 55svh; min-height: 350px; }
    .journey-grid { grid-template-columns: repeat(3, 1fr); }
    .fin-grid { grid-template-columns: repeat(2, 1fr); }
    .rev-mosaic { grid-template-columns: repeat(2, 1fr); }
    .rev-tile--hero { grid-column: 1 / 3; grid-row: 1 / 2; }
    .eco-orbit-wrap { width: 340px; height: 340px; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .zone-panel, .zone-panel--break { height: auto; min-height: auto; }
    .zone-inner {
        height: auto; min-height: 70svh;
        padding-top: 5rem; padding-bottom: 5rem;
    }
    .zone-inner--compact { min-height: 50svh; padding-top: 3rem; padding-bottom: 3rem; }
    .zone-inner--left { padding-left: 1.5rem; }
    .zone-inner--right { padding-right: 1.5rem; text-align: left; }
    .zone-list--right li { flex-direction: row; }
    .zone-list--right li::before { content: '→'; }
    .zone-list--right li:hover { transform: translateX(4px); }
    .kpi-row { grid-template-columns: repeat(3, 1fr); }
    .kpi-cell { padding: 1.5rem .8rem; }
    .kpi-num { font-size: 2rem; }
    .kpi-label { font-size: .8rem; }
    .hotspot { width: 30px; height: 30px; }
    .hotspot::after { width: 30px; height: 30px; }
    .hotspot::before { width: 7px; height: 7px; }
    .phases-grid { grid-template-columns: 1fr; }
    .journey-grid { grid-template-columns: repeat(2, 1fr); }
    .zone-heading { font-size: 2.1rem; }
    .zone-heading--sm { font-size: 1.6rem; }
    .section-title { font-size: 2.2rem; }
    .zone-list li { font-size: 1.05rem; }
    .zone-caption { font-size: 1.05rem; }
    .phase-list li { font-size: 1rem; }
    .eco-orbit-wrap { width: 300px; height: 300px; }
    .eco-hub { width: 85px; height: 85px; }
    .eco-hub-title { font-size: .9rem; }
    .eco-orb-node i { width: 36px; height: 36px; font-size: .85rem; }
    .eco-orb-node span { font-size: .6rem; }
    .rev-flywheel-inner { flex-direction: column; text-align: center; padding: 2rem 1.5rem; gap: 1.2rem; }
    .rev-mosaic { grid-template-columns: 1fr; }
    .rev-tile--hero { grid-column: 1; grid-row: auto; }
}

@media (max-width: 480px) {
    .zone-heading { font-size: 1.8rem; }
    .zone-heading--sm { font-size: 1.4rem; }
    .journey-card { padding: 2rem .8rem 1.5rem; }
    .jc-icon { width: 50px; height: 50px; font-size: 1.05rem; }
    .kpi-row { grid-template-columns: repeat(2, 1fr); }
    .fin-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .eco-orbit-wrap { width: 260px; height: 260px; }
    .eco-hub { width: 70px; height: 70px; }
    .eco-hub-title { font-size: .8rem; }
    .eco-orb-node i { width: 30px; height: 30px; font-size: .75rem; }
    .eco-orb-node span { font-size: .55rem; }
    .rev-tile-gauge { width: 120px; height: 120px; }
    .rev-tile-gauge--sm { width: 80px; height: 80px; }
    .rev-gauge-num { font-size: 1.4rem; }
    .rev-tile-gauge--sm .rev-gauge-num { font-size: 1.1rem; }
}

/* ══════════════════════════════════════════════════════════════ */
/*  MOBILE RESPONSIVE — ENHANCED PATCH                           */
/* ══════════════════════════════════════════════════════════════ */

/* Prevent any stray horizontal overflow (but keep vertical scroll working on mobile) */
html, body {
    overflow-x: clip;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

/* ─── LENIS SMOOTH SCROLL ─── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ─── CINEMATIC SCROLL SNAP (desktop only, proximity = non-forced) ─── */
@media (min-width: 1024px) and (hover: hover) {
    #zones { scroll-snap-type: y proximity; }
    .zone-panel { scroll-snap-align: start; scroll-snap-stop: normal; }
    .zone-panel--break { scroll-snap-align: none; }
}

/* ─── SCROLL PERF: content-visibility skips rendering off-screen panels ─── */
/* Only enable on larger screens — mobile has auto-height panels, so intrinsic-size
   estimates cause scroll drift and can break touch scrolling in mobile Safari */
@media (min-width: 901px) {
    .zone-panel {
        content-visibility: auto;
        contain-intrinsic-size: 1px 100svh;
    }
    .zone-panel--break {
        contain-intrinsic-size: 1px 60svh;
    }
    #ecosystem, #phases, #revenue, #pitch-summary, #site-footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 800px;
    }
}
/* GPU-promote big background images so paint stays on compositor */
.zone-bg-img, .compound-img-wrap img, .eco-bg img, .phases-bg img {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Tablets & below */
@media (max-width: 900px) {
    .nav-inner { padding: 0 1rem; }
    .nav-logo-main { font-size: 1rem; letter-spacing: .16em; }
    .nav-logo-sub  { font-size: .75rem; letter-spacing: .25em; }
}

/* Phones */
@media (max-width: 640px) {
    body { font-size: 15px; }

    /* HERO — shrink title so it never overflows on narrow screens */
    #hero { min-height: 560px; }
    .hero-content { padding: 0 1.25rem; }
    .hero-word { font-size: clamp(2.8rem, 14vw, 5rem); letter-spacing: .01em; }
    .hero-sub  { font-size: clamp(1.25rem, 5vw, 2rem); letter-spacing: .18em; margin-top: .6rem; }
    .hero-tag  { font-size: .78rem; letter-spacing: .28em; }
    #hero-line1 { margin-bottom: 1.6rem; }
    #hero-line2 { margin-top: 1.6rem; margin-bottom: 1.2rem; }
    .hero-scroll { bottom: 1.5rem; font-size: .95rem; }

    /* COMPOUND — kill the large negative overlap pulling it under hero */
    #compound { margin-top: -2rem; }
    .compound-overlay--top    { height: 12%; }
    .compound-overlay--bottom { height: 16%; }

    /* SECTION + ZONE TYPOGRAPHY */
    .section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .section-sub   { font-size: 1rem; padding-top: 2rem; padding-bottom: 2rem; line-height: 1.6; }
    .eyebrow       { font-size: .85rem; letter-spacing: .25em; }
    .zone-heading    { font-size: clamp(1.7rem, 7vw, 2.2rem); }
    .zone-heading--sm{ font-size: clamp(1.35rem, 5.5vw, 1.7rem); }
    .zone-caption    { font-size: 1rem; line-height: 1.65; }

    /* ZONE LAYOUT — tighter padding, left-align everything */
    .zone-panel, .zone-panel--break { height: auto; min-height: auto; }
    .zone-inner {
        padding: 4rem 1.25rem;
        min-height: 64svh;
    }
    .zone-inner--left  { align-items: flex-start; text-align: left; padding-left: 1.25rem; padding-right: 1.25rem; }
    .zone-inner--right { align-items: flex-start; text-align: left; padding-left: 1.25rem; padding-right: 1.25rem; }
    .zone-inner--center{ padding-left: 1.25rem; padding-right: 1.25rem; }
    .zone-inner--compact { min-height: 44svh; padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .zone-bg-img { height: 110%; object-position: center 45%; }

    /* KPIs — 3 cols max, tighter */
    .kpi-row { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
    .kpi-cell { padding: 1.1rem .5rem; }
    .kpi-num { font-size: 1.5rem; }
    .kpi-label { font-size: .68rem; letter-spacing: .12em; }

    /* GRIDS — safe columns */
    .journey-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .journey-card { padding: 1.5rem .8rem 1.2rem; }
    .phases-grid  { grid-template-columns: 1fr; gap: 1.25rem; }
    .phase-card   { padding: 2rem 1.5rem; }
    .fin-grid     { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .fin-card     { padding: 2rem 1rem; }
    .rev-mosaic   { grid-template-columns: 1fr; gap: 1rem; }
    .rev-tile--hero { grid-column: 1; grid-row: auto; }
    .rev-flywheel-inner { flex-direction: column; text-align: center; padding: 1.75rem 1.25rem; gap: 1rem; }

    /* ECOSYSTEM ORBIT — fit narrow viewports */
    .eco-orbit-wrap { width: 280px; height: 280px; }
    .eco-hub { width: 75px; height: 75px; }
    .eco-hub-title { font-size: .78rem; }
    .eco-orb-node i { width: 32px; height: 32px; font-size: .75rem; }
    .eco-orb-node span { font-size: .55rem; }

    /* HOTSPOTS — touch-friendly but smaller */
    .hotspot { width: 28px; height: 28px; }
    .hotspot::after { width: 28px; height: 28px; }

    /* MOBILE MENU — tighter */
    #mob-menu { gap: 1.75rem; }
    .mob-link { font-size: 1.6rem; }

    /* FOOTER */
    #site-footer { padding: 3rem 1.25rem 2.25rem; }
    .footer-brand { font-size: 1.2rem; letter-spacing: .18em; }
    .footer-tag   { font-size: .85rem; letter-spacing: .22em; }
}

/* Extra-small phones (iPhone SE / 360px) */
@media (max-width: 380px) {
    .hero-word { font-size: 2.4rem; }
    .hero-sub  { font-size: 1.1rem; letter-spacing: .14em; }
    .hero-tag  { font-size: .7rem; letter-spacing: .24em; }
    .kpi-row   { grid-template-columns: repeat(2, 1fr); }
    .fin-grid  { grid-template-columns: 1fr; }
    .journey-grid { grid-template-columns: 1fr; }
    .eco-orbit-wrap { width: 240px; height: 240px; }
    .zone-heading { font-size: 1.55rem; }
    .section-title { font-size: 1.6rem; }
    .nav-logo-sub { display: none; }
}

/* Disable expensive backdrop-filter on mobile (perf) */
@media (max-width: 900px) {
    .rev-tile, .phase-card, .fin-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    #main-nav.nav-solid, #mob-menu {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    /* Disable the grain SVG pattern on mobile — heavy repaint cost */
    .grain { display: none !important; }
}

/* GPU-composite progress bar */
#prog-bar {
    transform: scaleX(0);
    width: 100% !important;
}

/* Respect reduced-motion — stop all scroll-scrub & auto animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-bg, .zone-bg-img, .eco-bg img, .phases-bg img {
        transform: none !important;
    }
    #motion-canvas, #orbit-canvas, #eco-particle-canvas, .grain { display: none !important; }
}

/* Landscape phones */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
    #hero { min-height: 440px; height: 100vh; }
    .zone-inner { min-height: auto; padding: 3rem 1.25rem; }
}

/* ── FOCUS ── */
a:focus-visible, button:focus-visible {
    outline: 2px solid rgba(200,167,80,.4);
    outline-offset: 3px; border-radius: 2px;
}

/* ── PRINT ── */
@media print {
    .hero-vignette, .grain, #loader, #main-nav, #prog-bar, .corner,
    #motion-canvas, #orbit-canvas, #eco-particle-canvas, .journey-line,
    .hotspot, .eco-bg, .phases-bg, .rev-tile-glow, .phase-glow,
    .kpi-glow, .phases-timeline { display: none !important; }
    .rv, .rv-s, .eco-orb-node { opacity: 1 !important; transform: none !important; }
}
