@charset "UTF-8";
/* ==========================================================================
   AQLAM.SA — Design System
   بيت خبرة سعودي · Arabic-first, RTL
   Tokens → Base → Layout → Components → Sections → Utilities → Responsive
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand */
  --navy-900: #16283F;
  --navy-800: #1A3050;
  --navy-700: #1F3A5F;
  --navy-600: #2B4E7A;
  --gold-600: #9E7430;
  --gold-500: #B98A3E;
  --gold-400: #C9A05B;
  --gold-300: #D9B878;
  --gold-100: #F0E4CC;
  --emerald-700: #128056;
  --emerald-600: #199B69;
  --emerald-100: #DFF3EA;

  /* Neutrals */
  --ink-900: #101828;
  --ink-700: #344054;
  /* ink-500/400 are tuned to clear 4.5:1 on BOTH paper-0 and paper-100 */
  --ink-500: #59626F;
  --ink-400: #666F7D;
  --paper-0: #FBFAF7;
  --paper-50: #F8F6F1;
  --paper-100: #F2EFE8;
  --paper-200: #EAE5DA;
  --line-200: #E5E0D5;
  --line-300: #D6CFC0;
  --white: #FFFFFF;

  /* Status */
  --danger: #C0392B;
  --danger-bg: #FCEDEB;
  --success: #14795A;
  --success-bg: #E4F4EE;
  --warn: #A9701A;
  --warn-bg: #FBF1DF;

  /* Typography */
  --font-head: "Almarai", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-latin: "Lexend", "Segoe UI", Arial, sans-serif;
  --fs-base: 17px;
  --lh-body: 1.9;

  /* Space scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius & elevation */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow-card: 0 8px 24px rgb(22 40 63 / 6%);
  --shadow-card-hover: 0 14px 34px rgb(22 40 63 / 10%);
  --shadow-pop: 0 18px 48px rgb(22 40 63 / 14%);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 420ms;

  --header-h: 84px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink-900);
  background: var(--paper-0);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy-900);
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); line-height: 1.28; }
h2 { font-size: clamp(1.62rem, 3vw, 2.3rem); line-height: 1.33; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.45; }
h4 { font-size: 1.09rem; font-weight: 700; line-height: 1.5; }
p  { margin: 0 0 var(--s-4); }
a  { color: var(--navy-700); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--gold-600); }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--s-4); padding-inline-start: 1.35em; }
li { margin-bottom: var(--s-2); }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line-200); margin: var(--s-6) 0; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--gold-300); color: var(--navy-900); }

/* Latin / numeral isolation */
.ltr, .num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: var(--font-latin);
  font-feature-settings: "tnum" 1;
}
.num { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: 0;
  background: var(--gold-500); color: var(--navy-900);
  padding: 12px 20px; z-index: 999; font-weight: 700; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transform: translateY(-140%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--s-5); }
.container-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: var(--s-5); }
.measure { max-width: 68ch; }

.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--paper-100); }
.section--paper50 { background: var(--paper-50); }
.section--navy { background: var(--navy-900); color: #E8EEF6; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy a { color: var(--gold-300); }
.section--navy p { color: #C6D2E2; }

.grid { display: grid; gap: var(--s-5); }
.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.stack > * + * { margin-top: var(--s-4); }
.flex { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }

/* Corner watermark (calligraphic line-art, 4%) */
.wm { position: relative; overflow: hidden; }
.wm::after {
  content: ""; position: absolute; inset-block-start: -40px; inset-inline-start: -60px;
  width: 420px; height: 420px; opacity: .045; pointer-events: none;
  background: url("../img/watermark.svg") no-repeat center / contain;
}
.wm--bl::after { inset-block-start: auto; inset-block-end: -70px; inset-inline-start: auto; inset-inline-end: -70px; }
.section--navy.wm::after { opacity: .07; filter: brightness(0) saturate(100%) invert(72%) sepia(28%) saturate(560%) hue-rotate(3deg) brightness(92%); }

/* ---------- 4. TYPOGRAPHIC COMPONENTS ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; color: var(--gold-600); text-transform: none;
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold-500); display: block;
}
.section--navy .eyebrow { color: var(--gold-300); }
.section--navy .eyebrow::before { background: var(--gold-400); }

.lead { font-size: 1.16rem; line-height: 1.85; color: var(--ink-700); }
.section--navy .lead { color: #C6D2E2; }
.muted { color: var(--ink-500); }
.small { font-size: .88rem; line-height: 1.75; }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.rule-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); border: 0; margin: var(--s-6) 0; }

.pullquote {
  border-inline-start: 3px solid var(--gold-500);
  padding: var(--s-2) 0 var(--s-2) 0; padding-inline-start: var(--s-5);
  margin: var(--s-6) 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.32rem;
  line-height: 1.75; color: var(--navy-900);
}
.pullquote cite { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 600; font-style: normal; color: var(--gold-600); margin-top: var(--s-3); }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-body); font-weight: 700; font-size: .97rem;
  border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .i { flex: none; }

.btn--gold { background: var(--gold-500); color: #2A1D06; border-color: var(--gold-500); }
.btn--gold:hover { background: var(--gold-400); border-color: var(--gold-400); color: #2A1D06; box-shadow: 0 6px 18px rgb(185 138 62 / 28%); }
.btn--navy { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--line-300); }
.btn--outline:hover { border-color: var(--navy-900); background: var(--white); color: var(--navy-900); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 38%); }
.btn--outline-light:hover { background: rgb(255 255 255 / 10%); border-color: var(--gold-300); color: var(--white); }
.btn--emerald { background: var(--emerald-600); color: var(--white); border-color: var(--emerald-600); }
.btn--emerald:hover { background: var(--emerald-700); border-color: var(--emerald-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: transparent; padding-inline: 10px; }
.btn--ghost:hover { color: var(--gold-600); background: var(--paper-100); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 700; font-size: .94rem; color: var(--navy-700);
}
.link-arrow svg { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { color: var(--gold-600); }
.link-arrow:hover svg { transform: translateX(-4px); }
.section--navy .link-arrow { color: var(--gold-300); }

/* ---------- 6. CHIPS / BADGES ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--paper-100); border: 1px solid var(--line-200);
  font-size: .84rem; font-weight: 600; color: var(--ink-700);
}
.chip--gold { background: var(--gold-100); border-color: #E4D3AE; color: var(--gold-600); }
.chip--emerald { background: var(--emerald-100); border-color: #BFE6D6; color: var(--emerald-700); }
.chip--navy { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 18%); color: #D8E2EF; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .01em;
}
.badge--available { background: var(--gold-100); color: var(--gold-600); }
.badge--soon { background: transparent; color: var(--ink-500); border: 1px dashed var(--line-300); }
.badge--new { background: var(--emerald-100); color: var(--emerald-700); }
.badge--dot::before { content:""; width:6px;height:6px;border-radius:50%;background: currentColor; }

/* ---------- 7. CARDS ---------- */
.card {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--r-md);
  padding: var(--s-5); box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  position: relative; display: flex; flex-direction: column;
}
a.card, .card--link { cursor: pointer; }
a.card:hover, .card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--line-300); }
.card__icon {
  width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-300); margin-bottom: var(--s-4); flex: none;
}
.card__icon--paper { background: var(--gold-100); color: var(--gold-600); }
.card__icon--emerald { background: var(--emerald-100); color: var(--emerald-700); }
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--ink-700); font-size: .96rem; line-height: 1.8; margin-bottom: var(--s-4); }
.card__foot { margin-top: auto; padding-top: var(--s-2); }
.card--navy { background: var(--navy-800); border-color: rgb(255 255 255 / 10%); color: #C6D2E2; }
.card--navy h3, .card--navy h4 { color: var(--white); }
.card--navy p { color: #B7C5D8; }
.card--flat { box-shadow: none; }
.card--outline-gold { border-color: #E4D3AE; }

/* numbered card */
.card__num {
  font-family: var(--font-latin); font-size: .95rem; font-weight: 600;
  color: var(--gold-600); border: 1px solid var(--gold-300); border-radius: 50%;
  width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: var(--s-4);
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding-inline-start: 30px; margin-bottom: var(--s-3);
  font-size: .97rem; line-height: 1.8; color: var(--ink-700);
}
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 16px; height: 16px; background: url("../img/check.svg") no-repeat center / contain;
}
.section--navy .checklist li { color: #C6D2E2; }

/* Deliverable / document card */
.doc-card {
  display: flex; align-items: center; gap: var(--s-3);
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--r-sm);
  padding: 14px 16px; box-shadow: var(--shadow-card);
}
.doc-card__ic { width: 36px; height: 44px; flex: none; }
.doc-card b { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--navy-900); font-weight: 700; }
.doc-card span { font-size: .82rem; color: var(--ink-500); }

/* ---------- 8. HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(251 250 247 / 92%); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-200);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: var(--header-h); padding-block: 10px;
}
/* the header carries more items than body copy — let it use the full width */
.site-header > .container { max-width: 1560px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__ar { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: var(--navy-900); letter-spacing: -.01em; }
.brand__en { font-family: var(--font-latin); font-size: .63rem; letter-spacing: .07em; color: var(--gold-600); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a {
  position: relative; padding: 10px 11px; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 600; color: var(--navy-800); white-space: nowrap;
}
.nav a:hover { color: var(--gold-600); background: rgb(185 138 62 / 8%); }
.nav a[aria-current="page"] { color: var(--gold-600); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 11px; bottom: 3px; height: 2px;
  background: var(--gold-500); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.lang-toggle {
  min-height: 40px; padding: 6px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line-200); background: transparent;
  font-family: var(--font-latin); font-size: .78rem; font-weight: 600; color: var(--ink-500);
}
.lang-toggle:hover { border-color: var(--gold-400); color: var(--gold-600); }

/* Scrolled state → navy */
.site-header.is-solid {
  background: var(--navy-900); border-bottom-color: rgb(255 255 255 / 10%);
  box-shadow: 0 6px 24px rgb(22 40 63 / 14%);
}
.site-header.is-solid .brand__ar { color: var(--white); }
.site-header.is-solid .brand__en { color: var(--gold-300); }
.site-header.is-solid .nav a { color: #D8E2EF; }
.site-header.is-solid .nav a:hover, .site-header.is-solid .nav a[aria-current="page"] { color: var(--gold-300); background: rgb(255 255 255 / 7%); }
.site-header.is-solid .lang-toggle { border-color: rgb(255 255 255 / 22%); color: #C6D2E2; }
.site-header.is-solid .brand__mark--navy { display: none; }
.site-header.is-solid .brand__mark--gold { display: block; }
.brand__mark--gold { display: none; }

/* Burger + mobile sheet */
.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-200);
  background: transparent; border-radius: var(--r-sm); padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: all var(--t-base) var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px;
  background: var(--navy-900); border-radius: 2px; transition: all var(--t-base) var(--ease);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.site-header.is-solid .burger { border-color: rgb(255 255 255 / 22%); }
.site-header.is-solid .burger span, .site-header.is-solid .burger span::before, .site-header.is-solid .burger span::after { background: var(--white); }

.mobile-sheet {
  position: fixed; inset: 0; z-index: 200; background: var(--navy-900);
  padding: var(--s-5); display: flex; flex-direction: column;
  transform: translateY(-100%); visibility: hidden;
  transition: transform var(--t-base) var(--ease), visibility var(--t-base);
  overflow-y: auto;
}
.mobile-sheet.is-open { transform: none; visibility: visible; }
.mobile-sheet__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-6); }
.mobile-sheet__close {
  width: 46px; height: 46px; border-radius: var(--r-sm); background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%); color: var(--white); display: grid; place-items: center; font-size: 1.4rem; line-height: 1;
}
.mobile-sheet nav { display: flex; flex-direction: column; }
.mobile-sheet nav a {
  padding: 16px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.16rem;
  color: var(--white); border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.mobile-sheet nav a:hover, .mobile-sheet nav a[aria-current="page"] { color: var(--gold-300); }
.mobile-sheet__foot { margin-top: var(--s-6); display: grid; gap: var(--s-3); }

/* ---------- 9. HERO ---------- */
.hero {
  position: relative; background: var(--navy-900); color: #D8E2EF;
  /* smaller bottom pad: a tall gap before the next (also navy) section reads as page-end */
  padding-block: clamp(56px, 8vw, 104px) clamp(32px, 3.5vw, 52px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 88% 12%, rgb(185 138 62 / 16%), transparent 62%),
    radial-gradient(700px 380px at 8% 96%, rgb(31 58 95 / 90%), transparent 60%);
  pointer-events: none;
}
/* sits on the side opposite the copy (left in RTL) so it never fights the H1 */
.hero::after {
  content: ""; position: absolute; inset-block-start: 4%; inset-inline-end: -2%;
  width: min(580px, 46vw); height: min(580px, 46vw); opacity: .09; pointer-events: none;
  background: url("../img/watermark.svg") no-repeat center / contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(24%) saturate(560%) hue-rotate(357deg) brightness(92%);
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 16ch; margin-bottom: var(--s-5); }
.hero .lead { max-width: 60ch; font-size: 1.2rem; color: #C6D2E2; }
.hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.hero__gold { color: var(--gold-300); }

.hero--page { padding-block: clamp(52px, 6.5vw, 88px); }
.hero--page h1 { max-width: 22ch; }
.hero__en {
  font-family: var(--font-latin); font-size: .8rem; letter-spacing: .16em;
  color: var(--gold-300); text-transform: uppercase; margin-bottom: var(--s-3); display: block;
}

/* Trust strip — sectors served, not registration data (that lives in the footer) */
.trust {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid rgb(255 255 255 / 12%);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5);
  font-size: .87rem; color: #A9B9CE;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400); }
.trust__label {
  font-weight: 700; color: var(--gold-300); letter-spacing: .04em;
  padding-inline-end: var(--s-2);
}
.trust__label::before { display: none; }

/* Scroll affordance — names the next section instead of a bare arrow */
.scroll-cue {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: var(--s-6); font-size: .92rem; font-weight: 700;
  color: var(--gold-300); padding-block: 6px;
}
.scroll-cue:hover { color: var(--gold-300); }
.scroll-cue__ring {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  border: 1px solid rgb(217 184 120 / 42%); display: grid; place-items: center;
  animation: cueBob 2.6s cubic-bezier(.45,0,.25,1) infinite;
}
.scroll-cue:hover .scroll-cue__ring { border-color: var(--gold-300); background: rgb(217 184 120 / 12%); }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Breadcrumb */
.crumbs { font-size: .84rem; color: #A9B9CE; margin-bottom: var(--s-4); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: #A9B9CE; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs .sep { opacity: .5; }

/* ---------- 10. STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line-200); border: 1px solid var(--line-200); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--paper-0); padding: var(--s-6) var(--s-5); text-align: center; }
.stat__n {
  font-family: var(--font-latin); font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; color: var(--gold-600); display: block;
  direction: ltr; unicode-bidi: isolate;
}
.stat__l { font-size: .93rem; font-weight: 600; color: var(--ink-700); margin-top: var(--s-2); display: block; }

/* ---------- 11. SCROLL JOURNEY ---------- */
.journey { background: var(--navy-900); color: #D8E2EF; position: relative; }
.journey h1, .journey h2, .journey h3, .journey h4 { color: var(--white); }
.journey p { color: #B7C5D8; }
.journey .lead { color: #C6D2E2; }
.journey a:not(.btn) { color: var(--gold-300); }
/* Scroll range for the pinned narrative: one viewport per stage */
.journey--pinned { min-height: 420vh; }
/* hero and journey share the same navy — a gold hairline marks the section change */
.journey--pinned::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgb(185 138 62 / 55%), transparent);
}
.journey__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding-bottom: var(--s-4); margin-bottom: clamp(20px, 3vw, 40px);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.journey__head .eyebrow { margin-bottom: 0; }
.journey__counter {
  font-family: var(--font-latin); font-size: .82rem; letter-spacing: .1em; color: #8FA2BC;
  direction: ltr; unicode-bidi: isolate; flex: none;
}
.journey__counter b { color: var(--gold-300); font-size: 1.06rem; font-weight: 600; }
.journey__sticky {
  position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column;
  /* asymmetric padding biases the centred block upward, so the section header
     clears the fold as the section enters instead of hiding below it */
  justify-content: center; padding-block: var(--s-5) clamp(32px, 12vh, 140px);
  overflow: hidden;
}
.journey__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.journey__stage { min-height: 196px; position: relative; }
.journey__step {
  position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.journey__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.journey__step .kicker {
  font-family: var(--font-latin); font-size: .78rem; letter-spacing: .18em;
  color: var(--gold-400); display: block; margin-bottom: var(--s-3);
}
.journey__step h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--white); margin-bottom: var(--s-3); }
.journey__step p { font-size: 1.16rem; line-height: 1.8; color: #C6D2E2; max-width: 34ch; }
.journey__viz {
  aspect-ratio: 1 / 1; max-width: 480px; width: 100%; margin-inline: auto; position: relative;
}
.journey__viz::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(31 58 95 / 55%), transparent 68%);
}
.journey__viz svg { position: relative; }
#journeyLine { filter: drop-shadow(0 0 6px rgb(217 184 120 / 45%)); }
.journey__dots { display: flex; gap: 10px; margin-top: var(--s-6); }
.journey__dots i {
  width: 30px; height: 3px; border-radius: 2px; background: rgb(255 255 255 / 18%);
  transition: background var(--t-base) var(--ease);
}
.journey__dots i.on { background: var(--gold-400); }
.journey__spacer { height: 150vh; }
.journey__outro { text-align: center; padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid rgb(255 255 255 / 10%); }
.journey__outro img { height: 92px; width: auto; margin: 0 auto var(--s-5); }

/* static fallback */
.journey-static { display: none; }
.journey-static .card--navy { text-align: start; }

/* ---------- 12. AECM TIMELINE ---------- */
.timeline { position: relative; margin-top: var(--s-7); }
.timeline__line { position: absolute; inset-inline: 0; top: 21px; height: 1px; background: var(--line-300); }
.timeline__line::after { content:""; position:absolute; inset-inline-start:0; top:0; width:100%; height:1px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.timeline__row { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: var(--s-3); position: relative; }
.timeline__item { text-align: center; position: relative; }
.timeline__dot {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto var(--s-3);
  background: var(--paper-0); border: 1px solid var(--gold-300); color: var(--gold-600);
  display: grid; place-items: center; font-family: var(--font-latin); font-size: .9rem; font-weight: 600;
  position: relative; z-index: 2; transition: all var(--t-base) var(--ease);
}
.timeline__item:hover .timeline__dot { background: var(--gold-500); color: var(--white); border-color: var(--gold-500); transform: scale(1.06); }
.timeline__item b { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy-900); font-weight: 700; }
.timeline__item span { display: block; font-family: var(--font-latin); font-size: .68rem; letter-spacing: .05em; color: var(--ink-400); margin-top: 2px; }
.section--alt .timeline__dot { background: var(--paper-100); }

/* ---------- 13. PROGRAM / PRODUCT ---------- */
.prog-card { border-top: 3px solid var(--emerald-600); }
.prog-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.prog-card h3 { margin: 0; }
.prog-card__meta { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line-200); }
.prog-card__count { font-family: var(--font-latin); font-weight: 600; color: var(--emerald-700); font-size: .86rem; }

/* Product cover — generated, A4 portrait */
.cover {
  aspect-ratio: 1 / 1.414; width: 100%; border-radius: 6px; overflow: hidden;
  position: relative; background: var(--navy-900); display: flex; flex-direction: column;
  justify-content: space-between; padding: 16px 14px; color: var(--white);
  border: 1px solid rgb(0 0 0 / 8%); box-shadow: 0 6px 18px rgb(22 40 63 / 14%);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.cover::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 3px; pointer-events: none;
}
.cover::after {
  content: ""; position: absolute; inset-block-end: -18%; inset-inline-start: -14%;
  width: 72%; aspect-ratio: 1; background: url("../img/watermark.svg") no-repeat center / contain;
  opacity: .10; pointer-events: none;
}
.cover__top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.cover__aec { height: 16px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.cover__stage { font-size: .58rem; font-weight: 600; letter-spacing: .04em; color: rgb(255 255 255 / 72%); }
.cover__body { position: relative; z-index: 2; }
.cover__prog {
  display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .05em;
  padding: 3px 9px; border-radius: var(--r-pill); background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 22%); margin-bottom: 8px;
}
/* `.cover` lives inside `.card`, whose `p` rule would otherwise win on specificity */
.cover .cover__title {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(.82rem, 2.1vw, 1.02rem);
  line-height: 1.5; margin: 0; color: var(--white);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.cover__rule { height: 2px; width: 34px; background: var(--gold-400); margin-top: 10px; }
.cover__foot { position: relative; z-index: 2; font-size: .56rem; letter-spacing: .1em; color: rgb(255 255 255 / 66%); font-family: var(--font-latin); }
.cover--emerald { background: #0F5F43; }
.cover--gold { background: #6B4E1F; }
.cover--navy700 { background: var(--navy-700); }
.cover--teal { background: #114C52; }
.cover--plum { background: #4A2740; }
a:hover > .cover, .card--link:hover .cover { transform: translateY(-4px); box-shadow: 0 14px 30px rgb(22 40 63 / 22%); }

.product-card { padding: var(--s-3); gap: var(--s-3); }
.product-card h4 { font-size: .96rem; margin: 0 0 4px; line-height: 1.55; }
.product-card .meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); }
.price { font-family: var(--font-latin); font-weight: 600; color: var(--navy-900); font-size: 1rem; direction: ltr; unicode-bidi: isolate; }
.price--soon { color: var(--ink-400); font-size: .85rem; font-family: var(--font-body); }
.ext-note { font-size: .76rem; color: var(--ink-400); margin-top: 8px; display: flex; gap: 5px; align-items: center; line-height: 1.5; }

/* Filter bar */
.filters {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  padding: var(--s-4); background: var(--white); border: 1px solid var(--line-200);
  border-radius: var(--r-md); margin-bottom: var(--s-6); box-shadow: var(--shadow-card);
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-200);
  background: transparent; font-size: .88rem; font-weight: 600; color: var(--ink-700);
  min-height: 40px; transition: all var(--t-fast) var(--ease);
}
.tab:hover { border-color: var(--gold-400); color: var(--gold-600); }
.tab[aria-selected="true"], .tab.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.search-field { position: relative; flex: 1 1 220px; min-width: 180px; }
.search-field input { padding-inline-start: 42px; }
.search-field svg { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-400); pointer-events: none; }

/* ---------- 14. FORMS ---------- */
.field { margin-bottom: var(--s-4); }
.field label, .label {
  display: block; font-size: .9rem; font-weight: 700; color: var(--navy-900); margin-bottom: 7px;
}
.field .req { color: var(--danger); margin-inline-start: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="url"], input[type="number"], input[type="search"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font-family: var(--font-body); font-size: .97rem; color: var(--ink-900);
  background: var(--white); border: 1px solid var(--line-300); border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
textarea { min-height: 132px; resize: vertical; line-height: 1.8; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 40px;
}
input::placeholder, textarea::placeholder { color: var(--ink-400); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgb(185 138 62 / 18%);
}
.help { font-size: .82rem; color: var(--ink-500); margin-top: 6px; }
.error-msg { font-size: .84rem; color: var(--danger); margin-top: 6px; display: none; align-items: center; gap: 6px; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: var(--danger-bg); }
.field.has-error .error-msg { display: flex; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }

.alert { display: flex; gap: var(--s-3); padding: 14px 16px; border-radius: var(--r-sm); font-size: .92rem; border: 1px solid; align-items: flex-start; }
.alert--error { background: var(--danger-bg); border-color: #F0C4BE; color: #8C2A1F; }
.alert--info { background: var(--paper-100); border-color: var(--line-200); color: var(--ink-700); }
.alert--success { background: var(--success-bg); border-color: #B8E0D0; color: var(--success); }

.success-panel { text-align: center; padding: var(--s-8) var(--s-5); }
.success-panel .tick {
  width: 76px; height: 76px; border-radius: 50%; background: var(--gold-100);
  color: var(--gold-600); display: grid; place-items: center; margin: 0 auto var(--s-5);
}

/* ---------- 15. FOOTER ---------- */
.site-footer { background: var(--navy-900); color: #A9B9CE; padding-top: var(--s-8); border-top: 2px solid var(--gold-500); }
.site-footer h4 { color: var(--white); font-size: .98rem; margin-bottom: var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--s-6); }
.site-footer a { color: #A9B9CE; font-size: .93rem; }
.site-footer a:hover { color: var(--gold-300); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer__lockup { height: 108px; width: auto; margin-bottom: var(--s-4); }
.footer__legal {
  margin-top: var(--s-7); padding-block: var(--s-5); border-top: 1px solid rgb(255 255 255 / 10%);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between;
  font-size: .84rem;
}
.footer__aec { display: flex; align-items: center; gap: 10px; opacity: .75; }
.footer__aec img { height: 26px; width: auto; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 12%); color: #C6D2E2;
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .92rem; }
.contact-line svg { flex: none; margin-top: 5px; color: var(--gold-400); }
.map-embed {
  height: 132px; border-radius: var(--r-sm); border: 1px solid rgb(255 255 255 / 12%);
  background: linear-gradient(135deg, #1B3252 0%, #16283F 100%); position: relative; overflow: hidden;
  display: grid; place-items: center; color: #7E92AC; font-size: .82rem; gap: 6px; margin-top: var(--s-4);
}
.map-embed::before {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
  background-size: 26px 26px;
}
.map-embed > * { position: relative; }

/* CTA banner */
.cta-banner { background: var(--navy-900); color: var(--white); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgb(185 138 62 / 20%), transparent 65%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); margin-bottom: var(--s-3); }
.cta-banner p { color: #C6D2E2; max-width: 56ch; margin-inline: auto; margin-bottom: var(--s-6); }

/* ---------- 16. MISC BLOCKS ---------- */
/* Researcher citation card */
.cite-card { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--r-md); padding: var(--s-5); box-shadow: var(--shadow-card); }
.cite-card__name {
  font-family: "Georgia", "Times New Roman", serif; font-size: 1.14rem; font-weight: 600;
  color: var(--navy-900); direction: ltr; unicode-bidi: isolate; text-align: start; display: block; margin-bottom: 6px;
}
.cite-card__topic { font-size: .93rem; color: var(--gold-600); font-weight: 700; }
.cite-card__note { font-size: .87rem; color: var(--ink-500); margin-top: 8px; line-height: 1.75; }

/* Myth vs stance — stacked so neither line gets squeezed */
.myth {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--r-md);
  padding: var(--s-5); box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.myth__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-400);
  display: block; margin-bottom: 8px;
}
.myth__wrong {
  color: var(--ink-500); text-decoration: line-through;
  text-decoration-color: var(--danger); text-decoration-thickness: 1.5px;
  font-size: .97rem; line-height: 1.8; display: block;
}
.myth__arrow {
  color: var(--gold-500); display: flex; align-items: center; gap: 10px;
  margin: var(--s-4) 0; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
}
.myth__arrow::after { content: ""; flex: 1; height: 1px; background: var(--line-200); }
.myth__arrow svg { transform: rotate(-90deg); flex: none; }
.myth__right {
  color: var(--navy-900); font-weight: 700; font-size: 1.02rem; line-height: 1.75;
  margin-top: auto;
}

/* Framework grid */
.fw-card { display: flex; gap: var(--s-4); padding: var(--s-5); background: var(--white); border: 1px solid var(--line-200); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.fw-card__acr {
  font-family: var(--font-latin); font-weight: 600; font-size: .92rem; letter-spacing: .04em;
  color: var(--gold-600); background: var(--gold-100); border-radius: var(--r-sm);
  padding: 10px 12px; height: fit-content; flex: none; direction: ltr; unicode-bidi: isolate;
}
.fw-card b { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1rem; margin-bottom: 4px; }
.fw-card span { font-size: .89rem; color: var(--ink-500); line-height: 1.7; }

/* Impact layers */
.layer {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5); border-radius: var(--r-md); margin-bottom: 10px;
  border: 1px solid var(--line-200); background: var(--white);
}
.layer__n { font-family: var(--font-latin); font-size: 1.5rem; font-weight: 600; color: var(--gold-500); flex: none; width: 42px; }
.layer b { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1.05rem; }
.layer span { font-size: .9rem; color: var(--ink-500); }
.layer--1 { margin-inline-end: 0; }
.layer--2 { margin-inline-end: 5%; }
.layer--3 { margin-inline-end: 10%; }
.layer--4 { margin-inline-end: 15%; }

/* Impact cycle */
.cycle { list-style: none; padding: 0; margin: 0; counter-reset: c; display: grid; gap: 2px; }
.cycle li {
  counter-increment: c; position: relative; padding: 14px 0 14px 0; padding-inline-start: 52px;
  border-bottom: 1px solid var(--line-200); font-weight: 600; color: var(--navy-900); margin: 0;
}
.cycle li::before {
  content: counter(c); position: absolute; inset-inline-start: 0; top: 12px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: var(--gold-300);
  display: grid; place-items: center; font-family: var(--font-latin); font-size: .85rem; font-weight: 600;
}

/* Mock dashboard (AED) */
.aed {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--r-md);
  box-shadow: var(--shadow-pop); overflow: hidden;
}
.aed__bar { background: var(--navy-900); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.aed__bar b { color: var(--white); font-family: var(--font-head); font-size: .95rem; }
.aed__bar span { font-size: .76rem; color: #A9B9CE; font-family: var(--font-latin); }
.aed__body { padding: var(--s-5); display: grid; gap: var(--s-4); }
.aed__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.aed__kpi { background: var(--paper-50); border: 1px solid var(--line-200); border-radius: var(--r-sm); padding: 12px; }
.aed__kpi b { display: block; font-family: var(--font-latin); font-size: 1.35rem; color: var(--navy-900); font-weight: 600; }
.aed__kpi span { font-size: .76rem; color: var(--ink-500); }
.bar-track { height: 8px; border-radius: 4px; background: var(--paper-200); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: var(--gold-500); }
.bar-fill--emerald { background: var(--emerald-600); }
.bar-fill--danger { background: var(--danger); }
.aed__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); font-size: .88rem; }
.aed__row .lbl { color: var(--ink-700); font-weight: 600; min-width: 130px; }
.aed__row .bar-track { flex: 1; }
.aed__row .val { font-family: var(--font-latin); font-size: .84rem; color: var(--navy-900); font-weight: 600; min-width: 44px; text-align: end; }

/* Case study card */
.case-card { padding: 0; overflow: hidden; }
.case-card__top { background: var(--navy-900); padding: var(--s-5); }
.case-card__top .chip { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 18%); color: #D8E2EF; }
.case-card__top h3 { color: var(--white); margin: var(--s-3) 0 0; font-size: 1.15rem; }
.case-card__body { padding: var(--s-5); }
.result-row { display: flex; align-items: baseline; gap: var(--s-3); padding: 9px 0; border-bottom: 1px dashed var(--line-200); font-size: .92rem; }
.result-row:last-child { border-bottom: 0; }
.result-row b { font-family: var(--font-latin); color: var(--emerald-700); font-weight: 600; min-width: 62px; }

/* Article */
.article-card__cover {
  aspect-ratio: 16 / 10; border-radius: var(--r-sm); position: relative; overflow: hidden;
  background: var(--navy-900); display: grid; place-items: center; margin-bottom: var(--s-4);
}
.article-card__cover::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: url("../img/watermark.svg") no-repeat center / 62%;
}
.article-card__cover .glyph { color: var(--gold-400); opacity: .9; position: relative; }
.article-card__cover--emerald { background: #0F5F43; }
.article-card__cover--gold { background: #6B4E1F; }
.article-card__cover--navy7 { background: var(--navy-700); }
.article-meta { display: flex; gap: var(--s-3); font-size: .82rem; color: var(--ink-500); margin-bottom: 10px; align-items: center; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-300); }

.prose { max-width: 68ch; }
.prose p { font-size: 1.05rem; line-height: 1.95; color: var(--ink-700); }
.prose h2 { margin-top: var(--s-7); font-size: 1.55rem; }
.prose h3 { margin-top: var(--s-6); }
.prose ul li { font-size: 1.02rem; line-height: 1.9; color: var(--ink-700); }
.prose figure { margin: var(--s-6) 0; }
.toc { background: var(--paper-100); border: 1px solid var(--line-200); border-radius: var(--r-md); padding: var(--s-5); position: sticky; top: 110px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 10px; }
.toc a { font-size: .92rem; color: var(--ink-700); font-weight: 600; }
.toc a:hover { color: var(--gold-600); }

/* Empty state */
.empty {
  text-align: center; padding: var(--s-9) var(--s-5); border: 1px dashed var(--line-300);
  border-radius: var(--r-md); background: var(--paper-50);
}
.empty svg { color: var(--line-300); margin: 0 auto var(--s-4); }
.empty h3 { color: var(--ink-700); }
.empty p { color: var(--ink-500); max-width: 42ch; margin-inline: auto; }

/* Carousel */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: var(--s-3); scrollbar-width: thin;
}
.carousel__track > * { scroll-snap-align: start; }
.carousel__track::-webkit-scrollbar { height: 6px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--line-300); border-radius: 3px; }
.carousel__nav { display: flex; gap: var(--s-2); }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-300);
  background: var(--white); display: grid; place-items: center; color: var(--navy-900);
  transition: all var(--t-fast) var(--ease);
}
.carousel__btn:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: var(--s-7); }
.pagination a, .pagination span {
  min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-sm);
  border: 1px solid var(--line-200); font-family: var(--font-latin); font-size: .9rem; color: var(--ink-700);
}
.pagination a:hover { border-color: var(--gold-400); color: var(--gold-600); }
.pagination .is-current { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

/* 404 */
.err-code {
  font-family: var(--font-latin); font-size: clamp(5rem, 16vw, 11rem); font-weight: 600;
  line-height: 1; color: var(--gold-500); opacity: .95; letter-spacing: -.02em;
  direction: ltr; unicode-bidi: isolate;
}

/* Style guide swatches */
.swatch { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-200); }
.swatch__c { height: 78px; }
.swatch__m { padding: 10px 12px; background: var(--white); }
.swatch__m b { display: block; font-size: .85rem; color: var(--navy-900); }
.swatch__m code { font-family: var(--font-latin); font-size: .74rem; color: var(--ink-500); direction: ltr; unicode-bidi: isolate; display: block; }
/* type-scale samples: styled like headings but not in the heading outline */
.type-h1, .type-h2, .type-h3, .type-h4 {
  font-family: var(--font-head); font-weight: 800; color: var(--navy-900); margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.type-h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); line-height: 1.28; }
.type-h2 { font-size: clamp(1.62rem, 3vw, 2.3rem); line-height: 1.33; }
.type-h3 { font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.45; }
.type-h4 { font-size: 1.09rem; font-weight: 700; line-height: 1.5; margin-bottom: 16px; }

.sg-row { padding: var(--s-5) 0; border-bottom: 1px solid var(--line-200); }
.sg-label { font-family: var(--font-latin); font-size: .72rem; letter-spacing: .1em; color: var(--ink-400); text-transform: uppercase; margin-bottom: var(--s-3); }

/* ---------- 17. REVEAL ANIMATION ---------- */
.rv { opacity: 0; transform: translateY(12px); }
.rv.in { opacity: 1; transform: none; transition: opacity 350ms var(--ease), transform 350ms var(--ease); }
.rv-g > * { opacity: 0; transform: translateY(12px); }
.rv-g.in > * { opacity: 1; transform: none; transition: opacity 350ms var(--ease), transform 350ms var(--ease); }
.rv-g.in > *:nth-child(1) { transition-delay: 0ms; }
.rv-g.in > *:nth-child(2) { transition-delay: 70ms; }
.rv-g.in > *:nth-child(3) { transition-delay: 140ms; }
.rv-g.in > *:nth-child(4) { transition-delay: 210ms; }
.rv-g.in > *:nth-child(5) { transition-delay: 280ms; }
.rv-g.in > *:nth-child(6) { transition-delay: 350ms; }
.no-js .rv, .no-js .rv-g > * { opacity: 1; transform: none; }

/* ---------- 18. UTILITIES ---------- */
.mt-0{margin-top:0}.mt-2{margin-top:var(--s-2)}.mt-3{margin-top:var(--s-3)}.mt-4{margin-top:var(--s-4)}
.mt-5{margin-top:var(--s-5)}.mt-6{margin-top:var(--s-6)}.mt-7{margin-top:var(--s-7)}
.mb-0{margin-bottom:0}.mb-3{margin-bottom:var(--s-3)}.mb-4{margin-bottom:var(--s-4)}.mb-5{margin-bottom:var(--s-5)}.mb-6{margin-bottom:var(--s-6)}
.text-center{text-align:center}.text-start{text-align:start}
.gold{color:var(--gold-600)}.emerald{color:var(--emerald-700)}.navy{color:var(--navy-900)}
.w-full{width:100%}
.hide{display:none}

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1380px) {
  .site-header__inner { gap: var(--s-3); }
  .brand__text { display: none; }
  .nav a { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 1120px) {
  .lang-toggle { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 10px 7px; font-size: .87rem; }
}
@media (max-width: 1100px) {
  .timeline__row { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-5); }
  .timeline__line { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav, .header-actions .btn, .lang-toggle { display: none; }
  .burger { display: grid; }
  .brand__text { display: flex; }
  .split { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .journey__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); }
  .aed__kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --fs-base: 16px; }
  /* at narrow widths the watermark crowds the headline — drop it below the copy */
  .hero::after {
    width: 300px; height: 300px; opacity: .05;
    inset-block-start: auto; inset-block-end: -60px; inset-inline-end: -70px;
  }
  .trust { gap: 10px var(--s-4); font-size: .84rem; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .layer--2, .layer--3, .layer--4 { margin-inline-end: 0; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .journey__sticky { min-height: 100svh; }
  .journey__viz { max-width: 260px; }
  .journey__step p { font-size: 1rem; }
}
@media (max-width: 720px) {
  /* two-up product cards are too narrow for a side-by-side price + button */
  .product-card .meta { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-card .meta .btn { width: 100%; }
  .product-card .meta .price { text-align: start; }
}
@media (max-width: 560px) {
  .cols-4, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .aed__kpis { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { width: 100%; }
  .store-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .cover .cover__title { -webkit-line-clamp: 3; }
}

/* ---------- 19b. SHORT VIEWPORTS ---------- */
/* On laptop-height screens the hero must not push the scroll cue below the fold. */
@media (max-height: 820px) {
  .hero { padding-block: clamp(36px, 5vw, 68px) clamp(20px, 2.5vw, 32px); }
  .hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
  .hero .lead { font-size: 1.08rem; }
  .trust { margin-top: var(--s-5); padding-top: var(--s-4); }
  .scroll-cue { margin-top: var(--s-4); }
}
@media (max-height: 760px) {
  .journey__viz { max-width: 360px; }
  .journey__step h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
  .journey__step p { font-size: 1rem; }
}

/* ---------- 20. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .rv, .rv-g > * { opacity: 1 !important; transform: none !important; }
  .journey--pinned { min-height: auto; }
  .journey__sticky { position: static; min-height: auto; }
  .journey__grid, .journey__head { display: none; }
  .journey-static { display: block; }
  .scroll-cue__ring { animation: none; }
}

/* ---------- 21. PRINT ---------- */
@media print {
  .site-header, .site-footer, .burger, .mobile-sheet, .cta-banner { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding-block: 16px; }
}
