/* =============================================================================
   الجمعية الجزائرية للجودة — Association Algérienne pour la Qualité — Algerian Association for Quality
   Design layer «Precision»: ivory paper, construction lines, gold rules, the logo's rounded diamond as
   the master shape (masks, tiles, transitions), living green + gold ribbons, graduated dials.
   ========================================================================== */
:root {
  --green: #13603A; --green-dk: #0B3F26; --green-md: #1E7547; --green-lt: #3E9466; --green-xd: #072a19;
  --mint: #E4EFE8; --mint-2: #EFF5F1;
  --gold: #C19A55; --gold-dk: #9C7838; --gold-lt: #E6CF9E; --gold-pale: #F4E9D0;
  --red: #D21034; --ivory: #FBF8F1; --ink: #1D2A23;

  --bg: #FBF8F1; --bg-2: #F3EEE2; --surface: #FFFFFF; --surface-2: #FCFAF6;
  --text: #1D2A23; --text-2: #34443B; --muted: #5E6C64; --muted-2: #7C8981;
  --line: rgba(29, 42, 35, .1); --line-2: rgba(29, 42, 35, .18); --gold-line: rgba(193, 154, 85, .55); --gold-soft: rgba(193, 154, 85, .16);
  --accent: #13603A; --on-accent: #FFFFFF; --hl: #9C7838; --tile-bg: #E4EFE8; --tile-ink: #13603A;
  --shadow-sm: 0 2px 6px rgba(11, 63, 38, .06), 0 1px 2px rgba(11, 63, 38, .05);
  --shadow: 0 18px 40px -22px rgba(11, 63, 38, .35), 0 4px 12px -6px rgba(11, 63, 38, .12);
  --shadow-lg: 0 40px 80px -30px rgba(7, 42, 25, .45), 0 12px 30px -12px rgba(7, 42, 25, .2);
  --danger: #B42318; --warn: #9A5B00;

  --f-ar: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --f-lat: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-naskh: "Noto Naskh Arabic", "IBM Plex Sans Arabic", serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-body: var(--f-ar); --f-head: var(--f-ar);

  --radius: 20px; --radius-sm: 12px; --radius-xs: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.76, 0, .24, 1);
  --hdr-h: 76px; --util-h: 34px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
html[lang="fr"], html[lang="en"] { --f-body: var(--f-lat); --f-head: var(--f-display); }

[data-theme="dark"] {
  --bg: #061810; --bg-2: #0A2117; --surface: #0D271A; --surface-2: #10301F;
  --text: #EEF3EE; --text-2: #D3DED6; --muted: #A6B8AC; --muted-2: #889B8F;
  --line: rgba(230, 207, 158, .12); --line-2: rgba(230, 207, 158, .22); --gold-line: rgba(230, 207, 158, .45); --gold-soft: rgba(230, 207, 158, .1);
  --accent: #E6CF9E; --on-accent: #0B3F26; --hl: #E6CF9E; --tile-bg: rgba(230, 207, 158, .12); --tile-ink: #E6CF9E;
  --mint: rgba(62, 148, 102, .16); --mint-2: rgba(62, 148, 102, .1);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body { margin: 0; font-family: var(--f-body); font-size: 1.04rem; line-height: 1.85; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .5s, color .5s; }
html[lang="fr"] body, html[lang="en"] body { line-height: 1.7; font-size: 1rem; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.3; margin: 0 0 .5em; color: var(--text); font-weight: 700; }
html[lang="fr"] h1, html[lang="fr"] h2, html[lang="en"] h1, html[lang="en"] h2 { font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
html[lang="fr"] h3, html[lang="en"] h3 { font-family: var(--f-lat); font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--gold-lt); color: var(--green-dk); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ic-fwd { transform: scaleX(-1); }
[dir="ltr"] .ic-back { transform: scaleX(-1); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 500; top: 10px; inset-inline-start: 10px; padding: 10px 16px; border-radius: 10px; background: var(--green); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
main { display: block; overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--text-2); }
.muted { color: var(--muted); }
[lang="ar"] { font-family: var(--f-ar); }
html[lang="ar"] [lang="fr"], html[lang="ar"] [lang="en"] { font-family: var(--f-lat); }
.on-dark { display: none !important; }
[data-theme="dark"] .on-dark { display: block !important; }
[data-theme="dark"] .on-light { display: none !important; }
.when-dark { display: none; }
[data-theme="dark"] .when-dark { display: block; }
[data-theme="dark"] .when-light { display: none; }

/* ---------------------------------------------------------------- graphic primitives */
.lattice { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .14; pointer-events: none; }
[data-theme="dark"] .lattice { opacity: .08; }
.eb-diamond { display: inline-block; width: .5em; height: .5em; flex: none; transform: rotate(45deg); background: currentColor; border-radius: 1.5px; }
.eyebrow { display: inline-flex; align-items: center; gap: .65em; font-size: .9rem; font-weight: 600; color: var(--hl); }
.eyebrow .eb-diamond { color: var(--gold); }
html[lang="fr"] .eyebrow, html[lang="en"] .eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }

/* rounded-diamond icon tile (the logo's shape) */
.tile { position: relative; display: inline-grid; place-items: center; width: 58px; height: 58px; flex: none; color: var(--tile-ink); }
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: transform .7s var(--ease-out); }
.tile-bg path:first-child { fill: var(--tile-bg); }
.tile-ring { fill: none; stroke: var(--gold-line); stroke-width: 1.6; }
.tile .ic { position: relative; width: 40%; height: 40%; stroke-width: 1.7; }
a:hover .tile-bg, .tile:hover .tile-bg, [data-spot]:hover .tile-bg { transform: rotate(90deg); }
.tile--sm { width: 46px; height: 46px; }
.tile--gold { --tile-bg: var(--gold-lt); --tile-ink: var(--green-dk); }
.tile--gold .tile-ring { stroke: rgba(11, 63, 38, .25); }
.tile--light { --tile-bg: rgba(255, 255, 255, .94); --tile-ink: var(--green); }
.tile--orb { width: 62px; height: 62px; --tile-bg: #fff; --tile-ink: var(--green); filter: drop-shadow(0 8px 14px rgba(11, 63, 38, .18)); }
[data-theme="dark"] .tile--orb { --tile-bg: #10301F; --tile-ink: var(--gold-lt); }

/* graduated dial */
.dial { overflow: visible; color: var(--gold); }
.dial .dial-ring { fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; }
.dial line { stroke: currentColor; stroke-width: 1; opacity: .55; }
.dial .tk-major { stroke-width: 1.6; opacity: .9; }

/* construction lines */
.guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--gold); }
.guides path, .guides circle { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .35;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease-io) .3s forwards; }
.guides .g-diag { opacity: .18; animation-delay: .7s; }
.guides .g-circ circle { opacity: .25; animation-duration: 3s; animation-delay: .5s; }
.guides .g-ticks path { stroke-dasharray: none; stroke-dashoffset: 0; animation: fadeIn 1s 1.2s both; opacity: .5; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }

/* living ribbons */
.ribbons { position: absolute; inset-inline: 0; bottom: -1px; height: clamp(72px, 9vw, 132px); overflow: hidden; pointer-events: none; z-index: 1; }
.ribbons svg { width: 100%; height: 100%; display: block; }
.ribbons .rb { animation: ribbon 46s linear infinite; }
.ribbons .rb-green { animation-duration: 34s; animation-direction: reverse; }
.ribbons .rb-deep { animation-duration: 60s; }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
.is-paused .rb, .is-paused .hv-orbit, .is-paused .hv-dial, .is-paused .hv-seal { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- buttons */
.btn { --mx: 0px; --my: 0px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7em 1.4em; border-radius: var(--radius-sm); font-weight: 600; font-size: .98rem; line-height: 1.2; white-space: nowrap;
  transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn .ic-fwd { transition: translate .35s var(--ease-out); }
.btn:hover .ic-fwd { translate: 4px 0; }
[dir="rtl"] .btn:hover .ic-fwd { translate: -4px 0; }
.btn::after { content: ""; position: absolute; z-index: -1; inset-inline: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold-lt), transparent);
  transform: scaleX(0); transition: transform .5s var(--ease-out); }
.btn:hover::after { transform: scaleX(1); }
.btn::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 40%; inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); transition: inset-inline-start .8s var(--ease-out); }
.btn:hover::before { inset-inline-start: 130%; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 14px 28px -16px rgba(19, 96, 58, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.btn--primary:hover { background: var(--green-dk); }
[data-theme="dark"] .btn--primary { background: var(--gold-lt); color: var(--green-dk); }
[data-theme="dark"] .btn--primary:hover { background: #F0DFB6; }
[data-theme="dark"] .btn--primary::after { background: linear-gradient(90deg, transparent, var(--green), transparent); }
.btn--gold { background: linear-gradient(135deg, #EED9A8, #C19A55 55%, #A88040); color: var(--green-xd); box-shadow: 0 14px 28px -16px rgba(156, 120, 56, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--gold::after { background: linear-gradient(90deg, transparent, var(--green-dk), transparent); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--accent); }
.btn--ghost::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--light { background: #fff; color: var(--green-dk); }
.btn--danger { color: var(--danger); background: rgba(180, 35, 24, .08); }
.btn--danger:hover { background: rgba(180, 35, 24, .15); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .8em 1.7em; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--accent); font-size: .94rem; }
.link-arrow .ic { width: 1em; height: 1em; transition: translate .35s var(--ease-out); }
a:hover .link-arrow .ic-fwd, .link-arrow:hover .ic-fwd { translate: 4px 0; }
[dir="rtl"] a:hover .link-arrow .ic-fwd, [dir="rtl"] .link-arrow:hover .ic-fwd { translate: -4px 0; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--text); transition: background-color .25s, color .25s, box-shadow .25s; }
.icon-btn:hover { background: var(--mint); color: var(--accent); }
.icon-btn .ic { width: 20px; height: 20px; }
.icon-btn--light { color: #fff; }
.icon-btn--light:hover { background: rgba(255, 255, 255, .12); color: var(--gold-lt); }
.icon-btn--sm { width: 34px; height: 34px; }

/* ---------------------------------------------------------------- preloader + page transition veil */
.preloader { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; background: var(--bg); transition: opacity .6s .15s, visibility .6s .15s; }
.no-preload .preloader { display: none; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.pl-inner { position: relative; display: grid; justify-items: center; gap: 14px; }
.pl-dmd { position: absolute; top: -26px; width: 212px; height: 212px; overflow: visible; }
.pl-dmd path { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease-io) forwards; vector-effect: non-scaling-stroke; }
.pl-inner img { width: 160px; height: 160px; animation: plMark 1s var(--ease-out) .25s both; }
.pl-name { margin: 26px 0 0; font-weight: 600; color: var(--green); font-size: 1rem; animation: fadeIn .8s .5s both; }
.pl-bar { width: 140px; height: 2px; margin: 0; background: var(--line); overflow: hidden; border-radius: 2px; }
.pl-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt)); animation: plBar 1.1s var(--ease-io) both; transform-origin: left; }
[dir="rtl"] .pl-bar i { transform-origin: right; }
@keyframes plMark { from { opacity: 0; transform: scale(.8) rotate(-8deg); } }
@keyframes plBar { from { transform: scaleX(0); } }
.veil { position: fixed; inset: 0; z-index: 590; display: grid; place-items: center; pointer-events: none; }
.veil-dmd { position: absolute; width: 300vmax; height: 300vmax; left: 50%; top: 50%; translate: -50% -50%; background: radial-gradient(circle at 50% 50%, var(--green-md), var(--green-dk) 40%, var(--green-xd));
  clip-path: var(--dmd0); transition: clip-path .6s var(--ease-io); }
.veil img { position: relative; width: 104px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .5s var(--ease-out); }
.veil.is-on { pointer-events: all; }
.veil.is-on .veil-dmd { clip-path: var(--dmd); }
.veil.is-on img { opacity: 1; transform: none; transition-delay: .25s; }
html.veil-from .veil-dmd { clip-path: var(--dmd); transition: none; animation: veilOut .7s var(--ease-io) 1.4s forwards; }
html.veil-from .veil img { opacity: 1; transform: none; transition: none; animation: veilImg .4s 1.3s forwards; }
@keyframes veilOut { to { clip-path: var(--dmd0); } }
@keyframes veilImg { to { opacity: 0; } }

/* ---------------------------------------------------------------- utility bar + header */
.utility { position: relative; z-index: 61; height: var(--util-h); background: var(--green-xd); color: rgba(255, 255, 255, .78); font-size: .78rem; }
.util-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.util-inner p { margin: 0; display: flex; align-items: center; gap: 10px; }
.util-loc b { color: #fff; font-weight: 600; }
.util-coord { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--gold-lt); opacity: .8; }
.util-nature { margin-inline: auto !important; opacity: .8; }
.util-soc { display: flex; gap: 2px; }
.util-link { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: rgba(255, 255, 255, .75); transition: color .2s, background-color .2s; }
.util-link:hover { color: var(--gold-lt); background: rgba(255, 255, 255, .08); }
.util-link .ic { width: 15px; height: 15px; }
.pin-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.pin-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--red); animation: pinPulse 2.2s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hdr { position: sticky; top: 0; z-index: 60; height: var(--hdr-h); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s, height .3s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 63, 38, .5); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 50px; width: auto; }
.nav { position: relative; margin-inline: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a { position: relative; display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: .96rem; color: var(--text-2); transition: color .25s; }
html[lang="fr"] .nav a, html[lang="en"] .nav a { font-size: .9rem; padding-inline: 11px; }
.nav a:hover, .nav a.is-active { color: var(--accent); }
.nav a.is-active { font-weight: 600; }
.nav-ind { position: absolute; bottom: -2px; left: 0; width: 9px; height: 9px; background: var(--gold); transform: translateX(var(--x, 0)) rotate(45deg); border-radius: 1.5px; opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s; pointer-events: none; }
.nav-ind::before, .nav-ind::after { content: ""; position: absolute; top: 50%; width: 22px; height: 1px; background: var(--gold-line); }
.nav-ind::before { right: 100%; transform: translateY(-50%) rotate(-45deg); transform-origin: right; }
.nav-ind::after { left: 100%; transform: translateY(-50%) rotate(-45deg); transform-origin: left; }
.nav-ind.is-on { opacity: 1; }
.hdr-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.menu-btn { display: none; }
.hdr-progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt), var(--gold)); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .hdr-progress i { transform-origin: right; }

.lang-switch { position: relative; display: inline-flex; padding: 3px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang-switch a { position: relative; z-index: 1; min-width: 36px; height: 32px; display: grid; place-items: center; padding: 0 8px; border-radius: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); font-family: var(--f-lat); transition: color .25s, background-color .25s; }
.lang-switch a[lang="ar"] { font-family: var(--f-ar); font-size: .92rem; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch a.is-on { background: var(--green); color: #fff; }
[data-theme="dark"] .lang-switch a.is-on { background: var(--gold-lt); color: var(--green-dk); }
.lang-switch .ls-ind { display: none; }
.lang-switch--light { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.lang-switch--light a { color: rgba(255, 255, 255, .75); }
.lang-switch--light a.is-on { background: var(--gold-lt); color: var(--green-dk); }
.lang-switch--plain { box-shadow: none; padding: 0; }

/* drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, var(--green-md), var(--green-dk) 55%, var(--green-xd)); clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease-io); }
[dir="rtl"] .drawer-bg { clip-path: circle(0 at 40px 40px); }
.drawer.is-open .drawer-bg { clip-path: circle(150% at calc(100% - 40px) 40px); }
[dir="rtl"] .drawer.is-open .drawer-bg { clip-path: circle(150% at 40px 40px); }
.drawer-bg .lattice { color: var(--gold-lt); opacity: .08; }
.drawer-panel { position: relative; height: 100%; display: flex; flex-direction: column; padding: 18px var(--gut) 28px; overflow-y: auto; color: #fff; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head .brand-logo { height: 46px; }
.drawer-nav { display: grid; margin: 28px 0; }
.drawer-nav a { display: flex; align-items: center; gap: 16px; padding: 14px 4px; font-size: 1.45rem; font-weight: 600; border-bottom: 1px solid rgba(230, 207, 158, .14);
  opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease-out), color .25s; }
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * 55ms); }
.drawer-nav a .ic { margin-inline-start: auto; width: 20px; height: 20px; color: var(--gold-lt); }
.drawer-nav a:hover, .drawer-nav a.is-active { color: var(--gold-lt); }
.dl-num { font-family: var(--f-display); font-style: italic; font-size: .9rem; color: var(--gold-lt); opacity: .8; width: 26px; }
.drawer-foot { margin-top: auto; display: grid; gap: 14px; opacity: 0; transition: opacity .5s .45s; }
.drawer.is-open .drawer-foot { opacity: 1; }
.drawer-soc { display: flex; gap: 8px; }
.drawer-staff { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.drawer-staff .ic { width: 16px; }
body.is-locked { overflow: hidden; }

.soc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); transition: all .3s; }
.soc:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-2px); }
.soc .ic { width: 19px; height: 19px; }
.soc--light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.soc--light:hover { color: var(--gold-lt); box-shadow: inset 0 0 0 1px var(--gold-lt); }

/* ---------------------------------------------------------------- reveal system */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="frame"] { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .14em; margin-block: -.14em; }
.split-word > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--w) * 40ms + 80ms); }
.is-split.is-in .split-word > span, .is-in .is-split .split-word > span { transform: none; }
.no-js .split-word > span { transform: none; }

/* ---------------------------------------------------------------- sections + section heads */
.sec { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec--alt { background: var(--bg-2); }
.sec--deep { background: linear-gradient(160deg, var(--green-dk), var(--green-xd)); color: #E9F0EA; overflow: hidden; }
.sec--deep h2, .sec--deep h3 { color: #fff; }
.sec--deep .lead { color: rgba(233, 240, 234, .85); }
.deep-bg { position: absolute; inset: 0; pointer-events: none; }
.deep-bg .lattice { color: var(--gold-lt); opacity: .07; }
.sh { position: relative; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sh--center { margin-inline: auto; text-align: center; }
.sh--center .sh-index { justify-content: center; }
.sh-index { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.sh-num { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--gold-dk); }
[data-theme="dark"] .sh-num { color: var(--gold-lt); }
.sh-rule { position: relative; width: 56px; height: 1px; background: var(--gold-line); transform-origin: left; }
[dir="rtl"] .sh-rule { transform-origin: right; }
.js .sh-rule { transform: scaleX(0); transition: transform 1.1s var(--ease-out) .2s; }
.js .is-in .sh-rule, .js .is-in.sh-rule { transform: scaleX(1); }
.sh-rule i { position: absolute; top: -3px; inset-inline-end: -4px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.sh-kicker { font-weight: 700; font-size: .92rem; color: var(--accent); }
html[lang="fr"] .sh-kicker, html[lang="en"] .sh-kicker { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.sh-second { font-size: .78rem; color: var(--muted-2); }
.sh-second::before { content: "·"; margin-inline-end: 10px; color: var(--gold); }
.sh-second[lang="fr"], .sh-second[lang="en"] { letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }
.sh-title { font-size: clamp(1.85rem, 3.6vw, 3rem); margin-bottom: .45em; }
.sh-title em, h1 em, h2 em { color: var(--hl); position: relative; }
html[lang="fr"] .sh-title em, html[lang="en"] .sh-title em, html[lang="fr"] h1 em, html[lang="en"] h1 em, html[lang="fr"] h2 em, html[lang="en"] h2 em { font-style: italic; }
.sh .lead { margin: 0; }
.sh--light .sh-kicker { color: var(--gold-lt); }
.sh--light .sh-title { color: #fff; }
.sh--light .sh-title em { color: var(--gold-lt); }
.sh--light .sh-num { color: var(--gold-lt); }
.sh--light .lead { color: rgba(233, 240, 234, .85); }
.sh--light .sh-second { color: rgba(233, 240, 234, .6); }
.sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sh-row .sh { margin-bottom: 0; }
.sh-row + * { margin-top: clamp(30px, 4vw, 48px); }
.hl { color: var(--hl); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { margin-top: .35em; width: 18px; height: 18px; padding: 3px; box-sizing: content-box; border-radius: 6px; background: var(--mint); color: var(--accent); flex: none; }

/* ---------------------------------------------------------------- HERO */
.hero { position: relative; min-height: calc(100svh - var(--hdr-h) - var(--util-h)); display: flex; align-items: center; padding: clamp(40px, 6vh, 80px) 0 clamp(120px, 14vw, 190px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .lattice { opacity: .16; animation: latDrift 40s linear infinite; inset: -56px; width: calc(100% + 112px); height: calc(100% + 112px); }
@keyframes latDrift { to { transform: translate(56px, 56px); } }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(42% 52% at 72% 44%, rgba(230, 207, 158, .38), transparent 70%), radial-gradient(40% 46% at 12% 80%, rgba(62, 148, 102, .12), transparent 70%); }
[dir="rtl"] .hero-glow { background: radial-gradient(42% 52% at 28% 44%, rgba(230, 207, 158, .38), transparent 70%), radial-gradient(40% 46% at 88% 80%, rgba(62, 148, 102, .12), transparent 70%); }
[data-theme="dark"] .hero-glow { background: radial-gradient(42% 52% at 28% 44%, rgba(230, 207, 158, .12), transparent 70%); }
.guides--hero .g-circ { transform: translateX(0); }
[dir="rtl"] .guides--hero .g-circ { transform: translateX(-580px); }
.hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-loc { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); font-family: var(--f-lat); }
.hero-coord { font-family: var(--f-mono); letter-spacing: .04em; color: var(--gold-dk); font-weight: 400; }
[data-theme="dark"] .hero-coord { color: var(--gold-lt); }
.hero-eyebrow { margin-bottom: 14px; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.12; margin: 0 0 .32em; font-weight: 700; }
html[lang="fr"] .hero-title, html[lang="en"] .hero-title { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.04; }
.ht-line { display: block; overflow: hidden; padding-block: .06em; }
.ht-line > span { display: inline-block; animation: lineUp 1.1s var(--ease-out) both; animation-delay: calc(.35s + var(--l) * .14s); }
.no-preload .ht-line > span { animation-delay: calc(.1s + var(--l) * .14s); }
.ht-line:last-child > span { color: var(--green); position: relative; }
[data-theme="dark"] .ht-line:last-child > span { color: var(--gold-lt); }
.ht-line:last-child > span::after { content: ""; position: absolute; inset-inline: 0; bottom: .02em; height: .09em; border-radius: 1em; background: linear-gradient(90deg, var(--gold-lt), var(--gold), var(--gold-dk));
  transform: scaleX(0); transform-origin: left; animation: grow 1.2s var(--ease-out) 1.2s forwards; }
[dir="rtl"] .ht-line:last-child > span::after { transform-origin: right; }
@keyframes lineUp { from { transform: translateY(110%); } }
@keyframes grow { to { transform: scaleX(1); } }
.hero-motto { display: flex; align-items: center; gap: 16px; margin: 0 0 6px; font-family: var(--f-naskh); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--gold-dk); animation: fadeUp 1s var(--ease-out) .8s both; }
[data-theme="dark"] .hero-motto { color: var(--gold-lt); }
.hm-rule { width: 44px; height: 1px; background: var(--gold); flex: none; }
.hero-motto-lat { margin: 0 0 4px; font-family: var(--f-display); font-style: italic; color: var(--gold-dk); font-size: 1.04rem; animation: fadeUp 1s var(--ease-out) .9s both; }
.hero-lead { max-width: 560px; margin: 16px 0 28px; color: var(--text-2); font-size: clamp(1.02rem, 1.3vw, 1.14rem); animation: fadeUp 1s var(--ease-out) 1s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp 1s var(--ease-out) 1.1s both; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; animation: fadeUp 1s var(--ease-out) 1.25s both; }
.hero-facts li { display: flex; align-items: center; gap: 10px; padding-inline-end: 22px; margin-inline-end: 22px; border-inline-end: 1px solid var(--line-2); }
.hero-facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts .ic { width: 22px; height: 22px; color: var(--gold); }
.hero-facts span { display: grid; line-height: 1.35; }
.hero-facts small { font-size: .74rem; color: var(--muted-2); }
.hero-facts b { font-size: .92rem; font-weight: 600; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.no-preload .hero-motto, .no-preload .hero-lead, .no-preload .hero-actions, .no-preload .hero-facts, .no-preload .hero-motto-lat { animation-delay: .3s; }

.hero-visual { position: relative; }
.hv-stage { --R: 47cqi; position: relative; width: min(100%, 580px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .8s var(--ease-out); }
.hv-guides { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-guides circle, .hv-guides path { fill: none; stroke: var(--gold-line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease-io) .2s forwards; }
.hv-guides .hv-diag { stroke: var(--line-2); animation-delay: .6s; }
.hv-dial { position: absolute; inset: 7%; width: 86%; height: 86%; animation: spin 160s linear infinite; }
.hv-seal { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; direction: ltr; animation: spinRev 110s linear infinite; }
.hv-seal text { font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: 3.2px; fill: var(--gold-dk); }
[data-theme="dark"] .hv-seal text { fill: var(--gold-lt); }
.hv-mark { position: absolute; inset: 21%; animation: markIn 1.4s var(--ease-out) .4s both; }
.hv-mark img { width: 100%; height: 100%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 26px 30px rgba(11, 63, 38, .28)); }
@keyframes markIn { from { opacity: 0; transform: scale(.7) rotate(-20deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.hv-orbit { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.hv-stage:hover .hv-orbit, .hv-stage:hover .orb-in { animation-play-state: paused; }
.orb { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(-1 * var(--a))); }
.orb-in { position: absolute; left: -31px; top: -31px; display: grid; justify-items: center; animation: spinRev 90s linear infinite; }
.orb-in .tile { animation: orbIn .9s var(--ease-out) both; animation-delay: calc(1s + var(--i) * .1s); }
@keyframes orbIn { from { opacity: 0; transform: scale(.4); } }
.orb-label { position: absolute; top: 66px; white-space: nowrap; padding: 3px 10px; border-radius: 8px; font-size: .74rem; font-weight: 600; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease-out); pointer-events: none; }
.orb:hover .orb-label, .orb:focus-visible .orb-label { opacity: 1; transform: none; }
.hv-tag { position: absolute; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; color: var(--gold-dk); padding: 4px 8px; border: 1px solid var(--gold-line); border-radius: 6px; background: color-mix(in srgb, var(--bg) 80%, transparent); animation: fadeIn 1s 1.8s both; }
[data-theme="dark"] .hv-tag { color: var(--gold-lt); }
.hv-tag--a { top: 6%; inset-inline-start: 2%; }
.hv-tag--b { bottom: 8%; inset-inline-end: 0; }
.hero .ribbons { height: clamp(90px, 11vw, 160px); }
.scroll-cue { position: absolute; z-index: 2; bottom: clamp(26px, 4vw, 52px); left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .7); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-lt); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } }

/* ---------------------------------------------------------------- marquee */
.marquee { position: relative; z-index: 2; background: var(--green-dk); color: #fff; padding: 18px 0 20px; overflow: hidden; display: grid; gap: 6px; }
.mq-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: marquee var(--mq, 60s) linear infinite; }
.mq-row--rev .mq-track { animation-direction: reverse; animation-duration: calc(var(--mq, 60s) * 1.4); }
.mq-row:hover .mq-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; white-space: nowrap; }
.mq-item .eb-diamond { color: var(--gold); width: .4em; height: .4em; }
.mq-item--ghost { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(.95rem, 1.5vw, 1.15rem); color: var(--gold-lt); opacity: .75; }
.mq-item--ghost[lang="ar"] { font-family: var(--f-naskh); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .mq-track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- statement (scroll ink) */
.st-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.st-text { font-size: clamp(1.35rem, 2.5vw, 2.05rem); line-height: 1.7; font-weight: 500; color: var(--text); margin: 0; }
html[lang="fr"] .st-text, html[lang="en"] .st-text { font-family: var(--f-display); font-weight: 500; line-height: 1.45; }
.st-text em { color: var(--hl); background: linear-gradient(var(--gold-soft), var(--gold-soft)) no-repeat 0 88% / 100% .32em; }
.ink-w { opacity: .16; transition: opacity .25s linear; }
.ink-w.is-on { opacity: 1; }
.creds { display: grid; gap: 14px; margin-top: 10px; }
.cred { display: flex; gap: 16px; align-items: center; }
.cred h3 { margin: 0; font-size: 1.08rem; }
.cred p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.cred--card { padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- stats */
.stats { position: relative; border-block: 1px solid var(--line); background: var(--surface-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; padding: clamp(26px, 4vw, 44px) 12px; border-inline-end: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat-ring { position: absolute; top: 50%; left: 50%; width: 130px; height: 130px; translate: -50% -58%; overflow: visible; transform: rotate(-90deg); }
.stat-ring circle { fill: none; stroke: var(--gold-line); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-out) .2s; vector-effect: non-scaling-stroke; }
.stat.is-in .stat-ring circle { stroke-dashoffset: 0; }
.stat b { position: relative; font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; color: var(--green); }
[data-theme="dark"] .stat b { color: var(--gold-lt); }
.stat span { position: relative; font-size: .9rem; color: var(--muted); max-width: 200px; line-height: 1.5; }

/* ---------------------------------------------------------------- fields panels */
.fpanels { display: flex; gap: 14px; height: clamp(440px, 52vw, 560px); }
.fpanel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 26px; color: #fff; isolation: isolate; transition: flex-grow .9s var(--ease-out), box-shadow .4s; box-shadow: var(--shadow); }
.fpanel.is-open { flex-grow: 2.3; }
.fp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.fpanel.is-open .fp-img { transform: scale(1); }
.fp-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 42, 25, .05) 20%, rgba(7, 42, 25, .55) 55%, rgba(7, 42, 25, .94)); }
.fp-num { position: absolute; top: 22px; inset-inline-start: 24px; font-family: var(--f-display); font-style: italic; font-size: 3.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .85); }
.fp-body { position: absolute; inset-inline: 0; bottom: 0; padding: 26px; display: grid; gap: 10px; justify-items: start; }
.fp-title { display: grid; }
.fp-title b { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3; font-family: var(--f-head); }
.fp-title small { font-size: .78rem; color: var(--gold-lt); opacity: .9; }
.fp-title small[lang="fr"], .fp-title small[lang="en"] { letter-spacing: .12em; text-transform: uppercase; font-family: var(--f-lat); }
.fp-line, .fpanel .link-arrow { max-width: 440px; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease-out); color: rgba(255, 255, 255, .9); font-size: .98rem; line-height: 1.65; }
.fpanel .link-arrow { color: var(--gold-lt); }
.fpanel.is-open .fp-line, .fpanel.is-open .link-arrow { opacity: 1; transform: none; transition-delay: .25s; }

/* ---------------------------------------------------------------- pillars story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); }
.story-sticky { position: sticky; top: calc(var(--hdr-h) + 40px); display: grid; gap: 22px; justify-items: center; }
.story-frame { position: relative; width: min(100%, 480px); aspect-ratio: 1; }
.story-dial { position: absolute; inset: -5%; width: 110%; height: 110%; animation: spin 150s linear infinite; }
.story-mask { position: absolute; inset: 9%; clip-path: var(--dmd); }
.story-img { position: absolute; inset: 0; clip-path: var(--dmd0); transition: clip-path 1s var(--ease-io); }
.story-img.is-on { clip-path: var(--dmd); z-index: 1; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.story-img.is-on img { transform: scale(1); }
.story-frame .frame-ring { position: absolute; inset: 9%; width: 82%; height: 82%; }
.story-progress { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.story-progress i { font-style: normal; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 10px; font-size: .84rem; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: all .4s; }
.story-progress b { font-family: var(--f-display); font-style: italic; color: var(--gold); }
.story-progress i.is-on { color: var(--green-dk); background: var(--gold-lt); box-shadow: none; }
.story-progress i.is-on b { color: var(--green-dk); }
.story-steps { display: grid; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; opacity: .32; transition: opacity .6s; }
.story-step.is-on { opacity: 1; }
.story-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.story-num { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.story-kicker { margin: 0 0 6px; color: var(--hl); font-weight: 600; font-size: .96rem; }
.story-step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
html[lang="fr"] .story-step h3, html[lang="en"] .story-step h3 { font-family: var(--f-display); }
.story-step .ticks { margin: 6px 0 20px; }
.story-step-img { display: none; }

/* ---------------------------------------------------------------- who we serve */
.serve { position: relative; display: grid; justify-items: center; }
.serve-core { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 12px 24px 12px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--gold-line); font-weight: 600; color: var(--accent); text-align: start; }
.serve-core img { width: 52px; height: 52px; }
.serve-net { width: 100%; height: 110px; overflow: visible; margin-top: -2px; }
.serve-net path { fill: none; stroke: var(--gold-line); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.serve-net .flow { stroke: var(--gold); stroke-width: 2.4; stroke-dasharray: .06 .94; stroke-dashoffset: 1; animation: flow 3.2s linear infinite; }
.serve-net .flow:nth-of-type(5) { animation-delay: -1s; }
.serve-net .flow:nth-of-type(6) { animation-delay: -2.1s; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.serve-node { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; display: grid; justify-items: center; }
.serve-node h3 { margin: 16px 0 6px; font-size: 1.2rem; }
.serve-node p { margin: 0; color: var(--muted); font-size: .95rem; }
.serve-pin { position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; transform: rotate(45deg); background: var(--gold); border-radius: 2px; box-shadow: 0 0 0 4px var(--bg); }
.culture { margin-top: clamp(40px, 6vw, 70px); display: grid; justify-items: center; text-align: center; gap: 22px; }
.culture p { max-width: 760px; margin: 0; color: var(--text-2); font-size: 1.06rem; }
.chain { display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; }
.chain li { display: flex; align-items: center; }
.chain li span { padding: 10px 22px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; }
[data-theme="dark"] .chain li span { background: var(--gold-lt); color: var(--green-dk); }
.chain li + li::before { content: ""; width: 54px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); position: relative; }
.chain li + li::after { content: ""; position: relative; order: -1; }
.chain li + li { gap: 0; }
.chain li + li span { position: relative; }
.chain li + li span::before { content: ""; position: absolute; top: 50%; inset-inline-start: -6px; width: 9px; height: 9px; margin-top: -4.5px; background: var(--gold); transform: rotate(45deg); }

/* ---------------------------------------------------------------- Algeria map */
.map-sec { background: radial-gradient(70% 90% at 75% 40%, #11573A, var(--green-dk) 55%, var(--green-xd)); color: #E9F0EA; overflow: hidden; }
[dir="rtl"] .map-sec { background: radial-gradient(70% 90% at 25% 40%, #11573A, var(--green-dk) 55%, var(--green-xd)); }
.map-bg { position: absolute; inset: 0; pointer-events: none; }
.map-bg .lattice { color: var(--gold-lt); opacity: .06; }
.map-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.map-note { color: rgba(233, 240, 234, .8); }
.map-count { display: flex; align-items: center; gap: 18px; margin: 26px 0; padding: 18px 0; border-block: 1px solid rgba(230, 207, 158, .2); }
.map-count b { font-family: var(--f-display); font-style: italic; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--gold-lt); }
.map-count span { font-size: .92rem; color: rgba(233, 240, 234, .82); line-height: 1.6; }
.map-readout { min-height: 74px; display: flex; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(230, 207, 158, .2); }
.mr-empty { display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(233, 240, 234, .75); font-size: .92rem; }
.mr-empty .ic { color: var(--gold-lt); }
.mr-full { display: flex; align-items: center; gap: 14px; width: 100%; flex-wrap: wrap; }
.mr-full[hidden] { display: none; }
.mr-code { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-lt); color: var(--green-dk); font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 1.2rem; }
.mr-full > div { display: grid; line-height: 1.4; flex: 1; min-width: 140px; }
.mr-full b { font-size: 1.1rem; color: #fff; }
.mr-full small { color: var(--gold-lt); font-size: .82rem; }
.map-readout--light { background: var(--surface); border-color: var(--line); }
.map-readout--light .mr-empty { color: var(--muted); }
.map-readout--light .mr-full b { color: var(--text); }
.map-readout--light .mr-full small { color: var(--hl); }
.map-readout--light .mr-empty .ic { color: var(--gold); }

.dzmap { position: relative; margin: 0; }
.dzmap svg { width: 100%; height: auto; overflow: visible; }
.dz-land { fill: rgba(255, 255, 255, .035); }
.dz-grain { fill: rgba(230, 207, 158, .3); }
.dz-outline { fill: none; stroke: var(--gold-lt); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s var(--ease-io); }
.dzmap.is-in .dz-outline { stroke-dashoffset: 0; }
.dz-arcs path { fill: none; stroke: rgba(230, 207, 158, .4); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out), stroke .3s; transition-delay: calc(.8s + var(--k) * 28ms); }
.dzmap.is-in .dz-arcs path { stroke-dashoffset: 0; }
.dz-arcs path.is-hot { stroke: var(--gold-lt); stroke-width: 2; transition-delay: 0s; }
.dz-pt { cursor: pointer; outline: none; }
.dz-pt .hit { fill: transparent; }
.dz-pt .dot { fill: var(--gold-lt); stroke: var(--green-dk); stroke-width: 1.4; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease-out), fill .25s; transition-delay: calc(1s + var(--k) * 28ms); }
.dzmap.is-in .dz-pt .dot { transform: scale(1); }
.dz-pt.is-new .dot { fill: var(--green-dk); stroke: var(--gold-lt); stroke-width: 1.6; }
.dz-pt:hover .dot, .dz-pt:focus-visible .dot, .dz-pt.is-sel .dot { transform: scale(1.9); transition-delay: 0s; fill: #fff; }
.dz-pt.is-hq .dot { display: none; }
.dz-hq { pointer-events: none; }
.hq-core { fill: var(--red); stroke: #fff; stroke-width: 2.4; }
.hq-pulse { fill: none; stroke: var(--red); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: hq 2.6s ease-out infinite; }
.hq-pulse--2 { animation-delay: 1.3s; }
@keyframes hq { from { transform: scale(.8); opacity: 1; } to { transform: scale(3.6); opacity: 0; } }
.dz-tip { position: absolute; z-index: 3; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-size: .84rem; line-height: 1.4; white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); }
.dz-tip b { display: block; font-size: .95rem; }
.dz-tip small { color: var(--muted); }
.dz-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: .8rem; color: rgba(233, 240, 234, .78); }
.dz-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg--hq { background: var(--red); box-shadow: 0 0 0 2px #fff; }
.lg--w { background: var(--gold-lt); }
.lg--new { border: 1.6px solid var(--gold-lt); background: transparent; }
.dz-select { position: relative; display: flex; align-items: center; margin-top: 14px; }
.dz-select .ic { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--gold-lt); pointer-events: none; }
.dz-select select { width: 100%; min-height: 46px; padding-inline: 42px 14px; border-radius: 12px; border: 1px solid rgba(230, 207, 158, .3); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: .92rem; }
.dz-select option { color: #1D2A23; }
/* light map variant (about / contact) */
.dzmap--light .dz-land { fill: var(--mint); }
.dzmap--light .dz-grain { fill: rgba(19, 96, 58, .28); }
.dzmap--light .dz-outline { stroke: var(--green); }
.dzmap--light .dz-arcs path { stroke: rgba(193, 154, 85, .5); }
.dzmap--light .dz-arcs path.is-hot { stroke: var(--gold-dk); }
.dzmap--light .dz-pt .dot { fill: var(--green); stroke: #fff; }
.dzmap--light .dz-pt.is-new .dot { fill: #fff; stroke: var(--green); }
.dzmap--light .dz-pt:hover .dot, .dzmap--light .dz-pt.is-sel .dot { fill: var(--gold); }
.dzmap--light .dz-legend { color: var(--muted); }
.dzmap--light .lg--w { background: var(--green); }
.dzmap--light .lg--new { border-color: var(--green); }
.dzmap--light .dz-select select { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.dzmap--light .dz-select .ic { color: var(--gold); }
[data-theme="dark"] .dzmap--light .dz-land { fill: rgba(255, 255, 255, .04); }
[data-theme="dark"] .dzmap--light .dz-grain { fill: rgba(230, 207, 158, .25); }
[data-theme="dark"] .dzmap--light .dz-outline { stroke: var(--gold-lt); }
[data-theme="dark"] .dzmap--light .dz-pt .dot { fill: var(--gold-lt); stroke: var(--green-dk); }
.map-grid--light .map-copy p { color: var(--text-2); }

/* ---------------------------------------------------------------- join */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.why { display: grid; gap: 18px; }
.why li { display: flex; gap: 16px; align-items: flex-start; }
.why b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.why p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.why--2 { grid-template-columns: 1fr; }
.join-side { display: grid; gap: 22px; }
.mtypes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mtypes--wide { gap: 22px; }
.mtype { position: relative; display: grid; align-content: start; gap: 8px; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .4s, border-color .4s, transform .5s var(--ease-out); }
.mtype:hover { border-color: var(--gold-line); box-shadow: var(--shadow); }
.mtype h3 { margin: 12px 0 0; font-size: 1.2rem; }
.mtype p { margin: 0 0 6px; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.mtype-corner { position: absolute; top: -40px; inset-inline-end: -40px; width: 110px; height: 110px; transform: rotate(45deg); border: 1px solid var(--gold-line); border-radius: 22px; transition: transform .8s var(--ease-out); }
.mtype:hover .mtype-corner { transform: rotate(135deg); }
.steps-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.steps-inline li { display: grid; gap: 6px; padding: 18px 16px; border-inline-end: 1px solid var(--line); align-content: start; }
.steps-inline li:last-child { border: 0; }
.step-n { font-family: var(--f-display); font-style: italic; font-weight: 700; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.steps-inline b { font-size: .95rem; }
.steps-inline p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.55; }

/* ---------------------------------------------------------------- news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .4s, border-color .4s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.news-card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.news-card:hover .news-card-media img { transform: scale(1.05); }
.news-ph { object-fit: contain !important; padding: 20%; }
.news-card-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.news-card h3 { margin: 0; font-size: 1.16rem; line-height: 1.45; }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--muted-2); }
.tag { display: inline-flex; padding: 3px 10px; border-radius: 8px; background: var(--mint); color: var(--accent); font-weight: 600; font-size: .76rem; }
.posts-wall { margin-top: clamp(40px, 6vw, 70px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pw-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
[dir="rtl"] .pw-track { animation-name: marqueeRtl; }
.posts-wall:hover .pw-track { animation-play-state: paused; }
.pw-item { width: 190px; flex: none; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out); }
.pw-item:hover { transform: translateY(-8px) rotate(-1.5deg); }
.pw-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------------------------------------------------------------- motto finale */
.motto { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 60px); text-align: center; overflow: hidden; }
.motto .ribbons { display: none; }
.motto::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid var(--gold-line); opacity: .4; }
.motto::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 100vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px dashed var(--gold-line); opacity: .45; animation: spin 120s linear infinite; }
.motto-inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.motto-mark { width: 96px; height: 96px; margin-bottom: 18px; filter: drop-shadow(0 12px 18px rgba(11, 63, 38, .2)); }
[data-theme="light"] .motto-mark { content: url("/assets/img/mark-480.webp"); }
.motto-ar { font-family: var(--f-naskh); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.5; margin: 0;
  background: linear-gradient(100deg, var(--green-dk) 0%, var(--green) 30%, var(--gold-dk) 48%, var(--gold-lt) 52%, var(--green) 70%, var(--green-dk) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite; }
[data-theme="dark"] .motto-ar { background-image: linear-gradient(100deg, var(--gold-lt) 0%, #fff 30%, var(--gold) 50%, #fff 70%, var(--gold-lt) 100%); }
@keyframes shimmer { 50% { background-position: 100% 0; } }
.motto-fr, .motto-en { margin: 6px 0 0; font-family: var(--f-display); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.5rem); color: var(--gold-dk); }
.motto-en { font-style: normal; font-size: clamp(.95rem, 1.6vw, 1.2rem); color: var(--muted); }
[data-theme="dark"] .motto-fr { color: var(--gold-lt); }
.motto-note { max-width: 680px; margin: 26px auto 0; color: var(--text-2); }
.motto-follow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.follow { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: all .35s var(--ease-out); }
.follow .ic { width: 20px; height: 20px; color: var(--accent); }
.follow:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- footer */
.ftr { position: relative; margin-top: 0; color: rgba(233, 240, 234, .82); }
.ribbons--footer { position: relative; height: clamp(70px, 8vw, 120px); bottom: auto; margin-bottom: -1px; }
.ftr-body { position: relative; background: var(--green-dk); padding: clamp(36px, 5vw, 60px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.ftr-body .lattice { color: var(--gold-lt); opacity: .05; }
.ftr-grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: clamp(26px, 4vw, 50px); }
.ftr-brand img { width: 170px; margin-bottom: 18px; }
.ftr-brand p { font-size: .9rem; line-height: 1.8; }
.ftr-soc { display: flex; gap: 8px; margin-top: 16px; }
.ftr-col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.ftr-col h3::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.ftr-col ul { display: grid; gap: 9px; }
.ftr-col a { transition: color .25s; font-size: .92rem; }
.ftr-col a:hover { color: var(--gold-lt); }
.ftr-col p { font-size: .9rem; }
.ftr-contact li { display: flex; gap: 10px; font-size: .9rem; }
.ftr-contact li a { display: flex; gap: 10px; }
.ftr-contact .ic { width: 18px; height: 18px; margin-top: .3em; color: var(--gold-lt); }
.ftr-contact b { color: #fff; font-weight: 600; }
.ftr-motto { position: relative; margin-top: clamp(40px, 5vw, 60px); padding-top: 30px; border-top: 1px solid rgba(230, 207, 158, .15); text-align: center; }
.ftr-motto .motto-ar { font-size: clamp(1.4rem, 3vw, 2.2rem); background: none; color: var(--gold-lt); animation: none; }
.ftr-motto .motto-lat { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 0; font-family: var(--f-display); font-style: italic; font-size: .98rem; color: rgba(233, 240, 234, .7); }
.ftr-motto .eb-diamond { color: var(--gold); width: .45em; height: .45em; }
.ftr-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(230, 207, 158, .12); font-size: .84rem; }
.ftr-bottom p { margin: 0; }
.ftr-links { display: flex; align-items: center; gap: 18px; }
.ftr-links a { display: inline-flex; align-items: center; gap: 6px; }
.ftr-links a:hover { color: var(--gold-lt); }
.ftr-links .ic { width: 14px; height: 14px; }
.mobile-bar { display: none; }
.to-top { position: fixed; z-index: 55; bottom: 22px; inset-inline-start: 22px; width: 50px; height: 50px; display: grid; place-items: center; color: var(--green); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease-out); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.to-top path { fill: var(--surface); stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); filter: drop-shadow(0 8px 14px rgba(11, 63, 38, .2)); }
.to-top .ic { position: relative; width: 18px; height: 18px; }
[data-theme="dark"] .to-top { color: var(--gold-lt); }

/* precision ruler (desktop) */
.ruler { position: fixed; z-index: 50; top: 50%; inset-inline-end: 14px; height: 44vh; width: 22px; translate: 0 -50%; opacity: 0; transition: opacity .5s; pointer-events: none; }
.ruler.is-on { opacity: 1; }
.ruler-track { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, var(--gold-line) 0 1px, transparent 1px 10%) 0 0 / 12px 100% no-repeat, repeating-linear-gradient(to bottom, var(--line-2) 0 1px, transparent 1px 2%) 0 0 / 6px 100% no-repeat; }
[dir="rtl"] .ruler-track { background-position: 100% 0, 100% 0; }
.ruler-mark { position: absolute; top: calc(var(--p, 0) * 100%); inset-inline-start: -2px; width: 10px; height: 10px; margin-top: -5px; background: var(--gold); transform: rotate(45deg); transition: top .15s linear; }
.ruler-mark b { position: absolute; top: 50%; inset-inline-end: 16px; transform: rotate(-45deg) translateY(-50%); transform-origin: center; font-family: var(--f-display); font-style: italic; font-size: .78rem; color: var(--gold-dk); white-space: nowrap; }
[dir="rtl"] .ruler-mark b { inset-inline-end: 16px; }

/* ---------------------------------------------------------------- page hero (inner pages) */
.phero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 100px); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; isolation: isolate; }
.phero-bg { position: absolute; inset: 0; z-index: -1; }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.2; margin-bottom: .35em; }
html[lang="fr"] .phero h1, html[lang="en"] .phero h1 { line-height: 1.08; }
.phero h1 .hl { display: inline; }
.phero .lead { max-width: 600px; }
.phero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .84rem; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.cr-sep { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold); }
.phero-index { margin-bottom: 14px; }

/* diamond frame */
.frame { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.frame-dial { position: absolute; inset: -2%; width: 104%; height: 104%; animation: spin 160s linear infinite; }
.frame-mask { position: absolute; inset: 9%; clip-path: var(--dmd); overflow: hidden; background: var(--bg-2); transition: clip-path 1.4s var(--ease-io); }
.js .frame[data-reveal="frame"]:not(.is-in) .frame-mask { clip-path: var(--dmd0); }
.frame-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2s var(--ease-out); }
.frame.is-in .frame-img { transform: scale(1); }
.frame:hover .frame-img { transform: scale(1.05); }
.frame-ring { position: absolute; inset: 9%; width: 82%; height: 82%; overflow: visible; pointer-events: none; }
.frame-ring path { fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-io) .4s; }
.frame.is-in .frame-ring path, .story-frame .frame-ring path, .no-js .frame-ring path { stroke-dashoffset: 0; }
.frame-tag { position: absolute; bottom: 4%; inset-inline-end: 4%; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; color: var(--gold-dk); padding: 4px 8px; border: 1px solid var(--gold-line); border-radius: 6px; background: var(--bg); }
[data-theme="dark"] .frame-tag { color: var(--gold-lt); }
.frame--hero { width: min(100%, 470px); }
.frame--light .frame-dial { color: var(--gold-lt); }
.frame--light .frame-tag { background: transparent; color: var(--gold-lt); }

/* ---------------------------------------------------------------- generic split / about */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--top { align-items: start; }
.def-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 50px); align-items: center; }
.def-quote { position: relative; margin: 0; padding: clamp(30px, 5vw, 56px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.def-quote::before { content: ""; position: absolute; inset: 12px; border-radius: 20px; border: 1px solid var(--gold-line); pointer-events: none; }
.def-mark { width: 48px; height: 48px; color: var(--gold); stroke-width: 1.2; margin-bottom: 14px; }
.def-quote p { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.85; margin: 0 0 24px; color: var(--text); }
html[lang="fr"] .def-quote p, html[lang="en"] .def-quote p { font-family: var(--f-display); line-height: 1.55; }
.def-quote footer img { height: 54px; width: auto; }
.creds--col { gap: 14px; }
.pull { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.pull-rule { width: 4px; align-self: stretch; border-radius: 4px; background: linear-gradient(var(--gold-lt), var(--gold-dk)); }
.pull p { margin: 0; font-family: var(--f-naskh); font-weight: 600; font-size: 1.3rem; color: var(--hl); }
html[lang="fr"] .pull p, html[lang="en"] .pull p { font-family: var(--f-display); font-style: italic; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud-card { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .4s; }
.aud-card h3 { margin: 18px 0 6px; }
.aud-card p { margin: 0; color: var(--muted); }
.corner-marks { position: absolute; inset: 10px; pointer-events: none; opacity: 0; transition: opacity .4s, inset .5s var(--ease-out);
  background: linear-gradient(var(--gold), var(--gold)) 0 0 / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 0 / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 0 / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 100% / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 100% / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 100% / 1px 14px no-repeat; }
[data-spot]:hover .corner-marks { opacity: 1; inset: 6px; }
[data-spot] { position: relative; }
[data-spot]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(230, 207, 158, .22), transparent 70%); }
[data-spot]:hover::after { opacity: 1; }
.mini-pillars { display: grid; gap: 12px; margin-top: 28px; }
.mini-pillars--row { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.mini-pillar { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(230, 207, 158, .2); color: #fff; transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); text-align: start; }
.mini-pillar:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold-lt); transform: translateY(-3px); }
.mini-pillar span { display: grid; flex: 1; line-height: 1.45; }
.mini-pillar small { color: rgba(233, 240, 234, .7); font-size: .82rem; }
.mini-pillar > .ic { width: 18px; height: 18px; color: var(--gold-lt); }
.mini-pillar .tile { --tile-bg: rgba(230, 207, 158, .14); --tile-ink: var(--gold-lt); }
.motto-card { display: flex; gap: clamp(20px, 4vw, 40px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--surface); border: 1px solid var(--gold-line); box-shadow: var(--shadow); }
.motto-card img { width: 96px; flex: none; }
.motto-card .motto-ar { font-size: clamp(1.4rem, 3vw, 2.3rem); animation: none; background: none; color: var(--green); margin: 4px 0; }
[data-theme="dark"] .motto-card .motto-ar { color: var(--gold-lt); }
.motto-card .motto-lat { font-family: var(--f-display); font-style: italic; color: var(--gold-dk); font-size: 1.1rem; margin: 0 0 10px; }
.motto-card p:last-child { margin: 0; color: var(--text-2); }
.center-block { position: relative; text-align: center; display: grid; justify-items: center; }
.big-quote { max-width: 900px; font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.6; font-weight: 600; margin: 0 0 18px; }
html[lang="fr"] .big-quote, html[lang="en"] .big-quote { font-family: var(--f-display); font-weight: 500; line-height: 1.35; }
.sec--deep .big-quote { color: #fff; }
.cta-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-title em { color: var(--gold-lt) !important; }

/* fields / pillars pages */
.subnav { position: sticky; top: var(--hdr-h); z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-block: 1px solid var(--line); transition: top .45s var(--ease); }
.subnav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav a { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 14px; white-space: nowrap; transition: background-color .3s; }
.subnav a:hover, .subnav a.is-on { background: var(--mint); }
.subnav a span { display: grid; line-height: 1.3; }
.subnav small { font-family: var(--f-display); font-style: italic; color: var(--gold-dk); font-size: .76rem; }
.subnav b { font-size: .9rem; }
.field-num { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.field-num > span { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.field-num > i { width: 50px; height: 1px; background: var(--gold-line); }
.field-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 4px; }
.field-second { margin: 0 0 18px; color: var(--muted-2); font-size: .82rem; }
.field-second[lang="fr"], .field-second[lang="en"] { letter-spacing: .16em; text-transform: uppercase; }
.field-line { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--hl); font-weight: 600; line-height: 1.6; padding-inline-start: 18px; border-inline-start: 3px solid var(--gold); }
html[lang="fr"] .field-line, html[lang="en"] .field-line { font-family: var(--f-display); font-style: italic; font-weight: 500; }
.pillar-kicker { color: var(--hl); font-weight: 600; margin-bottom: 6px; }
.ticks--cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 18px; }
.ticks--cards li { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; line-height: 1.5; }
.loop-wrap { display: flex; align-items: center; gap: 18px; margin-top: 26px; font-weight: 600; color: var(--accent); }
.loop { width: 110px; height: 110px; }
.loop-arcs { transform-origin: 100px 100px; animation: spin 14s linear infinite; }
.loop-arcs path { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
[data-theme="dark"] .loop-arcs path { stroke: var(--gold-lt); }
.loop-arcs path:nth-child(2) { stroke: var(--gold); }
.loop-arcs path:nth-child(4) { stroke: var(--gold); }
.loop-arcs .loop-head { stroke-width: 5; stroke: var(--green-dk); }
.loop-core { fill: var(--gold-lt); }

/* ---------------------------------------------------------------- membership */
.mtypes--wide .mtype { padding: 36px 32px; }
.psteps { display: grid; gap: 14px; }
.pstep { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pstep .tile { grid-row: span 2; }
.pstep b { font-size: 1.06rem; }
.pstep p { margin: 0; grid-column: 2; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.pstep-n { position: absolute; top: 14px; inset-inline-end: 18px; font-family: var(--f-display); font-style: italic; color: var(--gold); font-weight: 700; }
.apply-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.apply-aside { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 16px; }

/* forms */
.form-shell { position: relative; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form-title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin: 0; }
.form-title .ic { color: var(--gold); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: .9rem; font-weight: 600; color: var(--text-2); }
.field > span i { font-style: normal; }
.field > span small { font-weight: 400; color: var(--muted-2); margin-inline-start: 6px; }
.field em, legend em { color: var(--danger); font-style: normal; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background-color .25s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
input:hover, select:hover, textarea:hover { border-color: var(--gold-line); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); background: var(--surface); }
input[type="date"] { text-align: start; }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-dk) 50%), linear-gradient(135deg, var(--gold-dk) 50%, transparent 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; padding-inline-end: 40px; }
[dir="rtl"] select { background-position: 16px 50%, 22px 50%; }
.dob { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 8px; }
.dob select { padding-inline: 12px 30px; }
[dir="rtl"] .dob select { padding-inline: 30px 12px; }
.field-count { justify-self: end; font-size: .76rem; color: var(--muted-2); }
.is-invalid input, .is-invalid select, .is-invalid textarea, input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.is-invalid > span, .chips.is-invalid, .type-pick.is-invalid { color: var(--danger); }
.chips.is-invalid .chip span, .type-pick.is-invalid .type-box { border-color: var(--danger); }
legend { padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 1.12rem; color: var(--text); }
legend small { font-weight: 400; font-size: .85rem; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: .92rem; font-weight: 500; transition: all .25s; }
.chip span .ic { width: 16px; height: 16px; color: var(--gold); }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 8px 18px -10px rgba(19, 96, 58, .8); }
.chip input:checked + span .ic { color: var(--gold-lt); }
[data-theme="dark"] .chip input:checked + span { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--green-dk); }
[data-theme="dark"] .chip input:checked + span .ic { color: var(--green-dk); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-2); cursor: pointer; line-height: 1.7; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: .25em; accent-color: var(--green); flex: none; padding: 0; }
.consent a { color: var(--accent); text-decoration: underline; }
.consent.is-invalid { color: var(--danger); }
.consent--sm { font-size: .84rem; }
.form-error { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(180, 35, 24, .08); color: var(--danger); font-size: .92rem; font-weight: 500; }
.form-error .ic { width: 18px; height: 18px; }
.form-error[hidden] { display: none; }
.pw-wrap { position: relative; display: block; }
.pw-toggle { position: absolute; top: 50%; inset-inline-end: 8px; translate: 0 -50%; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.pw-toggle .ic { width: 18px; height: 18px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-inline-end-color: transparent; animation: spin .7s linear infinite; display: inline-block; }

/* wizard */
.wizard-head { display: grid; gap: 14px; margin-bottom: 6px; }
.wizard-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wizard-steps li { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--muted-2); line-height: 1.35; transition: color .3s; }
.wizard-steps li span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; font-family: var(--f-display); font-style: italic; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--line-2); transition: all .4s; }
.wizard-steps li.is-current { color: var(--text); }
.wizard-steps li span { position: relative; isolation: isolate; }
.wizard-steps li span::before { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 7px; transform: rotate(45deg) scale(0); background: var(--green); transition: transform .5s var(--ease-out); }
.wizard-steps li.is-current span { color: #fff; box-shadow: none; }
.wizard-steps li.is-current span::before { transform: rotate(45deg) scale(1); }
[data-theme="dark"] .wizard-steps li.is-current span { color: var(--green-dk); }
[data-theme="dark"] .wizard-steps li span::before { background: var(--gold-lt); }
.wizard-steps li.is-done span { background: var(--gold-lt); color: var(--green-dk); box-shadow: none; }
.wizard-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.wizard-progress i { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 3px; transition: width .6s var(--ease-out); }
[dir="rtl"] .wizard-progress i { margin-inline-start: 0; background: linear-gradient(270deg, var(--green), var(--gold)); }
.wizard-panel { display: none; }
.wizard-panel.is-active { display: grid; animation: panelIn .6s var(--ease-out) both; }
.wizard-panel.is-active.is-back { animation-name: panelBack; }
@keyframes panelIn { from { opacity: 0; transform: translateX(30px); } }
[dir="rtl"] .wizard-panel.is-active { animation-name: panelInRtl; }
@keyframes panelInRtl { from { opacity: 0; transform: translateX(-30px); } }
@keyframes panelBack { from { opacity: 0; transform: translateX(-30px); } }
.wizard-nav { display: flex; gap: 12px; justify-content: flex-end; }
.wizard-nav [data-wizard-prev] { margin-inline-end: auto; }
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type-card { position: relative; cursor: pointer; }
.type-card input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.type-box { position: relative; display: grid; gap: 6px; justify-items: start; padding: 20px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--surface-2); transition: all .35s var(--ease-out); height: 100%; }
.type-box b { font-size: 1.05rem; margin-top: 8px; }
.type-box small { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.type-check { position: absolute; top: 14px; inset-inline-end: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; transform: rotate(45deg) scale(.6); opacity: 0; background: var(--gold); color: var(--green-dk); transition: all .4s var(--ease-out); }
.type-check .ic { width: 15px; height: 15px; transform: rotate(-45deg); stroke-width: 2.6; }
.type-card:hover .type-box { border-color: var(--gold); }
.type-card input:checked + .type-box { border-color: var(--green); background: var(--mint-2); box-shadow: 0 0 0 4px var(--gold-soft); }
[data-theme="dark"] .type-card input:checked + .type-box { border-color: var(--gold-lt); }
.type-card input:checked + .type-box .type-check { opacity: 1; transform: rotate(45deg) scale(1); }
.type-card input:focus-visible + .type-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.drop { position: relative; display: block; border-radius: 16px; border: 1.5px dashed var(--gold-line); background: var(--surface-2); cursor: pointer; transition: border-color .3s, background-color .3s; }
.drop:hover, .drop.is-drag { border-color: var(--gold); background: var(--gold-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.drop-empty { display: grid; justify-items: center; gap: 4px; padding: 26px 14px; text-align: center; color: var(--muted); }
.drop-empty .ic { width: 30px; height: 30px; color: var(--gold); }
.drop-empty b { color: var(--text); font-weight: 600; }
.drop-empty small { font-size: .8rem; }
.drop-file { display: flex; align-items: center; gap: 14px; padding: 14px; position: relative; z-index: 2; }
.drop-file[hidden], .drop-empty[hidden] { display: none; }
.drop-thumb { width: 56px; height: 56px; flex: none; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--mint); color: var(--accent); }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-meta { display: grid; flex: 1; min-width: 0; }
.drop-meta b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
.drop-meta small { color: var(--muted); font-size: .8rem; }
.staff-entry { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.staff-entry p { margin: 0; font-size: .9rem; }
.staff-entry .ic { color: var(--gold-dk); margin-top: .3em; }
.staff-entry[hidden] { display: none; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 26px 10px; }
.form-success[hidden] { display: none; }
.success-seal { position: relative; width: 110px; height: 110px; display: grid; place-items: center; margin-bottom: 8px; color: var(--green); }
.success-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.success-seal path { fill: var(--mint); stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease-io) forwards; vector-effect: non-scaling-stroke; }
.success-seal .ic { position: relative; width: 44px; height: 44px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: checkIn .7s var(--ease-out) .6s forwards; }
@keyframes checkIn { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 1.45rem; margin: 0; }
.form-success p { max-width: 520px; color: var(--muted); margin: 0; }
.success-ref { display: inline-flex !important; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--gold-soft); color: var(--text) !important; font-weight: 600; }
.success-ref b { font-family: var(--f-mono); font-size: 1.1rem; color: var(--accent); }
.copy-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--gold-dk); }
.copy-btn:hover { background: var(--surface); }
.copy-btn .ic { width: 16px; height: 16px; }
.aside-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--mint-2); border: 1px solid var(--line); font-size: .88rem; color: var(--text-2); }
.aside-note p { margin: 0; }
.aside-note .ic { color: var(--accent); margin-top: .3em; }

/* live preview card */
.pcard { position: relative; overflow: hidden; padding: 22px 22px 70px; border-radius: 24px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #1E7547, var(--green-dk) 60%, var(--green-xd)); box-shadow: var(--shadow-lg); isolation: isolate; }
.pcard::before { content: ""; position: absolute; inset: 10px; border-radius: 16px; border: 1px solid rgba(230, 207, 158, .3); pointer-events: none; }
.pcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pcard-head img { width: 44px; height: 44px; }
.pcard-head span { display: grid; line-height: 1.35; }
.pcard-head b { font-size: .95rem; }
.pcard-head small { font-size: .74rem; color: var(--gold-lt); opacity: .9; }
.pcard-id { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pcard-photo { position: relative; width: 78px; height: 78px; flex: none; display: grid; place-items: center; }
.pcard-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pcard-photo path { fill: rgba(230, 207, 158, .16); stroke: var(--gold-lt); stroke-width: 2; }
.pcard-photo span { position: relative; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--gold-lt); }
.pcard-photo span .ic { width: 28px; height: 28px; }
.pcard-photo img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: cover; clip-path: var(--dmd); }
.pcard-photo img[hidden] { display: none; }
.pcard-name { display: block; font-size: 1.2rem; line-height: 1.35; word-break: break-word; transition: color .3s; }
.pcard-name.is-empty { color: rgba(255, 255, 255, .45); }
.pcard-type { display: inline-flex; margin-top: 6px; padding: 3px 10px; border-radius: 8px; background: var(--gold-lt); color: var(--green-dk); font-size: .76rem; font-weight: 700; }
.pcard-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.pcard-rows div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); min-width: 0; }
.pcard-rows dt { font-size: .72rem; color: var(--gold-lt); opacity: .85; }
.pcard-rows dd { margin: 0; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-int { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.pcard-int span { padding: 3px 10px; border-radius: 8px; border: 1px solid rgba(230, 207, 158, .4); font-size: .76rem; animation: popIn .4s var(--ease-out) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.8); } }
.pcard-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pcard-ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.pcard-ring circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 3; }
.pcard-ring .pr-fill { stroke: var(--gold-lt); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease-out); }
.pcard-foot span { display: grid; line-height: 1.3; }
.pcard-foot b { font-family: var(--f-display); font-size: 1.1rem; }
.pcard-foot small { font-size: .74rem; opacity: .8; }
.pcard-clip { margin-inline-start: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(230, 207, 158, .16); color: var(--gold-lt); }
.pcard-clip[hidden] { display: none; }
.pcard .ribbons--card { height: 64px; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 5vw, 70px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { font-family: var(--f-display); font-style: italic; color: var(--gold); font-size: .95rem; }
.faq-item summary span:nth-child(2) { flex: 1; }
.faq-toggle { position: relative; width: 26px; height: 26px; flex: none; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .4s var(--ease-out), background-color .3s; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--accent); transition: transform .4s var(--ease-out); }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--gold-lt); box-shadow: none; }
.faq-body { padding: 0 22px 20px; color: var(--text-2); }
.faq-body p { margin: 0; }

/* news page + article */
.news-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.news-toolbar[hidden] { display: none; }
.search-field { position: relative; display: flex; align-items: center; flex: 1; min-width: 220px; }
.search-field .ic { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }
.search-field input { padding-inline-start: 42px; min-height: 46px; }
.news-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.news-cats button { padding: 8px 14px; border-radius: 10px; font-size: .88rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); transition: all .25s; }
.news-cats button:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.news-cats button.is-on { background: var(--green); color: #fff; box-shadow: none; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 50px 20px; }
.empty-state[hidden] { display: none; }
.ahero { position: relative; padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 4vw, 50px); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; isolation: isolate; }
.ahero-inner { max-width: 880px; }
.ahero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 14px 0 12px; }
.ahero .lead { color: var(--text-2); }
.article { max-width: 880px; margin-inline: auto; }
.article-cover { margin: 0 0 30px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); max-width: 560px; }
.article-cover button { display: block; width: 100%; cursor: zoom-in; }
.article-cover img { width: 100%; }
.article-body { font-size: 1.08rem; line-height: 2; }
html[lang="fr"] .article-body, html[lang="en"] .article-body { line-height: 1.8; }
.article-body p { margin-bottom: 1.2em; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 30px 0; }
.article-gallery button { border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.article-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.article-gallery button:hover img { transform: scale(1.06); }
.article-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--line); }
.article-share .btn { margin-inline-start: auto; }

/* identity page */
.anat { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.anat-fig { position: relative; margin: 0; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.anat-fig > img { position: absolute; inset: 14%; width: 72%; height: 72%; }
.anat-dial { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 180s linear infinite; }
.callout { position: absolute; left: var(--x); top: var(--y); width: 32px; height: 32px; margin: -16px 0 0 -16px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 700; box-shadow: 0 0 0 5px rgba(193, 154, 85, .3); animation: orbIn .8s var(--ease-out) both; animation-delay: calc(.6s + var(--i) * .15s); }
.anat-list { display: grid; gap: 16px; }
.anat-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.an-n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 700; }
.anat-list b { display: block; }
.anat-list p { margin: 0; color: var(--muted); font-size: .94rem; }
.lockups { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.lockup { margin: 0; display: grid; place-items: center; gap: 14px; padding: clamp(26px, 4vw, 50px); border-radius: 22px; border: 1px solid var(--line); min-height: 240px; }
.lockup img { max-height: 160px; width: auto; }
.lockup figcaption { font-size: .82rem; color: var(--muted); }
.lockup--ivory { background: #FBF8F1; }
.lockup--green { background: linear-gradient(150deg, #13603A, #0B3F26); }
.lockup--green figcaption { color: rgba(255, 255, 255, .75); }
.lockup--white { background: #fff; }
.lockup--white figcaption, .lockup--ivory figcaption { color: #5E6C64; }
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.swatch { position: relative; display: grid; text-align: start; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .3s; }
.swatch:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sw-chip { height: 110px; background: var(--sw); border-bottom: 1px solid var(--line); }
.sw-meta { display: grid; padding: 12px 14px 14px; line-height: 1.45; }
.sw-meta b { font-size: .92rem; }
.sw-meta code { font-family: var(--f-mono); font-size: .84rem; color: var(--accent); }
.sw-meta small { font-size: .76rem; color: var(--muted); }
.sw-copy { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: rgba(255, 255, 255, .85); color: #13603A; opacity: 0; transition: opacity .3s; }
.swatch:hover .sw-copy { opacity: 1; }
.fonts { display: grid; gap: 12px; }
.font-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.font-row b { display: block; font-family: var(--f-lat); }
.font-row small { color: var(--muted); font-size: .8rem; }
.spec { margin: 0; font-size: 1.7rem; line-height: 1.3; color: var(--green); text-align: end; }
[data-theme="dark"] .spec { color: var(--gold-lt); }
.spec--pf { font-family: var(--f-display); font-weight: 700; direction: ltr; }
.spec--naskh { font-family: var(--f-naskh); font-weight: 700; direction: rtl; }
.spec--plexar { font-family: var(--f-ar); font-weight: 700; direction: rtl; }
.spec--plex { font-family: var(--f-lat); font-weight: 500; direction: ltr; }
.elements { display: grid; gap: 14px; }
.el { position: relative; height: 130px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: flex-end; padding: 12px 14px; }
.el span { position: relative; z-index: 2; font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 8px; background: var(--surface); }
.el--lattice .lattice { opacity: .45; }
.el--ribbon .ribbons { height: 100%; }
.el--icons { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; height: auto; }
.el-tiles { display: flex; gap: 8px; flex-wrap: wrap; }
.tile--demo { width: 50px; height: 50px; }
.mocks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mock { margin: 0; grid-column: span 2; }
.mock:nth-child(1), .mock:nth-child(2) { grid-column: span 3; }
.mock button { display: block; width: 100%; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.mock img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mock button:hover img { transform: scale(1.05); }
.mock figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.post { margin: 0; }
.post button { display: block; width: 100%; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; transition: transform .5s var(--ease-out); }
.post button:hover { transform: translateY(-6px); }
.post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(22px, 4vw, 50px); align-items: start; }
.contact-side { display: grid; gap: 22px; }
.ccards { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease-out); }
a.ccard:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.ccard span { display: grid; line-height: 1.45; min-width: 0; }
.ccard small { color: var(--muted); font-size: .8rem; }
.ccard b { font-size: .98rem; word-break: break-word; }
.ccard em { font-size: .86rem; color: var(--muted); }
.dzmap--contact { padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }

/* prose / 404 / auth */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; display: flex; align-items: center; gap: 12px; }
.prose h2::before { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; }
.nf { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 60px 0; overflow: hidden; }
.nf-bg { position: absolute; inset: 0; }
.nf-inner { position: relative; display: grid; justify-items: center; gap: 8px; }
.nf-art { position: relative; width: 280px; height: 280px; display: grid; place-items: center; margin-bottom: 10px; }
.nf-dial { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.nf-art img { width: 150px; }
.nf-art b { position: absolute; bottom: 4px; font-family: var(--f-display); font-style: italic; font-size: 2.4rem; color: var(--gold-dk); background: var(--bg); padding: 0 12px; }
.nf h1 { font-size: 2rem; margin: 0; }
.nf-lat { color: var(--muted); font-family: var(--f-display); font-style: italic; }
.page-auth { background: var(--bg); }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.auth-visual { position: relative; overflow: hidden; color: #fff; display: grid; align-items: end; padding: 50px; isolation: isolate; }
.auth-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 42, 25, .1), rgba(7, 42, 25, .75) 70%, rgba(7, 42, 25, .95)); }
.auth-copy { position: relative; z-index: 2; padding-bottom: 80px; }
.auth-copy img { width: min(360px, 100%); margin-bottom: 18px; }
.auth-copy .motto-ar { background: none; color: var(--gold-lt); animation: none; font-size: 1.6rem; }
.auth-lat { font-family: var(--f-display); font-style: italic; opacity: .85; }
.auth-panel { position: relative; display: grid; place-items: center; padding: 40px 24px; overflow: hidden; }
.auth-panel .lattice { opacity: .1; }
.auth-back { position: absolute; top: 24px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); z-index: 2; }
.auth-back:hover { color: var(--accent); }
.auth-box { position: relative; width: min(420px, 100%); display: grid; gap: 12px; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.auth-mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; margin: -90px auto 6px; background: var(--surface); border-radius: 50%; box-shadow: var(--shadow); }
.auth-dial { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 50s linear infinite; }
.auth-mark img { width: 78px; height: 78px; }
.auth-box h1 { text-align: center; font-size: 1.6rem; margin: 0; }
.auth-box .lead { text-align: center; font-size: .95rem; color: var(--muted); }
.auth-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.auth-note .ic { width: 16px; height: 16px; color: var(--accent); }

/* lightbox + toasts */
.lightbox { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: 30px; background: rgba(4, 20, 12, .92); opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 88svh; border-radius: 14px; box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .45s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }
[dir="ltr"] .lb-prev .ic, [dir="rtl"] .lb-next .ic { transform: scaleX(-1); }
.lb-close:hover, .lb-nav:hover { background: rgba(230, 207, 158, .25); }
.lb-count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: #fff; font-family: var(--f-mono); font-size: .85rem; opacity: .8; }

/* =============================================================================
   Staff dashboard
   ========================================================================== */
.page-dash { background: var(--bg-2); }
.dash { display: grid; grid-template-columns: 268px 1fr; min-height: 100svh; }
.dash-side { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; gap: 16px; padding: 22px 16px; background: linear-gradient(180deg, var(--green-dk), var(--green-xd)); color: #E9F0EA; overflow: hidden; isolation: isolate; }
.dash-side .lattice { color: var(--gold-lt); opacity: .05; z-index: -1; }
.dash-brand img { width: 168px; }
.dash-role { margin: -6px 0 6px; font-size: .78rem; color: var(--gold-lt); letter-spacing: .02em; }
.dash-nav { display: grid; gap: 4px; }
.dash-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 12px; font-weight: 500; color: rgba(233, 240, 234, .8); transition: background-color .25s, color .25s; text-align: start; }
.dash-link .ic { width: 20px; height: 20px; color: var(--gold-lt); opacity: .8; }
.dash-link span { flex: 1; }
.dash-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.dash-link.is-active { background: var(--gold-lt); color: var(--green-dk); font-weight: 700; }
.dash-link.is-active .ic { color: var(--green-dk); opacity: 1; }
.dash-badge { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; background: var(--red); color: #fff; font-size: .74rem; }
.dash-link.is-active .dash-badge { background: var(--green-dk); color: #fff; }
.dash-side-foot { margin-top: auto; display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid rgba(230, 207, 158, .15); }
.dash-main { min-width: 0; padding: 22px clamp(16px, 3vw, 34px) 60px; }
.dash-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.dash-top h1 { font-size: 1.6rem; margin: 0; }
.dash-sub { margin: 0; font-size: .86rem; color: var(--muted-2); }
.dash-top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.dash-user { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
.dash-user .ic { width: 18px; height: 18px; color: var(--gold); }
.dash-menu { display: none; }
.dash-alert { display: flex; gap: 12px; align-items: center; padding: 14px 18px; margin-bottom: 20px; border-radius: 14px; background: rgba(154, 91, 0, .1); color: var(--warn); border: 1px solid rgba(154, 91, 0, .25); }
[data-theme="dark"] .dash-alert { color: #F3C26B; }
.dash-alert[hidden] { display: none; }
.dash-alert p { margin: 0; }
.dash-alert a { text-decoration: underline; font-weight: 700; }
.dash-view { animation: fadeUp .5s var(--ease) both; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.filter-bar select { width: auto; min-width: 150px; min-height: 42px; padding-block: 8px; border-radius: 12px; font-size: .9rem; background-color: var(--surface); }
.filter-bar .search-field { flex: 1; }
.filter-bar .search-field input { min-height: 42px; background: var(--surface); }
.filter-bar p.dash-sub { flex: 1; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { padding: 7px 14px; border-radius: 9px; font-size: .86rem; font-weight: 500; color: var(--muted); transition: all .25s; }
.seg button:hover { color: var(--accent); }
.seg button.is-on { background: var(--green); color: #fff; }
[data-theme="dark"] .seg button.is-on { background: var(--gold-lt); color: var(--green-dk); }
.chip-reset { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: .85rem; color: var(--danger); background: rgba(180, 35, 24, .08); }
.chip-reset[hidden] { display: none; }
.chip-reset .ic { width: 14px; height: 14px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { position: relative; overflow: hidden; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); animation: fadeUp .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.kpi::after { content: ""; position: absolute; top: -30px; inset-inline-end: -30px; width: 80px; height: 80px; transform: rotate(45deg); border: 1px solid var(--gold-line); border-radius: 16px; opacity: .6; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.kpi-top span { font-size: .86rem; color: var(--muted); font-weight: 500; }
.kpi-top .ic { width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: 10px; background: var(--mint); color: var(--accent); }
.kpi b { display: block; font-family: var(--f-display); font-size: 2.1rem; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.kpi small { font-size: .8rem; color: var(--muted-2); }
.kpi--gold .kpi-top .ic { background: var(--gold-soft); color: var(--gold-dk); }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.panel { min-width: 0; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.panel--wide { grid-column: 1 / -1; }
.panel--map { grid-row: span 2; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.08rem; margin: 0; }
.panel-head p { margin: 0; font-size: .8rem; color: var(--muted-2); }
.link-btn { font-size: .85rem; color: var(--accent); font-weight: 600; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 40%) 1fr 44px; gap: 12px; align-items: center; padding: 3px 6px; margin-inline: -6px; border-radius: 8px; font-size: .88rem; cursor: pointer; transition: background-color .2s; }
.bar-row:hover, .bar-row.is-on { background: var(--mint-2); }
.bar-row > span:first-child { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { position: relative; height: 12px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.bar-fill { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--green-lt)); transform-origin: left; animation: barGrow .8s var(--ease) both; }
[dir="rtl"] .bar-fill { transform-origin: right; background: linear-gradient(270deg, var(--green), var(--green-lt)); }
.bar-row:hover .bar-fill, .bar-row.is-on .bar-fill { background: var(--gold); }
[data-theme="dark"] .bar-fill { background: var(--gold-lt); }
.bar-row b { text-align: end; color: var(--text); font-variant-numeric: tabular-nums; }
@keyframes barGrow { from { transform: scaleX(0); } }
.chart-empty { padding: 30px 10px; text-align: center; color: var(--muted-2); font-size: .9rem; }
.chart-area { position: relative; height: 240px; }
.chart-area svg { width: 100%; height: 100%; overflow: visible; }
.chart-area .grid-line { stroke: var(--line); stroke-width: 1; }
.chart-area .axis-label { fill: var(--muted-2); font-size: 11px; font-family: var(--f-lat); }
.chart-area .area { fill: url(#trendFill); }
.chart-area .line { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
[data-theme="dark"] .chart-area .line { stroke: var(--gold-lt); }
.chart-area .hover-line { stroke: var(--gold); stroke-dasharray: 3 3; }
.chart-area .hover-dot { fill: var(--surface); stroke: var(--gold); stroke-width: 2.4; }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: var(--green-dk); color: #fff; font-size: .8rem; white-space: nowrap; box-shadow: var(--shadow); }
.chart-tip b { display: block; font-size: .95rem; }
.chart-tip[hidden] { display: none; }
.dash-map { position: relative; }
.dash-map svg { width: 100%; height: auto; max-height: 520px; }
.dm-land { fill: var(--mint); stroke: var(--green); stroke-width: 1.2; }
[data-theme="dark"] .dm-land { fill: rgba(230, 207, 158, .06); stroke: var(--gold-lt); }
.dm-b { fill: rgba(193, 154, 85, .55); stroke: var(--gold-dk); stroke-width: 1; cursor: pointer; transition: fill .2s; animation: popIn .6s var(--ease-out) both; transform-box: fill-box; transform-origin: center; }
.dm-b:hover, .dm-b.is-on { fill: var(--green); stroke: #fff; }
.dm-dot { fill: var(--green); opacity: .25; }
[data-theme="dark"] .dm-dot { fill: var(--gold-lt); }
.split-bar { display: grid; gap: 14px; }
.sb-track { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; background: var(--bg-2); }
.sb-track i { display: grid; place-items: center; font-style: normal; font-size: .78rem; font-weight: 700; color: #fff; transition: flex-grow .6s var(--ease); cursor: pointer; }
.sb-ind { background: var(--green); }
.sb-org { background: var(--gold); color: var(--green-dk) !important; }
.sb-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-legend button { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); font-size: .88rem; text-align: start; }
.sb-legend button b { margin-inline-start: auto; font-family: var(--f-display); font-size: 1.2rem; }
.sb-legend button.is-on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.status-chart { display: grid; gap: 14px; }
.status-stack { display: flex; height: 16px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--bg-2); }
.status-stack i { display: block; height: 100%; transition: flex-grow .6s var(--ease); }
.status-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.status-legend button { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-2); padding: 6px 8px; border-radius: 8px; text-align: start; }
.status-legend button:hover, .status-legend button.is-on { background: var(--mint-2); }
.status-legend b { margin-inline-start: auto; color: var(--text); }
.st-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; transform: rotate(45deg); }
.st-new { background: #2F6FD0; }
.st-review { background: #C98A12; }
.st-accepted { background: #13603A; }
.st-rejected { background: #9AA39E; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 940px; }
.table th { position: sticky; top: 0; text-align: start; padding: 14px 16px; font-weight: 600; font-size: .82rem; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th[data-sort] { cursor: pointer; user-select: none; }
.table th[data-sort]:hover { color: var(--accent); }
.table th.is-sorted::after { content: " ▾"; color: var(--gold); }
.table th.is-sorted.is-asc::after { content: " ▴"; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text-2); }
.table tbody tr { cursor: pointer; transition: background-color .2s; }
.table tbody tr:hover { background: var(--mint-2); }
.table tbody tr.is-new td:first-child { box-shadow: inset -3px 0 0 #2F6FD0; }
[dir="ltr"] .table tbody tr.is-new td:first-child { box-shadow: inset 3px 0 0 #2F6FD0; }
.table td:first-child, .table td:last-child { white-space: nowrap; }
.ref { font-family: var(--f-mono); font-size: .84rem; color: var(--accent); direction: ltr; unicode-bidi: isolate; }
.table-foot { font-size: .85rem; color: var(--muted-2); margin-top: 12px; }
.tag-s { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px; font-size: .78rem; font-weight: 600; background: var(--bg-2); color: var(--text-2); white-space: nowrap; }
.tag-gold { background: var(--gold-soft); color: var(--gold-dk); }
[data-theme="dark"] .tag-gold { color: var(--gold-lt); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.svc-tags span { font-size: .75rem; padding: 2px 8px; border-radius: 6px; background: var(--mint); color: var(--accent); white-space: nowrap; }
.empty-row td { text-align: center; padding: 50px 20px; color: var(--muted-2); cursor: default; }
.drawer-side { position: fixed; inset: 0; z-index: 220; visibility: hidden; }
.drawer-side.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4, 20, 12, .5); opacity: 0; transition: opacity .35s; }
.drawer-side.is-open .drawer-backdrop, .modal.is-open .drawer-backdrop { opacity: 1; }
.side-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(600px, 100vw); background: var(--surface); overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
[dir="rtl"] .side-panel { transform: translateX(-100%); }
.drawer-side.is-open .side-panel { transform: none; }
.rd-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 12px; padding: 20px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.rd-head h2 { font-size: 1.25rem; margin: 2px 0 4px; }
.rd-head .icon-btn { margin-inline-start: auto; }
.rd-body { padding: 22px 24px 40px; display: grid; gap: 22px; }
.rd-section h3 { font-size: .92rem; color: var(--muted); margin-bottom: 10px; font-family: var(--f-ar); }
.rd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rd-grid div { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); min-width: 0; }
.rd-grid small { display: block; font-size: .76rem; color: var(--muted-2); }
.rd-grid b[dir="ltr"] { display: block; text-align: start; unicode-bidi: plaintext; }
.rd-grid b { font-weight: 600; color: var(--text); font-size: .94rem; word-break: break-word; }
.rd-details { padding: 16px; border-radius: 14px; background: var(--mint-2); white-space: pre-wrap; color: var(--text-2); line-height: 1.9; margin: 0; }
.rd-attach { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px dashed var(--gold-line); background: var(--gold-soft); }
.rd-attach .ic { width: 22px; height: 22px; color: var(--gold-dk); }
.rd-attach span { display: grid; flex: 1; min-width: 0; line-height: 1.4; }
.rd-attach b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-attach small { color: var(--muted); font-size: .8rem; }
.rd-attach-img { width: 100%; max-height: 320px; object-fit: contain; border-radius: 12px; background: var(--bg-2); margin-top: 10px; }
.status-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.status-picker button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 500; transition: all .25s; }
.status-picker button:hover { border-color: var(--gold-line); }
.status-picker button.is-on { border-color: var(--green); background: var(--mint-2); color: var(--accent); font-weight: 700; }
.timeline { display: grid; gap: 12px; }
.timeline li { position: relative; padding-inline-start: 22px; font-size: .88rem; color: var(--text-2); }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 9px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.timeline small { display: block; color: var(--muted-2); font-size: .76rem; }
.note-form { display: grid; gap: 10px; }
.note-form textarea { min-height: 80px; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.msg-list { display: grid; gap: 12px; }
.msg { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.msg.is-new { border-inline-start: 4px solid #2F6FD0; }
.msg-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-head b { color: var(--text); font-size: 1.02rem; }
.msg-head time { margin-inline-start: auto; font-size: .8rem; color: var(--muted-2); }
.msg-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); }
.msg-meta a { color: var(--accent); display: inline-flex; gap: 4px; align-items: center; }
.msg-meta .ic { width: 14px; height: 14px; }
.msg-text { margin: 0; white-space: pre-wrap; color: var(--text-2); }
.msg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.news-admin { display: grid; gap: 12px; }
.na-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.na-thumb { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--mint); display: grid; place-items: center; color: var(--accent); }
.na-thumb img { width: 100%; height: 100%; object-fit: cover; }
.na-item h3 { font-size: 1rem; margin-bottom: 4px; font-family: var(--f-ar); }
.na-item p { margin: 0; font-size: .82rem; color: var(--muted-2); }
.na-langs { display: inline-flex; gap: 4px; margin-inline-start: 6px; }
.na-langs i { font-style: normal; font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--bg-2); color: var(--muted-2); }
.na-langs i.is-on { background: var(--mint); color: var(--accent); }
.na-actions { display: flex; gap: 6px; }
.modal { position: fixed; inset: 0; z-index: 230; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-box { position: relative; width: min(760px, 100%); max-height: 92svh; overflow-y: auto; padding: 26px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .35s, transform .45s var(--ease); }
.modal.is-open .modal-box { opacity: 1; transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head h2 { font-size: 1.3rem; margin: 0; font-family: var(--f-ar); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; }
.seg--tabs { justify-self: start; }
.lpane { display: grid; gap: 14px; }
.lpane[hidden] { display: none; }
.upload { position: relative; display: block; border-radius: 16px; border: 1.5px dashed var(--gold-line); background: var(--surface-2); cursor: pointer; overflow: hidden; transition: border-color .25s, background-color .25s; }
.upload:hover, .upload.is-drag { border-color: var(--gold); background: var(--gold-soft); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.upload-preview { display: grid; place-items: center; gap: 6px; min-height: 140px; color: var(--muted-2); text-align: center; padding: 10px; }
.upload--sm .upload-preview { min-height: 80px; }
.upload-preview .ic { width: 30px; height: 30px; color: var(--gold); }
.upload-preview img { max-height: 200px; border-radius: 10px; }
.gallery-admin { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.gallery-admin:empty { display: none; }
.ga-item { position: relative; width: 86px; height: 86px; border-radius: 10px; overflow: hidden; }
.ga-item img { width: 100%; height: 100%; object-fit: cover; }
.ga-item label { position: absolute; inset: auto 4px 4px 4px; display: flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .7rem; cursor: pointer; }
.ga-item input { width: 14px; height: 14px; min-height: 0; padding: 0; accent-color: var(--red); }
.ga-item.is-removed img { opacity: .3; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.info-list .ic { color: var(--gold); width: 20px; height: 20px; margin-top: .3em; }
.toast-zone { position: fixed; z-index: 400; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; }
.toast { padding: 12px 20px; border-radius: 14px; background: var(--green-dk); color: #fff; font-weight: 500; font-size: .92rem; box-shadow: var(--shadow-lg); animation: toastIn .5s var(--ease-out) both; display: flex; gap: 8px; align-items: center; }
.toast--err { background: var(--danger); }
.toast .ic { width: 18px; height: 18px; color: var(--gold-lt); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
.dash-empty { text-align: center; padding: 50px 20px; border-radius: 20px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--muted-2); }
.dash-empty .ic { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 10px; }
.latest-list { display: grid; }
.latest-list button { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: start; font-size: .9rem; border-radius: 10px; }
.latest-list button:hover { background: var(--mint-2); }
.latest-list button:last-child { border-bottom: 0; }

/* =============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-inner { justify-content: space-between; }
  .hdr-actions { margin-inline-start: auto; }
  .ruler { display: none; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .hero-grid, .phero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hv-stage { width: min(78vw, 470px); }
  .hero { padding-top: 30px; }
  .hero-copy { text-align: center; }
  .hero-loc, .hero-actions, .hero-facts, .hero-motto { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .phero-grid .frame { order: -1; width: min(72vw, 400px); }
  .phero-copy { text-align: center; }
  .phero-copy .crumbs, .phero-copy .sh-index, .phero-actions { justify-content: center; }
  .phero .lead { margin-inline: auto; }
  .st-grid, .split, .join-grid, .def-grid, .map-grid, .apply-grid, .contact-grid, .faq-wrap, .anat { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split .frame { width: min(84vw, 460px); }
  .apply-aside { position: static; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .lockups { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .mocks { grid-template-columns: 1fr 1fr; }
  .mock, .mock:nth-child(1), .mock:nth-child(2) { grid-column: auto; }
}
@media (max-width: 980px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: fixed; z-index: 210; inset-block: 0; inset-inline-start: 0; width: 270px; transform: translateX(-100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
  [dir="rtl"] .dash-side { transform: translateX(100%); }
  .dash-side.is-open { transform: none !important; }
  .dash-menu { display: inline-grid; }
  .dash-grid { grid-template-columns: 1fr; }
  .panel--map { grid-row: auto; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-user { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 66px; }
  .utility { display: none; }
  .brand-logo { height: 42px; }
  .hide-md { display: none !important; }
  .fpanels { flex-direction: column; height: auto; }
  .fpanel { min-height: 330px; flex: none !important; }
  .fp-line, .fpanel .link-arrow { opacity: 1; transform: none; }
  .story { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 24px; margin-bottom: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
  .story-step-img { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
  .story-step-img img { width: 100%; height: 100%; object-fit: cover; }
  .serve-net { display: none; }
  .serve-core { margin-bottom: 22px; }
  .serve-grid, .aud-grid, .mini-pillars--row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { position: fixed; z-index: 58; inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; padding: 6px; border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
  .mobile-bar a { display: grid; justify-items: center; gap: 2px; padding: 7px 4px; border-radius: 12px; font-size: .74rem; font-weight: 600; color: var(--text-2); }
  .mobile-bar a .ic { width: 20px; height: 20px; color: var(--accent); }
  .mobile-bar-main { background: var(--green); color: #fff !important; }
  .mobile-bar-main .ic { color: var(--gold-lt) !important; }
  [data-theme="dark"] .mobile-bar-main { background: var(--gold-lt); color: var(--green-dk) !important; }
  [data-theme="dark"] .mobile-bar-main .ic { color: var(--green-dk) !important; }
  .ftr-body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(90px + env(safe-area-inset-bottom)); inset-inline-start: 14px; width: 44px; height: 44px; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hide-sm { display: none !important; }
  .hdr-actions { gap: 2px; }
  .lang-switch a { min-width: 30px; padding: 0 5px; }
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  html[lang="fr"] .hero-title, html[lang="en"] .hero-title { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .hero-facts { flex-direction: column; align-items: center; gap: 12px; }
  .hero-facts li { border: 0; padding: 0; margin: 0; }
  .hero-actions .btn { width: 100%; }
  .hv-stage { width: 86vw; }
  .orb-in .tile--orb { width: 48px; height: 48px; }
  .orb-in { left: -24px; top: -24px; }
  .hv-tag { display: none; }
  .field-grid, .type-pick, .mtypes, .pcard-rows, .rd-grid, .status-legend, .sb-legend { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .steps-inline { grid-template-columns: 1fr; }
  .steps-inline li { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .wizard-steps li { font-size: 0; gap: 0; justify-content: center; }
  .wizard-steps li.is-current { font-size: .8rem; gap: 8px; }
  .wizard-nav { flex-wrap: wrap; }
  .wizard-nav .btn { flex: 1; }
  .ftr-grid { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .mocks { grid-template-columns: 1fr; }
  .font-row { grid-template-columns: 1fr; }
  .spec { text-align: start; }
  .motto-card { flex-direction: column; text-align: center; }
  .chain li span { padding: 8px 14px; }
  .chain li + li::before { width: 26px; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .bar-row { grid-template-columns: 96px 1fr 34px; gap: 8px; }
  .na-item { grid-template-columns: 70px 1fr; }
  .na-actions { grid-column: 1 / -1; }
  .filter-bar select { flex: 1; min-width: 130px; }
  .latest-list button { grid-template-columns: 1fr auto; }
  .latest-list button > :nth-child(3) { display: none; }
  .map-count { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pstep { grid-template-columns: 1fr; }
  .pstep .tile { grid-row: auto; margin-bottom: 8px; }
  .pstep p { grid-column: 1; }
}
@media (hover: none) {
  .orb-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
  .ink-w { opacity: 1; }
}
