/* 7 CUES · سفن كيوز */
@font-face {
  font-family: Alexandria;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(assets/fonts/alexandria-arabic-wght-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: Alexandria;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(assets/fonts/alexandria-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(assets/fonts/montserrat-latin-800-normal.woff2) format("woff2");
}
:root {
  --charcoal: #0B0C10;
  --raised: #171920;
  --line: #262933;
  --line-strong: #7C8292;
  --ivory: #FFFFFF;
  --ivory-light: #FFFFFF;
  --amber: #FFFFFF;
  --amber-soft: #F6E4B6;
  --amber-deep: #7C8292;
  --cue: #FFB52E;
  --cue-bright: #FFB52E;
  --cue-deep: #1E2230;
  --muted: #A9AEBB;
  --muted-on-light: #4A5166;
  --line-on-light: #DDE0E7;
  --ink: #1E2230;
  --lamp: #FFB52E;
  --lamp-on-light: #F0961E;
  --pool: #F6E4B6;
  --c1: #F6E4B6;
  --c2: #F0483C;
  --c3: #FFB52E;
  --c4: #1C9BF0;
  --c5: #22C070;
  --c6: #F0A92E;
  --c7: #F26A1C;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;

  --sans: Alexandria, Montserrat, "Segoe UI", Tahoma, sans-serif;
  --latin: Montserrat, Alexandria, "Segoe UI", sans-serif;

  --page: min(1180px, 100% - 2 * var(--gutter));
  --gutter: 32px;
}

@media (min-width: 900px) {
  :root { --gutter: 48px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body { line-height: 1.65; }

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--cue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-light :focus-visible { outline-color: var(--cue-deep); }

.wrap { width: var(--page); margin-inline: auto; }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -64px;
  background: var(--amber);
  color: var(--charcoal);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
  z-index: 50;
}
.skip:focus { top: 16px; }

.num { font-family: var(--latin); font-weight: 800; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-head.is-solid {
  background: var(--charcoal);
  border-bottom-color: var(--line);
}
.site-head__in {
  width: var(--page);
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }

.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none;
  white-space: nowrap;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ivory);
  padding-block: 8px;
}
.nav a:hover { color: var(--lamp); }
.nav .lang { color: var(--ivory); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--go { background: var(--amber); color: var(--charcoal); }
.btn--go:hover { background: var(--amber-soft); }
.btn--line { border-color: var(--line-strong); color: var(--ivory); }
.btn--line:hover { border-color: var(--ivory); }
.nav .btn { min-height: 42px; padding: 6px 20px; color: var(--charcoal); }
.nav .btn:hover { color: var(--charcoal); }

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 48px; height: 48px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ivory);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin-inline: auto; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; inset-inline: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 1079px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--charcoal);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .site-head { background: var(--charcoal); }
}

/* ---------- hero ---------- */
.hero { position: relative; background: #07080B; overflow: hidden; }
.hero__img { width: 100%; height: 52vh; min-height: 300px; object-fit: cover; object-position: 10% 50%; }
.hero__body { padding: 40px var(--gutter) 56px; background: var(--charcoal); }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 5.5rem);
  line-height: 1.22;
  font-weight: 800;
  max-width: 11ch;
}
html[lang="en"] .hero h1 { line-height: 1.04; max-width: 12ch; letter-spacing: -.01em; }
.hero__lede { margin-top: 20px; max-width: 34em; color: var(--ivory); font-size: 1.125rem; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.cue-light {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--cue-bright);
  margin-inline-end: 12px;
  vertical-align: middle;
}

@media (min-width: 1080px) {
  .hero { min-height: 100vh; display: grid; }
  .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 0% 50%; }
  html[dir="ltr"] .hero__img { object-position: 100% 50%; }
  .hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(to bottom, rgba(11,12,16,.9) 0, rgba(11,12,16,.72) 76px, rgba(11,12,16,0) 168px),
      linear-gradient(to left, rgba(11,12,16,.97) 0%, rgba(11,12,16,.94) 40%, rgba(11,12,16,.5) 56%, rgba(11,12,16,0) 72%),
      linear-gradient(to top, rgba(11,12,16,.95) 0%, rgba(11,12,16,0) 26%);
  }
  html[dir="ltr"] .hero::after {
    background:
      linear-gradient(to bottom, rgba(11,12,16,.9) 0, rgba(11,12,16,.72) 76px, rgba(11,12,16,0) 168px),
      linear-gradient(to right, rgba(11,12,16,.97) 0%, rgba(11,12,16,.94) 40%, rgba(11,12,16,.5) 56%, rgba(11,12,16,0) 72%),
      linear-gradient(to top, rgba(11,12,16,.95) 0%, rgba(11,12,16,0) 26%);
  }
  .hero__body {
    position: relative; z-index: 2;
    background: none;
    width: var(--page);
    margin-inline: auto;
    padding: 148px 0 168px;
    align-self: center;
  }
  .hero h1, .hero__lede { max-width: min(540px, 40vw); }
  html[lang="en"] .hero h1 { max-width: min(600px, 42vw); }
}

/* seven-cue strip under the hero */
.strip { background: var(--charcoal); border-block: 1px solid var(--line); }
@media (min-width: 1080px) {
  .strip { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; background: rgba(11,12,16,.82); border-bottom: 0; }
}
.strip ol {
  width: var(--page);
  margin-inline: auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip ol::-webkit-scrollbar { display: none; }
.strip li { flex: 1 0 auto; }
.strip a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 18px 14px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ivory);
  border-inline-start: 1px solid var(--line);
}
.strip li:first-child a { border-inline-start: 0; padding-inline-start: 0; }
.strip a .num { color: var(--amber); font-size: 1.25rem; line-height: 1; }
.strip a:hover { color: var(--lamp); }
@media (min-width: 1080px) and (max-width: 1359px) {
  .strip a { font-size: .8rem; padding-inline: 11px; gap: 7px; }
  .strip a .num { font-size: 1.05rem; }
}

/* ---------- sections ---------- */
.section { padding-block: 88px; }
@media (min-width: 900px) { .section { padding-block: 128px; } }

.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.3;
  font-weight: 800;
}
html[lang="en"] .section h2 { line-height: 1.12; letter-spacing: -.01em; }
.section__lede { margin-top: 16px; max-width: 36em; color: var(--muted); }

.section--joined { padding-top: 0; }
@media (min-width: 900px) { .section--joined { padding-top: 0; } }

.on-light { background: #FFFFFF; color: var(--ink); }
.on-light .section__lede { color: var(--muted-on-light); }

/* cue line: hairline that ends in the cue dot */
.cue-line { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.cue-line::before { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--cue); flex: none; }
.cue-line::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.on-light .cue-line::after { background: var(--line-on-light); }
.on-light .cue-line::before { background: var(--lamp-on-light); }

/* ---------- cue sheet ---------- */
.sheet { margin-top: 56px; border-bottom: 1px solid var(--line); }
.cue {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 20px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.cue__icon { width: 88px; height: 88px; grid-row: span 2; }
.cue h3 { font-size: 1.375rem; line-height: 1.45; font-weight: 700; }
.cue h3 .num { color: var(--amber); margin-inline-end: 6px; }
.cue__what { color: var(--muted); max-width: 30em; }
.cue__gives { grid-column: 1 / -1; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.cue__gives li {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 4px 14px;
  font-size: .9rem;
}
@media (min-width: 900px) {
  .cue { grid-template-columns: 112px minmax(0, 1.05fr) minmax(0, 1fr); gap: 6px 40px; padding-block: 36px; transition: background-color .2s ease; }
  .cue:hover { background: var(--raised); }
  .cue__icon { width: 112px; height: 112px; grid-row: 1 / span 2; }
  .cue h3 { font-size: 1.625rem; align-self: end; }
  .cue__what { grid-column: 2; grid-row: 2; }
  .cue__gives { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; align-self: center; flex-direction: column; gap: 0; }
  .cue__gives li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; font-size: 1rem; }
  .cue__gives li:last-child { border-bottom: 0; }
}

/* ---------- units ---------- */
.units { margin-top: 56px; display: grid; gap: 40px; }
@media (min-width: 900px) { .units { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.unit img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.unit h3 { margin-top: 20px; font-size: 1.375rem; font-weight: 700; line-height: 1.45; }
.unit__who { color: var(--amber); font-weight: 500; }
.unit p { margin-top: 8px; color: var(--muted); }
.unit .unit__who { margin-top: 4px; color: var(--amber); }

/* ---------- library: one rail per cue ---------- */
.library { overflow: hidden; }
.rail { margin-top: 64px; --rail-h: 150px; }
.section__lede + .rail { margin-top: 48px; }
.rail--stage { --rail-h: 280px; }
.rail--site { --rail-h: 180px; }
@media (min-width: 700px) {
  .rail { margin-top: 72px; --rail-h: 190px; }
  .section__lede + .rail { margin-top: 56px; }
  .rail--stage { --rail-h: 340px; }
  .rail--site { --rail-h: 180px; }
}
@media (min-width: 1100px) {
  .rail { --rail-h: 210px; }
  .rail--stage { --rail-h: 380px; }
  .rail--site { --rail-h: 180px; }
}
.rail__head { display: flex; align-items: baseline; gap: 14px; }
.rail__head h3 { min-width: 0; display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.125rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.3; }
.rail__head .num { color: var(--amber); font-size: 1.5em; line-height: 1; }
.rail__count { flex: none; white-space: nowrap; color: var(--muted); font-size: .9375rem; }
.rail__nav { margin-inline-start: auto; display: none; gap: 8px; }
@media (min-width: 700px), (min-width: 520px) and (hover: hover) and (pointer: fine) { .rail__nav { display: flex; } }
.rail__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--ivory); cursor: pointer; }
.rail__btn:hover { border-color: var(--lamp); color: var(--lamp); }
.rail__btn[disabled] { opacity: .35; cursor: default; border-color: var(--line); color: var(--ivory); }
.rail.is-static .rail__nav { visibility: hidden; }
.rail__nav[hidden] { display: none; }

.rail__track { margin-top: 22px; display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: 6px; border-radius: var(--r-sm); }

.card { flex: none; scroll-snap-align: start; width: calc(var(--rail-h) * 16 / 9); max-width: 66vw; }
.card.r-43, .card.r-wide { max-width: none; }
.card.r-34 { width: calc(var(--rail-h) * .75); }
.card.r-45 { width: calc(var(--rail-h) * .8); }
.card.r-43 { width: min(calc(var(--rail-h) * 4 / 3), 80vw); }
.card:last-child { scroll-snap-align: end; }
.card.r-11 { width: var(--rail-h); }
.card.r-wide { width: calc(var(--rail-h) * 3.19); }
.card.r-text { width: min(232px, 62vw); }
.card__in { display: block; color: inherit; text-decoration: none; }
.card__media, .card__tile { position: relative; display: block; height: var(--rail-h); border-radius: var(--r-md); overflow: hidden; background: var(--raised); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card--video .card__media::after { content: ""; position: absolute; inset-inline-start: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 999px; background: var(--charcoal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.card__tag { display: inline-block; margin-inline-start: 6px; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--amber); color: var(--amber); font-size: .75rem; font-weight: 700; line-height: 1.6; vertical-align: 2px; white-space: nowrap; }
.card__title { display: block; margin-top: 12px; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; }
.card__meta { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; line-height: 1.55; }
a.card__in:hover .card__title { color: var(--lamp); }
a.card__in:hover .card__media, a.card__in:hover .card__tile { outline: 2px solid var(--lamp); outline-offset: -2px; }

.card__tile { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--line); }
.card__tile .card__src { color: var(--muted); font-size: .8125rem; font-weight: 700; line-height: 1.6; }
.card__tile .card__title { margin-top: auto; font-size: 1.0625rem; font-weight: 800; line-height: 1.4; }
.card__tile .card__meta { margin-top: 4px; }
.card--clip .card__tile::after { content: ""; position: absolute; top: 12px; inset-inline-end: 12px; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.card--more .card__tile { background: none; border-color: var(--amber-deep); }
.card--more .card__tile .card__title { color: var(--amber); }
@media (min-width: 700px) {
  .card__tile { padding: 18px; }
  .card__tile .card__title { font-size: 1.25rem; }
  .card__tile .card__meta { margin-top: 6px; }
}
.card--site .card__media { border: 1px solid var(--line); }

/* ---------- partners ---------- */
.partners { margin-top: 48px; display: grid; gap: 0 40px; border-bottom: 1px solid var(--line-on-light); }
.partners li { padding-block: 22px; border-top: 1px solid var(--line-on-light); }
.partners strong { display: block; font-size: 1.375rem; font-weight: 800; line-height: 1.45; }
.partners span { display: block; margin-top: 4px; color: var(--muted-on-light); }
@media (min-width: 700px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- process ---------- */
.steps { margin-top: 56px; display: grid; gap: 32px; counter-reset: none; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-on-light); }
.step::before {
  content: ""; position: absolute; top: -7px; inset-inline-start: 0;
  width: 13px; height: 13px; border-radius: 999px; background: var(--ink);
}
.step--cue::before { background: var(--lamp-on-light); }
.step h3 { font-size: 1.5rem; font-weight: 800; line-height: 1.4; }
.step p { margin-top: 8px; color: var(--muted-on-light); max-width: 22em; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } .step { padding-inline-end: 32px; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; } }
.contact__direct { margin-top: 28px; color: var(--muted); }
.contact__direct a { color: var(--ivory); font-weight: 700; text-underline-offset: 6px; }

.form { background: var(--raised); border-radius: var(--r-md); padding: 28px 24px; display: grid; gap: 22px; }
@media (min-width: 900px) { .form { padding: 40px; } }
.form label, .form legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.form input[type="text"], .form textarea {
  width: 100%;
  background: var(--charcoal);
  color: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font: inherit;
}
.form textarea { min-height: 132px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick > span {
  display: inline-flex; align-items: baseline; gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: .95rem;
  font-weight: 500;
}
.pick > span .num { color: var(--amber); }
.pick input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.pick input:checked + span .num { color: var(--charcoal); }
.pick input:focus-visible + span { outline: 2px solid var(--cue-bright); outline-offset: 3px; }
.form__error { color: var(--amber-soft); font-weight: 500; min-height: 1.6em; }
.form__note { color: var(--muted); font-size: .9rem; }
.form__nojs { color: var(--amber-soft); font-weight: 500; }
.form__nojs a { color: var(--ivory); font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.site-foot__in { display: grid; gap: 36px; }
@media (min-width: 900px) { .site-foot__in { grid-template-columns: auto 1fr; gap: 80px; align-items: end; } }
.site-foot img { height: 132px; width: auto; }
.site-foot__line { font-size: 1.375rem; font-weight: 700; }
.site-foot__nav { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-foot__nav a { color: var(--muted); text-decoration: none; }
.site-foot__nav a:hover { color: var(--lamp); }
.site-foot__legal { margin-top: 28px; color: var(--muted); font-size: .9rem; }

/* ---------- one orchestrated entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__lede, .hero__actions { opacity: 0; transform: translateY(14px); animation: cue-in .6s ease forwards; }
  .hero h1 { animation-delay: .35s; }
  .hero__lede { animation-delay: .55s; }
  .hero__actions { animation-delay: .7s; }
  .hero .cue-light { animation: cue-pulse .5s ease 1; }
  @keyframes cue-in { to { opacity: 1; transform: none; } }
  @keyframes cue-pulse { 0% { transform: scale(.2); opacity: 0; } 70% { transform: scale(1.5); opacity: 1; } 100% { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- release 8 ---------- */
.stats { border-block: 1px solid var(--line); background: var(--raised); }
.stats__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-block: 8px; }
.stats__in li { padding: 18px 8px; display: flex; flex-direction: column; gap: 2px; }
.stats__in strong { color: var(--amber); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stats__in span { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
@media (min-width: 900px) { .stats__in { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats__in li { padding: 28px 16px; } .stats__in strong { font-size: 2.5rem; } }
.units { margin-top: 40px; gap: 28px; }
.unit img { height: auto; aspect-ratio: 16 / 8; }
.unit h3 { margin-top: 14px; }
.section.library { padding-top: 56px; }
@media (min-width: 900px) { .section.library { padding-top: 88px; } }
.card--group { width: min(420px, 82vw); }
.card--group .card__tile { height: auto; min-height: var(--rail-h); }
.card__links { margin-top: 12px; display: grid; gap: 2px 14px; }
@media (min-width: 520px) { .card__links { grid-template-columns: 1fr 1fr; } }
.card__links a { display: block; padding: 6px 0; color: var(--ivory); text-decoration: none; font-size: .9375rem; line-height: 1.45; border-bottom: 1px solid var(--line); }
.card__links a:hover { color: var(--lamp); }
.card--group .card__meta { margin-top: 10px; }
.wa-fab { position: fixed; inset-inline-start: 14px; bottom: 14px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 18px; border-radius: 999px; background: var(--amber); color: var(--charcoal); font-weight: 800; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.wa-fab:hover { background: var(--amber-soft); }
.wa-fab { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s; }
.wa-fab.is-on { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }
@media (min-width: 900px) { .wa-fab { display: none; } }
@media (max-width: 899px) { .site-foot { padding-bottom: 104px; } }
.site-foot__credit { margin-top: 20px; color: var(--muted); font-size: .9rem; }
.site-foot__credit a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.site-foot__credit a:hover { color: var(--lamp); }
.site-foot__legal { margin-top: 8px; }

/* ---------- release 12: الهوية المعتمدة ---------- */
/* كل رقم بلون إشارته: ألوان الحزم للأرقام فقط */
body .num.n1 { color: var(--c1); }
body .num.n2 { color: var(--c2); }
body .num.n3 { color: var(--c3); }
body .num.n4 { color: var(--c4); }
body .num.n5 { color: var(--c5); }
body .num.n6 { color: var(--c6); }
body .num.n7 { color: var(--c7); }
