/* =====================================================================
   Eagle Tec — styles
   Palette: charcoal/black with a measured orange glow
   ===================================================================== */
:root {
  --bg: #080808;
  --bg-2: #101010;
  --card: #181818;
  --line: #2b2b2b;
  --line-soft: rgba(255, 255, 255, .07);
  --orange: #ff5a2a;
  --orange-2: #ff7a3d;
  --ember: #a52e12;
  --text: #f5f5f5;
  --text-2: #b7b7b7;
  --text-3: #8a8a8a;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 76px;

  --font-en: "Manrope", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font: var(--font-en);

  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: dark;
}
html[lang="ar"] { --font: var(--font-ar); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--orange); color: #120400; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- icons ---------- */
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .i-arrow, [dir="rtl"] .ctrl .i { transform: scaleX(-1); }

/* ---------- typography ---------- */
.display {
  font-weight: 800;
  font-size: clamp(64px, 11.2vw, 168px);
  line-height: .9;
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #ffffff 30%, #c9c9c9 72%, #8d8d8d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
html[lang="ar"] .display { letter-spacing: 0; line-height: 1.1; font-weight: 700; font-size: clamp(60px, 10vw, 150px); }
.display-2 { font-weight: 800; font-size: clamp(40px, 7vw, 104px); line-height: 1; letter-spacing: -.04em; }
html[lang="ar"] .display-2 { letter-spacing: 0; line-height: 1.2; font-weight: 700; }
.h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.03em; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-2); margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px 2px rgba(255, 90, 42, .7); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); line-height: 1.65; }
.muted { color: var(--text-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #160500;
  box-shadow: 0 10px 30px -10px rgba(255, 90, 42, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(255, 110, 50, .95), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost {
  background: rgba(24, 24, 24, .7); color: var(--text);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(255, 122, 61, .55); color: #fff; }
.btn-whats { background: #f5f5f5; color: #0b0b0b; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-whats:hover { background: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 8, 8, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  height: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.brand img { height: 44px; width: auto; }
.nav ul {
  display: flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(16, 16, 16, .75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 30px -15px rgba(0,0,0,.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav a {
  display: block; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: color .25s, background-color .25s, box-shadow .25s;
}
html[lang="ar"] .nav a { font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: #160500; background: linear-gradient(180deg, var(--orange-2), var(--orange)); box-shadow: 0 6px 20px -8px rgba(255, 90, 42, .9); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 2px; height: 42px; padding: 4px; direction: ltr;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(16, 16, 16, .75);
  font-weight: 700; font-size: 13px; letter-spacing: .04em;
}
.lang-opt { display: grid; place-items: center; min-width: 40px; height: 32px; border-radius: 999px; color: var(--text-3); transition: color .25s, background-color .25s; }
.lang-opt.is-on { background: #f5f5f5; color: #0b0b0b; }
.lang-toggle:hover .lang-opt:not(.is-on) { color: var(--text); }
.lang-sep { display: none; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(16,16,16,.75); place-items: center; }
.menu-bars { display: grid; gap: 5px; width: 18px; }
.menu-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  height: 100svh; min-height: 660px; max-height: 1080px; padding-top: calc(var(--header-h) + 12px);
  display: flex; flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 70% 62%, rgba(165, 46, 18, .35), transparent 70%),
    radial-gradient(80% 60% at 50% 0%, #141414, transparent 70%),
    var(--bg);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.beam { position: absolute; top: -20%; width: 34vw; height: 120%; filter: blur(40px); opacity: .55; transform-origin: top center; }
.beam-1 { inset-inline-start: 6%; background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 70%); transform: rotate(-24deg); }
.beam-2 { inset-inline-start: 26%; width: 18vw; background: linear-gradient(180deg, rgba(255, 140, 90, .10), transparent 65%); transform: rotate(-24deg); }
.hero-grain {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-grid {
  flex: 1; min-height: 0; position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-rows: 1fr auto 1fr;
  grid-template-areas: ". stage" "title stage" "meta stage";
  column-gap: clamp(16px, 3vw, 48px);
}
.hero-title { grid-area: title; position: relative; z-index: 3; }
.hero-meta { grid-area: meta; position: relative; z-index: 3; align-self: start; padding-top: 26px; padding-bottom: 72px; }
.hero-name {
  display: flex; align-items: center; gap: 16px;
  margin-top: 18px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; color: var(--text); letter-spacing: -.01em;
}
.name-line { width: 48px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), transparent); flex: none; }
[dir="rtl"] .name-line { background: linear-gradient(-90deg, var(--orange), transparent); }
.hero-tagline { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-2); max-width: 30ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.social {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(24, 24, 24, .7); color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.social:hover { color: #fff; border-color: rgba(255, 122, 61, .6); transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(255, 90, 42, .8); }
.social .i { width: 21px; height: 21px; }

.hero-stage { grid-area: stage; position: relative; min-height: 0; height: 100%; }
.portrait {
  position: absolute; z-index: 2; bottom: 0; left: 50%; translate: -50% 0;
  width: auto; height: 100%; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
  filter: drop-shadow(0 0 1px rgba(255, 140, 90, .5)) drop-shadow(0 -6px 24px rgba(255, 90, 42, .22));
  will-change: transform;
}
/* eclipse: dark planet with a glowing orange rim (from the references) */
.eclipse {
  position: absolute; z-index: 1;
  left: 50%; top: 14%;
  width: min(175%, 1150px); aspect-ratio: 1;
  translate: -50% 0;
  will-change: transform;
}
.eclipse > span { position: absolute; inset: 0; border-radius: 50%; }
.eclipse-glow { inset: -18% !important; background: radial-gradient(closest-side, rgba(255, 90, 42, .55), rgba(165, 46, 18, .28) 55%, transparent 75%); filter: blur(20px); }
.eclipse-disc { background: radial-gradient(circle at 50% 60%, #050505 55%, #0c0c0c 70%, #1a0c07 100%); box-shadow: 0 0 0 1px rgba(255, 150, 100, .15); }
.eclipse-rim {
  background: conic-gradient(from -90deg, transparent 0deg, rgba(255, 90, 42, .15) 25deg, #ff5a2a 60deg, #ffc49a 92deg, #ff7a3d 125deg, rgba(255, 90, 42, .15) 155deg, transparent 180deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 95.5%, #000 96.5%, #000 99%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 95.5%, #000 96.5%, #000 99%, transparent 100%);
  filter: drop-shadow(0 0 12px rgba(255, 110, 50, .9)) drop-shadow(0 0 40px rgba(255, 90, 42, .6));
  animation: rim-breathe 6s ease-in-out infinite;
}
@keyframes rim-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }

.chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; } /* physical sides: the photo is not mirrored in Arabic */
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(20, 20, 20, .72); border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(0, 0, 0, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
html[lang="ar"] .chip { font-size: 14px; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.chip-1 { top: 9%; left: 2%; }
.chip-2 { top: 34%; right: 0; animation-delay: -2s; }
.chip-3 { top: 74%; left: 4%; animation-delay: -4s; }
.chip-4 { top: 72%; right: 4%; animation-delay: -5.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue {
  position: absolute; bottom: 22px; inset-inline-start: 50%; translate: -50% 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3);
}
[dir="rtl"] .scroll-cue { translate: 50% 0; letter-spacing: 0; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--orange), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(88px, 12vw, 160px); }
.section + .section { border-top: 1px solid rgba(255, 255, 255, .03); }

/* blur-in headings (scroll-linked, values set by JS) */
[data-blur-in] { will-change: transform, filter, opacity; }

/* ---------- about ---------- */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy .h2 { margin-bottom: 26px; }
.about-copy .lead { margin-bottom: 18px; max-width: 54ch; }
.about-copy .muted { max-width: 54ch; }

.orbit { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-top: 48px; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.orbit-ring.r1 { inset: 0; border-color: rgba(255, 255, 255, .06); }
.orbit-ring.r2 { inset: 14%; border-color: rgba(255, 122, 61, .22); background: radial-gradient(closest-side, rgba(255, 90, 42, .08), transparent); }
.orbit-ring.r3 {
  inset: 28%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 90, 42, .9) 25%, transparent 45%);
  -webkit-mask: radial-gradient(closest-side, transparent 96%, #000 97%); mask: radial-gradient(closest-side, transparent 96%, #000 97%);
  border: 0; filter: drop-shadow(0 0 8px rgba(255, 90, 42, .8));
}
.orbit-core {
  position: absolute; inset: 36%; border-radius: 28%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #222, #121212);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px -10px rgba(255, 90, 42, .45);
}
.orbit-core img { width: 70%; height: auto; }
.orbit-spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 14px 3px rgba(255, 122, 61, .8); }
.orbit-spark.s1 { top: 14%; left: 50%; }
.orbit-spark.s2 { bottom: 0; left: 50%; width: 5px; height: 5px; }

.focus-label { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
html[lang="ar"] .focus-label { letter-spacing: 0; font-size: 15px; }
.focus-list { display: grid; gap: 12px; counter-reset: f; }
.focus-item {
  position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, #181818, #131313);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.focus-item:hover { border-color: #3a3a3a; }
.focus-item.is-primary {
  padding-block: 30px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 90, 42, .42), transparent 55%),
    linear-gradient(180deg, #1d1410, #141414);
  border-color: rgba(255, 122, 61, .35);
  box-shadow: inset 0 1px 0 rgba(255, 180, 140, .18), 0 30px 60px -30px rgba(255, 90, 42, .55);
}
[dir="rtl"] .focus-item.is-primary { background: radial-gradient(120% 140% at 100% 0%, rgba(255, 90, 42, .42), transparent 55%), linear-gradient(180deg, #1d1410, #141414); }
.focus-num { font-size: 13px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; direction: ltr; }
.is-primary .focus-num { color: var(--orange-2); }
.focus-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #0f0f0f; border: 1px solid var(--line); color: var(--orange-2); }
.is-primary .focus-icon { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #160500; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(255, 90, 42, .9); }
.focus-text { display: grid; gap: 2px; min-width: 0; }
.focus-text strong { font-size: 18px; font-weight: 700; }
.is-primary .focus-text strong { font-size: 21px; }
.focus-text span { color: var(--text-2); font-size: 15px; }

/* gaming & live streaming card */
.live {
  grid-column: 1 / -1; position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 28px 48px;
  padding: clamp(26px, 4vw, 44px); border-radius: 26px;
  background: linear-gradient(135deg, #171717, #0f0f0f 60%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.live-glow { position: absolute; z-index: -1; inset-inline-end: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 42, .32), rgba(165, 46, 18, .12) 60%, transparent); filter: blur(10px); }
.live::before { content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
[dir="rtl"] .live::before { mask-image: linear-gradient(-90deg, transparent, #000 60%); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(255, 90, 42, .14); border: 1px solid rgba(255, 90, 42, .4); }
html[lang="ar"] .live-pill { letter-spacing: 0; font-size: 13px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b2a; box-shadow: 0 0 0 0 rgba(255, 59, 42, .7); animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 42, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 59, 42, 0); } }
.live-title { margin: 16px 0 10px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
html[lang="ar"] .live-title { letter-spacing: 0; line-height: 1.4; }
.live-copy .muted { max-width: 52ch; }
.live-actions { display: grid; gap: 12px; }
.live-link { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px;
  background: rgba(8, 8, 8, .6); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease), background-color .25s; }
.live-link:hover { border-color: rgba(255, 122, 61, .6); transform: translateY(-2px); background: rgba(20, 20, 20, .8); }
.live-link strong { display: block; font-size: 16px; }
.live-link small { display: block; color: var(--text-3); font-size: 13px; text-align: start; }
.live-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #160500; box-shadow: 0 10px 24px -10px rgba(255, 90, 42, .9); }
.live-ico .i { width: 22px; height: 22px; }
.about-grid { row-gap: clamp(40px, 6vw, 72px); }

/* staggered reveal (class toggled by JS) */
.js [data-stagger] { opacity: 0; transform: translateY(26px); }
.js [data-stagger].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s; }

/* ---------- work ---------- */
.work { background: var(--bg); overflow: hidden; }
.work-bgword {
  position: absolute; top: clamp(30px, 5vw, 70px); left: 0; z-index: 0;
  font-size: clamp(120px, 26vw, 400px); font-weight: 800; line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 80%); -webkit-background-clip: text; background-clip: text;
  white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--font-en); direction: ltr;
  will-change: transform;
}
.work-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.work-sub { max-width: 52ch; margin-top: 16px; }

.carousel { position: relative; z-index: 1; --card-w: clamp(300px, 31vw, 440px); --card-gap: 24px; }
.carousel-viewport {
  position: relative; overflow: hidden; direction: ltr;
  padding-block: 30px 50px;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  perspective: 1400px;
}
.carousel-viewport.is-dragging { cursor: grabbing; }
.carousel-track { display: flex; gap: var(--card-gap, 24px); width: max-content; will-change: transform; transform-style: preserve-3d; }
.v-card { flex: none; width: var(--card-w, 420px); }
.v-link {
  display: block; position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, #1a1a1a, #121212);
  border: 1px solid var(--line);
  padding: 10px; padding-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .9);
  transform: scale(var(--s, 1)); opacity: var(--o, 1);
  transition: border-color .3s, box-shadow .3s;
  -webkit-user-drag: none;
}
.v-link::after { /* orange under-glow, strength driven by --g */
  content: ""; position: absolute; inset: auto 12% -26px 12%; height: 50px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 42, .75), transparent);
  filter: blur(14px); opacity: var(--g, 0); z-index: -1; pointer-events: none;
}
.v-link:hover, .v-link:focus-visible { border-color: rgba(255, 122, 61, .6); }
.v-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0d0d0d; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); pointer-events: none; }
.v-link:hover .v-thumb img { transform: scale(1.04); }
.v-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
.v-arrow {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(10, 10, 10, .65); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .3s, color .3s;
}
.v-link:hover .v-arrow { background: var(--orange); color: #160500; border-color: transparent; }
.v-arrow .i { width: 18px; height: 18px; }
.v-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 90, 42, .92); color: #160500; box-shadow: 0 10px 30px -6px rgba(255, 90, 42, .8);
  opacity: 0; scale: .8; transition: opacity .3s, scale .3s var(--ease);
}
.v-play .i { fill: currentColor; stroke: none; width: 22px; height: 22px; margin-left: 3px; }
.v-link:hover .v-play, .v-link:focus-visible .v-play { opacity: 1; scale: 1; }
.v-meta { padding: 16px 8px 0; }
.v-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--orange-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
html[lang="ar"] .v-tag { letter-spacing: 0; font-size: 13px; }
.v-title {
  font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em;
}
html[lang="ar"] .v-title { line-height: 1.6; min-height: 3.2em; }

.carousel-controls { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; direction: ltr; }
.progress span { display: block; height: 100%; width: 10%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: 2px; transform-origin: left; will-change: transform; }
.ctrl-group { display: flex; gap: 8px; direction: ltr; }
.ctrl {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #141414; color: var(--text);
  transition: border-color .25s, background-color .25s, color .25s;
}
.ctrl:hover { border-color: rgba(255, 122, 61, .6); color: #fff; }
[dir="rtl"] .ctrl .i { transform: none; } /* carousel always moves right-to-left; arrows keep physical direction */
.ctrl-play { background: #f5f5f5; color: #0b0b0b; border-color: transparent; }
.ctrl-play:hover { background: #fff; color: #000; }
.ctrl-play .i-play { display: none; fill: currentColor; stroke: none; }
.ctrl-play[data-paused="true"] .i-play { display: block; }
.ctrl-play[data-paused="true"] .i-pause { display: none; }

/* ---------- brands ---------- */
.brands { background: radial-gradient(70% 60% at 50% 55%, #121212, var(--bg) 75%); overflow: hidden; padding-bottom: clamp(64px, 8vw, 110px); }
.brands-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.brands-head .eyebrow { justify-content: center; }
.marquee {
  position: relative; overflow: hidden; direction: ltr;
  padding-block: 34px;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(24, 24, 24, .4), rgba(16, 16, 16, .2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee::before { /* soft ember glow under the strip */
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -60px; height: 90px;
  background: radial-gradient(closest-side, rgba(165, 46, 18, .45), transparent); filter: blur(20px); pointer-events: none;
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-inline-end: clamp(48px, 6vw, 88px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item { flex: none; display: grid; place-items: center; height: 72px; }
.logo-item img {
  height: calc(var(--lb, 42px) * var(--f, 1)); width: auto; max-width: none;
  filter: brightness(0) invert(1); opacity: .62;
  transition: filter .35s, opacity .35s, transform .35s var(--ease);
}
.logo-item:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- contact ---------- */
.contact { overflow: hidden; background: var(--bg); padding-bottom: clamp(100px, 12vw, 150px); }
.horizon { position: absolute; left: 50%; bottom: -1px; width: 140%; translate: -50% 0; height: 70%; pointer-events: none; transform-origin: bottom center; }
.horizon span {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(255, 90, 42, .55), rgba(165, 46, 18, .25) 45%, transparent 70%);
}
.horizon::after { /* the bright orange bar from the reference footer */
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-2), #ffc59e, var(--orange-2), transparent);
  box-shadow: 0 0 30px 6px rgba(255, 90, 42, .6);
}
.contact-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-inner .eyebrow { justify-content: center; }
.contact-sub { max-width: 46ch; margin-top: 22px; color: var(--text-2); }
.contact-cards { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; width: 100%; max-width: 920px; margin-top: 48px; text-align: start; }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(28, 28, 28, .85), rgba(18, 18, 18, .9));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -40px rgba(0, 0, 0, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.c-email { background: radial-gradient(90% 120% at 0% 0%, rgba(255, 90, 42, .2), transparent 60%), linear-gradient(180deg, rgba(28, 28, 28, .9), rgba(18, 18, 18, .92)); }
[dir="rtl"] .c-email { background: radial-gradient(90% 120% at 100% 0%, rgba(255, 90, 42, .2), transparent 60%), linear-gradient(180deg, rgba(28, 28, 28, .9), rgba(18, 18, 18, .92)); }
.c-label { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.c-label .i { color: var(--orange-2); }
.c-value { font-size: clamp(19px, 2.3vw, 28px); font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; font-family: var(--font-en); text-align: start; }
[dir="rtl"] .c-value { text-align: right; }
.c-value:hover { color: var(--orange-2); }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.contact-follow { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-2); font-weight: 600; }
.socials-lg { justify-content: center; margin-top: 14px; }
.socials-lg .social { width: 54px; height: 54px; border-radius: 16px; }

button.social { cursor: pointer; }
.wechat-line { margin-top: 14px; font-size: 14px; color: var(--text-3); font-weight: 500; }
.wechat-id { font-weight: 700; color: var(--text); padding: 2px 8px; border-radius: 8px; border: 1px dashed #3a3a3a; font-family: var(--font-en); }
.wechat-id:hover { border-color: var(--orange-2); color: var(--orange-2); }
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; translate: -50% 20px; opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 14px; background: #f5f5f5; color: #0b0b0b; font-weight: 700; font-size: 14px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); transition: opacity .3s, translate .3s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: #050505; border-top: 1px solid rgba(255, 122, 61, .25); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; }
.footer-logo img { height: 38px; width: auto; }
.copyright { color: var(--text-3); font-size: 14px; }
.footer-site { color: var(--text-3); font-size: 14px; }
.footer-site:hover { color: var(--orange-2); }

/* ===================================================================== */
/* responsive                                                            */
/* ===================================================================== */
@media (max-width: 1080px) {
  .chip-3, .chip-4 { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { height: 38px; }
  .menu-toggle { display: grid; }
  .nav { position: fixed; top: calc(var(--header-h) + 6px); inset-inline: var(--gutter); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .nav ul { flex-direction: column; border-radius: 20px; padding: 8px; background: rgba(14, 14, 14, .96); }
  .nav a { padding: 14px 18px; font-size: 16px; border-radius: 14px; }

  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "title" "stage" "meta";
    text-align: center; padding-top: 18px;
  }
  .hero-name { justify-content: center; margin-top: 12px; }
  .name-line { display: none; }
  .hero-stage { height: auto; margin-top: 4px; display: flex; justify-content: center; }
  .portrait { position: relative; left: auto; bottom: auto; translate: none; height: auto; width: min(86vw, 460px); max-height: 66svh; }
  .eclipse { width: min(160vw, 820px); top: 12%; }
  .hero-meta { padding-top: 6px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; }
  .hero-tagline { max-width: 32ch; }
  .hero-ctas { justify-content: center; width: 100%; }
  .hero-ctas .btn { flex: 1 1 200px; max-width: 320px; }
  .socials { justify-content: center; }
  .chip { font-size: 12px; padding: 6px 11px; }
  .chip-1 { top: 66%; left: 0; }
  .chip-2 { top: 30%; right: 0; }
  .beam { filter: blur(24px); }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { display: none; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .live { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .focus-item { grid-template-columns: auto 1fr; padding: 18px; gap: 14px; }
  .focus-num { display: none; }
  .focus-text strong { font-size: 16px; }
  .is-primary .focus-text strong { font-size: 18px; }
  .c-card { padding: 22px; }
  .c-actions .btn { flex: 1 1 auto; }
  .footer-inner { justify-content: center; text-align: center; }
  .work-head .btn { width: 100%; }
  .carousel-controls { gap: 14px; }
  .logo-item { height: 56px; }
  .socials { gap: 6px; flex-wrap: nowrap; justify-content: center; }
  .social, .socials-lg .social { width: 38px; height: 38px; border-radius: 11px; }
  .social .i { width: 19px; height: 19px; }
  .marquee { --lb: 30px; }
  .carousel { --card-w: 78vw; --card-gap: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-stagger] { opacity: 1; transform: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-inline: var(--gutter); }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
