/* Salon du Mariage
   Palette: cool ivory + green-black ink + one zellige-emerald accent (deep emerald band for closing cards only).
   Type: EB Garamond (display, ceremonial; Cormorant was dropped because its ê is broken), Outfit (body); Amiri + IBM Plex Sans Arabic for Arabic.
   Radius rule: interactive = pill, surfaces = 10px, feature photos = Moroccan arch (round top).
   Z-index scale: header 40, mobile nav 39, skip link 50. */
:root {
  --bg: #F3F5F1;
  --surface: #FFFFFF;
  --soft: #E8EEE9;
  --ink: #13201B;
  --muted: #4A5852;
  --line: #D3DCD5;
  --accent: #0E6B4F;
  --accent-hover: #0A5A42;
  --on-accent: #FFFFFF;
  --accent-text: #0C6449;
  --tint: #D6E9DF;
  --deep: #0D3528;
  --on-deep: #EEF4EF;
  --on-deep-muted: #B9CEC3;
  --shadow: 0 24px 60px -32px rgb(14 60 44 / .35);
  --r: 10px;
  --font-display: "EB Garamond", "Times New Roman", serif;
  --font-body: "Outfit", 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: #0B1210; --surface: #121C18; --soft: #0F1915; --ink: #E9F0EB; --muted: #A3B3AB; --line: #22322B;
    --accent: #3DBE8C; --accent-hover: #5ACE9F; --on-accent: #04130D; --accent-text: #62D3A6;
    --tint: #16342A; --deep: #0F3A2C; --shadow: 0 24px 60px -32px rgb(0 0 0 / .75); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1210; --surface: #121C18; --soft: #0F1915; --ink: #E9F0EB; --muted: #A3B3AB; --line: #22322B;
  --accent: #3DBE8C; --accent-hover: #5ACE9F; --on-accent: #04130D; --accent-text: #62D3A6;
  --tint: #16342A; --deep: #0F3A2C; --shadow: 0 24px 60px -32px rgb(0 0 0 / .75); color-scheme: dark;
}
html[lang="ar"] { --font-display: "Amiri", "Times New Roman", serif; --font-body: "IBM Plex Sans Arabic", system-ui, 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: -.015em; font-weight: 500; }
h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; font-size: 1.12rem; }
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
html[lang="ar"] body { line-height: 1.85; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
.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: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--accent-text); margin-bottom: 18px; }
.sec-title { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 20ch; }
section { padding-block: clamp(56px, 8vw, 104px); }
section.soft { background: var(--soft); }
.note { color: var(--muted); font-size: .95rem; margin-top: 28px; max-width: 72ch; }
.updated { color: var(--muted); font-size: .92rem; margin: -4px 0 0; }

/* Arch mark (logo) and arch frames */
.mark { display: inline-grid; place-items: end center; width: 26px; height: 32px; border: 2px solid var(--accent); border-radius: 999px 999px 3px 3px; flex: none; padding-bottom: 4px; }
.mark i { width: 10px; height: 14px; border-radius: 999px 999px 1px 1px; background: var(--accent); display: block; }
.arch { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* 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: 600; font-size: 1rem;
  text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; border: 1.5px 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 12px 26px -16px rgb(14 107 79 / .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: 600; 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: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-word { font: 500 1.36rem/1 "EB Garamond", serif; letter-spacing: -.005em; display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.logo-word em { font-style: italic; color: var(--accent-text); }
.logo-word small { font: 600 .6rem/1 "Outfit", sans-serif; letter-spacing: .2em; margin-inline-start: 4px; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; 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(--tint); }
.nav-extra { 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: 600; 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: var(--r); box-shadow: var(--shadow); min-width: 160px; }
.lang a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.lang a:hover { background: var(--soft); }
.lang a[aria-current="true"] { color: var(--accent-text); font-weight: 700; }

@media (max-width: 1179px) {
  .menu-btn { display: inline-grid; }
  .nav { position: fixed; inset: 72px 0 auto 0; z-index: 39; flex-direction: column; gap: 4px; margin: 0; padding: 16px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 72px); overflow: auto;
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; color: var(--ink); }
  .nav-extra { display: block; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-open .i-open { display: none; } .nav-open .i-close { display: block; }
  .bar-tools { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .bar-cta { display: none; }
  .logo-word { font-size: 1.24rem; }
  .logo-word small { display: none; }
}

/* Home hero */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 6.4vw, 5.6rem); line-height: 1; margin-bottom: 20px; }
.h1-l2 { display: block; font-style: italic; font-weight: 500; font-size: .5em; line-height: 1.15; color: var(--accent-text); margin-top: 12px; padding-bottom: 4px; }
html[lang="ar"] .h1-l2 { font-style: normal; font-size: .52em; }
.hero-media { position: relative; padding-bottom: 36px; padding-inline-start: 36px; }
.hero-media .arch { aspect-ratio: 4 / 5; max-height: min(74dvh, 680px); margin-inline-start: auto; width: 100%; }
.hero-inset { position: absolute; bottom: 0; inset-inline-start: 0; width: 42%; aspect-ratio: 1; border-radius: 999px; overflow: hidden;
  border: 6px solid var(--bg); box-shadow: var(--shadow); }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* Bento of universes */
.sectors-home .lead { margin-bottom: 36px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); text-decoration: none; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.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 .7s var(--ease); }
.tile.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(6 22 16 / .82), rgb(6 22 16 / .1) 62%); }
.tile:hover .tile-img { transform: scale(1.04); }
.tile-body { padding: 20px 22px; display: grid; gap: 4px; }
.tile-body b { font: 600 1.6rem/1.1 var(--font-display); }
.tile-body span { font-size: .95rem; opacity: .9; max-width: 40ch; }
.tile.tint { background: var(--tint); color: var(--ink); flex-direction: column; align-items: flex-start; justify-content: space-between; }
.tile.tint .tile-body span { color: var(--muted); opacity: 1; }
.tile-ic { width: 40px; height: 40px; margin: 22px 22px 0; color: var(--accent-text); }
@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile.big { grid-column: span 2; }
  .tile.tall { grid-row: span 2; }
  .tile.wide { grid-column: span 2; }
}
@media (max-width: 559px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .tile.big, .tile.wide { grid-column: auto; }
  .tile.big, .tile.tall { grid-row: span 1; }
}

/* Audiences */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.aud h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.aud > p { color: var(--muted); }
.aud .link { margin-top: auto; padding-top: 16px; }
.aud-pro { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.aud-pro > p, .aud-pro .checks { color: var(--on-deep-muted); }
.aud-pro .aud-ic, .aud-pro .checks .ic, .aud-pro .link { color: #7FDDB5; }
.aud-ic { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--accent-text); margin-top: .25em; }
.checks-2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 799px) { .aud-grid { grid-template-columns: 1fr; } .checks-2 { grid-template-columns: 1fr; } }

/* Programme scroller */
.scroller-wrap { margin-top: 12px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.fmt { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.fmt h3 { font: 600 1.45rem/1.15 var(--font-display); }
.fmt p { color: var(--muted); font-size: .98rem; margin: 0; }
.fmt-ic { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 18px; }

/* Traditions band and glossary */
.trad-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.trad-media .arch-sm { aspect-ratio: 3 / 4.2; max-width: 440px; }
.gloss { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; margin: 8px 0 0; }
.term { padding: 18px 0; border-top: 1px solid var(--line); }
.term dt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 600 1.5rem/1.2 var(--font-display); margin-bottom: 6px; }
.term-alt { font: 400 1.15rem/1 "Amiri", serif; color: var(--accent-text); }
.term-alt[lang="fr"] { font: italic 500 1.05rem/1 "EB Garamond", serif; }
.term dd { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 899px) { .trad-grid { grid-template-columns: 1fr; } .trad-media .arch-sm { max-width: 240px; } }

/* Targets */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 24px; }
.stat { padding: 8px 24px 8px 0; border-inline-end: 1px solid var(--line); display: grid; gap: 4px; }
.stat + .stat { padding-inline-start: 24px; }
.stat:last-child { border: 0; }
.stat b { font: 600 clamp(2.8rem, 5vw, 4.2rem)/1 var(--font-display); color: var(--accent-text); }
.stat span { color: var(--muted); }
@media (max-width: 799px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; } .stat { border: 0; padding: 0 !important; } }

/* Plan teaser timeline */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 4px; }
.timeline::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 7px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; gap: 2px; padding: 12px 0; padding-inline-start: 36px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 16px; height: 16px; border-radius: 999px; background: var(--bg); border: 2px solid var(--accent); }
.when { font: 600 1.35rem/1.1 var(--font-display); color: var(--accent-text); }
@media (max-width: 799px) { .plan-grid { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-list { display: grid; gap: 10px; margin-top: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.06rem; }
.qa-caret { width: 16px; height: 16px; color: var(--accent-text); transition: transform .25s var(--ease); }
.qa[open] .qa-caret { transform: rotate(180deg); }
.qa p { padding: 0 22px 20px; margin: 0; color: var(--muted); max-width: 72ch; }

/* Closing band */
.final { padding-top: 0; }
.final-card { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--deep); color: var(--on-deep); border-radius: var(--r); overflow: hidden; }
.final-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.final-body { padding: clamp(32px, 5vw, 64px); align-self: center; }
.final-body h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.final-body p { color: var(--on-deep-muted); max-width: 46ch; }
.final .btn-primary { background: #EEF4EF; color: #0D3528; box-shadow: none; }
.final .btn-primary:hover { background: #fff; }
@media (max-width: 799px) { .final-card { grid-template-columns: 1fr; } .final-media img { min-height: 220px; max-height: 300px; } }

/* Inner page hero */
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 72px); }
.ph-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.has-media .ph-grid { grid-template-columns: 1.25fr .75fr; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); max-width: 18ch; }
.ph-media { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 460px; width: 100%; max-width: 380px; justify-self: end; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
@media (max-width: 799px) { .has-media .ph-grid { grid-template-columns: 1fr; } .ph-media { justify-self: start; max-width: 300px; max-height: 340px; } }

/* Exhibit */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.why { padding: 24px 0; border-top: 1px solid var(--line); }
.why h3 { font: 600 1.6rem/1.15 var(--font-display); }
.why p { color: var(--muted); margin: 0; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 8px 0 0; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.row-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px; }
.row-item p { color: var(--muted); margin: 0; }
.row-item.with-ic { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.row-item.with-ic .fmt-ic { margin: 2px 0 0; }
.row-item.with-ic h3 { font: 600 1.45rem/1.15 var(--font-display); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--accent);
  color: var(--accent-text); font: 600 1.3rem/1 var(--font-display); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
.steps-v { grid-template-columns: 1fr; gap: 0; }
.steps-v li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps-v li::before { grid-row: span 2; margin: 0; }
.steps-v h3 { font: 600 1.55rem/1.15 var(--font-display); margin-bottom: 6px; }
.callout { background: var(--tint); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); max-width: 860px; }
.callout p { color: var(--muted); max-width: 60ch; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) { .why-grid, .rows, .steps { grid-template-columns: 1fr; } .steps-v li { grid-template-columns: 44px 1fr; } }

/* Visit */
.comfort-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.comfort-grid h3 { margin-top: 14px; margin-bottom: 4px; }
.comfort-grid p { color: var(--muted); margin: 0; }
.c-ic { width: 30px; height: 30px; color: var(--accent-text); }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ticket { background: var(--surface); border: 1px dashed var(--accent); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); }
.ticket h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.ticket p { color: var(--muted); }
.ticket-ic { width: 38px; height: 38px; color: var(--accent-text); margin-bottom: 16px; }
.tips { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 12px; }
.tips li::marker { color: var(--accent-text); font-weight: 700; }
.prac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prac { border-top: 2px solid var(--accent); padding-top: 18px; }
.prac .ic { width: 26px; height: 26px; color: var(--accent-text); }
.prac h3 { margin: 12px 0 4px; }
.prac p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 899px) { .comfort-grid { grid-template-columns: 1fr 1fr; } .prac-grid { grid-template-columns: 1fr 1fr; } .ticket-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .comfort-grid, .prac-grid { grid-template-columns: 1fr; } }

/* Suppliers page */
.sc-grid { display: grid; gap: 20px; }
.sc { display: grid; grid-template-columns: 340px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sc-media { min-height: 240px; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-media.tint { background: var(--tint); display: grid; place-items: center; }
.sc-ic { width: 64px; height: 64px; color: var(--accent-text); }
.sc-body { padding: clamp(24px, 3vw, 36px); }
.sc-body h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.sc-body > p { color: var(--muted); }
@media (max-width: 799px) { .sc { grid-template-columns: 1fr; } .sc-media { min-height: 200px; max-height: 240px; } }

/* Programme days */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.day { background: var(--surface); border-radius: var(--r); padding: 26px; border-top: 3px solid var(--accent); }
.day h3 { font: 600 1.6rem/1.1 var(--font-display); color: var(--accent-text); }
.day p { color: var(--muted); margin: 0; }
@media (max-width: 799px) { .days { grid-template-columns: 1fr; } }

/* Guides */
.g-summary { font-size: 1.12rem; background: var(--surface); border-inline-start: 3px solid var(--accent); padding: 22px 26px; border-radius: 0 var(--r) var(--r) 0; margin-bottom: 40px; }
[dir="rtl"] .g-summary { border-radius: var(--r) 0 0 var(--r); }
.phases { display: grid; gap: 16px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); }
.phase-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 8px; }
.phase-when { font-size: .9rem; font-weight: 600; color: var(--on-accent); background: var(--accent); padding: 4px 12px; border-radius: 999px; }
.phase h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin: 0; }
.budget { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.budget li { background: var(--surface); border-radius: var(--r); padding: 22px 24px; }
.budget h3 { margin-bottom: 4px; }
.budget p { color: var(--muted); margin: 0; font-size: .97rem; }
.regions { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 0; }
.regions li { padding: 16px 0; border-top: 1px solid var(--line); }
.regions h3 { font: 600 1.5rem/1.1 var(--font-display); color: var(--accent-text); margin-bottom: 4px; }
.regions p { margin: 0; color: var(--muted); }
@media (max-width: 899px) { .budget { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .budget { grid-template-columns: 1fr; } }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.facts { padding-inline-start: 1.2em; display: grid; gap: 10px; color: var(--muted); }
.facts li::marker { color: var(--accent-text); }
.sister { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sister a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.sister a:hover { border-color: var(--accent); color: var(--accent-text); }
.credits { padding-inline-start: 1.2em; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }

/* Contact */
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-decoration: none;
  transition: border-color .25s, transform .25s var(--ease); }
.ccard:hover { border-color: var(--accent); transform: translateY(-2px); }
.ccard > .ic { width: 30px; height: 30px; color: var(--accent-text); }
.ccard h2 { font-size: 1.7rem; margin: 14px 0 6px; }
.ccard p { color: var(--muted); }
.ccard .link { margin-top: auto; }
.direct { margin-top: 48px; }
.direct h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.direct dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.direct dt { font-size: .9rem; color: var(--muted); }
.direct dd { margin: 4px 0 0; font-weight: 600; }
.direct a { text-decoration: none; } .direct a:hover { text-decoration: underline; }
@media (max-width: 899px) { .ccards { grid-template-columns: 1fr 1fr; } .direct dl { grid-template-columns: 1fr; } }
@media (max-width: 499px) { .ccards { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 56px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); max-width: 38ch; margin-top: 16px; }
.foot-org a { color: var(--accent-text); }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.foot-links li { margin-bottom: 10px; break-inside: avoid; }
.foot-links a { text-decoration: none; color: var(--muted); } .foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-contact { display: grid; gap: 12px; align-content: start; }
.foot-contact a, .foot-contact p { display: inline-flex; align-items: center; gap: 10px; margin: 0; text-decoration: none; color: var(--muted); }
.foot-contact a:hover { color: var(--ink); }
.foot-contact .ic { color: var(--accent-text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px; margin-top: 40px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.foot-base p { margin: 0; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Language gate and 404 */
.gate-main { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 32px; text-align: center; padding-block: 40px; }
.gate .logo-word { font-size: 2rem; }
.lang-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px; }
.lang-tile { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: border-color .25s; }
.lang-tile:hover { border-color: var(--accent); }
.lang-tile b { font: 600 1.6rem/1 var(--font-display); }
.lang-tile[lang="ar"] b { font-family: "Amiri", serif; }
.lang-tile span { color: var(--muted); font-size: .95rem; }
@media (max-width: 559px) { .lang-tiles { grid-template-columns: 1fr; width: 100%; } }

/* Reveal on scroll (only when JS runs and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-text > * { animation: rise .9s var(--ease) both; }
  .hero-text > *:nth-child(2) { animation-delay: .08s; } .hero-text > *:nth-child(3) { animation-delay: .16s; } .hero-text > *:nth-child(4) { animation-delay: .24s; }
  .hero-media .arch { animation: unveil 1.2s var(--ease) both .1s; }
  .hero-inset { animation: rise 1s var(--ease) both .45s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px 10px 10px); } to { clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); } }
