/* EEPHT — DESKTOP */
:root {
  --ink: #1b1916; --ink2: #26231f; --paper: #f3eee4; --paper2: #e9e1d2; --red: #d93a2f; --red2: #b92d23; --green: #1f9a55; --gold: #b8913e;
  --muted: #6d665b; --muted-d: rgba(243, 238, 228, .6); --line: rgba(27, 25, 22, .12); --line-d: rgba(243, 238, 228, .14);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Manrope', system-ui, sans-serif; --ar-display: 'Noto Kufi Arabic', 'Manrope', sans-serif; --ar-sans: 'IBM Plex Sans Arabic', 'Manrope', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.77, 0, .175, 1);
  --pad: clamp(1.5rem, 4vw, 4.5rem); --maxw: 1440px;
  color-scheme: light;
}
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.02rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
[lang=ar] body { font-family: var(--ar-sans); font-size: 1.06rem; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir=rtl] .ico-flip, [dir=rtl] .btn .ico:last-child, [dir=rtl] .link-u .ico, [dir=rtl] .ar .ico, [dir=rtl] .fnext .ico { transform: scaleX(-1); }
.muted { color: var(--muted); }

/* type */
.display, .h1, .h2, .h3, .big { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0; font-optical-sizing: auto; }
.display { font-size: clamp(3.6rem, 8.2vw, 8.6rem); line-height: .94; letter-spacing: -.035em; font-variation-settings: 'SOFT' 50; }
.h1 { font-size: clamp(2.8rem, 6vw, 6rem); line-height: .98; letter-spacing: -.03em; }
.h2 { font-size: clamp(2.2rem, 4.2vw, 4.2rem); line-height: 1.02; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.15; }
.big { font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height: 1.3; letter-spacing: -.01em; }
em { font-style: italic; font-weight: 300; color: var(--red); }
[lang=ar] :is(.display, .h1, .h2, .h3, .big) { font-family: var(--ar-display); letter-spacing: 0; line-height: 1.3; font-weight: 600; }
[lang=ar] .display { font-size: clamp(3rem, 6.6vw, 6.8rem); line-height: 1.2; }
[lang=ar] .big { font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.7; }
[lang=ar] em { font-style: normal; font-weight: inherit; }
.kicker { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.6rem; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kicker i { width: 28px; height: 1px; background: currentColor; }
[lang=ar] .kicker { letter-spacing: 0; font-size: .9rem; text-transform: none; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; will-change: transform; }
.lead { font-size: 1.15rem; line-height: 1.65; max-width: 34rem; color: var(--muted); margin: 1.8rem 0 0; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; height: 3.4rem; padding: 0 1.6rem; border-radius: 99px; border: 1px solid transparent; font-weight: 600; font-size: .96rem; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s, transform .4s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
[dir=rtl] .btn:hover .ico:last-child { transform: scaleX(-1) translateX(4px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { color: #fff; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { color: var(--paper); border-color: var(--ink); }
.dk .btn-line:hover, .hero .btn-line:hover, .cta .btn-line:hover { color: var(--ink); }
.dk .btn::before, .hero .btn::before, .cta .btn::before { background: var(--paper); }
.dk .btn-red:hover, .hero .btn-red:hover, .cta .btn-red:hover { color: var(--ink); }
.btn-sm { height: 2.7rem; padding: 0 1.1rem; font-size: .88rem; }
.btn-wa { background: var(--green); color: #fff; width: 100%; height: 3.8rem; font-size: 1.02rem; }
.btn-wa::before { background: var(--ink); }
.btn-wa .ico { width: 1.4em; height: 1.4em; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.link-u { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
[dir=rtl] .link-u { background-position: 100% 100%; }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }
[dir=rtl] .link-u:hover { background-position: 0 100%; }

/* header */
.hd { position: fixed; z-index: 50; inset: 0 0 auto; height: 84px; display: flex; align-items: center; gap: 2rem; padding-inline: var(--pad); color: var(--ink); transition: transform .6s var(--ease), background-color .4s, color .4s, height .4s; }
.hd.on-dark { color: var(--paper); }
.hd.solid { background: rgba(243, 238, 228, .96); height: 70px; box-shadow: 0 1px 0 var(--line); }
.hd.on-dark.solid { background: rgba(27, 25, 22, .94); box-shadow: 0 1px 0 var(--line-d); }
.hd.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand .logo { width: 44px; height: 44px; border-radius: 50%; }
.brand b { display: block; font: 600 1.15rem/1 var(--serif); letter-spacing: .02em; }
.brand small { display: block; margin-top: 4px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
[lang=ar] .brand small { letter-spacing: 0; font-size: .8rem; }
.hd-nav { display: flex; gap: 2.1rem; margin-inline: auto; }
.hd-nav a { position: relative; font-size: .92rem; font-weight: 500; overflow: hidden; display: block; height: 1.5em; }
.hd-nav a span { display: block; transition: transform .5s var(--ease); }
.hd-nav a span::after { content: attr(data-t); position: absolute; inset-inline-start: 0; top: 100%; }
.hd-nav a:hover span { transform: translateY(-100%); }
.hd-nav a[aria-current] { color: var(--red); }
.hd-act { display: flex; align-items: center; gap: 1.2rem; }
.lang { font-weight: 600; font-size: .92rem; padding: .3rem .2rem; border-bottom: 1px solid transparent; }
.lang:hover { border-color: currentColor; }
.lang:lang(ar) { font-family: var(--ar-sans); font-size: 1rem; }
.lang:lang(fr) { font-family: var(--sans); }

/* intro */
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; }
html.intro-on .intro { display: block; pointer-events: auto; }
.intro-p { position: absolute; inset-inline: 0; height: 50.5%; background: var(--ink); }
.intro-p.a { top: 0; } .intro-p.b { bottom: 0; }
.intro-c { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1.4rem; color: var(--paper); }
.intro-ring { position: absolute; width: 230px; height: 230px; left: 50%; top: 50%; translate: -50% -62%; transform: rotate(-90deg); }
.intro-ring circle { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-ring circle + circle { stroke: var(--paper); stroke-width: .6; opacity: .4; }
.intro-logo { width: 150px; height: 150px; border-radius: 50%; }
.intro-w { display: flex; gap: .4em; margin: 0; font: 500 1.1rem var(--serif); letter-spacing: .5em; }
.intro-w span { display: inline-block; }
.intro-skip { position: absolute; bottom: 2rem; inset-inline-end: 2rem; background: none; border: 0; color: var(--muted-d); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 680px; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: 0; clip-path: inset(15vh 5vw 13vh 55vw round 22px); will-change: clip-path; }
[dir=rtl] .hero-media { clip-path: inset(15vh 55vw 13vh 5vw round 22px); }
.hero-bg { position: absolute; inset: 0; margin: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 15, .35), rgba(20, 18, 15, .25) 50%, rgba(20, 18, 15, .7)); }
/* the video sits exactly in the visible window of the frame */
.yt.hero-yt { position: absolute; z-index: 2; inset: 15vh 5vw 13vh 55vw; }
[dir=rtl] .yt.hero-yt { inset: 15vh 55vw 13vh 5vw; }

/* YouTube card (shared look) */
.yt { position: relative; overflow: hidden; background: #000; isolation: isolate; }
.yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), opacity .5s; }
.yt::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .75)); pointer-events: none; transition: opacity .4s; }
.yt:hover .yt-poster { transform: scale(1.06); }
.yt-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .6s var(--ease), background-color .3s; }
.yt-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); animation: ping 2.4s var(--ease) infinite; }
.yt-play .ico { width: 30px; height: 30px; margin-left: 4px; }
.yt-play:hover { transform: scale(1.08); background: var(--red2); }
@keyframes ping { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.yt-bar { position: absolute; z-index: 2; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; color: #fff; font-size: .86rem; font-weight: 600; }
.yt-t { display: flex; align-items: center; gap: .6rem; }
.yt-t i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(217, 58, 47, .3); }
.yt-bar a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 99px; background: rgba(255, 255, 255, .14); transition: background-color .3s; }
.yt-bar a:hover { background: var(--red); }
.yt iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.yt.playing .yt-play, .yt.playing .yt-bar, .yt.playing::after { opacity: 0; pointer-events: none; }
.hero-over { position: absolute; z-index: 3; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.hero-over .ln > span { transform: translateY(110%); }
.hero-copy { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; pointer-events: none; }
.hero-copy > * { max-width: 46vw; pointer-events: auto; }
.hero-copy .display { max-width: 50vw; font-size: clamp(2.8rem, 4.6vw, 5.6rem); line-height: 1; }
[lang=ar] .hero-copy .display { font-size: clamp(2.8rem, 5.4vw, 6rem); line-height: 1.25; }
.hero .kicker { color: var(--muted-d); }
.hero .lead { color: var(--muted-d); max-width: 30rem; }
.facts { display: flex; gap: 3rem; margin: 3.2rem 0 0; }
.facts dt { font: 400 2.4rem/1 var(--serif); }
.facts dd { margin: .5rem 0 0; font-size: .82rem; color: var(--muted-d); }
.scroll-cue { position: absolute; z-index: 4; bottom: 1.6rem; inset-inline-start: var(--pad); display: flex; align-items: center; gap: .8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
.scroll-cue i { position: relative; width: 1px; height: 38px; background: var(--line-d); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--paper); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* sections */
section { position: relative; }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 54rem; }
.sec-head .muted { max-width: 36rem; margin-top: 1.4rem; }

/* why — editorial list with cursor image */
.why { padding-block: clamp(6rem, 12vw, 11rem); }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why-list li { position: relative; display: grid; grid-template-columns: 5rem 1.1fr 1.3fr 3rem; align-items: center; gap: 2rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); cursor: default; transition: color .4s; }
.why-list li::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.why-list li:hover { color: var(--paper); }
.why-list li:hover::before { transform: none; }
.why-list li:hover p { color: var(--muted-d); }
.why-list .n { font-size: .85rem; font-weight: 600; color: var(--red); padding-inline-start: 1rem; }
.why-list h3 { margin: 0; font: 400 clamp(1.6rem, 2.6vw, 2.6rem)/1.1 var(--serif); letter-spacing: -.02em; }
[lang=ar] .why-list h3 { font-family: var(--ar-display); font-weight: 600; }
.why-list p { margin: 0; color: var(--muted); max-width: 30rem; transition: color .4s; }
.why-list .ar { opacity: 0; transform: translateX(-12px); transition: .5s var(--ease); }
.why-list li:hover .ar { opacity: 1; transform: none; }
.why-float { position: fixed; z-index: 30; left: 0; top: 0; width: 260px; height: 320px; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .35s, scale .5s var(--ease); }
.why-float.on { opacity: 1; scale: 1.25; }
.why-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* programmes — pinned stage */
.progs { background: var(--ink); color: var(--paper); }
.progs-pin { height: 100vh; display: flex; align-items: center; }
.progs-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.progs .kicker { color: var(--muted-d); }
.progs .h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin-bottom: 2.4rem; }
.progs-list { list-style: none; margin: 0; padding: 0; }
.progs-list li a { display: flex; align-items: baseline; gap: 1.2rem; padding: .55rem 0; color: rgba(243, 238, 228, .32); transition: color .5s, padding .5s var(--ease); }
.progs-list .n { font-size: .75rem; font-weight: 600; width: 1.6rem; }
.progs-list .tt { font: 400 clamp(1.4rem, 2.1vw, 2.1rem)/1.15 var(--serif); letter-spacing: -.01em; }
[lang=ar] .progs-list .tt { font-family: var(--ar-display); font-weight: 500; }
.progs-list li.on a { color: var(--paper); padding-inline-start: 1.2rem; }
.progs-list li.on .n { color: var(--red); }
.progs-list a:hover { color: rgba(243, 238, 228, .6); }
.js-stage .ps-img, .js-stage .ps-img.on, .js-stage .ps-img.was { transition: none; }
.js-stage .ps-img img, .js-stage .ps-img.on img { transition: none; transform: none; }
.progs-stage { position: relative; }
.ps-frame { position: relative; aspect-ratio: 1 / .95; max-height: 68vh; border-radius: 18px; overflow: hidden; background: #000; }
.ps-img { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io); }
.ps-img.on { clip-path: inset(0); z-index: 2; }
.ps-img.was { clip-path: inset(0); z-index: 1; }
.ps-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.6s var(--ease); }
.ps-img.on img { transform: scale(1); }
.ps-info { position: relative; height: 8.5rem; margin-top: 1.6rem; }
.ps-card { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease); pointer-events: none; }
.ps-card.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .2s; }
.ps-card .cat { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ps-card p { margin: .5rem 0 .9rem; color: var(--muted-d); max-width: 34rem; }
.ps-count { position: absolute; top: 1.2rem; inset-inline-end: 1.2rem; z-index: 3; display: flex; align-items: center; gap: .8rem; font-size: .8rem; font-weight: 600; color: #fff; mix-blend-mode: normal; }
.ps-count i { width: 70px; height: 2px; background: rgba(255, 255, 255, .3); position: relative; }
.ps-count s { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--k, .14)); transition: transform .5s; }
[dir=rtl] .ps-count s { transform-origin: right; }

/* durations */
.dur { padding-block: clamp(6rem, 11vw, 10rem); }
.dur-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: 3rem; }
.dur-line { position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--line); }
.dur-line i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
[dir=rtl] .dur-line i { transform-origin: right; }
.dur-n { position: relative; }
.dur-n .dot { position: absolute; top: calc(-3rem - 6px); inset-inline-start: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--muted); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.dur-n.on .dot { background: var(--red); border-color: var(--red); transform: scale(1.3); }
.dur-n b { font: 300 clamp(4.5rem, 8vw, 7.5rem)/.9 var(--serif); letter-spacing: -.04em; }
.dur-n .u { margin-inline-start: .6rem; font-size: 1rem; font-weight: 600; color: var(--muted); }
.dur-n p { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; }
.dur-n:nth-child(4) p { color: var(--red); } .dur-n:nth-child(5) p { color: var(--muted); }
.dur-note { margin-top: 2.4rem; font-size: .85rem; }

/* accreditation strip */
.aiae { padding-bottom: 1.4rem; }
.aiae-in { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding: clamp(2.5rem, 5vw, 5rem); border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.aiae-in::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--red) 0 33%, var(--ink) 33% 66%, var(--green) 66%); }
.aiae-vis { display: grid; justify-items: center; gap: 2rem; padding: clamp(1.5rem, 3vw, 3rem); border-radius: 20px; background: var(--paper); }
.aiae-badge { width: min(240px, 70%); height: auto; filter: drop-shadow(0 18px 30px rgba(27, 25, 22, .14)); animation: aiaeFloat 7s ease-in-out infinite; }
.aiae-wm { width: min(340px, 100%); height: auto; }
@keyframes aiaeFloat { 50% { transform: translateY(-10px) rotate(-3deg); } }
.aiae .h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.aiae .muted { max-width: 36rem; margin: 1.2rem 0 1.4rem; }
.aiae-pts { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.aiae-pts li { display: flex; gap: .7rem; align-items: center; font-weight: 500; }
.aiae-pts .ico { width: 1.15rem; height: 1.15rem; flex: none; color: var(--green); }
.aiae-facts { display: flex; gap: 3rem; margin: 0 0 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.aiae-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
[lang=ar] .aiae-facts dt { letter-spacing: 0; font-size: .85rem; }
.aiae-facts dd { margin: .3rem 0 0; font: 500 1.4rem var(--serif); }
.acc { padding-bottom: clamp(5rem, 9vw, 8rem); }
.acc-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 24px; background: var(--paper2); }
.acc-logo { width: 150px; height: auto; }
.acc .h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.acc .muted { max-width: 38rem; margin: 1.2rem 0 1.6rem; }

/* reviews */
.rvs { padding-block: clamp(6rem, 11vw, 10rem); background: var(--ink); color: var(--paper); overflow: hidden; }
.rvs .kicker { color: var(--muted-d); }
.rvs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 4rem; }
.rvs-score { display: flex; align-items: center; gap: 1.2rem; }
.rvs-score > b { font: 300 clamp(4.5rem, 8vw, 7rem)/.85 var(--serif); letter-spacing: -.04em; }
.rvs-score small { display: block; margin-top: .4rem; color: var(--muted-d); font-size: .85rem; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: rgba(243, 238, 228, .2); }
.stars svg.on { fill: #f5b301; }
.stars.big svg { width: 24px; height: 24px; }
.rvs-row { overflow: visible; }
.rvs-track { display: flex; gap: 1.4rem; width: max-content; padding-inline: var(--pad); will-change: transform; }
.rv { width: 420px; margin: 0; padding: 2rem; border-radius: 18px; background: var(--ink2); border: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 1.2rem; }
.rv-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted-d); font-size: .8rem; }
.rv blockquote { margin: 0; flex: 1; font: 400 1.12rem/1.55 var(--serif); }
.rv figcaption { display: flex; align-items: center; gap: .8rem; font-size: .9rem; }
.rv-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; }
.rv figcaption img { margin-inline-start: auto; }
.rvs-foot { display: flex; gap: 2rem; align-items: center; margin-top: 3rem; }
.rvs-foot small { color: var(--muted-d); }

/* cta */
.cta { padding-block: clamp(5rem, 9vw, 8rem); }
.cta-in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; padding: clamp(2.5rem, 6vw, 6rem); border-radius: 28px; background: var(--red); color: #fff; overflow: hidden; }
.cta-in::before { content: ''; position: absolute; inset-inline-end: -12%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.cta-in::after { content: ''; position: absolute; inset-inline-end: -4%; top: -22%; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.cta em { color: var(--ink); }
.cta p { margin: 0; opacity: .9; max-width: 28rem; }
.cta .btn-red { background: var(--ink); }
.cta .btn-line { color: #fff; }

/* footer */
.ft { background: var(--ink); color: var(--paper); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 3rem; }
.ft-brand .logo { width: 56px; height: 56px; border-radius: 50%; }
.ft-brand p { color: var(--muted-d); max-width: 22rem; margin: 1.4rem 0; }
.ft h3 { margin: 0 0 1.2rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); font-weight: 700; }
[lang=ar] .ft h3 { letter-spacing: 0; font-size: .9rem; }
.ft-top > div > a { display: flex; gap: .7rem; align-items: flex-start; padding: .3rem 0; color: rgba(243, 238, 228, .85); transition: color .3s; }
.ft-top > div > a:hover { color: var(--red); }
.ft-c .ico { margin-top: .3rem; color: var(--muted-d); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-d); transition: background .3s, color .3s; }
.socials a:hover { background: var(--paper); color: var(--ink); }
.ft-giant { padding-inline: var(--pad); margin-top: 4rem; line-height: .75; overflow: hidden; }
.ft-giant span { display: block; font: 400 clamp(8rem, 27vw, 30rem)/.78 var(--serif); letter-spacing: -.05em; color: var(--paper); text-align: center; }
.ft-bot { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.8rem; border-top: 1px solid var(--line-d); font-size: .82rem; color: var(--muted-d); }
.ft-bot a:hover { color: var(--paper); }
.wa-fab { position: fixed; z-index: 40; bottom: 1.6rem; inset-inline-end: 1.6rem; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 154, 85, .7); transition: transform .5s var(--ease); }
.wa-fab .ico { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }

/* inner page hero */
.ph { padding-top: calc(84px + clamp(5rem, 10vw, 9rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.ph .h1 { max-width: 60rem; }

/* filières list */
.fl { padding-bottom: 4rem; }
.fl-row { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.25fr) 3rem; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.fl-row:last-child { border-bottom: 1px solid var(--line); }
.fl-row .n { font-size: .85rem; font-weight: 600; color: var(--red); align-self: start; padding-top: .4rem; }
.fl-img { aspect-ratio: 1.45; border-radius: 14px; overflow: hidden; }
.fl-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.fl-row:hover .fl-img img { transform: scale(1.12); }
.fl-txt .cat { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.fl-txt h2 { margin: .5rem 0 .8rem; font: 400 clamp(2rem, 3.4vw, 3.4rem)/1 var(--serif); letter-spacing: -.02em; transition: color .4s; }
[lang=ar] .fl-txt h2 { font-family: var(--ar-display); font-weight: 600; line-height: 1.3; }
.fl-row:hover h2 { color: var(--red); }
.fl-txt p { color: var(--muted); margin: 0 0 1rem; max-width: 34rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tags li { padding: .3rem .8rem; border-radius: 99px; border: 1px solid var(--line); font-size: .78rem; font-weight: 600; }
.fl-row .ar { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, color .4s, transform .5s var(--ease); }
.fl-row:hover .ar { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(-45deg); }
[dir=rtl] .fl-row:hover .ar { transform: rotate(45deg); }
.langs { padding-block: 4rem; }
.langs-in { position: relative; border-radius: 24px; overflow: hidden; color: var(--paper); }
.langs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.langs-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 25, 22, .92) 35%, rgba(27, 25, 22, .35)); }
[dir=rtl] .langs-in::after { background: linear-gradient(-90deg, rgba(27, 25, 22, .92) 35%, rgba(27, 25, 22, .35)); }
.langs-c { position: relative; z-index: 1; padding: clamp(2.5rem, 6vw, 5.5rem); max-width: 44rem; }
.langs-c .kicker { color: var(--muted-d); }
.langs-c ul { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; padding: 0; list-style: none; }
.langs-c li { padding: .5rem 1.1rem; border-radius: 99px; border: 1px solid var(--line-d); font-weight: 600; }

/* programme page */
.fh { position: relative; height: 100svh; min-height: 640px; color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
.fh-media { position: absolute; inset: 0; }
.fh-media img { width: 100%; height: 100%; object-fit: cover; view-transition-name: prog-media; }
.fh-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 25, 22, .35) 0%, rgba(27, 25, 22, .1) 35%, rgba(27, 25, 22, .85) 100%); }
.fh-c { position: relative; padding-bottom: 2.4rem; }
.crumbs { display: flex; gap: .7rem; margin-bottom: 1.4rem; font-size: .85rem; color: var(--muted-d); }
.crumbs a:hover { color: var(--paper); }
.fh .kicker { color: rgba(243, 238, 228, .75); }
.fh .display { max-width: 75rem; font-size: clamp(3.4rem, 8vw, 8.4rem); }
.fh-meta { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0 auto; padding-block: 1.6rem 2.4rem; border-top: 1px solid var(--line-d); }
.fh-meta dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); font-weight: 700; }
[lang=ar] .fh-meta dt { letter-spacing: 0; font-size: .85rem; }
.fh-meta dd { margin: .4rem 0 0; font-weight: 600; }
.fi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; padding-block: clamp(5rem, 10vw, 9rem); }
.fi-n { font: 300 clamp(8rem, 18vw, 17rem)/.8 var(--serif); color: var(--red); letter-spacing: -.06em; position: sticky; top: 120px; align-self: start; }
.fi-c .big { margin-bottom: 2rem; }
.fi-c p.muted { max-width: 44rem; }
.sg { background: var(--ink); color: var(--paper); overflow: clip; }
.sg-pin { min-height: 100vh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: center; padding-block: 6rem; }
.sg .kicker { color: var(--red); }
.sg .muted { color: var(--muted-d); max-width: 26rem; margin: 1.4rem 0 2.4rem; }
.sg-prog { display: flex; align-items: center; gap: 1rem; font-size: .85rem; font-weight: 600; }
.sg-prog i { position: relative; width: 120px; height: 2px; background: var(--line-d); }
.sg-prog s { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir=rtl] .sg-prog s { transform-origin: right; }
.sg-cur { color: var(--red); font-variant-numeric: tabular-nums; }
.sig-gestion .sv-hotel { margin-inline-start: 0; }
.fp { padding-block: clamp(5rem, 9vw, 8rem) 0; }
.fp-block + .fp-block { margin-top: 6rem; }
.fp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4rem; }
.fp-list li { display: flex; gap: 1.4rem; padding: 1.4rem 0; border-top: 1px solid var(--line); font-size: 1.1rem; font-weight: 500; }
.fp-list .n { font-size: .8rem; font-weight: 600; color: var(--red); padding-top: .2rem; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: clamp(5rem, 9vw, 8rem) 0; align-items: end; }
.fg figure { margin: 0; border-radius: 18px; overflow: hidden; }
.fg-a { aspect-ratio: .82; } .fg-b { aspect-ratio: 1.3; margin-bottom: 8rem !important; }
.fg img { width: 100%; height: 118%; object-fit: cover; }
.fform { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; padding-block: 2rem clamp(5rem, 9vw, 8rem); align-items: start; }
.fform-side { position: sticky; top: 120px; }
.fform .muted { margin-top: 1.4rem; max-width: 26rem; }
.fnext { position: relative; display: block; height: 70vh; min-height: 460px; overflow: hidden; color: var(--paper); background: var(--ink); }
.fnext-img { position: absolute; inset: 0; }
.fnext-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.1); transition: transform 1.6s var(--ease), opacity .8s; }
.fnext:hover .fnext-img img { transform: scale(1.02); opacity: .7; }
.fnext-c { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.fnext .kicker { color: var(--muted-d); margin: 0; }
.fnext b { font: 400 clamp(3rem, 7vw, 7rem)/1 var(--serif); letter-spacing: -.03em; }
[lang=ar] .fnext b { font-family: var(--ar-display); font-weight: 600; line-height: 1.3; }
.fnext .ico { width: 3rem; height: 3rem; transition: transform .6s var(--ease); }
.fnext:hover .ico { transform: translateX(14px); }

/* forms */
.card { background: #fff; border-radius: 22px; padding: clamp(1.8rem, 3.5vw, 3rem); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(27, 25, 22, .35); }
.ff { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; margin-bottom: 1.8rem; }
.fld { display: flex; flex-direction: column; gap: .5rem; min-width: 0; border: 0; margin: 0; padding: 0; }
.fld.full { grid-column: 1 / -1; }
.fld > span, .fld legend { font-size: .82rem; font-weight: 700; padding: 0; margin-bottom: .1rem; }
.fld input, .fld select, .fld textarea { width: 100%; padding: .95rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); transition: border-color .3s, background .3s, box-shadow .3s; }
.fld textarea { resize: vertical; min-height: 6rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(27, 25, 22, .06); }
.fld legend { margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .6rem 1rem; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.err { font-style: normal; font-size: .8rem; color: var(--red); min-height: 0; }
.fld.bad input, .fld.bad textarea { border-color: var(--red); }
.form-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form-done { margin-top: 1.4rem; padding: 1.4rem; border-radius: 14px; background: rgba(31, 154, 85, .1); border: 1px solid rgba(31, 154, 85, .3); }
.form-done b { font: 500 1.3rem var(--serif); }
.form-done p { margin: .4rem 0 1rem; color: var(--muted); }
.form-done .btn { height: 2.8rem; color: var(--green); }
.wa-form.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* inscription / contact */
.ins { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; padding-bottom: 7rem; align-items: start; }
.ins-side { display: grid; gap: 1.4rem; position: sticky; top: 100px; }
.ins-box { padding: 2rem; border-radius: 20px; background: var(--paper2); }
.ins-box.dark { background: var(--ink); color: var(--paper); }
.ins-box h3, .adm-docs h3 { margin: 0 0 1.2rem; font: 400 1.5rem var(--serif); }
[lang=ar] .ins-box h3, [lang=ar] .adm-docs h3 { font-family: var(--ar-display); font-weight: 600; }
.ins-box ul, .adm-docs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ins-box li, .adm-docs li { display: flex; gap: .7rem; }
.ins-box li .ico, .adm-docs li .ico { color: var(--green); margin-top: .25rem; }
.ins-box a { display: flex; gap: .7rem; align-items: center; padding: .35rem 0; font-weight: 600; }
.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4rem; padding-bottom: 6rem; align-items: start; }
.ct-i { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.ct-i span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
[lang=ar] .ct-i span { letter-spacing: 0; font-size: .85rem; }
.ct-i p, .ct-i a { display: block; margin: .5rem 0 0; font: 400 1.4rem/1.35 var(--serif); }
[lang=ar] .ct-i p { font-family: var(--ar-sans); font-size: 1.2rem; }
.ct-i a:hover { color: var(--red); }
.ct-map { height: 60vh; min-height: 420px; }
.ct-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .6s; }
.ct-map:hover iframe { filter: none; }

/* about */
.ab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; padding-bottom: clamp(5rem, 9vw, 8rem); }
.ab-img { margin: 0; aspect-ratio: .8; border-radius: 22px; overflow: hidden; }
.ab-img img { width: 100%; height: 100%; object-fit: cover; }
.ab-c .h3 { margin-bottom: 1.6rem; }
.ab-c p { color: var(--muted); font-size: 1.08rem; }
.vals { padding-bottom: clamp(5rem, 9vw, 8rem); }
.vals-g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.vals-g li { padding: 2rem; border-radius: 20px; background: var(--paper2); }
.vals-g .n { font-size: .8rem; font-weight: 700; color: var(--red); }
.vals-g h3 { margin: 2.6rem 0 .6rem; font: 400 1.45rem var(--serif); }
[lang=ar] .vals-g h3 { font-family: var(--ar-display); font-weight: 600; }
.vals-g p { margin: 0; color: var(--muted); font-size: .95rem; }
.accr { padding-bottom: clamp(5rem, 9vw, 8rem); }
.accr-g { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; }
.accr-card { padding: clamp(2rem, 4vw, 3.4rem); border-radius: 24px; background: var(--paper2); display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.accr-card.main { background: #fff; box-shadow: 0 1px 0 var(--line); }
.accr-logos { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.accr-logos img { width: 150px; height: auto; }
.accr-logos .wm { width: 300px; border-radius: 10px; }
.accr-card p { margin: 0; font-size: 1.1rem; max-width: 34rem; }
.accr-card dl { display: flex; gap: 3rem; margin: 0; }
.accr-card dt { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
[lang=ar] .accr-card dt { letter-spacing: 0; font-size: .85rem; }
.accr-card dd { margin: .3rem 0 0; font: 500 1.4rem var(--serif); }
.accr-card .eoqm { width: 130px; }

/* admission */
.steps { padding-bottom: clamp(5rem, 9vw, 8rem); }
.steps-g { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: 3rem; }
.steps-line { position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
[dir=rtl] .steps-line i { transform-origin: right; }
.step .n { font: 300 4rem/1 var(--serif); color: var(--red); }
.step h3 { margin: 1.2rem 0 .6rem; font: 400 1.5rem/1.2 var(--serif); }
[lang=ar] .step h3 { font-family: var(--ar-display); font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.adm { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; padding-bottom: 2rem; align-items: start; }
.adm-c .big + .big { margin-top: 1.4rem; color: var(--muted); }
.adm-docs { padding: 2.2rem; border-radius: 20px; background: var(--ink); color: var(--paper); }
.faq { padding-bottom: 6rem; }
.faq-l { border-top: 1px solid var(--line); max-width: 62rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.8rem 0; font: 400 1.45rem/1.3 var(--serif); cursor: pointer; list-style: none; }
[lang=ar] .faq summary { font-family: var(--ar-display); font-weight: 500; font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0 0 1.8rem; color: var(--muted); max-width: 48rem; }
.legal { padding-bottom: 6rem; max-width: 56rem; }
.legal-t { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.legal-t th, .legal-t td { text-align: start; padding: 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-t th { width: 34%; font-weight: 600; color: var(--muted); }
.legal p { color: var(--muted); }
.legal a { color: var(--red); }

/* motion start states (only when JS motion is active) */
html.mo [data-lines] .ln > span, html.mo .display .ln > span { transform: translateY(110%); }
html.mo [data-fade], html.mo .hero-in, html.mo [data-reveal] { opacity: 0; }
html.mo .hero .kicker, html.mo .ph .kicker, html.mo .fh .kicker, html.mo .crumbs { opacity: 0; }

/* view transitions (cross-document) */
::view-transition-old(root) { animation: .7s var(--ease-io) both vt-out; }
::view-transition-new(root) { animation: .9s var(--ease-io) both vt-in; }
::view-transition-group(prog-media) { animation-duration: .9s; animation-timing-function: var(--ease-io); }
@keyframes vt-out { to { opacity: .2; transform: scale(.96); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

@media (max-width: 1100px) {
  .hd-nav { gap: 1.3rem; }
  .why-list li { grid-template-columns: 3.5rem 1fr 1.2fr; }
  .why-list .ar { display: none; }
  .vals-g { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  /* narrow desktop windows: stack, keep it usable */
  .hd-nav { display: none; }
  .hero-media, [dir=rtl] .hero-media { clip-path: inset(0); opacity: .45; }
  .hero-copy > * { max-width: none; }
  .reel-cap { display: none; }
  .progs-grid, .fi, .sg-pin, .fform, .ins, .ct, .ab, .adm, .accr-g, .cta-in, .acc-in, .aiae-in { grid-template-columns: 1fr; }
  .progs-pin { height: auto; padding-block: 6rem; }
  .fl-row { grid-template-columns: 1fr; }
  .fl-row .n, .fl-row .ar { display: none; }
  .dur-track, .steps-g, .fh-meta { grid-template-columns: 1fr 1fr; }
  .fp-list, .ff, .fg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* accent: red marks every step towards the inscription */
.kicker i { background: var(--red); height: 2px; }
.card { position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--red) 0 70%, var(--green) 70% 85%, var(--gold) 85%); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217, 58, 47, .12); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.fld > span b, .fld legend b, .req { color: var(--red); }
.fform-side .kicker, .ins .kicker, .ph .kicker { color: var(--red); }
.ins-box.dark { background: var(--red); color: #fff; }
.ins-box.dark a:hover { color: var(--ink); }
.dur-n b { transition: color .4s; }
.dur-n.on b { color: var(--red); }

/* partners band, above the footer on every page */
.partners { background: var(--paper2); border-top: 1px solid var(--line); }
.partners-in { max-width: var(--maxw); margin: 0 auto; padding: 2.6rem var(--pad); display: flex; align-items: center; gap: 3rem; }
.partners-k { margin: 0; flex: none; max-width: 12rem; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
[lang=ar] .partners-k { letter-spacing: 0; font-size: .95rem; text-transform: none; }
.partners-row { flex: 1; display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 1rem; }
.pt-card { height: 112px; display: grid; place-items: center; padding: 1rem 1.4rem; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.pt-card img { height: 76px; width: auto; max-width: 100%; object-fit: contain; }
.pt-card:first-child img { height: 68px; }
a.pt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(27, 25, 22, .5); }
.pt-card:nth-child(3) img { border-radius: 10px; }

@media (max-width: 860px) {
  .yt.hero-yt, [dir=rtl] .yt.hero-yt { position: relative; inset: auto; z-index: 5; width: min(100%, 520px); aspect-ratio: 1; margin: 2rem var(--pad) 0; }
  .partners-in { flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .partners-row { grid-template-columns: 1fr 1fr; } .pt-card:first-child { grid-column: 1 / -1; }
}

/* ---------- Amazigh (Tifinagh) + 3-language switch ---------- */
.langs-sw { display: flex; align-items: center; gap: 1.1rem; }
.lang:lang(zgh) { font-family: 'Noto Sans Tifinagh', 'Ebrima', var(--sans); font-size: .95rem; letter-spacing: .02em; }
[lang=zgh] { --serif: 'Fraunces', 'Noto Sans Tifinagh', 'Ebrima', Georgia, serif; --sans: 'Manrope', 'Noto Sans Tifinagh', 'Ebrima', system-ui, sans-serif; }
[lang=zgh] em { font-style: normal; }
[lang=zgh] :is(.display, .h1, .h2, .h3, .big) { letter-spacing: 0; line-height: 1.12; }
[lang=zgh] .kicker, [lang=zgh] .brand small { letter-spacing: .04em; }

.ft-credit { padding-block: 0 1.6rem; margin-top: -.6rem; font-size: .74rem; letter-spacing: .04em; color: var(--muted-d); opacity: .75; text-align: center; }
