/* Salon du Tourisme Maroc: "Moroccan night & sunset"
   Night: deep Majorelle night blue. Majorelle: the bright blue of the Majorelle garden.
   Saffron: the sun, accents and italic headline words. Terracotta: primary buttons (the walls of Marrakech).
   Sand: light sections (the dunes). This place-based palette is intentional for a Moroccan tourism brand.
   Type: DM Serif Display (headlines, italic accent word) + Manrope (text).
   Shapes: photos sit in Moroccan arches (mihrab tops) and circles; buttons are pills; cards are 20px. */
:root {
  --night: #0B1640;
  --night-2: #13215A;
  --majorelle: #2747D6;
  --saffron: #F5B02E;
  --terracotta: #C24A22;
  --terracotta-2: #A93E1B;
  --sand: #F6EFE3;
  --sand-2: #EFE4D2;
  --paper: #FFFCF7;
  --surface: #FFFFFF;
  --ink: #111A3A;
  --ink-2: #414A68;
  --ink-3: #6A7290;
  --line: #E4DACA;
  --on-night: #F4F1EA;
  --on-night-2: rgb(244 241 234 / .74);
  --night-line: rgb(255 255 255 / .14);
  --shadow: 0 1px 2px rgb(17 26 58 / .06), 0 18px 40px -18px rgb(17 26 58 / .28);
  --r: 20px;
  --r-sm: 12px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Crect x='27' y='27' width='42' height='42'/%3E%3Crect x='27' y='27' width='42' height='42' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0 27 27M96 0 69 27M0 96l27-27M96 96 69 69M48 0v18.3M48 96V77.7M0 48h18.3M96 48H77.7'/%3E%3Ccircle cx='48' cy='48' r='9'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sand: #0F1838;
    --sand-2: #142046;
    --paper: #0A1230;
    --surface: #131D45;
    --ink: #F4F1EA;
    --ink-2: #C3C6D6;
    --ink-3: #9096B0;
    --line: #26325F;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 18px 40px -18px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
.lang-ar { --font: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif; --display: "El Messiri", "IBM Plex Sans Arabic", serif; }
.lang-zh { --font: "Manrope", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; --display: "DM Serif Display", "Songti SC", "STSong", "Noto Serif SC", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.lang-zh { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.lang-zh h1, .lang-zh h2, .lang-zh h3 { font-weight: 700; line-height: 1.3; letter-spacing: .02em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3, .h3 { font-size: 1.35rem; }
h1 em, h2 em, .footer-claim em { font-style: italic; color: var(--saffron); }
.lang-ar h1 em, .lang-zh h1 em, .lang-ar .footer-claim em, .lang-zh .footer-claim em { font-style: normal; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--terracotta); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 880px; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

/* Moroccan star and zellige pattern */
.star { fill: none; stroke: currentColor; stroke-width: 6; flex: none; }
.star-xs { width: 12px; height: 12px; color: var(--saffron); stroke-width: 9; }
.star-sm { width: 16px; height: 16px; color: var(--saffron); stroke-width: 8; }
.star-md { width: 40px; height: 40px; color: var(--saffron); stroke-width: 5; }
.star-xl { width: min(320px, 60vw); height: auto; aspect-ratio: 1; color: var(--saffron); stroke-width: 2; opacity: .9; }
.night { position: relative; isolation: isolate; background: var(--night); color: var(--on-night); }
.zellige { position: absolute; inset: 0; z-index: -1; background-image: var(--zellige); background-size: 96px; opacity: .07; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 85% 10%, #000 20%, transparent 75%); mask-image: radial-gradient(120% 90% at 85% 10%, #000 20%, transparent 75%); }
[dir="rtl"] .zellige { -webkit-mask-image: radial-gradient(120% 90% at 15% 10%, #000 20%, transparent 75%); mask-image: radial-gradient(120% 90% at 15% 10%, #000 20%, transparent 75%); }

/* Photo shapes */
.arch { overflow: hidden; border-radius: 999px 999px var(--r) var(--r); background: var(--night-2); }
.round { overflow: hidden; border-radius: 50%; background: var(--night-2); }
.arch img, .round img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .97rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s var(--ease); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn-accent { background: var(--terracotta); color: #fff; }
.btn-accent:hover { background: var(--terracotta-2); transform: translateY(-2px); box-shadow: 0 14px 28px -14px var(--terracotta); }
.btn-ghost { border-color: rgb(255 255 255 / .4); color: #fff; background: rgb(255 255 255 / .04); }
.btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { transform: translateY(-2px); }
.btn-night { background: var(--night); color: #fff; }
.btn-night:hover { background: #050B26; transform: translateY(-2px); }
.ic-arrow { transition: transform .25s var(--ease); }
.btn:hover .ic-arrow, .link:hover .ic-arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ic-arrow, [dir="rtl"] .link:hover .ic-arrow { transform: scaleX(-1) translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--terracotta); text-decoration: none; }
@media (prefers-color-scheme: dark) { .link { color: var(--saffron); } }

/* ---------- Header + countdown bar ---------- */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 40; color: #fff; transition: background-color .35s, box-shadow .35s; }
.site-header.is-scrolled, .site-header.menu-open { background: rgb(11 22 64 / .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px -20px rgb(0 0 0 / .6); }
.topbar { background: var(--saffron); color: var(--night); font-size: .88rem; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; text-align: center; }
.topbar .star { color: var(--night); }
.topbar a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.topbar a .ic { width: 15px; height: 15px; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.32rem; letter-spacing: 0; }
.logo-word small { font-family: "Manrope", sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.primary { margin-inline-start: auto; }
.primary ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary a { position: relative; display: block; padding: 8px 12px; text-decoration: none; font-size: .93rem; font-weight: 600; white-space: nowrap; opacity: .88; }
.primary a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--saffron); transform: scaleX(0); transition: transform .3s var(--ease); }
.primary a:hover { opacity: 1; }
.primary a:hover::after, .primary a[aria-current="page"]::after { transform: scaleX(1); }
.primary a[aria-current="page"] { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .35); background: transparent; color: inherit; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .ic-close, .menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-size: .9rem; font-weight: 700; border: 1.5px solid rgb(255 255 255 / .3); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu .ic { width: 17px; height: 17px; }
.lang-menu .ic-chev { width: 14px; height: 14px; transition: transform .2s; }
.lang-menu[open] .ic-chev { transform: rotate(180deg); }
.lang-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.lang-menu li a { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: .95rem; }
.lang-menu li a b { width: 30px; font-size: .78rem; color: var(--ink-3); }
.lang-menu li a:hover { background: var(--sand); }
.lang-menu li a[aria-current="true"] { background: var(--sand-2); font-weight: 700; }
.mobile-menu { background: var(--night); color: var(--on-night); height: calc(100dvh - 114px); overflow-y: auto; padding: 8px var(--gutter) 32px; border-top: 1px solid var(--night-line); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav a { display: block; padding: 14px 0; font-family: var(--display); font-size: 1.5rem; text-decoration: none; border-bottom: 1px solid var(--night-line); }
.mobile-cta { display: grid; gap: 10px; margin: 24px 0; }
.mobile-cta .btn-line { border-color: rgb(255 255 255 / .5); color: #fff; }
.lang-row { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lang-row a { text-decoration: none; font-size: .94rem; opacity: .75; padding: 4px 0; }
.lang-row a[aria-current="true"] { opacity: 1; color: var(--saffron); font-weight: 700; }
@media (max-width: 1200px) { .primary { display: none; } .header-actions { margin-inline-start: auto; } .menu-toggle { display: inline-flex; } }
@media (max-width: 600px) {
  .header-cta { display: none; }
  .header-inner { gap: 10px; height: 64px; }
  .header-actions { gap: 8px; }
  .logo { gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-word b { font-size: 1.12rem; }
  .lang-menu summary { padding: 0 10px; gap: 4px; }
  .lang-menu .ic-chev { display: none; }
  .topbar { font-size: .8rem; }
  .topbar .star { display: none; }
  .mobile-menu { height: calc(100dvh - 102px); }
}

/* ---------- Home hero ---------- */
.hero { padding: 150px 0 0; overflow: hidden; }
.hero-glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; inset-inline-end: -18vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(circle, rgb(245 176 46 / .34), rgb(194 74 34 / .16) 40%, transparent 68%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .05);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.lang-ar .eyebrow, .lang-zh .eyebrow { letter-spacing: .04em; font-size: .9rem; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; text-wrap: balance; }
.lang-ar .hero h1, .lang-zh .hero h1 { line-height: 1.3; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.6; margin-top: 22px; max-width: 54ch; }
.night .lead { color: var(--on-night-2); }

.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; justify-self: end; width: 100%; }
.collage figure { position: absolute; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
.collage .c1 { inset-inline-start: 6%; top: 0; width: 50%; height: 78%; border: 6px solid var(--saffron); }
.collage .c2 { inset-inline-end: 0; top: 18%; width: 40%; height: 64%; }
.collage .c3 { inset-inline-start: 0; bottom: 0; width: 34%; aspect-ratio: 1; border: 6px solid var(--night); }
.collage .c1 img { object-position: 30% 50%; }
.collage .stamp { position: absolute; inset-inline-end: 4%; bottom: 0; width: 34%; }
@media (prefers-reduced-motion: no-preference) {
  .collage figure { animation: rise 1s var(--ease) both; }
  .collage .c2 { animation-delay: .12s; }
  .collage .c3 { animation-delay: .24s; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .bpass { animation: rise 1s .3s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .stamp-spin { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
.stamp { display: block; filter: drop-shadow(0 16px 30px rgb(0 0 0 / .35)); }
.stamp-bg { fill: var(--saffron); }
.stamp-ring { fill: none; stroke: var(--night); stroke-width: 1.5; stroke-dasharray: 3 5; }
.stamp text { font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 2px; fill: var(--night); }
.stamp-star { fill: none; stroke: var(--night); stroke-width: 5; }
@media (max-width: 900px) {
  .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; }
  .collage { justify-self: center; max-width: 460px; margin-top: 8px; }
}

/* Boarding pass */
.bpass { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 260px; margin-top: 40px; background: var(--surface); color: var(--ink); border-radius: var(--r); box-shadow: 0 40px 80px -40px rgb(11 22 64 / .6); }
.bp-main { padding: 26px 32px 28px; }
.bp-head { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); }
.lang-ar .bp-head, .lang-zh .bp-head { letter-spacing: .04em; font-size: .88rem; }
@media (prefers-color-scheme: dark) { .bp-head { color: var(--saffron); } }
.bp-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin: 14px 0 20px; }
.bp-city small, .bp-meta small { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.bp-city b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
.lang-ar .bp-city b, .lang-zh .bp-city b { font-weight: 700; }
.bp-city span { font-size: .8rem; font-weight: 800; letter-spacing: .2em; color: var(--ink-3); }
.bp-path { display: flex; align-items: center; gap: 10px; color: var(--terracotta); }
.bp-path span { flex: 1; border-top: 2px dashed var(--line); }
.bp-path .ic { width: 26px; height: 26px; transform: rotate(45deg); }
[dir="rtl"] .bp-path .ic { transform: rotate(-135deg); }
.bp-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.bp-meta b { display: block; font-weight: 700; font-size: 1rem; margin-top: 2px; }
.bp-stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px 28px; border-inline-start: 2px dashed var(--line); }
.bp-stub::before, .bp-stub::after { content: ""; position: absolute; inset-inline-start: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); }
.bp-stub::before { top: -12px; }
.bp-stub::after { bottom: -12px; background: var(--paper); }
.bp-barcode { height: 46px; opacity: .8; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); border-radius: 2px; }
.bp-link { text-align: center; font-weight: 700; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .bpass { grid-template-columns: 1fr; }
  .bp-stub { border-inline-start: 0; border-top: 2px dashed var(--line); }
  .bp-stub::before { top: -13px; inset-inline-start: -12px; background: var(--paper); }
  .bp-stub::after { top: -13px; bottom: auto; inset-inline-start: auto; inset-inline-end: -12px; }
  .bp-barcode { display: none; }
}
@media (max-width: 560px) {
  .bp-main { padding: 22px 20px; }
  .bp-route { gap: 12px; }
  .bp-meta { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: 160px 0 72px; overflow: hidden; }
.page-hero.tall { padding: 200px 0 140px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero h1 { text-wrap: balance; }
.ph-media { position: relative; justify-self: end; width: min(100%, 420px); }
.ph-media .arch { aspect-ratio: 4 / 5; border: 6px solid var(--saffron); }
.ph-media .stamp { position: absolute; width: 38%; inset-inline-start: -14%; bottom: 6%; }
.ph-ornament { display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) { .ph-ornament .star-xl { animation: spin 90s linear infinite; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--on-night-2); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.big-404 { font-family: var(--display); font-size: clamp(6rem, 16vw, 11rem); line-height: 1; color: var(--saffron); }
@media (max-width: 900px) {
  .page-hero { padding: 140px 0 56px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .ph-media { justify-self: start; width: min(78%, 340px); }
  .ph-media .stamp { inset-inline-start: auto; inset-inline-end: -18%; }
  .ph-ornament { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section.sand, .section.tint { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { text-wrap: balance; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; }
.night .section-head p { color: var(--on-night-2); }
.section-head.center p { margin-inline: auto; }
.kicker { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; }
.split-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-top > :first-child .section-head { margin-bottom: 24px; }
@media (max-width: 900px) { .split-top { grid-template-columns: 1fr; } }
.center-cta { text-align: center; margin-top: 44px; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); font-size: 1.07rem; }

/* ---------- Stats (Majorelle band) ---------- */
.stats { position: relative; isolation: isolate; overflow: hidden; background: var(--majorelle); color: #fff; padding: 56px 0; }
.stats .zellige { opacity: .12; -webkit-mask-image: none; mask-image: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat { padding: 4px 28px; border-inline-start: 1px solid rgb(255 255 255 / .22); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-n { display: block; white-space: nowrap; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; }
.stats-grid.six .stat-n { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.stat-l { display: block; margin-top: 8px; font-size: .95rem; font-weight: 600; opacity: .85; }
@media (max-width: 900px) {
  .stats-grid, .stats-grid.six { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
}

/* ---------- Pro / public ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.duo-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.duo-media { aspect-ratio: 5 / 4; }
.duo-media img { transition: transform 1s var(--ease); }
a.duo-card:hover .duo-media img { transform: scale(1.05); }
.duo-body { position: relative; margin: -64px 24px 0; padding: 28px 30px 30px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.duo-card.alt .duo-body { background: var(--night); color: var(--on-night); }
.duo-card.alt .duo-body > p { color: var(--on-night-2); }
.duo-card.alt .link { color: var(--saffron); }
.duo-body h3 { font-size: 1.9rem; }
.duo-body > p { color: var(--ink-2); }
.duo-body .link { margin-top: auto; padding-top: 8px; }
.duo.plain .duo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.duo.plain .duo-body { margin: 0; box-shadow: none; background: transparent; }
.tag { align-self: flex-start; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--saffron); color: var(--night); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo-body { margin: -48px 12px 0; } }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 18px; height: 18px; margin-top: 4px; color: var(--terracotta); }
.night .ticks .ic, .duo-card.alt .ticks .ic { color: var(--saffron); }

/* ---------- Sector marquee ---------- */
.sectors { padding: clamp(72px, 9vw, 112px) 0; overflow: hidden; background: var(--paper); }
.marquee { display: flex; gap: 12px; overflow: hidden; margin-top: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; flex: none; gap: 12px; list-style: none; margin: 0; padding: 0; min-width: 100%; }
.mq-track li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 650; white-space: nowrap; }
.marquee.reverse .mq-track li { background: var(--sand); }
@media (prefers-reduced-motion: no-preference) {
  .mq-track { animation: mq 60s linear infinite; }
  .marquee.reverse .mq-track { animation-direction: reverse; animation-duration: 70s; }
  .marquee:hover .mq-track { animation-play-state: paused; }
  @keyframes mq { to { transform: translateX(calc(-100% - 12px)); } }
  [dir="rtl"] .mq-track { animation-name: mq-rtl; }
  @keyframes mq-rtl { to { transform: translateX(calc(100% + 12px)); } }
}
@media (prefers-reduced-motion: reduce) { .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; } .mq-track { flex-wrap: wrap; justify-content: center; min-width: 0; } .mq-track[aria-hidden="true"], .marquee.reverse { display: none; } }

/* ---------- Why Morocco ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.why-media { position: relative; padding-bottom: 40px; }
.why-media .arch { aspect-ratio: 4 / 5; }
.why-small { position: absolute; width: 42%; aspect-ratio: 1; inset-inline-end: -6%; bottom: 0; border: 8px solid var(--paper); }
.why-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.why-n { display: block; font-family: "DM Serif Display", Georgia, serif; font-size: 2.2rem; line-height: 1; color: var(--terracotta); margin-bottom: 10px; }
@media (prefers-color-scheme: dark) { .why-n { color: var(--saffron); } }
.why-points h3 { font-size: 1.25rem; margin-bottom: 6px; }
.why-points p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why-media { max-width: 440px; } .why-small { inset-inline-end: 0; } }
@media (max-width: 560px) { .why-points { grid-template-columns: 1fr; } }

/* ---------- Destinations ---------- */
.featured-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: -12px 0 36px; }
.featured-list li { padding: 8px 16px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 700; font-size: .95rem; }
.featured-list .fl-label { background: none; color: var(--ink-3); padding-inline: 0 8px; font-weight: 600; }
.dest-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 23%); gap: 24px; list-style: none; margin: 0; padding: 0 var(--gutter) 16px;
  padding-inline-start: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.dest { scroll-snap-align: start; }
.dest:nth-child(even) { margin-top: 56px; }
.dest a { display: block; text-decoration: none; }
.dest .arch { aspect-ratio: 3 / 4.2; }
.dest img { transition: transform 1s var(--ease); }
.dest a:hover img { transform: scale(1.06); }
.dest-t { display: flex; flex-direction: column; padding: 16px 4px 0; }
.dest-t b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.lang-ar .dest-t b, .lang-zh .dest-t b { font-weight: 700; }
.dest-t small { color: var(--ink-3); font-size: .95rem; }
@media (max-width: 700px) { .dest-track { grid-auto-columns: 70%; } .dest:nth-child(even) { margin-top: 0; } }

/* ---------- Forums ---------- */
.forums-section { overflow: hidden; }
.forums-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.forums-head .section-head { margin-bottom: 0; }
.forums { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.forum { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px 34px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.night .forum { background: rgb(255 255 255 / .05); border-color: var(--night-line); }
.forum-day { display: flex; align-items: baseline; gap: 8px; }
.forum-day span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--saffron); }
.forum-day b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 4rem; line-height: .9; color: var(--saffron); }
.forum-body h3 { font-size: 1.6rem; }
.forum-body p { margin-top: 10px; color: var(--ink-2); }
.night .forum-body p { color: var(--on-night-2); }
.forum-star { position: absolute; inset-inline-end: -18px; top: -18px; width: 110px; height: 110px; opacity: .25; stroke-width: 2; }
.forums.detailed { grid-template-columns: 1fr; }
.forums.detailed .forum { flex-direction: row; gap: 32px; padding: 36px; }
.forums.detailed .forum-day { flex-direction: column; min-width: 90px; }
.forums.detailed .forum-day span { color: var(--terracotta); }
.forums.detailed .forum-day b { color: var(--terracotta); }
@media (prefers-color-scheme: dark) { .forums.detailed .forum-day span, .forums.detailed .forum-day b { color: var(--saffron); } }
.forums.detailed .ticks { margin-top: 18px; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 900px) { .forums { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .forums.detailed .forum { flex-direction: column; gap: 12px; padding: 26px; } .forums.detailed .ticks { grid-template-columns: 1fr; } }

/* ---------- Photo band ---------- */
.photo-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 22 64 / .5), rgb(11 22 64 / .1)); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.photo-band-card { max-width: 560px; padding: clamp(28px, 4vw, 48px); background: var(--night); color: var(--on-night); border-radius: 999px 999px var(--r) var(--r); text-align: center; }
.photo-band-card .star { margin: 18px auto 6px; display: block; }
.photo-band-card .section-head { margin: 0 auto 28px; text-align: center; }
.photo-band-card .section-head p { color: var(--on-night-2); margin-inline: auto; }

/* ---------- Partner wall ---------- */
.pwall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pwall li { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 16px; text-align: center; border-radius: var(--r); background: var(--sand); border: 1px solid var(--line);
  font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; color: var(--ink); transition: transform .3s var(--ease), background-color .3s; }
.pwall li:hover { transform: translateY(-4px); background: var(--sand-2); }
@media (max-width: 900px) { .pwall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pwall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-family: var(--font); font-size: 1.04rem; font-weight: 700; letter-spacing: 0; line-height: 1.45; }
.faq-ic { flex: none; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--sand-2); transition: transform .3s var(--ease), background-color .2s; }
.faq-ic .ic { width: 16px; height: 16px; }
.faq-item[open] .faq-ic { transform: rotate(45deg); background: var(--saffron); color: var(--night); }
.faq-a { padding: 0 22px 22px; color: var(--ink-2); max-width: 72ch; }

/* ---------- Cards / formats / steps ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three-asym { grid-template-columns: 1.4fr 1fr 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin: 20px 0 8px; font-size: 1.4rem; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card-ic, .box-ic { width: 52px; height: 52px; border-radius: 999px 999px 10px 10px; display: grid; place-items: center; background: var(--saffron); color: var(--night); }
.cards.three-asym .card:first-child { background: var(--night); color: var(--on-night); border-color: var(--night); }
.cards.three-asym .card:first-child p { color: var(--on-night-2); }
@media (max-width: 1000px) { .cards, .cards.four, .cards.three-asym { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards.two, .cards.four, .cards.three-asym { grid-template-columns: 1fr; } }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.feat { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.feat-ic { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--saffron); color: var(--night); }
.feat-ic .ic { width: 18px; height: 18px; }
.feat h3 { font-size: 1.3rem; }
.feat p { color: var(--ink-2); margin-top: 4px; }
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.format { padding: 30px; border-radius: 999px 999px var(--r) var(--r); background: var(--sand); text-align: center; padding-top: 64px; }
.format:nth-child(2) { background: var(--night); color: var(--on-night); }
.format:nth-child(2) p { color: var(--on-night-2); }
.format h3 { font-size: 1.5rem; }
.format p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 800px) { .formats { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.steps li { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--terracotta); color: #fff; font-family: "DM Serif Display", Georgia, serif; font-size: 1.3rem; margin-bottom: 18px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--ink-2); margin-top: 6px; font-size: .97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-size: .96rem; font-weight: 600; }
.chips.big li { padding: 13px 22px; font-size: 1.02rem; }
.countries { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.country { padding: 32px; border-radius: var(--r); background: var(--sand); }
.country:first-child { background: var(--majorelle); color: #fff; }
.country:first-child p { color: rgb(255 255 255 / .85); }
.country h3 { font-size: 2rem; }
.country p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 800px) { .countries { grid-template-columns: 1fr; } }

/* ---------- Glance / box / contact ---------- */
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.glance h3, .glance .h3 { margin-bottom: 16px; }
.glance dl { margin: 0; display: grid; }
.glance dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.glance dt { color: var(--ink-3); font-size: .93rem; }
.glance dd { margin: 0; font-weight: 700; }
@media (max-width: 480px) { .glance dl div { grid-template-columns: 1fr; gap: 2px; } }
.box { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-night); border-radius: calc(var(--r) + 8px); padding: clamp(32px, 6vw, 72px); }
.box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--zellige); background-size: 96px; opacity: .07; }
.box::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -200px; background: radial-gradient(circle, rgb(245 176 46 / .3), transparent 65%); }
.box .section-head { margin: 22px 0 0; }
.box .section-head p { color: var(--on-night-2); }
.box .btn-line { border-color: rgb(255 255 255 / .5); color: #fff; }
.box .btn-line:hover { background: #fff; color: var(--night); }
.box-note { margin-top: 22px; color: var(--on-night-2); font-size: .92rem; }
.box-note a { color: var(--saffron); }
.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: 700; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.topic { display: grid; gap: 12px; padding: 24px; 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(--terracotta); transform: translateY(-3px); }
.topic-t { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; }
.topic-m { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-3); overflow-wrap: anywhere; }
.topic-m .ic { width: 16px; height: 16px; }
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }
.mission { margin: 0; padding: 0; border: 0; text-align: center; }
.mission p { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.25; text-wrap: balance; }
.mission p::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 26px; background: var(--saffron); clip-path: polygon(50% 0, 63% 21%, 85% 15%, 79% 37%, 100% 50%, 79% 63%, 85% 85%, 63% 79%, 50% 100%, 37% 79%, 15% 85%, 21% 63%, 0 50%, 21% 37%, 15% 15%, 37% 21%); }
.shows { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shows a { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.shows a:hover { border-color: var(--terracotta); }
.credits { padding-inline-start: 18px; color: var(--ink-2); font-size: .94rem; display: grid; gap: 6px; }
.credits a { color: var(--terracotta); }

/* ---------- Closing CTA (terracotta) ---------- */
.cta-end { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 128px) 0; background: var(--terracotta); color: #fff; }
.cta-end .zellige { opacity: .1; -webkit-mask-image: none; mask-image: none; }
.cta-end-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.cta-end h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); text-wrap: balance; max-width: 18ch; }
.cta-end p { margin-top: 16px; color: rgb(255 255 255 / .88); font-size: 1.12rem; max-width: 52ch; }
.cta-end .stamp { width: clamp(150px, 18vw, 230px); }
@media (max-width: 760px) { .cta-end-inner { grid-template-columns: 1fr; } .cta-end .stamp { width: 140px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding-top: 80px; font-size: .96rem; }
.site-footer .zellige { -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--night-line); }
.footer-claim { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; max-width: 20ch; }
.lang-ar .footer-claim, .lang-zh .footer-claim { font-weight: 700; line-height: 1.35; }
.footer-claim em { font-style: italic; color: var(--saffron); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--on-night-2); max-width: 40ch; }
.footer-h { font-family: var(--font); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { text-decoration: none; color: var(--on-night-2); }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: 10px; }
.site-footer address a, .site-footer address > span { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--on-night-2); overflow-wrap: anywhere; }
.site-footer address .ic { width: 18px; height: 18px; color: var(--saffron); }
.footer-langs { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 32px; color: var(--on-night-2); font-size: .88rem; }
.footer-base a { color: inherit; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--night-line); }
.social svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Language gateway ---------- */
.gate { background: var(--night); }
.gate-main { position: relative; isolation: isolate; overflow: hidden; min-height: 100dvh; display: grid; place-items: center; padding: 40px 16px; color: #fff; }
.gate-main .hero-media::after { background: rgb(11 22 64 / .62); }
.gate-inner { display: grid; justify-items: center; gap: 36px; width: min(100%, 1000px); }
.gate-inner .logo { color: #fff; }
.lang-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; width: 100%; }
.lang-tile { display: grid; gap: 6px; padding: 22px; border-radius: 999px 999px var(--r) var(--r); padding-top: 48px; text-align: center; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .25); color: #fff; text-decoration: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .2s, transform .3s var(--ease); }
.lang-tile:hover { background: rgb(255 255 255 / .2); transform: translateY(-4px); }
.lang-tile b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.5rem; }
.lang-tile span { font-size: .9rem; opacity: .85; line-height: 1.4; }
.lang-tile[lang="ar"] b { font-family: "El Messiri", "IBM Plex Sans Arabic", sans-serif; }

/* ---------- Scroll reveal (JS adds .reveal only below the fold) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Share card (og/*.html, rendered at 1200x630) ---------- */
.og { margin: 0; width: 1200px; height: 630px; overflow: hidden; background: var(--night); }
.og-card { position: relative; width: 1200px; height: 630px; color: #fff; isolation: isolate; overflow: hidden; }
.og-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--zellige); background-size: 96px; opacity: .08; }
.og-card::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; border-radius: 50%; right: -260px; top: -380px; background: radial-gradient(circle, rgb(245 176 46 / .38), rgb(194 74 34 / .16) 40%, transparent 68%); }
.og-img { position: absolute; right: 70px; top: 70px; width: 330px; height: 500px; object-fit: cover; border-radius: 999px 999px 24px 24px; border: 8px solid var(--saffron); }
[dir="rtl"] .og-img { right: auto; left: 70px; }
.og-inner { position: absolute; inset: 0; padding: 60px 64px; display: flex; flex-direction: column; justify-content: space-between; max-width: 760px; }
[dir="rtl"] .og-inner { left: auto; right: 0; }
.og .logo-mark { width: 54px; height: 54px; }
.og .logo-word b { font-size: 2rem; }
.og .logo-word small { font-size: .95rem; }
.og-title { font-family: var(--display); font-size: 74px; line-height: 1.02; margin-top: auto; }
.og-title em { font-style: italic; color: var(--saffron); }
.lang-ar .og-title, .lang-zh .og-title { font-weight: 700; line-height: 1.3; }
.lang-ar .og-title em, .lang-zh .og-title em { font-style: normal; }
.og-meta { display: flex; gap: 24px; margin-top: 26px; font-size: 20px; font-weight: 600; opacity: .92; white-space: nowrap; }
