/* Eye of Madinah: interactive presentation (1600x900 canvas scaled to the viewport) */
:root {
  --primary: #00372F;
  --primary-700: #0A4A3F;
  --secondary: #C49B74;
  --secondary-600: #B0855C;
  --accent: #062621;
  --light: #F4EFE6;
  --sage: #A9B8A5;
  --sand: #D7B96E;
  --brick: #B8755B;
  --text: #5e6b66;
  --white: #fff;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: 'Abril Fatface', Georgia, serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400' fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M0 300C120 240 200 360 330 300S560 180 800 250'/%3E%3Cpath d='M0 312C120 252 200 372 330 312S560 192 800 262'/%3E%3Cpath d='M0 324C120 264 200 384 330 324S560 204 800 274'/%3E%3Cpath d='M0 336C120 276 200 396 330 336S560 216 800 286'/%3E%3Cpath d='M0 348C120 288 200 408 330 348S560 228 800 298'/%3E%3Cpath d='M0 80C140 20 260 140 400 90S620 10 800 60'/%3E%3Cpath d='M0 92C140 32 260 152 400 102S620 22 800 72'/%3E%3Cpath d='M0 104C140 44 260 164 400 114S620 34 800 84'/%3E%3C/svg%3E");
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V46C0 31 7 21 19 14L50 0l31 14c12 7 19 17 19 32v74Z'/%3E%3C/svg%3E");
}
html[lang="ar"] { --font-head: 'El Messiri', 'IBM Plex Sans Arabic', serif; --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
.deck-body { background: #031612; color: var(--accent); font-family: var(--font-body); overflow: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, blockquote, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.4; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
[dir="ltr"] .icon--dir-rev { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }

/* ---------- Stage ---------- */
.deck { position: fixed; inset: 0; overflow: hidden; }
.deck__stage { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; overflow: hidden; background: #031612; box-shadow: 0 40px 120px rgba(0, 0, 0, .5); contain: layout paint; }
.slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; background: var(--light); backface-visibility: hidden; }
.slide.is-moving { will-change: transform, opacity, clip-path; }
[data-count-to] { display: inline-grid; justify-items: center; }
[data-count-to] > span { grid-area: 1 / 1; }
.cnt-ghost { visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 2; }
.slide.is-leaving { visibility: visible; z-index: 1; }
.bg { position: absolute; inset: 0; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 38, 33, .88), rgba(6, 38, 33, .35)); }
.shade--strong { background: linear-gradient(to top, rgba(6, 38, 33, .95) 10%, rgba(6, 38, 33, .55)); }
.shade--green { background: rgba(0, 55, 47, .88); }
.waves { position: absolute; inset: 0; background: var(--waves) center / cover no-repeat; opacity: .09; pointer-events: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em; margin-block: -.08em; }
.w > span { display: inline-block; }

/* ---------- Type ---------- */
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
.kick::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--secondary); }
.kick--light { color: var(--secondary); }
.h { font-size: 62px; color: var(--accent); }
.h--light { color: var(--white); }
.p { font-size: 24px; line-height: 1.75; color: var(--text); margin-top: 22px; }
.p--light { color: rgba(255, 255, 255, .82); }
.sh { position: relative; text-align: center; padding-top: 80px; }
.sh .h { max-width: 1200px; margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 40px; font-size: 20px; font-weight: 700; transition: background .3s, color .3s; }
.btn--primary { background: var(--secondary); color: var(--accent); }
.btn--primary:hover { background: var(--white); }
.btn--light { border: 2px solid rgba(255, 255, 255, .5); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--accent); }

.kufic { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 8px; }
.kufic i { height: 10px; background: repeating-linear-gradient(90deg, var(--secondary) 0 260px, transparent 260px 278px, var(--secondary) 278px 340px, transparent 340px 358px); transform-origin: var(--o, left); }
[dir="rtl"] .kufic i { --o: right; }
.kufic i:nth-child(2) { opacity: .75; background-size: 520px 100%; }
.kufic i:nth-child(3) { opacity: .5; background-size: 300px 100%; }
.corner { position: absolute; top: 0; inset-inline-start: 0; width: 120px; height: 120px; background: var(--secondary); }

/* ---------- 1 Cover / 17 Closing ---------- */
.s-cover, .s-close, .s-story { color: var(--white); background: var(--accent); }
.s-cover__inner, .s-close__inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 140px 60px; }
.s-cover__mark { width: 110px; margin-bottom: 30px; }
.s-cover__title { font-size: 104px; line-height: 1.15; color: var(--white); max-width: 1300px; }
.s-cover__slogan { margin-top: 26px; font-size: 34px; color: var(--secondary); font-family: var(--font-head); }
.s-cover__foot { position: absolute; bottom: 70px; inset-inline: 120px; display: flex; justify-content: space-between; font-size: 22px; color: rgba(255, 255, 255, .7); letter-spacing: .05em; }
.s-close__title { font-size: 90px; color: var(--white); }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; margin-top: 46px; font-size: 22px; color: rgba(255, 255, 255, .88); }
.contact li { display: flex; align-items: center; gap: 12px; }
.contact .icon { width: 26px; height: 26px; color: var(--secondary); }
.s-close__actions { display: flex; gap: 16px; margin-top: 46px; }
.s-close__inner .s-cover__mark { width: 90px; margin-bottom: 20px; }

/* ---------- 2 Quote ---------- */
.s-quote { background: var(--primary); color: var(--white); display: grid; place-items: center; text-align: center; }
.s-quote blockquote { position: relative; max-width: 1240px; padding: 0 80px; }
.s-quote blockquote p { font-family: var(--font-head); font-size: 66px; line-height: 1.5; }
html[lang="ar"] .s-quote blockquote p { font-weight: 600; }
.s-quote footer { margin-top: 40px; font-size: 28px; color: var(--secondary); font-weight: 600; }
.big-quote { position: absolute; top: 120px; left: 50%; translate: -50% 0; color: var(--secondary); }
.big-quote .icon { width: 110px; height: 110px; }

/* ---------- Split slides ---------- */
.s-split { display: grid; grid-template-columns: 46% 1fr; }
.s-split--rev { grid-template-columns: 1fr 42%; }
.s-split--rev .s-split__media { order: 2; }
.s-split__media { position: relative; overflow: hidden; }
.s-split__media img { width: 100%; height: 100%; object-fit: cover; }
.s-split__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px 100px; }
.s-split__note { margin-top: 30px; padding-inline-start: 22px; border-inline-start: 5px solid var(--secondary); font-family: var(--font-head); font-size: 30px; color: var(--primary); }
.ticks { display: grid; gap: 18px; margin-top: 34px; }
.ticks li { display: flex; align-items: center; gap: 18px; font-size: 26px; font-weight: 600; color: var(--accent); }
.ticks .icon { width: 50px; height: 50px; padding: 12px; background: var(--primary); color: var(--secondary); }
.feat6 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 36px; }
.feat6 li { display: flex; gap: 16px; align-items: flex-start; }
.feat6 li > span { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: var(--primary); color: var(--secondary); }
.feat6 .icon { width: 26px; height: 26px; }
.feat6 h3 { font-size: 24px; color: var(--accent); margin-bottom: 4px; }
.feat6 p { font-size: 17px; line-height: 1.6; color: var(--text); }
.s-split--rev .s-split__body { padding: 60px 80px; }

/* ---------- 4 Cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 60px 110px 0; }
.vcard { position: relative; padding: 50px 42px; background: var(--white); border-top: 6px solid var(--secondary); min-height: 470px; }
.vcard--dark { background: var(--primary); color: var(--white); }
.vcard__icon { width: 80px; height: 96px; display: grid; place-items: center; padding-top: 14px; background: var(--primary); color: var(--secondary); mask: var(--arch) center / 100% 100% no-repeat; -webkit-mask: var(--arch) center / 100% 100% no-repeat; margin-bottom: 30px; }
.vcard--dark .vcard__icon { background: var(--secondary); color: var(--accent); }
.vcard__icon .icon { width: 34px; height: 34px; }
.vcard h3 { font-size: 40px; margin-bottom: 18px; color: inherit; }
.vcard p { font-size: 22px; line-height: 1.75; color: var(--text); }
.vcard--dark p { color: rgba(255, 255, 255, .82); }

/* ---------- 5 Two paths ---------- */
.s-paths { display: grid; grid-template-columns: 1fr 1fr; background: var(--accent); }
.s-paths__half { position: relative; overflow: hidden; }
.s-paths__text { position: absolute; inset-inline: 80px; bottom: 170px; color: var(--white); }
.s-paths__text .num { font-family: var(--font-head); font-size: 90px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--secondary); }
.s-paths__text h2 { font-size: 72px; margin: 10px 0 14px; }
.s-paths__text p { font-size: 24px; line-height: 1.7; color: rgba(255, 255, 255, .85); max-width: 600px; }
.s-paths__badge { position: absolute; top: 70px; left: 50%; translate: -50% 0; padding: 18px 40px; background: var(--secondary); color: var(--accent); font-family: var(--font-head); font-size: 32px; z-index: 3; white-space: nowrap; }
html[lang="ar"] .s-paths__badge { font-weight: 700; }
.s-paths__quote { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; padding: 30px 120px; background: var(--primary); color: var(--white); text-align: center; font-family: var(--font-head); font-size: 28px; }

/* ---------- 6 Programs ---------- */
.s-green, .s-dark { background: var(--primary); color: var(--white); }
.s-dark { background: var(--accent); }
.s-grid-head { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 520px; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 0; padding-inline: 100px 30px; }
.tiles9 { position: absolute; top: 90px; bottom: 90px; inset-inline-end: 100px; width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255, 255, 255, .15); }
.tiles9 li { display: grid; place-content: center; justify-items: center; gap: 18px; padding: 20px; background: var(--white); color: var(--accent); text-align: center; font-size: 21px; font-weight: 600; line-height: 1.45; }
.tiles9__icon { width: 58px; height: 58px; color: var(--primary); stroke-width: 1.3; }

/* ---------- 7 Journey ---------- */
.journey { position: relative; padding: 110px 90px 0; }
.journey__line { position: absolute; top: 160px; inset-inline: 170px; height: 4px; background: linear-gradient(90deg, var(--secondary), var(--primary)); transform-origin: var(--o, left); }
[dir="rtl"] .journey__line { --o: right; background: linear-gradient(270deg, var(--secondary), var(--primary)); }
.journey ol { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.journey li { display: grid; justify-items: center; text-align: center; gap: 10px; }
.journey__node { width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--secondary); border: 6px solid var(--light); box-shadow: 0 0 0 3px var(--secondary); }
.journey__node .icon { width: 42px; height: 42px; }
.journey b { font-family: var(--font-head); font-size: 24px; color: var(--secondary-600); margin-top: 14px; }
.journey h3 { font-size: 27px; color: var(--accent); }
.journey p { font-size: 18px; line-height: 1.65; color: var(--text); }

/* ---------- 9 Values ---------- */
.values6 { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 60px 110px 0; background: rgba(255, 255, 255, .12); }
.values6 article { position: relative; padding: 38px 40px; background: var(--accent); }
.values6 b { position: absolute; top: 26px; inset-inline-end: 30px; font-family: var(--font-head); font-size: 60px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(196, 155, 116, .5); }
.values6 span { width: 62px; height: 62px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); margin-bottom: 22px; }
.values6 .icon { width: 30px; height: 30px; }
.values6 h3 { font-size: 32px; color: var(--white); margin-bottom: 8px; }
.values6 p { font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .72); }

/* ---------- 10/11 Impact ---------- */
.s-impact { color: var(--white); background: var(--primary); }
.big4 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 90px 110px 0; }
.big4 > div { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 30px 20px; }
.big4 > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .2); }
.big4__icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--secondary); margin-bottom: 16px; }
.big4__icon .icon { width: 46px; height: 46px; }
.big4 small { font-size: 20px; opacity: .7; }
.big4 strong { font-family: var(--font-head); font-size: 84px; font-weight: 400; line-height: 1.05; color: var(--white); font-variant-numeric: tabular-nums; }
html[lang="ar"] .big4 strong, html[lang="ar"] .stats8 strong, html[lang="ar"] .s-team__count strong { font-family: var(--font-body); font-weight: 700; }
.big4 p { font-size: 24px; color: var(--secondary); font-weight: 600; }
.stats8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 54px 110px 0; }
.stats8 > div { padding: 34px 30px; background: var(--white); border-bottom: 5px solid var(--secondary); }
.stats8 > div.is-dark { background: var(--primary); color: var(--white); }
.stats8 > div > span { width: 58px; height: 58px; display: grid; place-items: center; background: var(--primary); color: var(--secondary); margin-bottom: 20px; }
.stats8 > .is-dark > span { background: var(--secondary); color: var(--accent); }
.stats8 [data-count-to] { display: grid; justify-items: start; }
.stats8 .icon { width: 28px; height: 28px; }
.stats8 strong { display: block; font-family: var(--font-head); font-size: 56px; font-weight: 400; line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; }
.stats8 .is-dark strong { color: var(--secondary); }
.stats8 p { margin-top: 6px; font-size: 21px; font-weight: 600; color: var(--accent); }
.stats8 .is-dark p { color: var(--white); }

/* ---------- 12 Leaders ---------- */
.people3 { display: flex; justify-content: center; gap: 70px; margin-top: 50px; }
.people3 figure { display: grid; justify-items: center; text-align: center; }
.people3 .arch { width: 300px; height: 360px; overflow: hidden; background: var(--primary); mask: var(--arch) center / 100% 100% no-repeat; -webkit-mask: var(--arch) center / 100% 100% no-repeat; }
.people3 img { width: 100%; height: 100%; object-fit: cover; }
.people3 h3 { margin-top: 22px; font-size: 30px; color: var(--accent); }
.people3 span { font-size: 21px; color: var(--secondary-600); font-weight: 600; }
.s-leaders__quote { max-width: 1100px; margin: 34px auto 0; text-align: center; font-family: var(--font-head); font-size: 23px; line-height: 1.7; color: var(--primary); }

/* ---------- 13 Team ---------- */
.s-team { display: grid; grid-template-columns: 520px 1fr; background: var(--light); }
.s-team__count { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 80px; background: var(--primary); color: var(--white); overflow: hidden; }
.s-team__count::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -40px; width: 260px; height: 312px; background: var(--primary-700); mask: var(--arch) center / 100% 100% no-repeat; -webkit-mask: var(--arch) center / 100% 100% no-repeat; }
.s-team__count strong { position: relative; z-index: 1; font-family: var(--font-head); font-size: 190px; line-height: 1; font-weight: 400; color: var(--secondary); }
.s-team__count p:last-child { position: relative; z-index: 1; font-size: 30px; line-height: 1.5; margin-top: 18px; }
.s-team__people { display: flex; flex-direction: column; justify-content: center; padding: 60px 80px; }
.people5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 40px; }
.people5 .sq { aspect-ratio: 4 / 5; overflow: hidden; background: var(--primary); position: relative; }
.people5 .sq::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; border-top: 34px solid var(--secondary); border-inline-end: 34px solid transparent; }
.people5 img { width: 100%; height: 100%; object-fit: cover; }
.people5 figcaption { margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--accent); text-align: center; line-height: 1.45; }

/* ---------- 14 Partners ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 70px 130px 0; }
.logos li { height: 180px; display: grid; place-items: center; padding: 22px; background: var(--white); border-bottom: 4px solid transparent; transition: border-color .3s; }
.logos li:hover { border-color: var(--secondary); }
.logos img { max-height: 130px; width: auto; object-fit: contain; }

/* ---------- 15 Story ---------- */
.s-story__inner { position: absolute; inset-block: 0; inset-inline-start: 0; width: 980px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-inline: 120px; }
.s-story .h { font-size: 74px; }
.play { display: inline-flex; align-items: center; gap: 22px; margin-top: 46px; font-size: 26px; font-weight: 700; color: var(--white); }
.play > span { position: relative; width: 100px; height: 100px; display: grid; place-items: center; background: var(--secondary); color: var(--accent); }
.play > span::before { content: ""; position: absolute; inset: -14px; border: 2px solid rgba(196, 155, 116, .6); animation: pulse 2s var(--ease) infinite; }
.play svg { width: 40px; height: 40px; }
@keyframes pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Transition blinds ---------- */
.blinds { position: fixed; inset: 0; z-index: 20; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.blinds i { background: var(--primary); transform: scaleY(0); transform-origin: top; }
.blinds i:nth-child(even) { background: var(--secondary); transform-origin: bottom; }

/* ---------- UI ---------- */
.deck__ui { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.deck__ui > * { pointer-events: auto; }
.ui-brand { position: absolute; top: 18px; inset-inline-start: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; background: rgba(3, 22, 18, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); font-family: var(--font-head); font-size: 18px; }
html[lang="ar"] .ui-brand { font-weight: 700; }
.ui-brand img { width: 30px; }
.ui-tools { position: absolute; top: 18px; inset-inline-end: 20px; display: flex; gap: 6px; }
.ui-btn { height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; background: rgba(3, 22, 18, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.ui-btn:hover { background: var(--secondary); color: var(--accent); }
.ui-btn .icon { width: 19px; height: 19px; }
.ui-btn .i-pause { display: none; }
.ui-btn[aria-pressed="true"] { background: var(--secondary); color: var(--accent); }
.ui-btn[aria-pressed="true"] .i-play { display: none; }
.ui-btn[aria-pressed="true"] .i-pause { display: block; }
.ui-nav { position: absolute; bottom: 20px; inset-inline-end: 20px; display: flex; align-items: center; gap: 4px; background: rgba(3, 22, 18, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); }
.ui-arrow { width: 52px; height: 52px; display: grid; place-items: center; color: var(--white); transition: background .3s, color .3s; }
.ui-arrow:hover { background: var(--white); color: var(--accent); }
.ui-arrow--next { background: var(--secondary); color: var(--accent); }
.ui-arrow:disabled { opacity: .35; cursor: default; background: none; color: var(--white); }
.ui-count { min-width: 74px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.ui-count b { color: var(--secondary); font-size: 18px; }
.ui-progress { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.ui-progress span { display: block; height: 100%; width: 100%; background: var(--secondary); transform: scaleX(0); transform-origin: var(--po, left); transition: transform .9s var(--ease); }
[dir="rtl"] .ui-progress span { --po: right; }
.ui-hint { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; padding: 10px 18px; background: rgba(3, 22, 18, .6); color: rgba(255, 255, 255, .85); font-size: 14px; transition: opacity .6s; white-space: nowrap; }
.ui-hint.is-gone { opacity: 0; pointer-events: none; }
.rotate-hint { display: none; }
.ui-btn--text span { display: inline; }

@media (max-width: 760px) {
  .ui-btn--text span, .ui-brand span { display: none; }
  .ui-btn { height: 40px; min-width: 40px; padding: 0 10px; }
  .ui-hint { display: none; }
}
@media (orientation: portrait) and (max-width: 760px) {
  .rotate-hint { display: block; position: fixed; z-index: 31; top: 76px; inset-inline: 16px; padding: 10px 14px; background: var(--secondary); color: var(--accent); font-size: 14px; font-weight: 600; text-align: center; }
}

/* ---------- No-JS fallback: every slide in a column ---------- */
html:not(.deck-js) .deck-body { overflow: auto; }
html:not(.deck-js) .deck { position: static; display: block; }
html:not(.deck-js) .deck__stage { width: 100%; height: auto; transform: none; background: none; box-shadow: none; }
html:not(.deck-js) .slide { position: relative; visibility: visible; aspect-ratio: 16 / 9; height: auto; }
html:not(.deck-js) .deck__ui, html:not(.deck-js) .blinds { display: none; }

/* ---------- Print / Save as PDF: one slide per page ---------- */
@media print {
  @page { size: 1600px 900px; margin: 0; }
  html, body, .deck-body { height: auto; overflow: visible; background: #fff; }
  .deck { position: static; display: block; }
  .deck__stage { position: static; transform: none !important; width: 1600px; height: auto; overflow: visible; box-shadow: none; background: none; contain: none; }
  .cnt-ghost { display: none; }
  .slide { position: relative; visibility: visible !important; width: 1600px; height: 900px; break-after: page; page-break-after: always; clip-path: none !important; opacity: 1 !important; transform: none !important; }
  .slide * { opacity: 1 !important; transform: none !important; clip-path: none !important; visibility: visible !important; }
  .deck__ui, .blinds, .rotate-hint, .play > span::before { display: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; animation: none !important; }
}
