/* Foire de Tanger: cobalt "bleu de Tanger" on cool white, one accent, a small sun-yellow used only in the mark and the final CTA.
   Radius system: pills for buttons and chips, 18px for panels and photos, 12px for inputs. Logical properties throughout for RTL. */

:root {
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --tint: #EAEFF7;
  --ink: #0E1A2E;
  --muted: #4A5872;
  --line: #D6DDE9;
  --accent: #1F4FD1;
  --accent-hover: #173FAD;
  --accent-ink: #FFFFFF;
  --accent-soft: #E2E9FB;
  --sun: #F4B63F;
  --deep: #0B1736;
  --deep-ink: #EEF2FA;
  --deep-muted: #AEBBD6;
  --shadow: 0 1px 2px rgb(14 26 46 / .06), 0 12px 32px -12px rgb(31 79 209 / .18);
  --r: 18px;
  --r-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1020;
    --surface: #111A2E;
    --tint: #0E172B;
    --ink: #E8EDF7;
    --muted: #A5B1C8;
    --line: #24324F;
    --accent: #85A4FF;
    --accent-hover: #A6BDFF;
    --accent-ink: #0A1020;
    --accent-soft: #17244A;
    --deep: #060C1C;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
.lang-ar { --font-display: "Readex Pro", system-ui, sans-serif; --font-body: "Readex Pro", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.lang-ar body, body.lang-ar { line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9rem; }

/* Icons */
.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .ic { width: 18px; height: 18px; }
.btn:hover .ic-arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ic-arrow { transform: scaleX(-1) translateX(3px); }
.ic-arrow { transition: transform .25s var(--ease); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-sun { background: var(--sun); color: #1A1406; }
.btn-sun:hover { background: #FFC85E; }
.btn-ghost-light { border-color: rgb(238 242 250 / .4); color: var(--deep-ink); }
.btn-ghost-light:hover { border-color: var(--deep-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1.1; }
.logo-word b { font: 700 1.05rem/1.1 var(--font-display); letter-spacing: -.01em; }
.logo-word small { font-size: .75rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.lang-ar .logo-word b { font-size: 1.15rem; }
.primary { margin-inline-start: auto; }
.primary ul { display: flex; gap: 4px; }
.primary a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.primary a:hover { color: var(--ink); background: var(--tint); }
.primary a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch[lang="ar"] { font-family: "Readex Pro", sans-serif; }
.lang-switch[lang="fr"] { font-family: "Onest", sans-serif; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); padding: 16px var(--gutter) 24px; max-height: calc(100dvh - 70px); overflow-y: auto; }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu li a { display: block; padding: 12px 4px; font: 600 1.15rem/1.3 var(--font-display); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu li a[aria-current="page"] { color: var(--accent); }
.mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
@media (max-width: 1080px) {
  .primary, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.125rem; max-width: 62ch; }
.section-head.center p { margin-inline: auto; }
.kicker, .eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.lang-ar .kicker, .lang-ar .eyebrow { letter-spacing: 0; font-size: .95rem; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 52ch; }
.more { margin-top: 28px; }
.h3 { font-size: 1.3rem; }

/* Home hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.lang-ar .hero-copy h1 { line-height: 1.25; letter-spacing: 0; font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.hero-copy .lead { margin-top: 20px; }
.hero-copy .cta-row { margin-top: 32px; }
.hero-visual { position: relative; padding: 28px 0 40px; padding-inline-start: 36px; }
.hero-main { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero-inset { position: absolute; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 5px solid var(--bg); }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset.a { inset-inline-start: 0; bottom: 0; width: 26%; aspect-ratio: 3 / 4; }
.hero-inset.b { inset-inline-end: -12px; top: 0; width: 30%; aspect-ratio: 4 / 3; }
.hero-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-facts li { display: flex; gap: 12px; align-items: flex-start; }
.hero-facts .ic { color: var(--accent); margin-top: 3px; }
.hero-facts small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 500; }
.hero-facts span { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  /* Hero copy and main photo stay visible from the first paint (LCP); only the small insets animate in. */
  .hero-main img { animation: settle 1.4s var(--ease) both; }
  .hero-inset { animation: rise 1s var(--ease) .25s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 0 0 28px; padding-inline-start: 0; }
  .hero-main { aspect-ratio: 16 / 10; }
  .hero-inset.a { width: 24%; inset-inline-start: 12px; }
  .hero-inset.b { display: none; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
}

/* Universes bento */
.uni-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.uni { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; isolation: isolate; }
.uni-home { grid-column: span 5; grid-row: span 2; }
.uni-taste { grid-column: span 7; }
.uni-craft { grid-column: span 7; }
.uni-world { grid-column: span 6; }
.uni-style { grid-column: span 3; }
.uni-leisure { grid-column: span 3; }
.uni.has-photo { color: #fff; }
.uni-media { position: absolute; inset: 0; z-index: -1; }
.uni-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.uni-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 14 30 / .08) 0%, rgb(8 14 30 / .35) 40%, rgb(8 14 30 / .88) 100%); }
a.uni:hover .uni-media img { transform: scale(1.04); }
.uni.tinted { background: var(--accent-soft); justify-content: space-between; }
.uni-leisure.tinted { background: var(--surface); border: 1px solid var(--line); }
.uni-ic { display: grid; place-items: center; width: 52px; height: 52px; margin: 24px 24px 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.uni-ic .ic { width: 24px; height: 24px; }
.uni-body { padding: 24px; }
.uni-body h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.uni-body p { margin-top: 8px; max-width: 46ch; }
.uni.has-photo .uni-body p { color: rgb(255 255 255 / .88); }
.uni.tinted .uni-body p { color: var(--muted); }
.uni-items { font-size: .875rem; opacity: .85; }
.uni.has-photo .uni-items { color: rgb(255 255 255 / .75) !important; }
@media (max-width: 900px) {
  .uni-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .uni-home, .uni-taste, .uni-world { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .uni-craft { grid-column: 1 / -1; min-height: 280px; }
  .uni-style, .uni-leisure { grid-column: span 1; }
}
@media (max-width: 560px) {
  .uni-grid { grid-template-columns: 1fr; }
  .uni-craft, .uni-style, .uni-leisure { grid-column: 1 / -1; min-height: 260px; }
}

/* Visit / exhibit duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.duo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.duo-card.dark { background: var(--deep); border-color: var(--deep); color: var(--deep-ink); }
.duo-card.dark p, .duo-card.dark .ticks li { color: var(--deep-muted); }
.duo-card.dark .link, .duo-card.dark .ticks .ic { color: var(--sun); }
.duo-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.duo-card > p { color: var(--muted); }
.duo-card .link { margin-top: auto; padding-top: 8px; }
.duo-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.duo-card.dark .duo-ic { background: rgb(244 182 63 / .14); color: var(--sun); }
.tag { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.duo-card.dark .tag { color: var(--deep-muted); }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* Ticks */
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--accent); width: 18px; height: 18px; margin-top: 4px; }

/* Why band */
.why-band { position: relative; padding-block: clamp(64px, 10vw, 140px); isolation: isolate; }
.why-media { position: absolute; inset: 0; z-index: -1; }
.why-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.why-panel { max-width: 560px; background: var(--surface); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.why-panel .section-head { margin-bottom: 24px; }
.why-points { display: grid; gap: 20px; }
.why-points li { display: flex; gap: 16px; }
.why-points h3 { font-size: 1.05rem; }
.why-points p { color: var(--muted); margin-top: 4px; font-size: 1rem; }
.why-ic, .good-ic, .act-ic, .travel-ic, .uni-row-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* Activities scroller (the one horizontal strip on the page) */
.act-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.act-scroller::-webkit-scrollbar { display: none; }
.act-track { display: flex; gap: 16px; width: max-content; padding-bottom: 6px; }
.act { width: 290px; scroll-snap-align: start; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.act:nth-child(3n+1) { background: var(--accent-soft); border-color: transparent; }
.act h3 { font-size: 1.1rem; }
.act p { color: var(--muted); font-size: .975rem; }
.act-track:focus-visible { outline-offset: 6px; }

/* FAQ */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: 600 1.0625rem/1.4 var(--font-body); letter-spacing: 0; }
.faq-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); flex: none; transition: transform .3s var(--ease); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); max-width: 70ch; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } }

/* Final CTA */
.cta-end { background: var(--deep); color: var(--deep-ink); padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.cta-end::before { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgb(244 182 63 / .18), transparent 65%); pointer-events: none; }
.cta-end-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-end h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.cta-end p { color: var(--deep-muted); margin-top: 10px; font-size: 1.125rem; }

/* Inner page hero */
.page-hero { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.03em; margin-top: 16px; }
.lang-ar .page-hero h1 { letter-spacing: 0; }
.page-hero .lead { margin-top: 18px; }
.page-hero .cta-row { margin-top: 28px; }
.page-hero-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.plain { padding-block: clamp(32px, 5vw, 64px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero.tall { min-height: 60vh; display: grid; align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.big-404 { font: 700 clamp(4rem, 12vw, 8rem)/1 var(--font-display); color: var(--accent); }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: 16 / 10; order: -1; }
}

/* Lists with icons */
.goods, .benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px); }
.benefits { grid-template-columns: repeat(2, 1fr); }
.good, .benefit { display: grid; gap: 12px; align-content: start; border-top: 2px solid var(--line); padding-top: 22px; }
.good:first-child, .benefit:first-child { border-top-color: var(--accent); }
.good h3, .benefit h3 { font-size: 1.15rem; }
.good p, .benefit p { color: var(--muted); }
@media (max-width: 900px) { .goods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .goods, .benefits { grid-template-columns: 1fr; } }

.travel-split, .who-split, .days-split, .form-split, .contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.travel { display: grid; gap: 22px; }
.travel li { display: flex; gap: 16px; }
.travel h3 { font-size: 1.05rem; }
.travel p { color: var(--muted); margin-top: 2px; }
.who-split .ticks { grid-template-columns: 1fr 1fr; gap: 14px 24px; font-weight: 500; }
@media (max-width: 900px) {
  .travel-split, .who-split, .days-split, .form-split, .contact-split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .who-split .ticks { grid-template-columns: 1fr; } }

.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 32px); }
.glance h3, .glance .h3 { font-size: 1.2rem; margin-bottom: 16px; }
.glance dl { margin: 0; display: grid; }
.glance dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.glance dt { color: var(--muted); font-size: .9375rem; }
.glance dd { margin: 0; font-weight: 600; }
.contact-card { display: grid; gap: 14px; align-content: start; }
.contact-card a, .contact-card p { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; font-weight: 500; }
.contact-card .ic { color: var(--accent); margin-top: 3px; }

/* Formats, steps */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.format { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.format:nth-child(2) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.format:nth-child(2) p { color: inherit; opacity: .9; }
.format h3 { font-size: 1.1rem; }
.format p { color: var(--muted); margin-top: 8px; font-size: .975rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 8px; align-content: start; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 1.05rem/1 var(--font-display); margin-bottom: 8px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Request form */
.req-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input[aria-invalid="true"] { border-color: #C2362B; }
.hint { color: var(--muted); font-size: .875rem; }
.form-error { grid-column: 1 / -1; color: #B4231A; font-weight: 600; background: #FDECEA; padding: 10px 14px; border-radius: var(--r-sm); }
@media (prefers-color-scheme: dark) { .form-error { background: #3A1512; color: #FFB4AB; } .field input[aria-invalid="true"] { border-color: #FF8A80; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot .hint { flex: 1 1 220px; }
.contact-alt { display: grid; gap: 12px; margin-top: 8px; }
.contact-alt a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 500; }
.contact-alt .ic { color: var(--accent); }
@media (max-width: 600px) { .req-form { grid-template-columns: 1fr; } }

/* Contact box */
.box { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 5vw, 56px); }
.box-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); margin-bottom: 20px; }
.box-ic .ic { width: 26px; height: 26px; }
.box .section-head { margin-bottom: 24px; }
.box-note { margin-top: 18px; color: var(--muted); font-size: .9375rem; }
.box-note a { color: var(--accent); font-weight: 600; }

/* Universes page rows */
.uni-rows { display: grid; gap: 14px; }
.uni-row { display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 28px; align-items: start; background: var(--surface); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); scroll-margin-top: 96px; }
.uni-row h3 { font-size: 1.25rem; }
.uni-row p { color: var(--muted); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: .9rem; font-weight: 500; }
@media (max-width: 860px) { .uni-row { grid-template-columns: auto 1fr; } .uni-row .chips { grid-column: 1 / -1; } }

/* Programme page */
.progs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prog { display: flex; gap: 18px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.prog:nth-child(4n+1) { background: var(--accent-soft); border-color: transparent; }
.prog h3 { font-size: 1.1rem; }
.prog p { color: var(--muted); margin-top: 6px; }
.days { display: grid; gap: 0; }
.days li { padding: 20px 0; border-top: 1px solid var(--line); }
.days li:last-child { border-bottom: 1px solid var(--line); }
.days h3 { font-size: 1.1rem; }
.days p { color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .progs { grid-template-columns: 1fr; } }

/* Partners */
.tiers { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.tier { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tier.lead-tier { grid-row: span 2; background: var(--deep); color: var(--deep-ink); border-color: var(--deep); }
.tier.lead-tier p { color: var(--deep-muted); }
.tier.lead-tier .good-ic { background: rgb(244 182 63 / .14); color: var(--sun); }
.tier:last-child { grid-column: span 2; }
.tier h3 { font-size: 1.2rem; }
.tier p { color: var(--muted); }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } .tier.lead-tier { grid-row: auto; } .tier:last-child { grid-column: auto; } }

/* About */
.prose p + p { margin-top: 1.1em; }
.prose { font-size: 1.125rem; }
.legal h2 { margin-top: 36px; margin-bottom: 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 1rem; color: var(--muted); }
.mission { margin: 0; text-align: center; }
.mission p { font: 600 clamp(1.4rem, 3vw, 2.1rem)/1.3 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.lang-ar .mission p { letter-spacing: 0; line-height: 1.6; }
.shows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.shows a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.shows a:hover { border-color: var(--accent); color: var(--accent); }
.credits { display: grid; gap: 8px; font-size: .9375rem; color: var(--muted); }
.credits a { color: var(--ink); }
@media (max-width: 520px) { .shows { grid-template-columns: 1fr; } }

/* Contact topics */
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic { display: grid; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.topic:hover { border-color: var(--accent); transform: translateY(-2px); }
.topic-t { font-weight: 600; font-size: 1.05rem; }
.topic-m { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .875rem; }
.topic-m .ic { width: 16px; height: 16px; }
@media (max-width: 520px) { .topics { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 38ch; font-size: .975rem; }
.footer-h { font: 600 .875rem/1.4 var(--font-body); letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); }
.site-footer address { display: grid; gap: 10px; }
.site-footer address a, .site-footer address > span { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.site-footer address .ic { color: var(--accent); width: 18px; height: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); }
.social svg { width: 18px; height: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer-base p { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-base a { color: var(--muted); }
.footer-base .lang-switch { min-height: 32px; font-size: .875rem; color: var(--ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Scroll reveal (only when JS is running, and never under reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Language gateway */
.gate { min-height: 100dvh; display: grid; place-items: center; background: var(--bg); }
.gate-main { width: 100%; padding: 32px var(--gutter); }
.gate-inner { max-width: 640px; margin: 0 auto; display: grid; gap: 28px; justify-items: center; }
.lang-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.lang-tile { display: grid; gap: 6px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.lang-tile b { font: 600 1.2rem/1.2 var(--font-display); }
.lang-tile[lang="ar"] b, .lang-tile[lang="ar"] span { font-family: "Readex Pro", sans-serif; }
.lang-tile span { color: var(--muted); }
.lang-tile:hover { border-color: var(--accent); }

/* OG card (rendered to PNG at build time) */
.og { margin: 0; width: 1200px; height: 630px; overflow: hidden; background: #0B1736; }
.og-card { position: relative; width: 1200px; height: 630px; color: #fff; }
.og-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.og-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 23 54 / .92) 0%, rgb(11 23 54 / .55) 55%, rgb(11 23 54 / .1) 100%); }
[dir="rtl"] .og-card::after { background: linear-gradient(270deg, rgb(11 23 54 / .92) 0%, rgb(11 23 54 / .55) 55%, rgb(11 23 54 / .1) 100%); }
.og-inner { position: relative; z-index: 1; height: 100%; padding: 64px 72px; display: flex; flex-direction: column; justify-content: space-between; max-width: 820px; }
.og .logo { color: #fff; }
.og .logo-word small { color: rgb(255 255 255 / .75); }
.og .logo-mark { width: 56px; height: 56px; }
.og .logo-word b { font-size: 1.6rem; }
.og-title { font: 600 4.6rem/1.04 var(--font-display); letter-spacing: -.035em; }
.lang-ar .og-title { letter-spacing: 0; line-height: 1.3; font-size: 4.4rem; }
.og-meta { display: flex; gap: 28px; font-size: 1.5rem; color: rgb(255 255 255 / .85); }
.og-meta b { color: var(--sun); }
@media (max-width: 420px) {
  .logo-mark { width: 32px; height: 32px; }
  .logo-word b { font-size: .95rem; white-space: nowrap; }
  .header-actions { gap: 8px; }
  .lang-switch { padding: 0 12px; }
}
