/* =====================================================================
   HASAD — "About us" cinematic scroll film
   ===================================================================== */
:root {
  --night: #0c1309;
  --night2: #121c0d;
  --cream: #efeadb;
  --amber: #e8923a;
  --lb: 11;            /* letterbox height in vh (set by about.js) */
  --vig: .55;          /* vignette strength */
}
html.lenis, html.lenis body { height: auto; }
html { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body.about { background: var(--night); color: var(--cream); }
.film { overflow-x: clip; }
.ch-num { display: inline-block; font-family: var(--font-h); font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; opacity: .7; }
[dir='rtl'] .ch-num { letter-spacing: .08em; font-size: 14px; }

/* ---------- film overlays ---------- */
.letterbox { position: fixed; inset-inline: 0; height: calc(var(--lb) * 1vh); background: #000; z-index: 48; pointer-events: none; will-change: height; }
.lb-top { top: 0; }
.lb-bottom { bottom: 0; }
.vignette { position: fixed; inset: 0; z-index: 44; pointer-events: none; background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .9) 120%); opacity: var(--vig); }
.grain {
  position: fixed; inset: -60%; z-index: 47; pointer-events: none; opacity: .085; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.film-progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 55; pointer-events: none; }
.film-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), #f6d27a); transform-origin: var(--origin, left); transform: scaleX(0); }
[dir='rtl'] .film-progress i { --origin: right; }
.hud {
  position: fixed; z-index: 56; bottom: 16px; inset-inline-start: 18px; display: flex; align-items: center; gap: 10px;
  font-family: 'Readex Pro', monospace; font-size: 11px; letter-spacing: .14em; color: rgba(239, 234, 219, .85);
  padding: 7px 12px; border-radius: 99px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums; pointer-events: none; direction: ltr;
}
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: #e2483a; animation: blink 1.2s infinite; }
.hud-sep { width: 1px; height: 12px; background: currentColor; opacity: .35; }
#hudChapter { letter-spacing: .04em; font-family: var(--font); direction: auto; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- header on dark ---------- */
.header { transition: background .35s, padding .3s, box-shadow .3s, opacity .5s, transform .5s; }
.header.is-hidden { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.header.on-dark .nav, .header.on-dark .logo, .header.on-dark .home-pill { color: var(--cream); }
.header.on-dark .logo-text small { color: rgba(239, 234, 219, .6); }
.header.on-dark .nav a::after { background: var(--cream); }
.header.on-dark .lang-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: var(--cream); }
.header.on-dark .contact-pill { background: var(--cream); color: var(--g9); }
.header.on-dark.scrolled { background: rgba(12, 19, 9, .55); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav a.active { font-weight: 700; }
.nav a.active::after { transform: scaleX(1); }
.home-pill { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; height: 36px; padding-inline: 12px; border-radius: 99px; border: 1px solid currentColor; opacity: .85; }
.home-pill .i { font-size: 15px; }
[dir='ltr'] .flip-back { transform: scaleX(-1); }

/* ---------- scenes ---------- */
.scene { position: relative; height: var(--h, 300vh); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.subs { position: absolute; inset-inline: 0; bottom: calc(var(--lb) * 1vh + 7vh); z-index: 4; text-align: center; pointer-events: none; padding-inline: 20px; }
.subs p, [data-sub] { opacity: 0; will-change: opacity, transform; }
.subs p { position: absolute; inset-inline: 0; bottom: 0; margin: 0 auto; max-width: 900px; font-family: var(--font-h); font-weight: 300; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.5; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }

/* split words (mask reveal) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }
.js [data-split]:not(.is-in) .wi { transform: translateY(110%); }
.js [data-reveal]:not(.is-in) { opacity: 0; }
.no-motion [data-split] .wi { transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.no-motion [data-reveal] { transition: opacity 1s, transform 1s; }

/* ---------- 1. Intro ---------- */
.intro-img { position: absolute; inset: -4%; background: #1b2613 center / cover no-repeat; transform: scale(1.45); filter: blur(14px) brightness(.35) saturate(1.1); will-change: transform, filter; }
.intro-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12, 19, 9, .15), rgba(12, 19, 9, .75) 80%), linear-gradient(to bottom, rgba(12, 19, 9, .35), transparent 40%, rgba(12, 19, 9, .55)); }
.intro-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 3; padding: 20px; will-change: transform, opacity; }
.presents { font-family: var(--font-h); font-size: 13px; letter-spacing: .5em; text-transform: uppercase; opacity: 0; margin-bottom: 26px; color: #f3dfb4; }
[dir='rtl'] .presents { letter-spacing: .2em; font-size: 16px; }
.intro-title h1 { font-size: clamp(54px, 10vw, 170px); font-weight: 600; line-height: 1.02; color: #fff; text-shadow: 0 10px 60px rgba(0, 0, 0, .45); }
.intro-line { display: block; width: 120px; height: 1px; background: linear-gradient(90deg, transparent, #f3dfb4, transparent); margin-top: 34px; transform: scaleX(0); }
.scroll-cue { position: absolute; z-index: 5; inset-inline: 0; bottom: calc(var(--lb) * 1vh + 22px); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; opacity: .85; }
.mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: #fff; border-radius: 3px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- 2. Land ---------- */
.chapter-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 3; will-change: transform, opacity; }
.chapter-card h2 { font-size: clamp(70px, 15vw, 260px); font-weight: 200; line-height: 1; margin-top: 16px; color: #fff; }
:lang(en) .chapter-card h2 { letter-spacing: -.02em; }
.iris { position: absolute; inset: 0; z-index: 2; background: #23361a center / cover no-repeat; clip-path: circle(0vmax at 50% 50%); will-change: clip-path, transform; }
.iris-shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(to bottom, rgba(12, 19, 9, .2), rgba(12, 19, 9, .55) 60%, rgba(12, 19, 9, .85)); opacity: 0; }
.land-copy { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 0 6vw; text-align: center; }
.land-copy > * { grid-area: 1 / 1; margin: 0; }
.big-line { font-family: var(--font-h); font-weight: 300; font-size: clamp(26px, 3.6vw, 56px); line-height: 1.35; max-width: 1000px; color: #fff; text-shadow: 0 4px 40px rgba(0, 0, 0, .5); }
.quote { font-family: var(--font-h); font-weight: 500; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.2; max-width: 1100px; color: #fff; text-shadow: 0 4px 40px rgba(0, 0, 0, .5); }
.quote::before { content: '“'; display: block; font-size: 1.6em; line-height: .6; color: var(--amber); margin-bottom: 10px; }

/* ---------- 3. Harvest (horizontal) ---------- */
.harvest { background: var(--c2); color: var(--ink); }
.h-track { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: max-content; display: flex; align-items: center; gap: 28px; padding-inline: 7vw 30vw; will-change: transform; }
.h-intro { flex: 0 0 auto; width: min(580px, 82vw); padding-inline-end: 4vw; }
.h-intro h2 { font-size: clamp(56px, 9vw, 160px); font-weight: 600; color: var(--g9); line-height: 1; margin: 14px 0 22px; }
:lang(en) .h-intro h2 { font-size: clamp(52px, 6.8vw, 116px); }
.h-intro p { font-size: clamp(16px, 1.5vw, 21px); color: var(--ink2); line-height: 1.8; max-width: 420px; }
.h-intro .ch-num { color: var(--g7); }
.h-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; color: var(--muted); }
.h-hint .i { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(calc(var(--dirx) * -8px)); } }
[dir='rtl'] .h-hint .i.flip { animation-name: nudgeR; }
@keyframes nudgeR { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) translateX(8px); } }
.h-panel { flex: 0 0 auto; position: relative; width: clamp(280px, 34vw, 560px); height: min(68vh, 640px); border-radius: 30px; overflow: hidden; background: var(--g8); color: #fff; box-shadow: 0 40px 80px -40px rgba(30, 47, 21, .6); will-change: transform; }
.h-panel:nth-child(odd) { height: min(58vh, 560px); align-self: flex-start; margin-top: 16vh; }
.h-panel .ph { position: absolute; inset: 0 -12%; background: center / cover no-repeat; will-change: transform; }
.h-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 28, 13, .92), rgba(18, 28, 13, .1) 55%); }
.h-cap { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: 26px 28px; }
.h-cap b { display: block; font-family: var(--font-h); font-size: 13px; letter-spacing: .2em; color: #f3dfb4; opacity: .9; }
.h-cap h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; margin: 8px 0 8px; }
.h-cap p { font-size: 14px; line-height: 1.7; opacity: .82; max-width: 380px; }
.h-num { position: absolute; z-index: 2; top: 18px; inset-inline-end: 22px; font-family: var(--font-h); font-size: 64px; font-weight: 200; line-height: 1; color: rgba(255, 255, 255, .55); }
.h-progress { position: absolute; inset-inline: 7vw; bottom: 6vh; height: 2px; background: rgba(30, 47, 21, .14); border-radius: 2px; overflow: hidden; }
.h-progress i { display: block; height: 100%; background: var(--g7); transform-origin: var(--origin, left); transform: scaleX(0); }
[dir='rtl'] .h-progress i { --origin: right; }

/* ---------- 4. Journey (map) ---------- */
.journey { background: radial-gradient(ellipse at 60% 60%, #1b2a14, var(--night) 70%); }
.j-head { position: absolute; z-index: 3; top: calc(var(--lb) * 1vh + 90px); inset-inline: 6vw; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; pointer-events: none; }
.j-title h2 { font-size: clamp(48px, 7vw, 120px); font-weight: 600; line-height: 1; margin: 10px 0 14px; color: #fff; }
.j-subs { position: relative; min-height: 4.2em; max-width: 520px; }
.j-subs p { position: absolute; inset: 0; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.75; color: rgba(239, 234, 219, .85); margin: 0; }
.j-counters { display: flex; gap: 34px; text-align: center; }
.j-counters b { display: block; font-family: var(--font-h); font-size: clamp(30px, 3.4vw, 54px); font-weight: 300; color: #fff; font-variant-numeric: tabular-nums; direction: ltr; }
.j-counters small { font-size: 12px; opacity: .7; }
.map-wrap { position: absolute; inset: calc(var(--lb) * 1vh + 30vh) 3vw calc(var(--lb) * 1vh + 5vh); z-index: 2; will-change: transform, opacity; }
#map { width: 100%; height: 100%; overflow: visible; }
#map .grid line { stroke: rgba(239, 234, 219, .05); stroke-width: 1; }
#map .region { fill: rgba(239, 234, 219, .14); font-family: var(--font-h); font-size: 22px; font-weight: 600; letter-spacing: .1em; text-anchor: middle; }
#map .water { fill: rgba(159, 197, 184, .26); font-size: 15px; font-weight: 400; font-style: italic; letter-spacing: .25em; }
#map .route { fill: none; stroke: #d8b26e; stroke-width: 2.4; stroke-linecap: round; filter: url(#glow); }
#map .route-ghost { fill: none; stroke: rgba(239, 234, 219, .07); stroke-width: 1.2; stroke-dasharray: 3 6; }
#map .comet { fill: #fbf0d6; filter: url(#glow); }
#map .city circle.dot { fill: rgba(239, 234, 219, .3); transition: fill .5s, r .5s; }
#map .city text { fill: rgba(239, 234, 219, .3); font-family: var(--font); font-size: 15px; transition: fill .5s; }
#map .city.lit circle.dot { fill: #e9c784; }
#map .city.lit text { fill: rgba(239, 232, 214, .95); }
#map .city .ring { fill: none; stroke: #e9c784; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
#map .city.lit .ring { animation: ring 2.4s ease-out infinite; }
#map .city.hub circle.dot { r: 6; }
#map .city.hub text { font-weight: 700; font-size: 17px; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.5); } }

/* ---------- 5. Cold ---------- */
.cold { background: rgb(62, 38, 21); transition: none; }
#snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.heat { position: absolute; z-index: 1; width: 90vmax; height: 90vmax; left: 50%; top: 60%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(217, 138, 61, .5), rgba(184, 101, 58, .14) 40%, transparent 65%); filter: blur(10px); }
.frost { position: absolute; z-index: 3; inset: 0; opacity: 0; pointer-events: none; box-shadow: inset 0 0 18vmin rgba(207, 227, 218, .42); background: radial-gradient(ellipse at center, transparent 55%, rgba(207, 227, 218, .15)); }
.cold-head { position: absolute; z-index: 4; top: calc(var(--lb) * 1vh + 90px); inset-inline-start: 6vw; }
.cold-head h2 { font-size: clamp(44px, 6vw, 96px); font-weight: 600; margin-top: 8px; color: #fff; }
.temp-wrap { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.temp-wrap small { font-size: 13px; letter-spacing: .2em; opacity: .75; text-transform: uppercase; }
.temp { font-family: var(--font-h); font-weight: 200; font-size: clamp(140px, 30vw, 460px); line-height: .9; color: var(--tcol, #ffcf8a); direction: ltr; font-variant-numeric: tabular-nums; text-shadow: 0 0 80px var(--tglow, rgba(255, 140, 40, .45)); }
.temp sup { font-size: .22em; font-weight: 300; vertical-align: top; position: relative; top: .5em; margin-inline-start: .05em; }
.temp-scale { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12px; opacity: .8; }
.temp-scale i { width: min(320px, 50vw); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; display: block; direction: ltr; }
.temp-scale b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #cfe3da, #cfa968, #d98a3d); transform-origin: left; }
.cold-subs { bottom: calc(var(--lb) * 1vh + 6vh); }

/* ---------- flow sections ---------- */
.flow { position: relative; padding: 16vh 0; }
.flow-title { font-size: clamp(56px, 9vw, 160px); font-weight: 600; line-height: 1; margin: 16px 0 8vh; }
.numbers, .story { background: var(--c1); color: var(--ink); }
.numbers .ch-num, .story .ch-num { color: var(--g7); }
.numbers .flow-title, .story .flow-title { color: var(--g9); }
.big-stats { border-top: 1px solid var(--line); }
.bstat { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 24px; padding: 4vh 0; border-bottom: 1px solid var(--line); }
.bstat-num { font-family: var(--font-h); font-size: clamp(64px, 11vw, 190px); font-weight: 300; line-height: .95; color: var(--g9); direction: ltr; text-align: start; font-variant-numeric: tabular-nums; white-space: nowrap; }
[dir='rtl'] .bstat-num { text-align: right; }
.bstat-num sup { font-size: .26em; color: var(--g6); font-weight: 400; vertical-align: top; position: relative; top: .5em; margin-inline-start: .1em; }
.bstat-txt b { display: block; font-family: var(--font-h); font-size: clamp(20px, 2vw, 30px); font-weight: 500; color: var(--g8); }
.bstat-txt span { font-size: 15px; color: var(--muted); }
.marquee { margin-top: 14vh; display: grid; gap: 6px; overflow: hidden; direction: ltr; }
.mq-row { display: flex; width: max-content; white-space: nowrap; font-family: var(--font-h); font-size: clamp(48px, 8vw, 130px); font-weight: 600; line-height: 1.15; color: var(--g8); will-change: transform; }
.mq-row span { padding-inline: .35em; }
.mq-row em { font-style: normal; color: var(--amber); font-size: .5em; vertical-align: middle; }
.mq-row.outline { color: transparent; -webkit-text-stroke: 1.5px var(--g6); }
.mq-row.outline em { -webkit-text-stroke: 0; }

/* timeline */
.timeline { position: relative; padding: 2vh 0 4vh; }
.tl-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line); }
.tl-line i { display: block; width: 100%; height: 100%; background: linear-gradient(to bottom, var(--g5), var(--amber)); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; width: 50%; padding: 5vh 6vw 5vh 0; }
.tl-item:nth-child(odd) { margin-inline-start: 50%; padding: 5vh 0 5vh 6vw; }
[dir='rtl'] .tl-item { padding: 5vh 0 5vh 6vw; }
[dir='rtl'] .tl-item:nth-child(odd) { padding: 5vh 6vw 5vh 0; }
.tl-item::before { content: ''; position: absolute; top: calc(5vh + 34px); width: 14px; height: 14px; border-radius: 50%; background: var(--c1); border: 3px solid var(--g6); inset-inline-end: -7px; z-index: 1; }
.tl-item:nth-child(odd)::before { inset-inline-end: auto; inset-inline-start: -7px; }
.tl-year { font-family: var(--font-h); font-size: clamp(56px, 7vw, 110px); font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--g6); direction: ltr; display: inline-block; }
.tl-item h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; color: var(--g9); margin: 10px 0 8px; }
.tl-item p { color: var(--ink2); font-size: 16px; line-height: 1.8; max-width: 440px; }

/* values */
.values { background: var(--night2); }
.values .flow-title { color: #fff; }
.v-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.v-wrap { transform-style: preserve-3d; will-change: transform, opacity; }
.v-card { position: relative; min-height: 380px; border-radius: 28px; padding: 34px 30px; overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; transition: transform .25s ease-out; transform-style: preserve-3d; }
.v-card::before { content: ''; position: absolute; inset: 0; background: center / cover no-repeat var(--bg); opacity: .22; transition: opacity .5s, transform .8s; }
.v-card:hover::before { opacity: .38; transform: scale(1.06); }
.v-card > * { position: relative; }
.v-card .v-n { font-family: var(--font-h); font-size: 90px; font-weight: 200; line-height: 1; color: rgba(243, 223, 180, .5); }
.v-card h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; margin-top: auto; color: #fff; }
.v-card p { font-size: 15px; line-height: 1.8; opacity: .78; margin-top: 12px; }

/* ---------- finale / credits ---------- */
.finale { background: #070b06; }
.finale-bg { position: absolute; inset: 0; z-index: 0; }
.finale-bg div { position: absolute; inset: -5%; background: center / cover no-repeat; opacity: 0; transition: opacity 2.5s ease; animation: kenburns 16s ease-in-out infinite alternate; filter: brightness(.32) saturate(.85) sepia(.18); }
.finale-bg div.on { opacity: 1; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1%); } }
.credits { position: absolute; z-index: 2; inset-inline: 0; top: 0; text-align: center; will-change: transform; padding: 0 20px; }
.credit { margin-bottom: 9vh; }
.credit small { display: block; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: #f3dfb4; opacity: .75; margin-bottom: 10px; }
[dir='rtl'] .credit small { letter-spacing: .06em; font-size: 14px; }
.credit b { font-family: var(--font-h); font-size: clamp(26px, 3vw, 46px); font-weight: 300; color: #fff; }
.credit.big b { font-size: clamp(54px, 8vw, 130px); font-weight: 600; }
.the-end { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; pointer-events: none; }
.the-end h2 { font-size: clamp(64px, 12vw, 200px); font-weight: 200; color: #fff; opacity: 0; letter-spacing: .02em; }
.the-end p { font-family: var(--font-h); font-size: clamp(20px, 2.4vw, 34px); font-weight: 300; color: #f3dfb4; margin-top: 14px; opacity: 0; }
.end-ctas { display: flex; gap: 12px; margin-top: 34px; opacity: 0; flex-wrap: wrap; justify-content: center; }
.the-end.active { pointer-events: auto; }
.btn-cream { background: var(--cream); color: var(--g9); height: 52px; padding-inline: 28px; font-size: 15px; }
.btn-cream:hover { background: #fff; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .35); color: #fff; height: 52px; padding-inline: 28px; font-size: 15px; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.about-footer { background: #070b06; padding-top: 0; position: relative; z-index: 50; }
.about-footer a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .home-pill { display: inline-flex; }
  .v-cards { grid-template-columns: 1fr; }
  .v-card { min-height: 280px; }
}
@media (max-width: 680px) {
  :root { --lb-max: 7; }
  .hud { font-size: 10px; bottom: 10px; inset-inline-start: 10px; padding: 6px 10px; }
  .h-panel, .h-panel:nth-child(odd) { width: 78vw; height: 58vh; margin-top: 0; align-self: center; }
  .h-track { gap: 16px; }
  .j-head { top: calc(var(--lb) * 1vh + 76px); flex-direction: column; gap: 14px; }
  .j-counters { gap: 22px; }
  .j-subs { min-height: 5.4em; }
  .map-wrap { inset: calc(var(--lb) * 1vh + 44vh) 2vw calc(var(--lb) * 1vh + 4vh); }
  #map .city text { font-size: 22px; }
  #map .region { font-size: 28px; }
  .cold-head { top: calc(var(--lb) * 1vh + 76px); }
  .bstat { grid-template-columns: 1fr; gap: 6px; }
  .tl-line { left: 12px; }
  [dir='rtl'] .tl-line { left: auto; right: 12px; }
  .tl-item, .tl-item:nth-child(odd), [dir='rtl'] .tl-item, [dir='rtl'] .tl-item:nth-child(odd) { width: 100%; margin: 0; padding: 4vh 0; padding-inline-start: 42px; }
  .tl-item::before, .tl-item:nth-child(odd)::before { inset-inline-end: auto; inset-inline-start: 5px; }
  .contact-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .hud-dot, .mouse i, .finale-bg div, #map .city.lit .ring { animation: none !important; }
}
