/* PDM homepage v1
   Mobile-first, right-to-left. Breakpoints: 720px (tablet), 1080px (desktop). */

:root {
  --ink: #16140F;
  --ink-2: #2C2820;
  --text: #3B372D;
  --muted: #5A5446;
  --ground: #F7F6F2;
  --white: #FFFFFF;
  --line: #E2DDD1;
  --line-strong: #CDBF98;
  --gold: #E3B63F;
  --gold-text: #8F6300;
  --gold-soft: #FBF2D6;
  --violet: #5B2A86;
  --violet-light: #7A4FB0;
  --dark-text: #F3EFE4;
  --dark-muted: #D6D0C2;
  --dark-line: #3A352B;
  --green: #1F6B45;
  --green-soft: #E3F2E9;

  --font-body: "IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --font-display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --radius: 6px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 0 var(--line), 0 12px 32px rgba(22, 20, 15, 0.06);
  --pad-section: 56px;
  --gutter: 20px;
  --header-h: 64px;
}

@media (min-width: 1080px) {
  :root { --pad-section: 88px; --gutter: 32px; --header-h: 84px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--ground);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, dl, dd, figure { margin: 0; }
a { color: var(--gold-text); text-underline-offset: 4px; }
a:hover { color: #5E4100; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.kufi { font-family: var(--font-display); font-weight: 800; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1312px; margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.stack-xs { display: flex; flex-direction: column; gap: 6px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.text-end { text-align: end; }
.title-404 { font-size: clamp(30px, 5vw, 48px); line-height: 1.5; }

.skip-link { position: absolute; top: -100px; right: 16px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Draft banner */
.draft-banner { background: var(--ink); color: var(--gold); font-size: 13px; line-height: 1.5; padding-block: 8px; text-align: center; }

/* Type scale */
h2.kufi { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.5; }
h3.kufi { font-weight: 700; font-size: 22px; line-height: 1.5; }
.display-lg { font-size: clamp(34px, 5vw, 60px) !important; line-height: 1.4 !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-light { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(180, 120, 20, 0.22); }
.btn-gold:hover { color: var(--ink); box-shadow: 0 8px 22px rgba(180, 120, 20, 0.32); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { color: var(--ink); background: rgba(22, 20, 15, 0.04); }
.btn-outline-light { border-color: var(--dark-text); color: var(--dark-text); }
.btn-outline-light:hover { color: var(--dark-text); background: rgba(243, 239, 228, 0.08); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { color: var(--ground); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer;
}
.icon-btn-dark { background: transparent; border-color: var(--dark-line); color: var(--dark-text); }

/* Image slots: designed placeholders until real photos arrive */
.img-warm, .img-dusk, .img-sand, .img-ink { background-repeat: repeat, no-repeat; background-size: 72px 72px, cover; }
.img-warm { background-image: url(../img/zellige.svg), linear-gradient(160deg, #F4CB63 0%, #DA962E 42%, #96521B 100%); }
.img-dusk { background-image: url(../img/zellige.svg), linear-gradient(175deg, #2F251A 0%, #6E4320 55%, #C68837 100%); }
.img-sand { background-image: url(../img/zellige.svg), linear-gradient(150deg, #EAD6AE 0%, #CFA86E 55%, #A26D39 100%); }
.img-ink { background-image: url(../img/zellige.svg), linear-gradient(160deg, #3B3326 0%, #1E1A13 100%); }
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.shot-tag {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px; background: rgba(22, 20, 15, 0.72); color: var(--ground); font-size: 12px; line-height: 1.4;
}
.shot-tag svg { width: 14px; height: 14px; }
.shot-tag-light { background: rgba(247, 246, 242, 0.9); color: var(--ink); }

/* Chips */
.chip { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.5; padding: 3px 10px; border-radius: 99px; background: #EEEBE3; color: var(--muted); white-space: nowrap; }
.chip-draft { background: var(--green-soft); color: var(--green); }
.chip-open { background: var(--ink); color: var(--gold-soft); }
.chip-ink { background: var(--ink); color: var(--ground); }
.chip-line { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }

.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand-lockup { display: none; height: 56px; width: auto; }
.brand-compact { display: flex; align-items: center; gap: 8px; }
.brand-compact img { width: 40px; }
.brand-rule { width: 2px; height: 28px; background: var(--violet); }
.brand-rule-light { background: var(--violet-light); height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.main-nav { display: none; }
.header-tools { margin-right: auto; display: flex; align-items: center; gap: 8px; }
.header-tools .icon-btn { border: 0; }
.lang-switch, .header-cta { display: none; }
.menu-btn { border: 0; }

@media (min-width: 1080px) {
  .brand-lockup { display: block; }
  .brand-compact { display: none; }
  .header-inner { gap: 40px; }
  .main-nav { display: flex; gap: clamp(16px, 1.8vw, 28px); font-size: 16px; font-weight: 500; white-space: nowrap; }
  .main-nav a { color: var(--ink); text-decoration: none; padding-block: 8px; border-bottom: 2px solid transparent; }
  .main-nav a:hover { border-bottom-color: var(--gold); }
  .header-tools { gap: 12px; }
  .header-tools .icon-btn { border: 1px solid var(--line); }
  .lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-mono); font-size: 13px; }
  .lang-switch a { padding: 4px 9px; border-radius: 4px; color: var(--muted); text-decoration: none; line-height: 1.6; }
  .lang-switch a[aria-current="page"] { background: var(--ink); color: var(--ground); font-family: var(--font-body); }
  .header-cta { display: inline-flex; white-space: nowrap; }
  .menu-btn { display: none; }
}

@media (min-width: 1080px) and (max-width: 1239px) { .lang-switch { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--dark-text);
  display: flex; flex-direction: column; padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-head { height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; }
.mobile-nav { display: flex; flex-direction: column; padding-top: 12px; }
.mobile-nav a { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--dark-line); color: var(--dark-text); text-decoration: none; line-height: 1.5; }
.mobile-nav b { font-family: var(--font-display); font-size: 23px; }
.mobile-nav span { font-size: 14px; color: #BDB5A3; }
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.lang-row { display: flex; gap: 8px; }
.lang-row a { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--dark-line); border-radius: var(--radius); color: #BDB5A3; text-decoration: none; }
.lang-row a[aria-current="page"] { border-color: var(--dark-text); color: var(--dark-text); }
body.menu-open { overflow: hidden; }

/* Sections */
.section { padding-block: var(--pad-section); }
.section-white { background: var(--white); }
.section-gold { background: var(--gold-soft); }
.section-dark { position: relative; background: var(--ink); color: var(--dark-text); overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: url(../img/zellige.svg); background-size: 110px 110px; opacity: 0.35; pointer-events: none; }
.section-dark > .container { position: relative; }
.on-dark-muted { color: var(--dark-muted); font-size: 19px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.two-col { display: grid; gap: 32px; align-items: center; }

@media (min-width: 1080px) {
  .section-head { margin-bottom: 48px; }
  .section-head.split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .section-head.split > p { max-width: 26em; }
  .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
}

/* Hero */
.hero { padding-block: 32px 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(60px, 9vw, 124px); line-height: 1.2; letter-spacing: -0.5px; }
.lede { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.85; color: var(--ink-2); max-width: 30em; }
.trust { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.avatars { display: flex; }
.avatars i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ground); background-size: 40px 40px, cover; }
.avatars i + i { margin-right: -10px; }
.hero-media { position: relative; padding-bottom: 40px; }
.hero-media .media { aspect-ratio: 4 / 3; }
.hero-media .shot-tag { left: auto; right: 12px; top: 12px; bottom: auto; }
.float-card {
  position: absolute; left: 14px; right: 14px; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  padding: 14px 16px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 14px 34px rgba(22, 20, 15, 0.16);
  color: var(--ink); text-decoration: none; line-height: 1.4;
}
.float-label { font-size: 12px; font-weight: 600; color: var(--gold-text); }
.float-num { grid-row: 2; font-size: 12px; color: var(--muted); }
.float-num b { font-size: 26px; font-weight: 500; color: var(--ink); margin-left: 6px; }
.float-card .bar { display: none; }
.float-card .link { grid-row: 1 / span 2; grid-column: 2; font-size: 13px; font-weight: 600; color: var(--gold-text); }

@media (min-width: 1080px) {
  .hero { padding-block: 64px 80px; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .hero-copy { gap: 26px; }
  .hero-media { padding-bottom: 0; }
  .hero-media .media { aspect-ratio: auto; height: 620px; }
  .hero-media .shot-tag { right: auto; top: auto; left: 20px; bottom: 20px; }
  .float-card { left: auto; right: -36px; bottom: 48px; width: 300px; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; }
  .float-label { font-size: 13px; }
  .float-num { font-size: 13px; }
  .float-num b { font-size: 38px; }
  .float-card .bar { display: block; }
  .avatars i { width: 38px; height: 38px; }
}

/* Why */
.why-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.why-track::-webkit-scrollbar { display: none; }
.why-card { flex: 0 0 min(84%, 320px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--ground); border-radius: var(--radius-lg); }
.why-card p { color: var(--text); flex-grow: 1; }
.why-card a { font-size: 15px; font-weight: 600; }
.accent-bar { width: 40px; height: 4px; border-radius: 2px; background: var(--gold); }
@media (min-width: 720px) {
  .why-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0; padding: 0; }
}
@media (min-width: 1080px) { .why-card { padding: 28px; } .why-card h3.kufi { font-size: 26px; } }

/* Tracker */
.tracker-grid { display: grid; gap: 32px; align-items: center; }
.big-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; line-height: 1.2; }
.big-count b { font-size: clamp(48px, 6vw, 76px); font-weight: 500; }
.big-count span { font-size: 15px; color: var(--muted); }
.big-status { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.6; }
.tracker-card { padding: 18px 20px; }
.tracker-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tracker-head b { color: var(--ink); }
.tracker-list { list-style: none; margin: 0; padding: 0; }
.tracker-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding-block: 7px; font-size: 14px; line-height: 1.5; }
.tracker-list .bar { grid-column: 1 / -1; }
.tracker-list .count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.tracker-list-status .count { font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.tracker-list-status .status-advanced { color: var(--gold-text); }
.tracker-list-status .status-progress { color: var(--ink); }
.bar { height: 8px; border-radius: 4px; background: #EEEBE3; }
.bar-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gold); }
.bar-pending { background: repeating-linear-gradient(-45deg, #EEEBE3 0 6px, #E4DFD2 6px 12px); }
@media (min-width: 1080px) {
  .tracker-grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .tracker-card { padding: 26px 30px; }
  .tracker-list li { grid-template-columns: 210px minmax(0, 1fr) 52px; padding-block: 5px; }
  .tracker-list .bar { grid-column: auto; }
  .tracker-list .count { text-align: left; }
  .tracker-list-status li { grid-template-columns: 210px minmax(0, 1fr) 76px; }
}

/* Issues */
.issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.issue {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.issue:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 20, 15, 0.07); }
.issue-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.issue-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; }
.issue-icon svg { stroke-width: 1.6; }
.issue h3.kufi { font-size: 19px; }
.issue p { font-size: 14px; line-height: 1.7; color: var(--text); flex-grow: 1; }
.issue-data { display: none; font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.issue .chip { font-size: 11px; padding: 2px 8px; }
.issue-featured { background: var(--gold-soft); border: 1.5px solid var(--ink); }
.issue-featured .issue-icon { background: var(--white); }
.issue-featured .issue-data { font-family: var(--font-body); font-weight: 600; color: var(--gold-text); font-size: 14px; }
@media (min-width: 720px) {
  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .issue { padding: 24px; gap: 12px; min-height: 262px; }
  .issue h3.kufi { font-size: 23px; }
  .issue p { font-size: 15px; }
  .issue-icon { width: 48px; height: 48px; }
  .issue-data { display: block; }
  .issue .chip { font-size: 12px; padding: 3px 10px; }
}

/* Youth */
.youth-grid { display: grid; gap: 36px; align-items: center; }
.youth-stats { display: flex; gap: 28px; padding-top: 18px; border-top: 1px solid var(--dark-line); }
.youth-stats div { display: flex; flex-direction: column-reverse; line-height: 1.4; }
.youth-stats dt { font-size: 13px; color: #BDB5A3; }
.youth-stats dd { font-size: 24px; color: var(--dark-text); }
.videos { display: flex; gap: 12px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scrollbar-width: none; }
.videos::-webkit-scrollbar { display: none; }
.video { flex: 0 0 176px; display: flex; flex-direction: column; gap: 10px; }
.video .media { aspect-ratio: 9 / 16; display: flex; align-items: center; justify-content: center; }
.video figcaption { font-size: 13px; color: var(--dark-muted); }
.play { width: 54px; height: 54px; border-radius: 50%; background: rgba(247, 246, 242, 0.92); display: flex; align-items: center; justify-content: center; }
.play svg { fill: var(--ink); stroke: none; width: 20px; height: 20px; }
.play-sm { width: 40px; height: 40px; }
.play-sm svg { width: 15px; height: 15px; }
.duration { position: absolute; left: 10px; bottom: 10px; font-size: 11px; padding: 2px 7px; border-radius: 4px; background: rgba(22, 20, 15, 0.7); color: var(--dark-text); }
@media (min-width: 1080px) {
  .youth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .youth-stats { gap: 36px; }
  .youth-stats dd { font-size: 26px; }
  .videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; overflow: visible; margin: 0; padding: 0; }
  .video-raised { margin-bottom: 36px; }
  .video figcaption { font-size: 14px; }
}

/* News */
.news-grid { display: grid; gap: 16px; }
.news-feature { display: flex; flex-direction: column-reverse; overflow: hidden; }
.news-feature .media { border-radius: 0; min-height: 170px; }
.news-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.news-body h3.kufi { font-size: 20px; line-height: 1.6; }
.news-body h3 a, .news-item h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a:hover, .news-item h3 a:hover { text-decoration: underline; }
.news-body p { font-size: 15px; color: var(--text); }
.news-body .link { font-size: 15px; font-weight: 600; }
.news-side { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 12px; align-items: center; }
.news-item .media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); }
.news-item h3 { font-size: 15px; line-height: 1.6; font-weight: 600; }
@media (min-width: 1080px) {
  .news-grid { grid-template-columns: 7fr 5fr; gap: 32px; }
  .news-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-body { padding: 32px; gap: 16px; }
  .news-body h3.kufi { font-size: 26px; }
  .news-body p { font-size: 16px; flex-grow: 1; }
  .news-side { gap: 20px; }
  .news-item { grid-template-columns: 132px minmax(0, 1fr); gap: 18px; padding: 18px; }
  .news-item h3 { font-size: 18px; }
}

/* Poll */
.poll { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--ground); border-radius: var(--radius-lg); }
.poll fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.opt {
  min-height: 56px; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-size: 16px; line-height: 1.5; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.opt .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.opt:has(input:checked) { border: 2px solid var(--ink); background: var(--gold-soft); padding: 9px 15px; }
.opt:has(input:checked) .dot::after { background: var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.poll .btn { margin-top: 4px; }
.form-note { font-size: 14px; color: var(--green); line-height: 1.6; }
.form-note:empty { display: none; }
@media (min-width: 1080px) { .poll { padding: 28px; } .opt { font-size: 17px; min-height: 58px; } }

/* Regions */
.regions-grid { display: grid; gap: 24px; }
.chips { display: none; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 40px; padding: 0 15px; border-radius: 99px; border: 1px solid #D8D2C3; background: var(--white); color: var(--ink);
  font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer;
}
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.region-select { display: flex; flex-direction: column; gap: 8px; }
.region-select label { font-weight: 600; font-size: 15px; }
.region-select select { min-height: 52px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.region-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.region-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.region-card h3.kufi { font-size: 20px; }
.person { display: flex; align-items: center; gap: 12px; line-height: 1.4; }
.person small { display: block; font-size: 13px; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background-size: 48px 48px, cover; }
.next-event { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ground); border-radius: var(--radius); font-size: 15px; line-height: 1.6; }
.map-card { order: -1; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.map { position: relative; width: min(100%, 320px); aspect-ratio: 1000 / 1068; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map path { fill: #F1EBDD; stroke: #C9BC9C; stroke-width: 4; stroke-linejoin: round; }
.map-dot {
  position: absolute; width: 24px; height: 24px; transform: translate(-50%, -50%); border-radius: 50%; padding: 0;
  background: transparent; border: 0; cursor: pointer;
}
.map-dot::before { content: ""; position: absolute; inset: -4px; }
.map-dot::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 2px var(--white); transition: width 0.15s ease, height 0.15s ease;
}
.map-dot[aria-pressed="true"]::after { width: 18px; height: 18px; background: var(--gold); box-shadow: 0 0 0 6px rgba(227, 182, 63, 0.3), 0 0 0 2px var(--white); }
.map-label {
  position: absolute; transform: translate(-50%, -190%); white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.5;
  padding: 3px 10px; border-radius: 99px; background: var(--ink); color: var(--ground); pointer-events: none;
}
.map-card figcaption { align-self: flex-start; }
@media (min-width: 720px) {
  .chips { display: flex; }
  .region-select { display: none; }
}
@media (min-width: 1080px) {
  .regions-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
  .map-card { order: 0; padding: 28px; }
  .map { width: min(100%, 470px); }
  .region-card { padding: 24px 26px; }
  .region-card h3.kufi { font-size: 23px; }
}

/* Newsletter */
.newsletter { display: flex; flex-direction: column; gap: 8px; }
.newsletter label { font-size: 15px; color: var(--text); }
.input-row { display: flex; flex-direction: column; gap: 10px; }
.input-row input { min-height: 52px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 16px; }
@media (min-width: 720px) { .input-row { flex-direction: row; } .input-row input { flex: 1; } }

/* Footer */
.site-footer { position: relative; background: var(--ink); color: var(--dark-muted); padding-block: 48px calc(96px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url(../img/zellige.svg); background-size: 110px 110px; opacity: 0.18; pointer-events: none; }
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.footer-grid > :first-child { grid-column: 1 / -1; }
.footer-brand { display: flex; align-items: center; gap: 14px; line-height: 1.4; }
.footer-brand img { width: 56px; }
.footer-brand b { display: block; font-size: 18px; font-weight: 700; color: var(--dark-text); }
.footer-brand small { font-size: 13px; }
.footer-motto { font-size: 22px; font-weight: 700; color: var(--gold); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-footer nav b { color: var(--dark-text); }
.site-footer a { color: var(--dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--dark-text); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.footer-legal, .footer-langs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-langs a[aria-current="page"] { color: var(--dark-text); }
@media (min-width: 1080px) {
  .site-footer { padding-block: 64px 36px; }
  .footer-grid { grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 32px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding-block: 36px 32px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero .container { display: flex; flex-direction: column; gap: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.4; }
.page-hero .lede { max-width: 38em; }
.page-body { padding-block: var(--pad-section); }
.page-grid { display: grid; gap: 28px; }
@media (min-width: 1080px) { .page-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: start; } }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 2; }
.prose > h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(23px, 2.8vw, 30px); line-height: 1.6; margin-top: 28px; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.6; margin-top: 10px; }
.prose p { color: var(--ink-2); }
.prose ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .num-label { color: var(--gold-text); }
.side-col { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1080px) { .side-col { position: sticky; top: calc(var(--header-h) + 16px); } }
.side-box { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); font-size: 15px; line-height: 1.6; }
.side-box > b { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.side-box a { color: var(--ink); text-decoration: none; padding: 5px 8px; border-radius: 4px; }
.side-box a:hover { background: var(--gold-soft); color: var(--ink); }
.side-box a[aria-current="page"] { background: var(--gold-soft); font-weight: 600; }
.side-box p { font-size: 14px; color: var(--muted); }
.quotes { display: flex; flex-direction: column; gap: 14px; }
.quote { margin: 0; padding: 20px 22px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 18px; line-height: 2; color: var(--ink); }
.quote blockquote p::before { content: "«"; color: var(--gold-text); font-weight: 700; margin-inline-end: 3px; }
.quote blockquote p::after { content: "»"; color: var(--gold-text); font-weight: 700; margin-inline-start: 3px; }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--muted); line-height: 1.6; }
.quote figcaption a { font-weight: 600; }
.quote .darija { font-size: 12px; }
.status-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--gold-soft); font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.status-box svg { margin-top: 6px; flex-shrink: 0; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card-link { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.card-link .n { font-size: 14px; font-weight: 600; color: var(--gold-text); }
.card-link h2, .card-link h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.6; }
.card-link p { font-size: 15px; line-height: 1.8; color: var(--text); flex-grow: 1; }
.card-link .more { font-size: 14px; font-weight: 600; color: var(--gold-text); }
.cta-band { margin-top: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: var(--dark-text); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta-band b { font-family: var(--font-display); font-size: 20px; line-height: 1.6; }
.cta-band p { color: var(--dark-muted); font-size: 15px; }
.ph { background: var(--gold-soft); color: var(--gold-text); padding: 0 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .88em; white-space: nowrap; }
.legal-list { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.legal-list div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.7; }
.legal-list div:last-child { border-bottom: 0; }
.legal-list dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.legal-list dd { margin: 0; }
@media (min-width: 720px) { .legal-list div { grid-template-columns: 220px minmax(0, 1fr); gap: 16px; } }
.copy-link { align-self: flex-start; }
.not-found { padding-block: 80px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* Transparency */
.money-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.money-figs div { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); line-height: 1.4; }
.money-figs b { font-size: clamp(22px, 3vw, 32px); font-weight: 500; }
.money-figs span { font-size: 14px; color: var(--muted); }
.fraud-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-lg); background: #FDE7E4; color: #7A1A12; line-height: 1.8; }
.fraud-box svg { flex-shrink: 0; margin-top: 5px; color: #B42318; }
.fraud-box b { display: block; font-size: 17px; }
.fraud-box p { color: inherit; font-size: 16px; }
.commitments { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.commit { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.commit .basis { align-self: flex-start; font-family: var(--font-mono); font-size: 12px; color: var(--gold-text); background: var(--gold-soft); padding: 1px 8px; border-radius: 99px; }
.commit h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.6; }
.commit p { font-size: 15px; line-height: 1.8; }
.publish-table { font-size: 15px; }
.publish-table th, .publish-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: start; line-height: 1.7; }
.publish-table thead th { font-size: 13px; color: var(--muted); background: var(--ground); }
.publish-table tbody tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.tbl-wrap table { border-collapse: collapse; width: 100%; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 17px; line-height: 1.6; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.faq details p { padding-bottom: 14px; font-size: 16px; }
.money-strip { background: var(--ink); color: var(--dark-text); padding-block: 18px; }
.money-strip-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.money-strip p { font-size: 16px; line-height: 1.7; color: var(--dark-muted); }
.money-strip b { color: var(--gold); font-size: 20px; font-weight: 500; }
@media (max-width: 560px) { .money-figs { gap: 8px; } .money-figs div { padding: 12px 10px; } .money-figs span { font-size: 12px; } }

/* Digital */
.draft-chip { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.5; padding: 1px 9px; border-radius: 99px; border: 1px dashed var(--gold-text); color: var(--gold-text); background: transparent; letter-spacing: 0; }
.draft-box { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1.5px dashed var(--gold-text); border-radius: var(--radius-lg); background: var(--white); font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.draft-box b { color: var(--gold-text); }
.axes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.axis { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
.axis h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.6; }
.axis ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.8; }
.digital-band { background: var(--ground); border-top: 1px solid var(--line); }
.digital-grid { display: grid; gap: 28px; align-items: center; }
.digital-axes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.digital-axes li { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); line-height: 1.6; }
.digital-axes b { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.digital-axes span { font-size: 14px; color: var(--muted); }
@media (min-width: 1080px) { .digital-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
@media (max-width: 719px) { .issue-featured { grid-column: 1 / -1; } }
@media (max-width: 420px) { .digital-axes { grid-template-columns: minmax(0, 1fr); } }

/* News, communiqués, events (content from the admin panel) */
.chip-example { background: var(--gold-soft); color: var(--gold-text); }
.chip-cancel { background: var(--violet); color: var(--white); }
.section-title { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.5; }
.byline { font-size: 15px; color: var(--muted); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips[hidden] { display: none; }
.filter-chips button {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.filter-chips button:hover { border-color: var(--ink); }
.filter-chips button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }

.post-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card[hidden] { display: none; }
.post-card-media { aspect-ratio: 16 / 9; border-radius: 0; display: flex; align-items: center; justify-content: center; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-media picture { position: absolute; inset: 0; }
.post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.post-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.6; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { font-size: 15px; line-height: 1.8; color: var(--text); }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; font-weight: 600; }

.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 18px 20px; align-items: start; }
.doc-num { font-size: 14px; font-weight: 600; color: var(--gold-text); background: var(--gold-soft); padding: 4px 10px; border-radius: var(--radius); }
.doc-list h2 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.6; }
.doc-list h2 a { color: var(--ink); text-decoration: none; }
.doc-list h2 a:hover { text-decoration: underline; }
.doc-list p { font-size: 15px; color: var(--text); }

.event-list { display: grid; gap: 12px; }
.event-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 16px 18px; align-items: center; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--ink); color: var(--gold); line-height: 1.2; }
.event-date b { font-size: 26px; }
.event-date span { font-size: 13px; color: var(--dark-text); }
.event-card h3 { font-size: 18px; line-height: 1.6; font-weight: 700; }
.event-card h3 a { color: var(--ink); text-decoration: none; }
.event-card h3 a:hover { text-decoration: underline; }
.past-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.past-list li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.past-list a { color: var(--ink); font-weight: 600; }

.event-facts { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 16px; line-height: 1.7; }
.event-facts div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 10px 14px; background: var(--white); }
.event-facts dt { color: var(--muted); }
.event-facts dd { margin: 0; color: var(--ink); }
.post-cover { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.post-cover img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.post-cover figcaption { font-size: 14px; color: var(--muted); }
.post-body h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.5; margin-top: 12px; }
.post-sign { font-weight: 600; color: var(--ink); }
.post-note { font-size: 15px; line-height: 1.8; padding: 12px 16px; background: var(--gold-soft); border-radius: var(--radius-lg); color: var(--ink-2); }

.video-embed { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-decoration: none; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; }
.video-play:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.video-note { font-size: 13px; color: var(--dark-text); background: rgba(22, 20, 15, 0.55); padding: 4px 10px; border-radius: var(--radius); }
.video-link:hover .video-note { text-decoration: underline; }

/* Project team ("شكون حنا" + homepage strip) */
.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin-block: 8px 12px; }
.team-strip { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1080px) { .team-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.team-card { margin: 0; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.team-photo { aspect-ratio: 1; background: var(--ground); }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.team-name { font-size: 19px; line-height: 1.5; color: var(--ink); }
.team-role { font-size: 14px; color: var(--gold-text); font-weight: 600; }
.team-body .chip { align-self: flex-start; }
.team-quote { margin: 8px 0 0; padding-inline-start: 12px; border-inline-start: 3px solid var(--gold); }
.team-quote p { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.team-card-short .team-quote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-size: 15px; }
@media (max-width: 560px) { .team-card-short .team-body { padding: 12px 12px 16px; } .team-card-short .team-name { font-size: 16px; } .team-card-short .team-quote p { -webkit-line-clamp: 3; font-size: 14px; } }

/* Sticky join bar (phones and tablets only) */
.join-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(22, 20, 15, 0.08); transform: translateY(110%); transition: transform 0.25s ease;
}
.join-bar.is-visible { transform: translateY(0); }
.join-bar .icon-btn { width: 52px; height: 52px; flex-shrink: 0; border: 1.5px solid var(--ink); }
.join-bar .btn { min-height: 52px; }
@media (min-width: 1080px) { .join-bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Lean launch: blocks the live site leaves out (previews and local builds only) */
.not-live { outline: 1.5px dashed var(--gold-text); outline-offset: 4px; border-radius: 4px; }
div.not-live { position: relative; }
div.not-live::before {
  content: "مخفي فالموقع"; position: absolute; top: 0; right: 0; z-index: 2; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.5; padding: 1px 9px; border-radius: 99px;
  background: var(--gold-soft); color: var(--gold-text); white-space: nowrap; pointer-events: none;
}
