/* Baby Expo Maroc
   Palette: cool mint-white + deep slate ink + one coral accent; soft "toy block" tints (mint, butter, sky, blush) only on tiles.
   Radius rule: interactive = pill, surfaces = 24px, images = 28px. Z-index scale: header 40, mobile nav 39, skip link 50. */
:root {
  --bg: #F2F5F4;
  --surface: #FFFFFF;
  --soft: #E7EEEC;
  --ink: #16212A;
  --muted: #4B5963;
  --line: #D5DFDC;
  --accent: #F05A38;
  --accent-hover: #E04A28;
  --on-accent: #16212A;
  --accent-text: #C13A1B;
  --mint: #CBEBDD;
  --butter: #FFE5A0;
  --sky: #D3E3F8;
  --blush: #FBD5CA;
  --on-tint: #16212A;
  --shadow: 0 22px 50px -28px rgb(22 50 45 / .35);
  --r: 24px;
  --r-img: 28px;
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1517; --surface: #172024; --soft: #141C1F; --ink: #EAF1EF; --muted: #A4B3B0; --line: #26343A;
    --accent: #FF7452; --accent-hover: #FF8C6E; --on-accent: #1A0C07; --accent-text: #FF8C6E;
    --mint: #1D3A31; --butter: #3A3218; --sky: #1C2C42; --blush: #3D2420; --on-tint: #EAF1EF;
    --shadow: 0 22px 50px -28px rgb(0 0 0 / .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1517; --surface: #172024; --soft: #141C1F; --ink: #EAF1EF; --muted: #A4B3B0; --line: #26343A;
  --accent: #FF7452; --accent-hover: #FF8C6E; --on-accent: #1A0C07; --accent-text: #FF8C6E;
  --mint: #1D3A31; --butter: #3A3218; --sky: #1C2C42; --blush: #3D2420; --on-tint: #EAF1EF;
  --shadow: 0 22px 50px -28px rgb(0 0 0 / .7); color-scheme: dark;
}
html[lang="ar"] { --font-display: "Baloo Bhaijaan 2", system-ui, sans-serif; --font-body: "Baloo Bhaijaan 2", system-ui, sans-serif; }
html[lang="zh-Hans"] { --font-display: "Bricolage Grotesque", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Figtree", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] body { line-height: 1.8; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.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: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--accent-text); margin-bottom: 18px; }
.sec-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); max-width: 22ch; }
section { padding-block: clamp(56px, 8vw, 104px); }
section.soft { background: var(--soft); }
.note { color: var(--muted); font-size: .95rem; margin-top: 28px; max-width: 70ch; }

/* Toy-block mark (logo + hero) */
.blocks { display: inline-grid; grid-template-columns: 12px 12px; grid-template-rows: 12px 12px; gap: 3px; flex: none; }
.blocks i { border-radius: 4px; display: block; }
.blocks i:nth-child(1) { background: var(--accent); grid-column: 1; grid-row: 2; }
.blocks i:nth-child(2) { background: #6CC3A3; grid-column: 2; grid-row: 2; }
.blocks i:nth-child(3) { background: #F6C445; grid-column: 1 / span 2; grid-row: 1; width: 12px; justify-self: center; transform: rotate(-12deg); }

/* Buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; border: 2px solid transparent; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .ic-arrow { transition: transform .25s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ic-arrow { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -14px rgb(240 90 56 / .9); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more { margin-top: 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.scrolled .site-header { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-word { font: 800 1.3rem/1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.03em; display: inline-flex; align-items: baseline; gap: 1px; }
.logo-word b { color: var(--accent-text); font-weight: 800; }
.logo-word small { font: 700 .62rem/1 "Figtree", sans-serif; letter-spacing: .16em; margin-inline-start: 7px; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { padding: 8px 11px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--mint); }
.nav-contact { display: none; }
.bar-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.icon-btn .ic { width: 20px; height: 20px; }
.i-sun, .i-close, .menu-btn { display: none; }
:root[data-theme="dark"] .i-moon { display: none; } :root[data-theme="dark"] .i-sun { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-moon { display: none; } :root:not([data-theme="light"]) .i-sun { display: block; } }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .85rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--soft); }
.ic-caret { width: 12px; height: 12px; transition: transform .2s; }
.lang[open] .ic-caret { transform: rotate(180deg); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); min-width: 160px; }
.lang ul a { display: block; padding: 9px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.lang ul a:hover { background: var(--soft); }
.lang ul a[aria-current] { color: var(--accent-text); }
@media (max-width: 1180px) { .bar-cta { display: none; } }
@media (max-width: 1020px) {
  .menu-btn { display: inline-grid; }
  .nav { position: fixed; inset: 70px 0 auto 0; z-index: 39; flex-direction: column; gap: 4px; padding: 16px; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav a { font-size: 1.1rem; padding: 12px 14px; }
  .nav-contact { display: block; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open .i-open { display: none; } .nav-open .i-close { display: block; }
  .bar-tools { margin-inline-start: auto; }
}

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .35em; }
.h1-l2 { display: block; font-size: .5em; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; color: var(--muted); margin-top: .35em; max-width: 24ch; }
html[lang="ar"] .h1-l2, html[lang="zh-Hans"] .h1-l2 { letter-spacing: 0; }
.hero-media { position: relative; padding-bottom: 36px; padding-inline-start: 36px; }
.hero-main { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-img); box-shadow: var(--shadow); }
.hero-inset { position: absolute; inset-inline-start: 0; bottom: 0; width: 38%; aspect-ratio: 1; object-fit: cover; border-radius: 22px;
  border: 6px solid var(--bg); box-shadow: var(--shadow); }
.hero-blocks { position: absolute; inset-inline-end: -10px; top: -14px; display: grid; grid-template-columns: 46px 46px; grid-template-rows: 46px 46px; gap: 8px; }
.hero-blocks i { display: block; border-radius: 14px; box-shadow: 0 10px 22px -12px rgb(0 0 0 / .35); }
.hero-blocks i:nth-child(1) { background: #F6C445; grid-column: 2; grid-row: 1; transform: rotate(10deg); }
.hero-blocks i:nth-child(2) { background: #6CC3A3; grid-column: 1; grid-row: 2; transform: rotate(-6deg); }
.hero-blocks i:nth-child(3) { background: var(--accent); grid-column: 2; grid-row: 2; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-text > * { animation: rise .8s var(--ease) both; }
  .js .hero-text > *:nth-child(2) { animation-delay: .06s; } .js .hero-text > *:nth-child(3) { animation-delay: .12s; } .js .hero-text > *:nth-child(4) { animation-delay: .18s; }
  .js .hero-main { animation: rise 1s var(--ease) .1s both; }
  .js .hero-inset { animation: rise 1s var(--ease) .3s both; }
  .js .hero-blocks i { animation: drop .9s cubic-bezier(.34, 1.56, .64, 1) both; }
  .js .hero-blocks i:nth-child(1) { animation-delay: .75s; } .js .hero-blocks i:nth-child(2) { animation-delay: .55s; } .js .hero-blocks i:nth-child(3) { animation-delay: .45s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes drop { from { opacity: 0; translate: 0 -60px; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { padding-inline-start: 22px; padding-bottom: 26px; }
  .hero-blocks { grid-template-columns: 34px 34px; grid-template-rows: 34px 34px; gap: 6px; inset-inline-end: 4px; }
  .hero-blocks i { border-radius: 10px; }
}

/* Audiences */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud { border-radius: var(--r); padding: clamp(26px, 3.5vw, 44px); color: var(--on-tint); }
.aud-pro { background: var(--sky); }
.aud-family { background: var(--butter); }
.aud p { color: var(--on-tint); opacity: .86; }
.aud h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.aud h3 { font-size: 1.45rem; }
.aud h2 + h3, .aud p + h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-top: 1.4em; }
.aud-ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--surface); color: var(--accent-text); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks .ic { color: var(--accent-text); margin-top: .22em; }
.checks-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .aud-grid { grid-template-columns: 1fr; } .checks-2 { grid-template-columns: 1fr; } }

/* Bento of universes */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; margin-top: 36px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; color: #fff; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(10 18 22 / .82), rgb(10 18 22 / .1) 60%); }
.tile:hover .tile-img { transform: scale(1.04); }
.tile-body { padding: 22px; display: grid; gap: 4px; }
.tile-body b { font: 700 1.3rem/1.15 var(--font-display); letter-spacing: -.02em; }
.tile.big .tile-body b { font-size: 1.8rem; }
.tile-body span { font-size: .95rem; opacity: .9; max-width: 42ch; }
.tile.tint { color: var(--on-tint); flex-direction: column; align-items: stretch; justify-content: space-between; }
.tint-feeding { background: var(--blush); }
.tint-services { background: var(--mint); }
.tile-ic { width: 44px; height: 44px; margin: 22px 22px 0; color: var(--accent-text); }
html[lang="ar"] .tile-body b, html[lang="zh-Hans"] .tile-body b { letter-spacing: 0; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .tile.big, .tile.wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .tile.big, .tile.wide { grid-column: auto; } .tile.big, .tile.tall { grid-row: span 1; }
  .tile.big { grid-row: span 2; }
}

/* Why Morocco */
.why-ma-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.why-ma-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); }
.why-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 26px; counter-reset: w; }
.why-list li { counter-increment: w; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
.why-list li::before { content: counter(w); grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px;
  background: var(--mint); color: var(--on-tint); font: 800 1.35rem/1 var(--font-display); }
.why-list li:nth-child(2)::before { background: var(--butter); } .why-list li:nth-child(3)::before { background: var(--blush); }
.why-list h3 { font-size: 1.3rem; margin-bottom: .3em; }
.why-list p { color: var(--muted); margin: 0; }
.why-list.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .why-ma-grid { grid-template-columns: 1fr; } .why-ma-media img { aspect-ratio: 4 / 3; } .why-list.cols-3 { grid-template-columns: 1fr; } }

/* Comfort band */
.comfort { background: var(--soft); }
.comfort-grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid var(--line); }
.comfort-grid li { padding: 26px 22px 6px 0; }
[dir="rtl"] .comfort-grid li { padding: 26px 0 6px 22px; }
.c-ic { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: 14px; }
.comfort-grid h3 { font-size: 1.2rem; margin-bottom: .35em; }
.comfort-grid p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .comfort-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .comfort-grid { grid-template-columns: 1fr; } }

/* Targets */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.stat { padding: 26px 0 0; border-top: 3px solid var(--ink); }
.stat b { display: block; font: 800 clamp(2.4rem, 5vw, 3.8rem)/1 var(--font-display); letter-spacing: -.04em; margin-bottom: 8px; }
.stat span { color: var(--muted); font-weight: 600; }
.stat:nth-child(1) { border-color: var(--accent); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 26px 16px; } }

/* Programme scroller */
.scroller-wrap { margin-top: 30px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: thin; }
.fmt { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.fmt-ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--mint); color: var(--on-tint); margin-bottom: 18px; }
.fmt:nth-child(3n+2) .fmt-ic { background: var(--butter); } .fmt:nth-child(3n) .fmt-ic { background: var(--blush); }
.fmt h3 { font-size: 1.25rem; }
.fmt p { color: var(--muted); margin: 0; }

/* Guide teaser */
.guide-teaser { padding-top: 0; }
.gt-card { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gt-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.gt-body { padding: clamp(28px, 4.5vw, 60px); align-self: center; }
.gt-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.gt-body p { color: var(--muted); max-width: 46ch; }
.gt-body .btn { margin-top: 10px; }
@media (max-width: 760px) { .gt-card { grid-template-columns: 1fr; } .gt-media img { min-height: 0; aspect-ratio: 16 / 10; } }

/* FAQ */
.faq-list { margin: 30px 0 0; display: grid; gap: 0; }
.faq-2 { grid-template-columns: 1fr 1fr; column-gap: 48px; }
.qa { padding: 22px 0; border-top: 1.5px solid var(--line); }
.qa dt { font: 700 1.15rem/1.3 var(--font-display); margin-bottom: 8px; }
.qa dd { margin: 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 760px) { .faq-2 { grid-template-columns: 1fr; } }

/* Final band */
.final-card { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--bg); }
.final-body { padding: clamp(30px, 5vw, 64px); align-self: center; }
.final-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 18ch; }
.final-body p { opacity: .82; max-width: 48ch; }
.final-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
@media (max-width: 760px) { .final-card { grid-template-columns: 1fr; } .final-media { order: -1; } .final-media img { min-height: 0; aspect-ratio: 16 / 9; } }

/* Inner page hero */
.page-hero { padding-block: clamp(28px, 4vw, 52px) clamp(40px, 5vw, 64px); }
.ph-grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.has-media .ph-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; max-width: 20ch; }
.ph-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
@media (max-width: 900px) { .has-media .ph-grid { grid-template-columns: 1fr; } }

/* Exhibit */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 26px; }
.why { padding: 24px 0; border-top: 1.5px solid var(--line); }
.why h3 { font-size: 1.3rem; } .why p { color: var(--muted); margin: 0; }
.pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 11px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.row-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.row-item h3 { font-size: 1.25rem; } .row-item p { color: var(--muted); margin: 0; }
.row-item.with-ic { display: flex; gap: 18px; align-items: flex-start; }
.rows:has(.with-ic) { grid-template-columns: 1fr 1fr; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font: 800 2rem/1 var(--font-display); color: var(--accent-text); margin-bottom: 12px; }
.steps h3 { font-size: 1.2rem; } .steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .rows, .rows:has(.with-ic) { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid, .steps { grid-template-columns: 1fr; } }

/* Visit */
.prac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.prac { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.prac > .ic { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 12px; }
.prac h3 { font-size: 1.2rem; } .prac p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .prac-grid { grid-template-columns: 1fr; } }

/* Universes page */
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.sc-media img, .sc-media.tint { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sc-media.tint { display: grid; place-items: center; }
.sc-ic { width: 64px; height: 64px; color: var(--accent-text); }
.sc-body { padding: 26px; }
.sc-body h2 { font-size: 1.55rem; } .sc-body > p { color: var(--muted); }
@media (max-width: 760px) { .sc-grid { grid-template-columns: 1fr; } }

/* Guide page */
.g-summary { font-size: 1.15rem; max-width: 70ch; padding: 22px 26px; border-radius: var(--r); background: var(--butter); color: var(--on-tint); margin-bottom: 34px; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.g-ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--mint); color: var(--on-tint); margin-bottom: 14px; }
.g-card:nth-child(3n+2) .g-ic { background: var(--sky); } .g-card:nth-child(3n) .g-ic { background: var(--blush); }
.g-card h2 { font-size: 1.35rem; }
.g-card .checks li { font-weight: 500; }
@media (max-width: 900px) { .g-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .g-grid { grid-template-columns: 1fr; } }

/* Callout, prose, contact */
.callout { background: var(--mint); color: var(--on-tint); border-radius: var(--r); padding: clamp(28px, 4vw, 52px); }
.callout h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); } .callout p { max-width: 60ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; } .prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose p { color: var(--muted); }
.facts { padding-inline-start: 1.2em; color: var(--muted); display: grid; gap: 8px; }
.sister { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sister a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.sister a:hover { border-color: var(--ink); }
.credits { padding-inline-start: 1.2em; color: var(--muted); font-size: .95rem; display: grid; gap: 6px; }
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s; }
.ccard:hover { transform: translateY(-3px); border-color: var(--ink); }
.ccard > .ic { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 14px; }
.ccard h2 { font-size: 1.3rem; } .ccard p { color: var(--muted); flex: 1; }
.direct { margin-top: 40px; }
.direct h2 { font-size: 1.5rem; }
.direct dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 0; }
.direct dt { font-weight: 700; color: var(--muted); font-size: .9rem; } .direct dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 900px) { .ccards { grid-template-columns: 1fr 1fr; } .direct dl { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ccards { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--soft); padding-top: 64px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); max-width: 38ch; margin-top: 16px; }
.foot-org a { font-weight: 700; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.foot-links a { text-decoration: none; color: var(--muted); font-weight: 600; } .foot-links a:hover { color: var(--ink); }
.foot-contact { display: grid; gap: 12px; align-content: start; }
.foot-contact a, .foot-contact p { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; margin: 0; }
.foot-contact .ic { color: var(--accent-text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 26px; margin-top: 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr; } }

/* Language gate */
.gate-main { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding-block: 40px; }
.lang-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.lang-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; display: grid; gap: 6px; }
.lang-tile:hover { border-color: var(--ink); }
.lang-tile b { font: 700 1.3rem/1.2 var(--font-display); }
.lang-tile span { color: var(--muted); font-size: .95rem; }
.lang-tile[lang="ar"] { font-family: "Baloo Bhaijaan 2", sans-serif; }
.lang-tile[lang="ar"] b { font-family: "Baloo Bhaijaan 2", sans-serif; }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } .tile-img { transition: none; } }

/* Per-photo focal points */
img[src*="/shoes"] { object-position: 50% 72%; }
img[src*="/pregnant."] { object-position: 50% 45%; }
img[src*="/stroller"] { object-position: 40% 50%; }
@media (max-width: 520px) {
  .bar { gap: 8px; }
  .bar-tools { gap: 2px; }
  .lang summary { padding: 0 6px; }
}
@media (max-width: 400px) { .logo-word small { display: none; } }
