/* TMM Expo - styles. Brand colours and fonts are the variables at the top of the :root block. */
:root { color-scheme: light; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout concept: floating glass header; teal-to-blue hero with an orange horizon, the traced TMM EXPO logo on a haloed orbit stage; orange ribbon; bento grid; arch "gateway" scene; tabs; registration panel. Palette and gradients come from the TMM brand sheet. */
:root {
  --blue: #0E4798;
  --blue-deep: #0A3578;
  --orange: #FF6B2C;
  --orange-btn: #FF6B2C;
  --orange-hi: #FF8A4C;
  --on-orange: #13202E;
  --mist: #E2E5E8;
  --slate: #1B2A3A;
  --teal: #3EBDAD;
  --teal-hi: #7FE3D4;
  --g-a: linear-gradient(135deg, #3EBDAD 0%, #0E4798 100%);
  --g-b: linear-gradient(180deg, #3EBDAD 0%, #1D7FA6 22%, #0E4798 70%, #0E4798 86%, #FF6B2C 100%);

  --bg: #EEF1F3;
  --surface: #ffffff;
  --surface-2: #E2E5E8;
  --ink: #1B2A3A;
  --muted: #4A5B6E;
  --line: rgba(27, 42, 58, .14);
  --num: #0E4798;
  --orange-ink: #B8450F;
  --pill-on: #0E4798;
  --hdr-bg: rgba(246, 248, 249, .82);
  --focus: #FF6B2C;
  --logo: #E2E5E8;

  --font-display: "Montserrat", "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-ar-ui: "IBM Plex Sans Arabic", "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101B27; --surface: #1B2A3A; --surface-2: #263A4F; --ink: #E8ECF0; --muted: #A9B7C6;
    --line: rgba(255, 255, 255, .14); --num: #8DB6F2; --orange-ink: #FF8A4C; --pill-on: #2F6FD0;
    --hdr-bg: rgba(16, 27, 39, .8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101B27; --surface: #1B2A3A; --surface-2: #263A4F; --ink: #E8ECF0; --muted: #A9B7C6;
  --line: rgba(255, 255, 255, .14); --num: #8DB6F2; --orange-ink: #FF8A4C; --pill-on: #2F6FD0;
  --hdr-bg: rgba(16, 27, 39, .8); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; }
.page { overflow-x: clip; line-height: 1.7; --ga: 225deg; --tc: 100%; --oc: 0%; }
.page[dir="rtl"] { --ga: 135deg; --tc: 0%; --oc: 100%; }
[hidden] { display: none !important; }
.page[lang="ar"] { line-height: 1.9; }
.page[lang="ar"] h1, .page[lang="ar"] h2, .page[lang="ar"] h3 { font-family: "Montserrat", "Cairo", sans-serif; }
.page[lang="ar"] .btn, .page[lang="ar"] .chip3, .page[lang="ar"] .nav a, .page[lang="ar"] .lang button, .page[lang="ar"] .tabs button, .page[lang="ar"] .opt em, .page[lang="ar"] .edition, .page[lang="ar"] .wilaya, .page[lang="ar"] .date-chip { font-family: var(--font-ar-ui); font-weight: 700; }
.page[lang="ar"] .h1-sub, .page[lang="ar"] .c-pillar h3, .page[lang="ar"] .opt b { font-family: "Cairo", sans-serif; font-weight: 700; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.12; }
.page[lang="ar"] h1, .page[lang="ar"] h2, .page[lang="ar"] h3 { line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
section[id], .card[id] { scroll-margin-top: 96px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* brand panels: teal corner into blue, orange foot (the two gradients of the brand sheet) */
.brand-bg, .card.brand-bg {
  background:
    radial-gradient(560px 280px at var(--oc) 100%, rgba(255, 107, 44, .6) 0, rgba(255, 107, 44, 0) 72%),
    linear-gradient(var(--ga), #3EBDAD -6%, #2A9FAA 8%, #1B79A8 20%, #0E4798 40%, #123F8E 62%, #1A3A84 100%);
}

/* scroll progress */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, #3EBDAD, #0E4798 55%, #FF6B2C); }
.page[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* floating header */
.top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 40; height: 0; }
.bar {
  position: relative; width: min(1200px, calc(100% - 32px)); margin: 12px auto 0; display: flex; align-items: center; gap: 14px;
  padding: 8px 10px; padding-inline: 20px 10px; border-radius: 999px; background: var(--hdr-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 34px rgba(11, 30, 60, .2);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; min-width: 0; }
.mini-logo { height: 34px; aspect-ratio: 536 / 324; width: auto; flex: none; color: var(--num); fill: currentColor; fill-rule: evenodd; }
.brand small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; white-space: nowrap; padding-inline-start: 12px; border-inline-start: 2px solid var(--orange); }
.nav { display: flex; gap: 24px; }
.menu-btn { display: none; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; background: var(--surface-2); color: var(--ink); place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.menu-btn span { position: relative; } .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); } .menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.skip { position: fixed; z-index: 100; top: 8px; inset-inline-start: 8px; padding: 12px 18px; border-radius: 12px; background: #fff; color: #0E4798; font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding-block: 4px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { color: var(--num); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.lang button { border: 0; background: transparent; color: var(--ink); font: 600 .78rem/1 var(--font-body); padding: 8px 11px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--pill-on); color: #fff; }
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none; font: 600 1rem/1 var(--font-body); padding: 16px 28px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.page[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn:hover svg { transform: translateX(3px); }
.page[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
.btn-accent { background: var(--orange-btn); color: var(--on-orange); box-shadow: 0 10px 30px rgba(255, 107, 44, .4); }
.btn-accent:hover { background: #FF8040; }
.btn-accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); animation: shimmer 4.5s ease-in-out infinite; }
.btn-ghost { background: rgba(10, 53, 120, .42); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1458B8; }
.bar .btn { padding: 12px 20px; font-size: .9rem; }

/* theme button, rising sparks, cursor ring, scroll cue */
.theme-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: var(--surface-2); color: var(--ink); transition: transform .3s, background .2s; }
.theme-btn:hover { transform: rotate(18deg); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; } .theme-btn.dark .i-sun { display: block; } .theme-btn.dark .i-moon { display: none; }
.fz { position: absolute; bottom: -20px; left: var(--l); width: var(--s); height: var(--s); background: var(--c); transform: rotate(45deg); border-radius: 2px; opacity: 0; animation: fzUp var(--t) linear infinite var(--d); }
.cursor { position: fixed; z-index: 150; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 2px solid var(--orange); pointer-events: none; opacity: 0; transition: opacity .25s, width .25s, height .25s, margin .25s, background .25s; }
.cursor.on { opacity: .85; }
.cursor.hot { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(255, 107, 44, .16); }
.cue { position: absolute; z-index: 1; bottom: 96px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 16px; pointer-events: none; }
.cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--orange-hi); animation: cue 1.8s ease-in-out infinite; }
.ribbon { transition: transform .25s ease-out; }

/* hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; padding-block: 128px 170px;
  background:
    radial-gradient(900px 520px at 70% 8%, rgba(255, 255, 255, .1), transparent 62%),
    radial-gradient(560px 280px at var(--oc) 100%, rgba(255, 107, 44, .6) 0, rgba(255, 107, 44, 0) 72%),
    linear-gradient(var(--ga), #3EBDAD -6%, #2A9FAA 8%, #1B79A8 20%, #0E4798 40%, #123F8E 62%, #1A3A84 100%); }
.page[dir="rtl"] .hero { background:
    radial-gradient(900px 520px at 30% 8%, rgba(255, 255, 255, .1), transparent 62%),
    radial-gradient(560px 280px at var(--oc) 100%, rgba(255, 107, 44, .6) 0, rgba(255, 107, 44, 0) 72%),
    linear-gradient(var(--ga), #3EBDAD -6%, #2A9FAA 8%, #1B79A8 20%, #0E4798 40%, #123F8E 62%, #1A3A84 100%); }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.blob.b1 { width: 460px; height: 460px; background: #3EBDAD; opacity: .38; top: -14%; inset-inline-end: 6%; animation: drift1 22s ease-in-out infinite alternate; }
.blob.b2 { width: 420px; height: 420px; background: #2F7FD8; opacity: .4; bottom: -8%; inset-inline-end: 36%; animation: drift2 26s ease-in-out infinite alternate; }
.blob.b3 { width: 380px; height: 380px; background: #FF6B2C; opacity: .32; bottom: -16%; inset-inline-start: -6%; animation: drift3 20s ease-in-out infinite alternate; }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(460px circle at var(--sx, 70%) var(--sy, 30%), rgba(255, 255, 255, .08), transparent 60%); }
.dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px); background-size: 30px 30px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.circuit { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(46%, 560px); height: 100%; z-index: -1; opacity: .7; pointer-events: none; }
.circuit .base { stroke: rgba(255, 255, 255, .2); }
.circuit .flow { stroke: var(--teal-hi); stroke-dasharray: 7 93; filter: drop-shadow(0 0 4px var(--teal-hi)); animation: flow 6s linear infinite; }
.circuit .f2 { animation-duration: 8.5s; animation-delay: -2s; }
.circuit .f3 { animation-duration: 7s; animation-delay: -4s; }
.hero-dunes { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 120px; display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 40px; align-items: center; }
.rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .2s; } .d4 { animation-delay: .28s; } .d5 { animation-delay: .36s; }
.date-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 9px 20px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: rgba(10, 53, 120, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.date-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-hi); animation: ping 2s infinite; }
.hero h1 { margin-top: 22px; font-size: clamp(3rem, 6.2vw, 5.2rem); font-weight: 800; letter-spacing: -.01em; color: #fff;
  background: linear-gradient(100deg, #ffffff 24%, #E2E5E8 52%, #F6A67C 100%); background-size: 200% 100%; animation: hshine 9s ease-in-out infinite alternate; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.page[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.2; }
.page[dir="rtl"] .hero h1 { background-image: linear-gradient(260deg, #ffffff 24%, #E2E5E8 52%, #F6A67C 100%); }
.h1-sub { margin-top: 10px; font: 600 clamp(1.2rem, 2.5vw, 1.8rem)/1.35 var(--font-display); color: #E2E5E8; text-wrap: balance; }
.edition { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 9px 20px; border-radius: 999px; background: rgba(255, 107, 44, .18); color: #fff; text-decoration: none; font: 600 .95rem/1.4 var(--font-body); box-shadow: inset 0 0 0 1.5px var(--orange-hi); transition: background .2s, transform .2s; }
.edition:hover { background: rgba(255, 107, 44, .34); transform: translateY(-2px); }
.edition svg { width: 18px; height: 18px; fill: none; stroke: var(--orange-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lead { margin-top: 22px; font-size: 1.18rem; max-width: 34rem; color: #EEF2F6; }
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 92px)); gap: 12px; margin-top: 32px; }
.count div { padding: 14px 6px 10px; text-align: center; border-radius: 20px; background: rgba(10, 53, 120, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.count strong { display: block; font: 700 2.3rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.count div:last-child strong { color: var(--orange-hi); }
.count small { font-size: .82rem; color: #E2E5E8; }
.count-note { margin-top: 12px; font-size: .92rem; color: #E2E5E8; min-height: 1.9em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* logo stage */
.stage { --px: 0; --py: 0; position: relative; width: min(100%, 580px); aspect-ratio: 1 / 1; margin-inline: auto; perspective: 1000px; }
.halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(127, 227, 212, .5), rgba(31, 134, 166, .3) 56%, transparent 74%); transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -8px), 0); animation: breathe 5s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .34); animation: spin 46s linear infinite; }
.ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--orange-hi); box-shadow: 0 0 16px var(--orange-hi); }
.ring.r1 { inset: 4%; }
.ring.r2 { inset: 15%; border-style: solid; border-color: rgba(127, 227, 212, .45); animation-duration: 64s; animation-direction: reverse; }
.ring.r2::after { background: var(--teal-hi); box-shadow: 0 0 16px var(--teal-hi); }
.tilt { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; transform: rotateY(calc(var(--px) * 10deg)) rotateX(calc(var(--py) * -6deg)); transition: transform .3s ease-out; }
.poster-btn { position: relative; display: block; width: 104%; margin-inline: -2%; border: 0; padding: 0; cursor: pointer; background: transparent; -webkit-tap-highlight-color: transparent; animation: float 7s ease-in-out infinite; }
.poster-btn:focus-visible { outline-offset: -6px; border-radius: 28px; }
.p-wrap { position: relative; display: block; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 88%, transparent 100%);
  mask-composite: intersect; }
.p-img { display: block; width: 100%; height: auto; aspect-ratio: 1072 / 941; transform-origin: 51.8% 62%; animation: kb 20s ease-in-out infinite alternate; user-select: none; -webkit-user-drag: none; }
.p-layer { position: absolute; inset: 0; pointer-events: none; }
.p-glow { background: radial-gradient(circle at 51.8% 62%, rgba(127, 227, 212, .42) 0, rgba(62, 189, 173, .14) 12%, rgba(62, 189, 173, 0) 26%); mix-blend-mode: screen; animation: glow 4.2s ease-in-out infinite; }
.p-band { inset: 9.6% 13.3% auto; height: 5.6%; overflow: hidden; }
.p-band::before { content: ""; position: absolute; top: 0; bottom: 0; width: 22%; left: -30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); mix-blend-mode: soft-light; animation: band 5.2s ease-in-out infinite 1s; }
.p-glare { background: radial-gradient(circle at calc(50% + var(--px) * 42%) calc(46% + var(--py) * 42%), rgba(255, 255, 255, .32) 0, rgba(255, 255, 255, 0) 52%); mix-blend-mode: soft-light; transition: background .2s; }
.p-sweep { inset: 9% 13% 9%; overflow: hidden; }
.p-sweep::before { content: ""; position: absolute; top: -10%; bottom: -10%; width: 26%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-16deg); animation: sweep2 8s ease-in-out infinite 2s; }
.stage.wave .p-sweep::before { animation: sweep2 1.1s ease-out 1; }
.stage.wave .p-glow { animation: glowflash 1.2s ease-out 1; }
.p-stars i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(255, 255, 255, .7); animation: twinkle 3s ease-in-out infinite; }
.p-dust { overflow: hidden; }
.p-dust i { position: absolute; bottom: -6%; left: var(--l); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); opacity: 0; animation: dust var(--t) linear infinite var(--d); }
.p-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(127, 227, 212, .8); left: 51.8%; top: 62%; width: 12%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; }
.stage.wave .p-ring { animation: pring 1.1s ease-out 1; }
.stage.wave .p-ring.r2 { animation-delay: .18s; }
.orb { position: absolute; transform: translate3d(calc(var(--px) * var(--d, 12) * 1px), calc(var(--py) * var(--d, 12) * 1px), 0); transition: transform .3s ease-out; z-index: 3; }
.orb.o1 { top: 3%; right: 9%; --d: 26; } .orb.o2 { top: 46%; left: -3%; --d: -22; } .orb.o3 { bottom: 7%; left: 12%; --d: 18; }
.chip3 { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; font: 600 .92rem/1 var(--font-display); color: #fff; white-space: nowrap;
  background: rgba(10, 53, 120, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34), 0 10px 24px rgba(4, 22, 52, .3); animation: bob 5s ease-in-out infinite; }
.leaf { position: absolute; bottom: 5%; width: 24%; aspect-ratio: 1; border-radius: 55% 45% 40% 60%; filter: blur(22px); opacity: .6; pointer-events: none; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite alternate; }
.leaf.l1 { left: -6%; background: #FF8A4C; } .leaf.l2 { right: -4%; background: #3EBDAD; animation-delay: -2.5s; } .leaf.l3 { left: 30%; bottom: -2%; width: 30%; background: #1B79A8; opacity: .45; animation-delay: -4s; }
.hero-hills { position: absolute; left: -15%; bottom: 55px; width: 130%; height: 210px; z-index: -1; pointer-events: none; animation: hills 30s ease-in-out infinite alternate; }
.o2 .chip3 { animation-delay: -1.6s; } .o3 .chip3 { animation-delay: -3.2s; }
.chip3 svg { width: 20px; height: 20px; fill: none; stroke: var(--orange-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stage.wave .chip3 { animation: chipflash .6s ease-in-out 2; }
.spark { position: absolute; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); pointer-events: none; z-index: 6; }
.sticker { position: absolute; bottom: 1%; right: 3%; width: 104px; height: 104px; z-index: 4; }
.sticker svg { width: 100%; height: 100%; direction: ltr; animation: spin 18s linear infinite; }
.sticker text { font: 700 9px var(--font-display); letter-spacing: .1em; fill: #fff; }
.sticker .core { position: absolute; inset: 22%; display: grid; place-items: center; border-radius: 50%; background: var(--orange-btn); color: var(--on-orange); font: 800 1.5rem/1 var(--font-display); box-shadow: 0 8px 20px rgba(4, 22, 52, .4); }

/* ribbon */
.ribbon { position: relative; z-index: 3; margin: -40px -2% 0; transform: rotate(-1.4deg) skewX(var(--sk, 0deg)); background: var(--orange-btn); color: var(--on-orange); overflow: hidden; box-shadow: 0 12px 34px rgba(11, 30, 60, .3); }
.track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.grp { display: flex; flex: none; align-items: center; }
.grp span { display: inline-flex; align-items: center; padding: 15px 0 15px 26px; font: 700 1.1rem/1 var(--font-display); white-space: nowrap; text-transform: uppercase; letter-spacing: .05em; }
.grp span::after { content: ""; width: 14px; height: 10px; margin-left: 26px; background: var(--on-orange); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* stats */
.stats { padding-block: 64px 8px; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stats li { grid-column: span 2; }
.stats li:nth-child(n+4) { grid-column: span 3; }
.stats li { padding: 8px 24px; border-inline-start: 1px solid var(--line); }
.stats li:first-child { border-inline-start: 0; }
.stats b { display: block; font: 800 clamp(2.4rem, 5vw, 4rem)/1.1 var(--font-display); color: var(--num); font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
.stats span { color: var(--muted); }

/* sections */
.sec { padding-block: 84px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .9rem/1.6 var(--font-body); color: var(--orange-ink); letter-spacing: .06em; text-transform: uppercase; }
.page[lang="ar"] .eyebrow { letter-spacing: .02em; text-transform: none; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.sec h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; margin-top: 10px; color: var(--num); letter-spacing: -.01em; }
.page[lang="ar"] .sec h2 { letter-spacing: 0; }
.rv { opacity: .3; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.card.rv { transition: opacity .7s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.sec h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--orange)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .15s; }
.page[dir="rtl"] .sec h2::after { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--teal), var(--orange)); }
.sec h2.in::after { transform: scaleX(1); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 22px 44px rgba(14, 71, 152, .16); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 189, 173, .22), transparent 62%); }
.card:hover::before { opacity: 1; }
.c-about { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 340px; padding-bottom: 80px; }
.c-about h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.c-about p { color: var(--muted); font-size: 1.08rem; max-width: 46rem; }
.c-about p + p { margin-top: 12px; }
.c-about .pulse { position: absolute; inset-inline: 0; bottom: 0; height: 70px; width: 100%; z-index: -1; opacity: .6; }
.pulse .base { stroke: var(--line); } .pulse .flow { stroke: var(--teal); stroke-dasharray: 9 91; animation: flow 7s linear infinite; }
.c-dates { grid-column: span 2; color: #fff; box-shadow: none; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.c-dates:hover { box-shadow: 0 22px 44px rgba(14, 71, 152, .3); }
.c-dates::before { display: none; }
.c-dates .lbl { font: 600 .85rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.days { display: grid; gap: 4px; }
.day { display: flex; align-items: baseline; gap: 14px; }
.day b { font: 800 2.7rem/1 var(--font-display); min-width: 2ch; font-variant-numeric: tabular-nums; }
.day span { font-weight: 500; color: #EEF2F6; } .day small { display: block; color: #D5DEE8; font-size: .85rem; line-height: 1.3; }
.c-dates .sep { width: 2px; height: 14px; margin-inline-start: 1.1ch; background: linear-gradient(var(--orange-hi), transparent); }
.c-dates .note { font-size: .88rem; color: #EEF2F6; }
.c-pillar { grid-column: span 2; }
.ico { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(145deg, #2A9C98 0%, #0E4798 85%); }
.ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dr * { stroke-dasharray: 200; stroke-dashoffset: 0; }
.card:hover .dr * { animation: draw 1.1s ease both; }
.c-pillar { border-top: 3px solid var(--orange); }
.c-pillar h3 { font-size: 1.6rem; margin-top: 20px; color: var(--num); }
.c-pillar p { margin-top: 8px; color: var(--muted); }

/* gateway (arch) */
.gate { position: relative; isolation: isolate; overflow: hidden; color: #fff; margin-top: 84px; }
.gate .blob.b1 { z-index: -1; top: -10%; inset-inline-start: auto; inset-inline-end: -4%; }
.gate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.gate .eyebrow { color: #fff; } .gate .eyebrow::before { background: var(--orange-hi); }
.gate h2 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.wilaya { display: inline-flex; margin-top: 16px; padding: 7px 18px; border-radius: 999px; font-weight: 500; font-size: .95rem; background: rgba(10, 53, 120, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.gate p.lead2 { margin-top: 18px; color: #EEF2F6; font-size: 1.1rem; max-width: 30rem; }
.gate .btn { margin-top: 26px; }
.scene-wrap { --gx: 0; --gy: 0; position: relative; justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; border-radius: 34px; overflow: hidden; background: #0A3578; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 30px 60px rgba(4, 22, 52, .45); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04) translate(calc(var(--gx) * -6px), calc(var(--gy) * -4px)); }
.slide.on img { animation: kb2 9s ease-out both; }
.slide figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 70px 24px 56px; font: 700 1.2rem/1.4 var(--font-display); color: #fff; background: linear-gradient(to top, rgba(6, 22, 46, .82), rgba(6, 22, 46, 0)); }
.sdots { position: absolute; z-index: 2; inset-inline: 0; bottom: 18px; display: flex; justify-content: center; gap: 4px; }
.sd { position: relative; width: 36px; height: 28px; border: 0; padding: 0; cursor: pointer; background: transparent; }
.sd::before { content: ""; position: absolute; left: 4px; right: 4px; top: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); transition: background .2s; }
.sd.on::before { background: var(--orange); }
.sd:hover::before { background: #fff; }
.arch-scene { display: none; }
.arch-scene .layer { transition: transform .3s ease-out; }
.arch-scene .far { transform: translate(calc(var(--gx) * -4px), calc(var(--gy) * -2px)); }
.arch-scene .mid { transform: translate(calc(var(--gx) * 7px), calc(var(--gy) * 4px)); }
.arch-scene .near { transform: translate(calc(var(--gx) * 14px), calc(var(--gy) * 6px)); }
.arch-scene .st { animation: twinkle 3s ease-in-out infinite; } .arch-scene .st:nth-child(2n) { animation-delay: -1.2s; } .arch-scene .st:nth-child(3n) { animation-delay: -2s; }
.arch-scene .horizon { transform-origin: 180px 60px; animation: breathe 5s ease-in-out infinite; }
.arch-scene .dn1 { animation: drift 15s ease-in-out infinite alternate; } .arch-scene .dn2 { animation: drift 11s ease-in-out infinite alternate-reverse; }
.arch-scene .arch-label { font: 600 12.5px var(--font-body); fill: #0E4798; text-anchor: middle; }

/* join */
.join-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface-2); }
.tabs button { border: 0; cursor: pointer; background: transparent; color: var(--ink); font: 600 1rem/1 var(--font-body); padding: 13px 26px; border-radius: 999px; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--pill-on); color: #fff; box-shadow: 0 8px 20px rgba(14, 71, 152, .3); }
.join-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; margin-top: 32px; }
.join-list { list-style: none; margin: 0; padding: 12px 0; display: grid; gap: 12px; }
.join-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.join-list li:nth-child(2) { animation-delay: .08s; } .join-list li:nth-child(3) { animation-delay: .16s; }
.join-list svg { flex: none; width: 28px; height: 28px; margin-top: 3px; padding: 5px; border-radius: 50%; background: var(--orange-btn); fill: none; stroke: var(--on-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.join-big { position: relative; overflow: hidden; display: grid; place-content: center; text-align: center; gap: 4px; min-height: 280px; border-radius: 30px; padding: 32px; color: #fff; }
.join-big b { font: 800 clamp(3.4rem, 7vw, 5.4rem)/1 var(--font-display); direction: ltr; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, #fff, #E2E5E8 60%, #F6A67C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.join-big span { color: #EEF2F6; font-size: 1.1rem; }
.join-big svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 90px; opacity: .55; }

/* register */
.reg-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; padding: 48px; border-radius: 40px; color: #fff; }
.reg-panel .eyebrow { color: #fff; } .reg-panel .eyebrow::before { background: var(--orange-hi); }
.reg-panel h2 { color: #fff; }
.reg-panel p.lead2 { margin-top: 14px; color: #EEF2F6; max-width: 28rem; }
.reg-logo { display: block; width: min(60%, 230px); height: auto; margin-top: 28px; fill: var(--logo); fill-rule: evenodd; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 12px 16px rgba(4, 22, 52, .4)); }
form { display: grid; gap: 14px; padding: 28px; border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px rgba(4, 22, 52, .4); }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; padding: 24px 16px 8px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field label { position: absolute; inset-inline-start: 17px; top: 17px; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .2s, color .2s; }
.page[dir="rtl"] .field label { transform-origin: 100% 0; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field.sel label { transform: translateY(-11px) scale(.76); color: var(--orange-ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 44, .3); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 4px; accent-color: var(--blue); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.opt em { display: none; }
.opt { display: grid; gap: 6px; justify-items: start; text-align: start; width: 100%; padding: 18px 20px; border: 0; border-radius: 22px; cursor: default; color: #fff; font: inherit; background: rgba(10, 53, 120, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); transition: background .2s, box-shadow .2s, transform .2s; }
.gf { max-width: 860px; width: 100%; justify-self: center; padding: 10px; border-radius: 30px; background: #fff; box-shadow: 0 30px 60px rgba(4, 22, 52, .4); }
.gf iframe { display: block; width: 100%; height: 1100px; border: 0; border-radius: 22px; background: #fff; }
.gf-open { display: block; padding: 12px 8px 6px; text-align: center; font-weight: 600; font-size: .92rem; color: var(--blue); }
.opt b { font: 700 1.2rem/1.4 var(--font-display); }
.opt span { color: #EEF2F6; font-size: .98rem; }
.opt em { font: 700 .92rem/1 var(--font-body); font-style: normal; padding: 10px 18px; border-radius: 999px; background: var(--orange-btn); color: var(--on-orange); margin-top: 4px; }
.nye-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 48px; border-radius: 40px; color: #fff; }
.nye-panel .eyebrow { color: #fff; } .nye-panel .eyebrow::before { background: var(--orange-hi); }
.nye-panel h2 { color: #fff; }
.nye-panel p.lead2 { margin-top: 14px; color: #EEF2F6; max-width: 28rem; }
.nye-year { margin-top: 18px; font: 800 clamp(5rem, 14vw, 9rem)/.95 var(--font-display); direction: ltr; background: linear-gradient(100deg, #fff, #E2E5E8 55%, #FF8A4C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: breathe 4s ease-in-out infinite; }
.nye-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: n; }
.nye-list li { counter-increment: n; display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 20px; background: rgba(10, 53, 120, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.nye-list li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-btn); color: var(--on-orange); font: 800 1rem/1 var(--font-display); }
.nye-note { margin-top: 14px; font-size: .92rem; color: #E2E5E8; }
.cf { position: absolute; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); z-index: -1; animation: twinkle 3s ease-in-out infinite; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head p { margin-top: 14px; color: var(--muted); max-width: 26rem; }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.qa:hover { box-shadow: inset 0 0 0 1px var(--orange); }
.qa[open] { box-shadow: inset 0 0 0 1.5px var(--orange), 0 14px 30px rgba(14, 71, 152, .12); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; font: 600 1.08rem/1.5 var(--font-body); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { flex: 1; }
.qa summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat, var(--surface-2); transition: transform .3s, background-color .2s; }
.qa[open] summary::after { transform: rotate(45deg); color: var(--on-orange); background-color: var(--orange); }
.qa p { padding: 0 24px 22px; color: var(--muted); }
.qa[open] p { animation: rise .4s both; }
.obj-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; padding: 48px; border-radius: 40px; color: #fff; }
.obj-panel .eyebrow { color: #fff; } .obj-panel .eyebrow::before { background: var(--orange-hi); }
.obj-panel h2 { color: #fff; }
.obj-list { display: grid; gap: 16px; }
.obj { display: flex; gap: 20px; align-items: flex-start; padding: 22px 26px; border-radius: 30px; font-size: 1.1rem; line-height: 1.8; background: rgba(10, 53, 120, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1.5px rgba(127, 227, 212, .6); transition: transform .3s; }
.obj:hover { transform: translateY(-4px); }
.obj .ico { flex: none; }
.mitmam { height: 48px; aspect-ratio: 985 / 565; width: auto; fill: #E2E5E8; fill-rule: evenodd; flex: none; }
.ct-org { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: #E2E5E8; font-weight: 600; }
.ct-org .mitmam { height: 58px; fill: #fff; }
footer .org-links { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .92rem; }
footer .org-links a { color: #C9D3DE; text-decoration: none; direction: ltr; }
footer .org-links a:hover { color: #fff; text-decoration: underline; }
.ct-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 48px; border-radius: 40px; color: #fff; }
.ct-panel .eyebrow { color: #fff; } .ct-panel .eyebrow::before { background: var(--orange-hi); }
.ct-panel h2 { color: #fff; }
.ct-panel p.lead2 { margin-top: 14px; color: #EEF2F6; max-width: 26rem; }
.ct-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-btn { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 20px; text-decoration: none; color: #fff; font-weight: 600; background: rgba(10, 53, 120, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: transform .2s, background .2s; }
.ct-btn:hover { transform: translateY(-3px); background: rgba(10, 53, 120, .72); }
.ct-btn svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--orange-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.totop { position: fixed; z-index: 45; bottom: 18px; inset-inline-end: 18px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; background: var(--orange-btn); color: var(--on-orange); box-shadow: 0 10px 24px rgba(4, 22, 52, .35); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-status { min-height: 1.7em; font-size: .95rem; color: var(--orange-ink); font-weight: 500; }
form .btn { justify-self: start; }

footer { background: var(--slate); color: #C9D3DE; padding-block: 40px; font-size: .95rem; margin-top: 84px; border-top: 4px solid var(--orange); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
footer .fb { display: flex; align-items: center; gap: 16px; }
footer .mini-logo { color: var(--mist); height: 38px; }
footer b { font: 700 1.1rem/1.4 var(--font-display); color: #fff; }
footer .org { display: flex; align-items: center; justify-content: center; gap: 18px; flex-basis: 100%; text-align: center; margin-top: 6px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 600; color: #fff; }
footer .by { font: 600 .85rem/1 var(--font-display); letter-spacing: .14em; color: var(--orange-hi); }

/* keyframes */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-12px) rotate(.8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .85; scale: 1; } 50% { opacity: 1; scale: 1.05; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hshine { to { background-position: 100% 0; } }
@keyframes sway { from { transform: rotate(-4deg) scale(1); } to { transform: rotate(5deg) scale(1.1); } }
@keyframes hills { to { transform: translateX(4%); } }
@keyframes fzUp { 0% { translate: 0 0; opacity: 0; } 12% { opacity: .4; } 100% { translate: var(--x) -105vh; opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes kb2 { from { transform: scale(1.04); } to { transform: scale(1.12); } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -1%); } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes glowflash { 0% { opacity: 1; filter: brightness(1.8); } 100% { opacity: .55; filter: none; } }
@keyframes band { 0%, 40% { left: -30%; } 100% { left: 110%; } }
@keyframes sweep2 { 0%, 55% { left: -40%; } 100% { left: 130%; } }
@keyframes dust { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate(var(--x), -240px); opacity: 0; } }
@keyframes pring { 0% { transform: translate(-50%, -50%) scale(.6); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(5); opacity: 0; } }
@keyframes letterIn { from { opacity: 0; transform: translateY(46px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes letterWave { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-20px) scale(1.06); } 70% { transform: translateY(3px) scale(.99); } }
@keyframes flash { 0% { filter: brightness(1); } 25% { filter: brightness(1.7); } 100% { filter: brightness(1); } }
@keyframes sweep { 0%, 45% { transform: translateX(-260px) skewX(-18deg); } 100% { transform: translateX(820px) skewX(-18deg); } }
@keyframes chipflash { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); } 50% { box-shadow: inset 0 0 0 2px var(--teal-hi), 0 0 24px var(--teal-hi); } }
@keyframes flow { to { stroke-dashoffset: -100; } }
@keyframes drift1 { to { transform: translate(120px, 70px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-100px, -60px) scale(1.2); } }
@keyframes drift3 { to { transform: translate(70px, -50px) scale(.9); } }
@keyframes drift { to { transform: translateX(22px); } }
@keyframes twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 140, 87, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(242, 140, 87, 0); } }
@keyframes shimmer { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes draw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes tick { from { opacity: .3; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
.tick { animation: tick .35s ease-out; }

/* ---- v4: richer motion and surfaces ---- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px; background: linear-gradient(135deg, #3EBDAD -10%, #0E4798 45%, #0A3578 100%); animation: loaderOut .7s cubic-bezier(.7, 0, .3, 1) 1.25s forwards; }
.ld-logo { width: 150px; fill: #E2E5E8; fill-rule: evenodd; animation: ldIn .9s cubic-bezier(.2, .7, .2, 1) both; filter: drop-shadow(0 10px 24px rgba(4, 22, 52, .4)); }
.ld-bar { display: block; width: 150px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ld-bar::after { content: ""; display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; animation: ldBar 1.1s ease-out both; }
.page:not(.ready) .rise, .page:not(.ready) .hero h1 { animation-play-state: paused; }
.hero h1 { animation: wipe 1.1s cubic-bezier(.2, .7, .2, 1) .25s both, hshine 9s ease-in-out infinite alternate; }
.page[dir="rtl"] .hero h1 { animation: wipeR 1.1s cubic-bezier(.2, .7, .2, 1) .25s both, hshine 9s ease-in-out infinite alternate; }
.sec h2:not(.in) { opacity: 0; }
.sec h2.in { animation: titleIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .aurora { translate: 0 calc(var(--scr, 0) * -60px); }
.hero .circuit { translate: 0 calc(var(--scr, 0) * 80px); }
.hero .stage-host { translate: 0 calc(var(--scr, 0) * -36px); }
.brand-bg::after, footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 11px; pointer-events: none; background: conic-gradient(from 135deg at 50% 0, rgba(255, 255, 255, .9) 0 90deg, transparent 0 360deg) 0 0 / 22px 11px; animation: bandmove 16s linear infinite; }
footer { position: relative; border-top: 0; }
.stats ul { gap: 16px; }
.stats li { position: relative; overflow: hidden; display: grid; gap: 4px; justify-items: start; padding: 24px; border: 0; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s, box-shadow .3s; }
.stats li:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px rgba(14, 71, 152, .16); }
.stats li::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--orange)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.page[dir="rtl"] .stats li::after { transform-origin: 100% 50%; }
.stats li:hover::after { transform: scaleX(1); }
.st-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 16px; background: linear-gradient(145deg, #2A9C98, #0E4798 85%); }
.st-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stats b { background: linear-gradient(120deg, var(--num), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ico { animation: bob 5s ease-in-out infinite; transition: scale .3s, rotate .3s; }
.bento > :nth-child(4) .ico { animation-delay: -1.6s; } .bento > :nth-child(5) .ico { animation-delay: -3.2s; }
.card:hover .ico { scale: 1.1; rotate: -6deg; }
.join-list li { transition: box-shadow .25s, translate .25s; }
.join-list li:hover { translate: 0 -3px; box-shadow: inset 0 0 0 1px var(--orange), 0 12px 26px rgba(14, 71, 152, .12); }
.tabs { position: relative; }
.tabs::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: var(--x, 5px); width: var(--w, 0px); border-radius: 999px; background: var(--pill-on); box-shadow: 0 8px 20px rgba(14, 71, 152, .3); transition: left .4s cubic-bezier(.2, .7, .2, 1), width .4s cubic-bezier(.2, .7, .2, 1); }
.tabs button { position: relative; z-index: 1; }
.tabs button[aria-selected="true"] { background: transparent; box-shadow: none; color: #fff; }
.btn .rp { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes ldIn { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ldBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wipe { from { clip-path: inset(-20% 100% -20% -5%); } to { clip-path: inset(-20% -5% -20% -5%); } }
@keyframes wipeR { from { clip-path: inset(-20% -5% -20% 100%); } to { clip-path: inset(-20% -5% -20% -5%); } }
@keyframes titleIn { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bandmove { to { background-position: 220px 0; } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .cue { display: none; }
  .nav.open { display: flex; position: absolute; top: calc(100% + 10px); inset-inline: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px rgba(11, 30, 60, .28); }
  .nav.open a { padding: 15px 18px; border-radius: 16px; font-size: 1.05rem; }
  .nav.open a:hover, .nav.open a.on { background: var(--surface-2); }
  .nav.open a::after { display: none; }
  .hero { padding-block: 112px 150px; }
  /* tall single-column panels: keep the teal to a bounded corner so text stays on blue */
  .brand-bg, .card.brand-bg {
    background:
      radial-gradient(560px 280px at var(--oc) 100%, rgba(255, 107, 44, .6) 0, rgba(255, 107, 44, 0) 72%),
      radial-gradient(340px 240px at var(--tc) 0%, rgba(62, 189, 173, .9) 0, rgba(42, 159, 170, .55) 22%, rgba(27, 121, 168, .22) 55%, rgba(14, 71, 152, 0) 100%),
      linear-gradient(180deg, #0E4798 0%, #153C8A 60%, #1A3A84 100%);
  }
  .hero, .page[dir="rtl"] .hero {
    background:
      radial-gradient(560px 280px at var(--oc) 100%, rgba(255, 107, 44, .6) 0, rgba(255, 107, 44, 0) 72%),
      radial-gradient(420px 300px at var(--tc) 0%, rgba(62, 189, 173, .9) 0, rgba(42, 159, 170, .55) 22%, rgba(27, 121, 168, .22) 55%, rgba(14, 71, 152, 0) 100%),
      linear-gradient(180deg, #0E4798 0%, #153C8A 60%, #1A3A84 100%);
  }
  .hero h1, .page[dir="rtl"] .hero h1 { background: none; -webkit-text-fill-color: #fff; }
  .faq-grid, .ct-panel, .obj-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; } .faq-head { position: static; }
  .hero-grid, .gate-grid, .join-body, .reg-panel, .nye-panel { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .c-about { grid-column: span 6; min-height: 0; } .c-dates { grid-column: span 6; } .c-pillar { grid-column: span 6; }
  .c-pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
  .c-pillar h3 { margin-top: 0; } .c-pillar p { grid-column: 2; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li, .stats li:nth-child(n+4) { grid-column: auto; } .stats li:last-child { grid-column: 1 / -1; }
  .sec { padding-block: 64px; }
  .gate { margin-top: 64px; }
  .reg-panel, .nye-panel, .ct-panel, .obj-panel { padding: 32px; border-radius: 32px; }
  .reg-logo { margin-inline: auto; }
  .hero-grid { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero-grid .date-chip { order: 1; } .hero-grid h1 { order: 2; } .hero-grid .h1-sub { order: 3; } .hero-grid .edition { order: 4; }
  .hero-grid .stage-host { order: 5; align-self: center; width: 100%; margin-top: 24px; }
  .hero-grid .lead { order: 6; } .hero-grid .count { order: 7; align-self: stretch; } .hero-grid .count-note { order: 8; } .hero-grid .cta-row { order: 9; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .bar { padding-inline-start: 14px; gap: 8px; }
  .brand small, .bar .btn { display: none; }
  .mini-logo { height: 30px; }
  .count { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .count strong { font-size: 1.7rem; }
  .date-chip i { display: none; }
  .btn { padding: 15px 22px; }
  .chip3 { font-size: .8rem; padding: 7px 12px 7px 9px; } .chip3 svg { width: 16px; height: 16px; }
  .orb.o2 { left: -2%; }
  .sticker { width: 78px; height: 78px; } .sticker .core { font-size: 1.1rem; }
  .card { padding: 22px; border-radius: 24px; }
  .c-pillar { grid-template-columns: 1fr; } .c-pillar p { grid-column: 1; } .c-pillar h3 { margin-top: 16px; }
  .ct-panel, .obj-panel { padding: 24px 18px; border-radius: 28px; } .obj { padding: 18px; gap: 14px; font-size: 1rem; } .ct-list { grid-template-columns: 1fr; } .qa summary { padding: 16px 18px; font-size: 1rem; } .qa p { padding: 0 18px 18px; }
  .reg-panel, .nye-panel { padding: 24px 18px; border-radius: 28px; } form { padding: 20px; }
  .two, .opts { grid-template-columns: 1fr; }
  .gf { padding: 6px; border-radius: 24px; } .gf iframe { height: 1500px; border-radius: 18px; }
  .tabs button { padding: 12px 20px; }
  .stats li { padding-inline: 14px; }
  .scene-wrap { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .track { animation: none; }
  .cursor, .fz, .cue { display: none; }
  .rv { opacity: 1; transform: none; }
}
