/* ImmoExpo Maroc: design tokens
   Concrete greys + one terracotta (brick) accent. Architectural, sharp geometry.
   Radius rule: everything uses 4px (buttons, cards, media, inputs); chips are 4px too. */
:root {
  --paper: #EDEFEE;
  --surface: #F8F9F8;
  --tint: #E2E6E4;
  --ink: #141917;
  --ink-2: #3E4744;
  --ink-3: #59625E;
  --line: #CBD2CF;
  --accent: #B23F1C;
  --accent-ink: #FFFFFF;
  --accent-soft: #F1DDD4;
  --accent-text: #9C3517;
  --scrim: 12 16 15;
  --shadow: 0 1px 2px rgb(20 25 23 / .06), 0 14px 34px -16px rgb(20 25 23 / .22);
  --r: 4px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-wdth: 88;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1211;
    --surface: #161B1A;
    --tint: #121716;
    --ink: #ECEFEE;
    --ink-2: #B5BDBA;
    --ink-3: #8D9793;
    --line: #2A3230;
    --accent: #E8754F;
    --accent-ink: #160C07;
    --accent-soft: #3A1E14;
    --accent-text: #F29A79;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 14px 34px -16px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
.lang-ar { --font: "Noto Kufi Arabic", "Instrument Sans", system-ui, sans-serif; --display-wdth: 100; }
.lang-zh { --font: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; --display-wdth: 100; }

*, *::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(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.lang-zh { line-height: 1.75; }
body.lang-ar { font-size: 16px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 650; letter-spacing: -.025em; font-stretch: calc(var(--display-wdth) * 1%); }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-zh h1, .lang-zh h2, .lang-zh h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); }
h3, .h3 { font-size: 1.18rem; letter-spacing: -.01em; font-weight: 650; line-height: 1.25; }
.lang-ar h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.lang-ar h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
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(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.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); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; 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 16px; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 12px 26px -12px var(--accent); transform: translateY(-1px); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: rgb(255 255 255 / .95); color: #141917; }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.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); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.on-photo { position: fixed; inset-inline: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.on-photo.is-scrolled, .site-header.on-photo.menu-open { background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: var(--ink); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.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.02; font-family: "Instrument Sans", sans-serif; }
.logo-word b { font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; font-stretch: 88%; }
.logo-word b span { color: var(--accent-text); }
.on-photo:not(.is-scrolled):not(.menu-open) .logo-word b span { color: #fff; opacity: .78; }
.logo-word small { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.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: 10px 11px; text-decoration: none; font-size: .93rem; font-weight: 550; white-space: nowrap; opacity: .86; transition: opacity .2s; }
.primary a::after { content: ""; position: absolute; inset-inline: 11px; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary a:hover, .primary a[aria-current="page"] { opacity: 1; }
.primary a:hover::after, .primary a[aria-current="page"]::after { transform: scaleX(1); }
.primary a[aria-current="page"]::after { background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid color-mix(in srgb, currentColor 28%, transparent); 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: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: var(--r); cursor: pointer; font-weight: 600; font-size: .9rem; border: 1.5px solid color-mix(in srgb, currentColor 22%, transparent); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu .ic { width: 18px; height: 18px; }
.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% + 8px); 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); box-shadow: var(--shadow); }
.lang-menu li a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: var(--r); text-decoration: none; font-size: .95rem; }
.lang-menu li a b { width: 26px; font-size: .74rem; letter-spacing: .06em; color: var(--ink-3); }
.lang-menu li a:hover { background: var(--tint); }
.lang-menu li a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-text); }

.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); max-height: calc(100dvh - 72px); overflow-y: auto; padding: 8px var(--gutter) 28px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 13px 0; font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-cta { display: grid; gap: 10px; margin: 22px 0; }
.lang-row { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lang-row a { text-decoration: none; font-size: .92rem; color: var(--ink-2); padding: 4px 0; }
.lang-row a[aria-current="true"] { color: var(--accent-text); font-weight: 650; }

@media (max-width: 1180px) {
  .primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .logo-word small { display: none; }
}

/* ---------- Home hero: asymmetric split ---------- */
.hero { padding-top: clamp(24px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.lang-ar .eyebrow, .lang-zh .eyebrow { letter-spacing: 0; font-size: .9rem; }
.hero h1 { max-width: 14ch; }
.lang-ar .hero h1, .lang-zh .hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 22px; font-size: clamp(1.06rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 46ch; }
.hero-figure { margin: 0; position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--r); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-figure img, .hero-copy > * { animation: none; } }
.hero-facts { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts li { display: flex; gap: 14px; align-items: center; padding: 20px 0; }
.hero-facts li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.hero-facts .ic { width: 24px; height: 24px; color: var(--accent-text); }
.hero-facts small { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lang-ar .hero-facts small, .lang-zh .hero-facts small { letter-spacing: 0; }
.hero-facts span { font-weight: 600; line-height: 1.35; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16 / 10; order: -1; }
  .hero h1 { max-width: 18ch; }
}
@media (max-width: 720px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li + li { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .hero-facts li { padding: 14px 0; }
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; }
.page-hero.plain { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-hero.plain.tall { padding: clamp(80px, 12vw, 160px) 0; }
.page-hero.has-photo { min-height: min(560px, 78dvh); display: flex; align-items: flex-end; color: #fff; padding: 128px 0 clamp(40px, 5vw, 64px); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2a302e; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--scrim) / .55) 0%, rgb(var(--scrim) / .25) 38%, rgb(var(--scrim) / .82) 100%); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 18px; font-size: clamp(1.05rem, 1.3vw, 1.18rem); max-width: 58ch; }
.page-hero.plain .lead { color: var(--ink-2); }
.page-hero.has-photo .lead { color: rgb(255 255 255 / .9); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.big-404 { font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; color: var(--accent); font-stretch: 80%; margin-bottom: 12px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section.tint, .tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split > :first-child .section-head { margin-bottom: 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--ink-2); }

/* ---------- Targets band ---------- */
.targets { background: var(--surface); border-block: 1px solid var(--line); }
.targets-inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; align-items: center; padding-block: clamp(32px, 4vw, 48px); }
.targets-head h2 { color: var(--accent-text); }
.targets-head p { margin-top: 8px; font-size: .9rem; color: var(--ink-3); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: 4px; padding-inline: 20px; border-inline-start: 1px solid var(--line); }
.stat-n { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 650; letter-spacing: -.035em; line-height: 1; font-stretch: 84%; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) {
  .targets-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
}

/* ---------- Audience paths (bento 2x2, asymmetric) ---------- */
.paths { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.path { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.path:hover { border-color: var(--ink-3); transform: translateY(-3px); box-shadow: var(--shadow); }
.path-media { aspect-ratio: 16 / 8; overflow: hidden; }
.path-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.path:hover .path-media img { transform: scale(1.04); }
.path-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.path-body p { color: var(--ink-2); }
.path-body .link { margin-top: auto; padding-top: 8px; }
.path-mre, .path-finance { }
.path-mre .path-media, .path-pros .path-media { aspect-ratio: 16 / 9; }
.path-finance { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.path-finance .path-body p, .path-finance .link { color: var(--accent-ink); }
.path-finance .path-media { display: none; }
.path-finance .path-body { justify-content: center; padding: 32px; }
.path-finance h3 { font-size: 1.5rem; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Why: numbered columns ---------- */
.why-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-points li { border-top: 2px solid var(--ink); padding-top: 18px; }
.why-n { display: block; font-size: .85rem; font-weight: 650; color: var(--accent-text); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.why-points h3 { font-size: 1.45rem; margin-bottom: 8px; }
.why-points p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 980px) { .why-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-points { grid-template-columns: 1fr; } }

/* ---------- Sector groups ---------- */
.sector-groups { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sg { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.sg:nth-child(4), .sg:nth-child(5) { grid-column: span 3; }
.sg:nth-child(4) { background: var(--accent-soft); border-color: transparent; }
.sg h3 { margin: 14px 0 14px; }
.card-ic { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-text); }
.sg:nth-child(4) .card-ic { background: var(--surface); }
.card-ic .ic { width: 22px; height: 22px; }
@media (max-width: 980px) { .sector-groups { grid-template-columns: 1fr 1fr; } .sg, .sg:nth-child(4), .sg:nth-child(5) { grid-column: auto; } }
@media (max-width: 600px) { .sector-groups { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 6px 11px; border-radius: var(--r); border: 1px solid var(--line); font-size: .88rem; background: var(--paper); color: var(--ink-2); }
.sg:nth-child(4) .chips li { background: var(--surface); border-color: transparent; }
.chips.big li { font-size: 1rem; padding: 10px 16px; background: var(--surface); color: var(--ink); }

/* ---------- Forums ---------- */
.forums { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.forum { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.forum-ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--ink); color: var(--paper); }
.forum-ic .ic { width: 24px; height: 24px; }
.forum-body p { color: var(--ink-2); margin-top: 6px; }
.forums.detailed { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.forums.detailed .forum { padding: 28px; }
.forums.detailed .ticks { margin-top: 18px; }
@media (max-width: 820px) { .forums.detailed { grid-template-columns: 1fr; } }

/* ---------- Guide teaser ---------- */
.guide-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.gt-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.gt-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; counter-reset: s; }
.mini-steps li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 550; }
.mini-steps .step-n { color: var(--accent-text); font-size: .85rem; font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .guide-teaser { grid-template-columns: 1fr; } .gt-media { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .mini-steps { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--ink-2); font-size: .98rem; }
.cards.three .card:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cards.three .card:first-child p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.cards.three .card:first-child .card-ic { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 1000px) { .cards.four { grid-template-columns: repeat(2, 1fr); } .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards.four, .cards.three { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.step-n { font-weight: 650; color: var(--accent-text); font-size: .95rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.steps li .step-n { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1.5px solid var(--accent); border-radius: var(--r); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .98rem; }
.split .steps { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .split .steps { grid-template-columns: 1fr; } }

/* ---------- Lists ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; color: var(--accent-text); margin-top: 3px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.feat { padding: 22px 0; border-top: 1px solid var(--line); }
.feat h3 { margin-bottom: 6px; }
.feat p { color: var(--ink-2); }
@media (max-width: 600px) { .feat-list { grid-template-columns: 1fr; } }

/* ---------- Formats & costs ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.format { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.format:nth-child(3) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.format:nth-child(3) p { color: var(--accent-ink); opacity: .9; }
.format h3 { margin-bottom: 10px; }
.format p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1000px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } }
.costs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.cost-n { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 650; letter-spacing: -.03em; line-height: 1; color: var(--accent-text); font-stretch: 84%; margin-bottom: 18px; }
.cost h3 { margin-bottom: 6px; }
.cost p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 800px) { .costs { grid-template-columns: 1fr; } }
.note { padding: 20px 22px; border-inline-start: 3px solid var(--accent); background: var(--surface); color: var(--ink-2); font-size: .96rem; }

/* ---------- Glance / box ---------- */
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.glance h3 { margin-bottom: 18px; }
.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(--ink-3); font-size: .92rem; }
.glance dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .glance dl div { grid-template-columns: 1fr; gap: 2px; } }
.box { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: var(--r); padding: clamp(28px, 4vw, 52px); }
.box-ic { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-text); }
.box-ic .ic { width: 28px; height: 28px; }
.box .section-head { margin-bottom: 0; }
.box-note { margin-top: 18px; font-size: .92rem; color: var(--ink-3); }
.box-note a { color: var(--accent-text); }
@media (max-width: 640px) { .box { grid-template-columns: 1fr; } .box .btn-lg { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.08rem; font-weight: 600; }
.faq-ic { display: inline-flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: var(--r); 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(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq-a { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- End CTA (photo band) ---------- */
.cta-end { position: relative; isolation: isolate; color: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.cta-end .hero-media::after { background: linear-gradient(90deg, rgb(var(--scrim) / .88) 0%, rgb(var(--scrim) / .55) 60%, rgb(var(--scrim) / .35) 100%); }
[dir="rtl"] .cta-end .hero-media::after { background: linear-gradient(270deg, rgb(var(--scrim) / .88) 0%, rgb(var(--scrim) / .55) 60%, rgb(var(--scrim) / .35) 100%); }
.cta-end h2 { max-width: 16ch; }
.cta-end p { margin-top: 14px; max-width: 46ch; color: rgb(255 255 255 / .88); font-size: 1.08rem; }

/* ---------- Mission, shows, credits, topics ---------- */
.mission { margin: 0; padding: 0; border: 0; }
.mission p { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; font-stretch: 90%; }
.mission p::before { content: ""; display: block; width: 48px; height: 4px; background: var(--accent); margin-bottom: 22px; }
.shows { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.shows a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.shows a:hover { color: var(--accent-text); }
.credits { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: .94rem; }
.credits a { color: var(--accent-text); }
.contact-card { display: grid; gap: 14px; }
.contact-card h2 { margin-bottom: 4px; }
.contact-card a, .contact-card p { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; font-weight: 600; }
.contact-card .ic { color: var(--accent-text); margin-top: 3px; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic { display: grid; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.topic:hover { border-color: var(--accent); transform: translateY(-2px); }
.topic-t { font-weight: 650; font-size: 1.05rem; }
.topic-m { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink-3); }
.topic-m .ic { width: 16px; height: 16px; }
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 88px) 0 28px; }
@media (prefers-color-scheme: dark) { .site-footer { background: #090C0B; color: var(--ink); } }
.site-footer .logo-word b span { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; opacity: .75; font-size: .95rem; }
.footer-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 16px; font-weight: 600; }
.lang-ar .footer-h, .lang-zh .footer-h { letter-spacing: 0; font-size: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a, .site-footer address a { text-decoration: none; opacity: .85; }
.site-footer ul a:hover, .site-footer address a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.site-footer address { font-style: normal; display: grid; gap: 12px; }
.site-footer address a { display: flex; gap: 10px; align-items: center; }
.site-footer address .ic { width: 18px; height: 18px; opacity: .7; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / .2); border-radius: var(--r); }
.social svg { width: 18px; height: 18px; }
.footer-langs { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); }
.footer-langs .lang-row a { color: inherit; opacity: .75; }
.footer-langs .lang-row a[aria-current="true"] { opacity: 1; color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .86rem; opacity: .65; }
.footer-base a { color: inherit; }
@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 { min-height: 100dvh; }
.gate-main { position: relative; isolation: isolate; min-height: 100dvh; display: grid; place-items: center; padding: 40px 16px; color: #fff; }
.gate-main .hero-media::after { background: rgb(var(--scrim) / .7); }
.gate-inner { width: 100%; max-width: 980px; display: grid; gap: 32px; justify-items: center; }
.gate .logo-word b span { color: #fff; opacity: .78; }
.lang-tiles { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.lang-tile { display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); text-decoration: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s; }
.lang-tile:hover { background: rgb(255 255 255 / .2); }
.lang-tile b { font-size: 1.2rem; }
.lang-tile span { font-size: .88rem; opacity: .85; line-height: 1.4; }
.lang-tile[dir="rtl"] { font-family: "Noto Kufi Arabic", sans-serif; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Share card (og/*.html -> 1200x630 PNG) ---------- */
body.og { margin: 0; width: 1200px; height: 630px; overflow: hidden; background: #EDEFEE; color: #141917; }
.og-card { display: grid; grid-template-columns: 640px 560px; height: 630px; }
.og-inner { padding: 64px 56px; display: flex; flex-direction: column; }
.og .logo-mark { width: 56px; height: 56px; }
.og .logo-word b { font-size: 1.9rem; }
.og .logo-word b span { color: #B23F1C; }
.og .logo-word small { font-size: .95rem; }
.og-title { margin-top: auto; font-size: 54px; line-height: 1.04; font-weight: 650; letter-spacing: -.03em; font-stretch: 86%; }
.lang-ar.og .og-title, .lang-zh.og .og-title { font-size: 46px; line-height: 1.35; letter-spacing: 0; }
.og-meta { margin-top: 28px; display: flex; gap: 22px; font-size: 22px; color: #3E4744; white-space: nowrap; }
.og-meta b { color: #B23F1C; }
.og-img { width: 560px; height: 630px; object-fit: cover; }
