/* Ibrahim Shahin CV: light, bright, alive. */
:root {
  --bg: #F7F9FD; --bg2: #EEF3FF; --ink: #0E1630; --ink2: #3B4566; --mute: #6B7593; --line: rgba(14, 22, 48, .09);
  --blue: #2F5BFF; --cyan: #06B6D4; --violet: #8B5CF6; --green: #10B981; --pink: #EC4899; --amber: #F59E0B;
  --glass: rgba(255, 255, 255, .72); --shadow: 0 30px 80px -30px rgba(31, 52, 140, .35), 0 8px 24px -12px rgba(31, 52, 140, .18);
  --display: "Sora", "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 22px;
}
html[lang="ar"] { --display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif; --body: "IBM Plex Sans Arabic", "Manrope", sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }

/* ---------- background: particle field + soft colour aura ---------- */
#field { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.aura { position: fixed; inset: -20vmax; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .55; }
.aura i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.aura i:nth-child(1) { left: 8%; top: 4%; background: radial-gradient(circle, #c7d6ff, transparent 65%); transform: translate(var(--ax, 0), var(--ay, 0)); }
.aura i:nth-child(2) { right: 4%; top: 30%; background: radial-gradient(circle, #c8f3ff, transparent 65%); transform: translate(calc(var(--ax, 0) * -1), var(--ay, 0)); }
.aura i:nth-child(3) { left: 30%; bottom: 0; background: radial-gradient(circle, #ead9ff, transparent 65%); transform: translate(var(--ax, 0), calc(var(--ay, 0) * -1)); }
main, .top, .signal { position: relative; z-index: 2; }

/* ---------- header ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 16px clamp(16px, 4vw, 48px);
  background: linear-gradient(var(--bg) 30%, rgba(247, 249, 253, 0)); }
.mono { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; text-decoration: none;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 24px -12px rgba(47, 91, 255, .55); backdrop-filter: blur(10px); }
.mono img { width: 40px; height: 40px; }
.links { display: flex; gap: 26px; margin-inline-start: auto; }
.links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink2); position: relative; }
.links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s; }
.links a:hover::after { transform: scaleX(1); }
.actions { display: flex; gap: 10px; align-items: center; }
.lang { border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); border-radius: 999px; padding: 9px 16px; font: 700 14px var(--body);
  color: var(--ink); cursor: pointer; }
html[lang="ar"] .lang { font-family: "Manrope", sans-serif; }
.led { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); animation: pulse 1.6s infinite; }
.led.on, body.connected .led { background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
@keyframes pulse { 50% { opacity: .45; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 700 16px var(--body); border-radius: 999px; padding: 15px 26px;
  transition: transform .25s, box-shadow .25s, background .25s; cursor: pointer; border: 0; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-solid { color: #fff; background: linear-gradient(135deg, var(--blue), #5b7bff 60%, var(--violet)); box-shadow: 0 14px 30px -12px rgba(47, 91, 255, .7); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(47, 91, 255, .75); }
.btn-ghost { color: var(--ink); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }

/* ---------- signal bars ---------- */
.signal { position: fixed; z-index: 15; inset-inline-end: clamp(14px, 2.4vw, 30px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.bars i { width: 5px; border-radius: 2px; background: rgba(14, 22, 48, .12); transition: background .3s; }
.bars i:nth-child(1) { height: 20%; } .bars i:nth-child(2) { height: 40%; } .bars i:nth-child(3) { height: 60%; } .bars i:nth-child(4) { height: 80%; } .bars i:nth-child(5) { height: 100%; }
.bars i.on { background: linear-gradient(var(--cyan), var(--blue)); }
.signal-t { writing-mode: vertical-rl; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .signal-t { letter-spacing: 0; font-family: var(--body); font-size: 12px; }

/* ---------- shared ---------- */
section { position: relative; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.kicker { font: 600 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
html[lang="ar"] .kicker { font-family: var(--body); letter-spacing: 0; font-size: 15px; }
h2 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.05; font-weight: 800; }
.sec-lead { color: var(--ink2); font-size: clamp(16px, 1.5vw, 19px); margin: 18px 0 0; max-width: 620px; }
.sec-head.center .sec-lead { margin-inline: auto; }

/* ---------- 1. hero ---------- */
.hero { position: relative; }
.hero-stage { position: relative; height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 90px clamp(16px, 6vw, 96px) 40px; }
.boot { position: absolute; left: 50%; bottom: 9vh; transform: translateX(-50%); font: 600 13px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
  display: flex; flex-direction: column; align-items: center; gap: 12px; }
html[lang="ar"] .boot { font-family: var(--body); letter-spacing: 0; font-size: 15px; }
.boot::after { content: ""; width: 2px; height: 46px; border-radius: 2px; background: linear-gradient(var(--blue), transparent); animation: drip 1.8s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero-copy { position: relative; z-index: 3; }
html.js .hero-copy, html.js .hero-photo { opacity: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 14px var(--body); color: var(--ink2); background: var(--glass); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(10px); margin: 0 0 22px; }
.hero-name { font-size: clamp(48px, 8.4vw, 118px); line-height: .95; font-weight: 800;
  background: linear-gradient(120deg, var(--ink) 30%, var(--blue) 70%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ar"] .hero-name { line-height: 1.25; }
.hero-lead { font-size: clamp(17px, 1.7vw, 22px); color: var(--ink2); max-width: 560px; margin: 24px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; z-index: 2; margin: 0; height: min(84vh, 820px); justify-self: center; filter: drop-shadow(0 40px 60px rgba(31, 52, 140, .25)); }
.hero-photo img { height: 100%; width: auto; object-fit: contain; }

/* ---------- 2. record ---------- */
.record-stage { position: relative; min-height: 100vh; padding: 120px clamp(16px, 6vw, 96px) 80px; display: flex; flex-direction: column; justify-content: center; gap: 56px; }
.beam { position: absolute; inset-inline-start: clamp(16px, 6vw, 96px); top: 0; bottom: 0; width: 3px; }
.beam i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(var(--cyan), var(--blue) 50%, var(--violet)); transform-origin: top; transform: scaleY(0);
  box-shadow: 0 0 18px rgba(47, 91, 255, .5); }
.record .sec-head, .stats { margin-inline-start: 48px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { position: relative; background: var(--glass); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r); padding: 26px 22px 24px; box-shadow: var(--shadow);
  backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
html.js .stat { opacity: .25; transform: translateY(40px) scale(.96); }
.stat .num { margin-top: 54px; font: 800 clamp(40px, 4.4vw, 60px)/1 var(--display); background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr; unicode-bidi: isolate; text-align: start; }
.stat span { color: var(--ink2); font-size: 15px; line-height: 1.45; }
.stat.lit { box-shadow: var(--shadow), 0 0 0 2px rgba(47, 91, 255, .15); }
.stat-ring svg { position: absolute; inset-inline-start: 18px; top: 16px; width: 46px; height: 46px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(47, 91, 255, .12); stroke-width: 10; }
.ring { fill: none; stroke: url(#none) var(--green); stroke: var(--green); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; }
.blocks { position: absolute; inset-inline-start: 22px; top: 20px; display: grid; grid-template-columns: repeat(6, 9px); gap: 3px; direction: ltr; }
.blocks b { width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(var(--cyan), var(--blue)); transform: scale(0); }

/* ---------- 3. journey ---------- */
.journey-stage { position: relative; height: 100vh; padding: 110px clamp(16px, 6vw, 96px) 40px; overflow: hidden; }
.map-wrap { position: absolute; inset: 22vh 0 0; perspective: 1400px; perspective-origin: 50% 0%; }
.map { position: absolute; left: 50%; top: 0; width: min(1100px, 120vw); aspect-ratio: 1000 / 620; transform-style: preserve-3d;
  transform: translateX(-50%) rotateX(56deg) rotateZ(-6deg) translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(var(--ms, 1)); transform-origin: 50% 40%; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 28px; background: #fff; box-shadow: 0 60px 120px -40px rgba(31, 52, 140, .35); }
.land { fill: #f1f4fb; stroke: rgba(47, 91, 255, .25); stroke-width: 2; }
.land-b { fill: #f4f2fd; }
.sea { fill: url(#sea); }
.map-label { font: 700 22px var(--display); fill: rgba(14, 22, 48, .22); letter-spacing: .2em; text-anchor: middle; }
html[lang="ar"] .map-label { letter-spacing: 0; font-family: "Noto Kufi Arabic", sans-serif; }
.map-sea { font-size: 16px; fill: rgba(6, 120, 200, .45); }
.trail { fill: none; stroke: url(#trailGrad); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(47, 91, 255, .6)); }
.city { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); transform-style: preserve-3d; }
.city i { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px rgba(47, 91, 255, .15), 0 0 0 18px rgba(47, 91, 255, .06); }
.city span { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font: 800 20px var(--display); color: var(--ink); white-space: nowrap; }
.towers { position: absolute; inset: 0; transform-style: preserve-3d; }
.tower { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; transform-style: preserve-3d; --h: 0px; }
.tower .f { position: absolute; opacity: .96; }
.tower .fa, .tower .fb { left: 0; width: 34px; height: var(--h); transform-origin: top; transform: rotateX(90deg); background: linear-gradient(to bottom, var(--c1), var(--c2)); }
.tower .fa { top: 34px; } .tower .fb { top: 0; filter: brightness(.86); }
.tower .fc, .tower .fd { top: 0; width: var(--h); height: 34px; transform-origin: left; transform: rotateY(-90deg); background: linear-gradient(to right, var(--c1), var(--c2)); }
.tower .fc { left: 0; filter: brightness(.78); } .tower .fd { left: 34px; filter: brightness(1.06); }
.tower .roof { position: absolute; inset: 0; transform: translateZ(var(--h)); background: var(--c2); box-shadow: 0 0 22px var(--c2); }
.tower.now .roof { animation: beacon 1.4s infinite; }
@keyframes beacon { 50% { box-shadow: 0 0 40px var(--c2); filter: brightness(1.3); } }
.stop-card { position: absolute; z-index: 5; inset-inline-end: clamp(16px, 6vw, 96px); top: 120px; width: min(420px, 90vw); background: var(--glass); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r); padding: 26px 26px 24px; box-shadow: var(--shadow); }
.stop-card .yr { font: 600 13px var(--mono); color: var(--blue); letter-spacing: .1em; direction: ltr; unicode-bidi: isolate; }
.stop-card h3 { font-size: 24px; margin: 10px 0 4px; }
.stop-card .org { font-weight: 700; color: var(--ink2); }
.stop-card .place { font-size: 14px; color: var(--mute); }
.stop-card p { margin: 12px 0 0; color: var(--ink2); font-size: 15.5px; }
.stop-card .now-tag { display: inline-flex; align-items: center; gap: 7px; margin-inline-start: 10px; font: 700 12px var(--body); color: var(--green); }
.stop-card .now-tag .led { background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
.stop-dots { position: absolute; z-index: 5; inset-inline-end: clamp(16px, 6vw, 96px); top: calc(120px + 18px); transform: translateY(-100%); margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; }
.stop-dots li { width: 26px; height: 4px; border-radius: 3px; background: rgba(14, 22, 48, .12); transition: background .3s; }
.stop-dots li.on { background: var(--blue); }

/* ---------- 4. platforms ---------- */
.plat-stage { position: relative; min-height: 100vh; padding: 110px clamp(16px, 6vw, 96px) 60px; }
.rack { position: absolute; left: 50%; top: 58%; width: 150px; height: 230px; margin: -115px 0 0 -75px; perspective: 900px; z-index: 1; }
.rack-body { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(160deg, #ffffff, #e8edfb); box-shadow: var(--shadow); border: 1px solid #fff;
  display: grid; gap: 7px; padding: 14px; transform: rotateY(-18deg) rotateX(8deg); }
.rack-body i { border-radius: 6px; background: linear-gradient(90deg, #dfe6fa, #f6f8ff); position: relative; }
.rack-body i::after { content: ""; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; perspective: 1400px; }
.card { position: relative; height: 230px; border-radius: var(--r); transform-style: preserve-3d; cursor: pointer; outline: none; }
.card-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg))); }
.card.flip { --flip: 180deg; }
.face { position: absolute; inset: 0; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 22px; display: flex; flex-direction: column;
  background: var(--glass); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow); overflow: hidden; }
.face::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 60%); pointer-events: none; }
.face.back { transform: rotateY(180deg); background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 60%, #0E1630)); color: #fff; border: 0; }
.face.back::before { display: none; }
.p-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff));
  box-shadow: 0 12px 24px -10px var(--c); }
.p-name { font: 800 22px var(--display); margin: 16px 0 4px; }
.p-tag { font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--c); }
html[lang="ar"] .p-tag { letter-spacing: 0; font-size: 13px; }
.p-hint { margin-top: auto; font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.p-led { position: absolute; top: 22px; inset-inline-end: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.face.back p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.face.back .p-name { margin-top: 0; }
.p-visit { margin-top: auto; align-self: flex-start; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .6); }

/* ---------- 5. skills ---------- */
.skills { padding: 120px clamp(16px, 6vw, 96px) 60px; }
.sphere { position: relative; width: min(640px, 92vw); height: min(640px, 92vw); margin: 30px auto 0; cursor: grab; touch-action: pan-y; user-select: none; }
.sphere.drag { cursor: grabbing; }
.tag { position: absolute; left: 50%; top: 50%; white-space: nowrap; font: 700 16px var(--body); padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(31, 52, 140, .4); will-change: transform, opacity; }
.tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tc); margin-inline-end: 8px; vertical-align: middle; }
.skills-list { display: none; }

/* ---------- 6. contact ---------- */
.contact { min-height: 100vh; padding: 130px clamp(16px, 6vw, 96px) 40px; display: flex; flex-direction: column; }
.contact-grid { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.contact-links { display: grid; gap: 12px; margin: 34px 0; max-width: 480px; }
.c-link { display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); transition: transform .25s; font-weight: 700; }
.c-link:hover { transform: translateX(6px); }
html[dir="rtl"] .c-link:hover { transform: translateX(-6px); }
.c-link small { display: block; font-weight: 600; color: var(--mute); font-size: 13px; }
.c-ic { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font: 800 16px var(--display); background: linear-gradient(135deg, var(--blue), var(--violet)); }
.c-wa { background: linear-gradient(135deg, #25D366, #128C7E); font-size: 13px; }
.c-in { background: linear-gradient(135deg, #0A66C2, #2F5BFF); }
.qr-zone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qr { width: min(330px, 70vw); aspect-ratio: 1; padding: 22px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
html.js .qr { opacity: 0; transform: scale(.9); }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-cap { margin: 0; color: var(--mute); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 10px 18px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-weight: 700; }
body.connected .status { color: #047857; border-color: rgba(16, 185, 129, .35); background: rgba(16, 185, 129, .08); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 40px; color: var(--mute); font-size: 14px; }

/* direction-aware reveal (scrolling up arrives from above) */
html.js .rv { opacity: 0; transform: translateY(40px); transition: opacity .7s, transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js body[data-dir="up"] .rv:not(.in) { transform: translateY(-40px); }
html.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .links { display: none; }
  .actions { margin-inline-start: auto; }
  .actions .btn-sm { display: none; }
  .hero-stage { grid-template-columns: 1fr; align-content: center; text-align: center; padding-top: 80px; }
  .hero-copy { order: 2; }
  .hero-cta { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-photo { order: 1; height: 42vh; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 180px; }
  .record .sec-head, .stats { margin-inline-start: 22px; }
  .stop-card { inset-inline: 16px; width: auto; top: auto; bottom: 18px; }
  .stop-dots { inset-inline-end: auto; inset-inline-start: 16px; top: auto; bottom: calc(18px + 100%); }
  .map-wrap { inset: 24vh 0 0; }
  .map { width: 150vw; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { height: 210px; }
  .rack { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .signal { display: none; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .stat .num { font-size: 38px; }
  .face { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .stat { opacity: 1 !important; transform: none !important; }
  .hero-copy, .hero-photo, .qr { opacity: 1 !important; transform: none !important; }
}

.stat::after { content: ""; position: absolute; inset-inline-start: 22px; top: 26px; width: 30px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.stat-ring::after, .stat-blocks::after { display: none; }

/* ---------- journey globe ---------- */
.globe-wrap { position: absolute; inset: 0; z-index: 1; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.g-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.g-label { position: absolute; left: 0; top: 0; white-space: nowrap; transition: opacity .3s; will-change: transform; }
.g-city { font: 800 14px var(--display); color: var(--ink); background: rgba(255, 255, 255, .85); border: 1px solid #fff; padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(31, 52, 140, .45); margin: -44px 0 0 -40px; backdrop-filter: blur(8px); }
.g-sea { font: 700 11px var(--mono); letter-spacing: .3em; color: rgba(6, 120, 200, .6); margin: -6px 0 0 -30px; }
.g-land { font: 800 17px var(--display); letter-spacing: .3em; color: rgba(14, 22, 48, .42); transform-origin: 0 0; margin: -10px 0 0 -50px; text-shadow: 0 0 12px #fff, 0 0 4px #fff; }
html[lang="ar"] .g-sea, html[lang="ar"] .g-land { letter-spacing: 0; font-family: "Noto Kufi Arabic", sans-serif; }
.journey .sec-head { position: relative; z-index: 3; }
.journey-stage .stop-card, .journey-stage .stop-dots { z-index: 4; }
