/* Educonf2026 public site: dark B2 design (approved mockup docs/mockups/b2-dark.html).
   Tokens and components follow the apple-ui house style; owner rules in docs/mockups/DESIGN-RULES.md. */
@font-face { font-family: RB; src: url("/static/fonts/RB-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: RB; src: url("/static/fonts/RB-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* tokens: mockup A (dark luxury) */
:root {
  --bg0: #06191B; --bg1: #0B2A2D; --bg2: #0F3236;
  --gold: #CDA86C; --gold-hi: #E2C48F; --gold-dim: rgb(205 168 108 / .55);
  --hair: rgb(205 168 108 / .22); --hair-soft: rgb(205 168 108 / .12);
  --ink: #F4EFE4; --ink-2: #D9DED8; --mute: #A9BEBB;
  --teal: #287E83; --lteal: #79C7BD; --slate: #426C79;
  --plate: linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / .02));
  --plate-edge: inset 0 1px 0 rgb(255 255 255 / .10), 0 0 0 1px var(--hair);
  --gut: 16px; --max: 1296px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 768px) { :root { --gut: 32px; } }
@media (min-width: 1200px) { :root { --gut: 72px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: RB, system-ui, sans-serif; font-weight: 400; color: var(--ink); background: var(--bg0);
       line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.25; font-weight: 400; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Arabic body text: justified. Chrome has no text-justify:kashida, so JS adds tatweel (see script); inter-word is the fallback. */
.just { text-align: justify; text-align-last: start; text-justify: inter-word; }
@supports (text-justify: kashida) { .just { text-justify: kashida; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
       border-radius: 999px; font: inherit; font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
       transition: transform .16s var(--ease), opacity .16s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--gold { background: linear-gradient(180deg, #D8B67D, #C29C5E); color: #0A1F21; box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -1px 0 rgb(0 0 0 / .12); }
.btn--line { color: var(--ink); background: linear-gradient(180deg, rgb(255 255 255 / .08), rgb(255 255 255 / .02)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 0 0 1px var(--gold-dim); }
.btn--sm { min-height: 48px; padding: 0 18px; font-size: 15px; }
@media (min-width: 768px) { .btn--sm { min-height: 44px; } }
.btn:hover { opacity: .92; }

/* ---------- formal strip (dark) ---------- */
.strip { background: #041214; border-bottom: 1px solid var(--hair-soft); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.strip-logo img { height: 60px; width: auto; }
.strip-facts { display: none; gap: 28px; color: var(--ink-2); font-size: 14px; }
.strip-facts span { display: inline-flex; align-items: center; gap: 8px; }
.strip-facts svg { color: var(--gold); }
.strip-partners { display: flex; align-items: center; gap: 16px; }
.strip-partners .yafea { height: 40px; width: auto; }
.strip-partners .scega { height: 46px; width: auto; }
.strip-partners .sep { width: 1px; height: 32px; background: var(--hair); }
@media (min-width: 1000px) { .strip-facts { display: flex; } }
@media (max-width: 420px) { .strip-logo img { height: 48px; } .strip-partners .yafea { height: 30px; } .strip-partners .scega { height: 36px; } .strip-partners { gap: 10px; } }

/* ---------- floating glass top bar ---------- */
.bar-shell { position: sticky; top: 0; z-index: 50; height: 0; }
.bar-shell .wrap { padding-top: 12px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px;
       padding: 8px; padding-inline-start: 14px; border-radius: 24px; color: var(--ink);
       background: rgb(6 25 27 / .80); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
       box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .12); }
.bar.is-scrolled { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .14), 0 14px 34px -18px rgb(0 0 0 / .8); }
.bar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; min-height: 44px; white-space: nowrap; }
.bar-brand .mk { flex: none; }
.bar-nav { display: none; gap: 4px; }
.bar-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none;
             color: var(--ink-2); font-size: 15px; transition: color .2s, background-color .2s; }
.bar-nav a:hover { color: var(--gold-hi); background: rgb(205 168 108 / .08); }
@media (min-width: 980px) { .bar-nav { display: flex; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .bar, .ticket { background: rgb(6 25 27 / .96); } }
@media (prefers-reduced-transparency: reduce) {
  .bar, .ticket { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(6 25 27 / .96); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate;
        /* Official logo colours never change. Instead of a glow/pool behind the lockup, the whole hero
           deepens evenly toward the logo side (inline-start = right in RTL): no blob, no visible edge. */
        background: linear-gradient(to left, #020C0D 0%, #031113 38%, #05171A 62%, var(--bg0) 100%); }
.hero-art { overflow: visible; position: absolute; z-index: -1; width: 560px; left: -250px; top: -40px; height: auto; opacity: .7;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 90%); mask-image: linear-gradient(180deg, #000 60%, transparent 90%); }
.hero-inner { position: relative; padding-top: 112px; padding-bottom: 40px; display: grid; gap: 28px; }
.hero-copy { display: grid; gap: 24px; }
.lockup-wrap { justify-self: start; }
.lockup { display: block; width: min(250px, 66vw); height: auto; overflow: visible; }
.hero-intro { color: var(--ink-2); font-size: 17px; max-width: 48ch; }
.hero-intro, .hero-cta { position: relative; z-index: 1; }   
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { flex: 1 1 auto; }

/* glass ticket — selected in-flow surface (blur over the arc composition) */
.ticket { border-radius: 28px; padding: 22px; color: var(--ink);
          background: linear-gradient(180deg, rgb(6 25 27 / .80), rgb(6 25 27 / .86));
          -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
          box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 0 0 1px rgb(205 168 108 / .30); }
.ticket-cap { font-size: 14px; color: var(--gold); margin-bottom: 10px; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd div { text-align: center; padding: 10px 4px 8px; border-radius: 16px; background: rgb(255 255 255 / .05); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 0 0 1px var(--hair-soft); }
.cd b { display: block; font-weight: 400; font-size: 34px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cd span { font-size: 13px; color: var(--mute); }
.facts { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-size: 15px; line-height: 1.5; }
.facts .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--gold); background: rgb(205 168 108 / .12); }
.facts small { display: block; color: var(--mute); font-size: 13px; }

@media (min-width: 600px) {
  .hero-art { width: 860px; left: -380px; top: -150px; }
  .lockup { width: 300px; }
  .hero-cta .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .hero { min-height: 800px; }
  .hero-art { width: 1160px; left: -230px; top: -170px; opacity: 1; -webkit-mask-image: none; mask-image: none; }
  .hero-inner { padding-top: 132px; padding-bottom: 72px; grid-template-columns: minmax(0, 1fr) 420px; align-items: start; gap: 48px; }
  .hero-copy { grid-column: 1; max-width: 600px; gap: 28px; }
  .lockup { width: 340px; }
  .ticket { grid-column: 2; margin-top: 212px; }
}

/* first-paint arc fade (opacity only) */
.hero-art .ar { animation: arcIn 1.2s var(--ease) both; }
.hero-art .ar-2 { animation-delay: .08s; } .hero-art .ar-3 { animation-delay: .16s; } .hero-art .ar-4 { animation-delay: .24s; }
.hero-art .ar-5 { animation-delay: .32s; } .hero-art .ar-6 { animation-delay: .40s; }
@keyframes arcIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-art .ar { animation: none; } .btn:active { transform: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding-block: 64px; }
@media (min-width: 1024px) { .sec { padding-block: 88px; } }
.s1 { background: var(--bg1); }
.s0 { background: var(--bg0); }
.divider { position: absolute; top: -96px; width: 240px; height: 120px; inset-inline-end: 8%; z-index: 2; pointer-events: none; }
.divider--b { inset-inline-end: auto; inset-inline-start: 8%; }
@media (max-width: 600px) { .divider { width: 150px; height: 75px; top: -60px; } }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 720px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 52px); }
.sec-head p { font-size: 17px; color: var(--ink-2); max-width: 60ch; }

/* about + stats */
.about-grid { display: grid; gap: 48px; }
.about-copy { display: grid; gap: 18px; align-content: start; }
.about-copy h2 { font-size: clamp(34px, 5vw, 52px); }
.about-copy .lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.8; color: var(--ink); max-width: 40em; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-self: center; }
.stat { display: grid; justify-items: center; gap: 10px; text-align: center; }
.stat-badge { position: relative; width: 100%; max-width: 168px; aspect-ratio: 1; display: grid; place-items: center; }
.stat-mk { position: absolute; inset: 0; width: 100%; height: 100%; }
.stat-num { position: relative; font-weight: 700; font-size: clamp(40px, 9vw, 64px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.goals-h { margin: 64px 0 24px; font-size: 26px; display: flex; align-items: center; gap: 16px; }
.goals-h::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.goals { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.goal { padding: 24px; border-radius: 28px; background: var(--plate); box-shadow: var(--plate-edge); display: grid; gap: 10px; align-content: start; }
.goal h3 { font-size: 20px; color: var(--gold-hi); }
.goal p { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
@media (min-width: 700px) { .goals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .goals { grid-template-columns: repeat(4, 1fr); } }

/* program timeline */
.program { background:
    radial-gradient(50% 40% at 100% 0%, rgb(40 126 131 / .20), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgb(66 108 121 / .22), transparent 70%), var(--bg0); }
.program-grid { display: grid; gap: 8px; }
@media (min-width: 1100px) { .program-grid { grid-template-columns: 320px 1fr; gap: 64px; }
  .program .sec-head { position: sticky; top: 110px; align-self: start; } }
.tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.tl::before { content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 1px;
              background: linear-gradient(180deg, var(--gold), rgb(121 199 189 / .5) 50%, rgb(255 255 255 / .1)); }
.tl-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.tl-node { position: relative; width: 56px; height: 56px; margin-top: 10px; border-radius: 50%; background: var(--bg0); display: grid; place-items: center; }
.sess { border-radius: 24px; background: var(--plate); box-shadow: var(--plate-edge); }
.sess summary { list-style: none; cursor: pointer; display: grid; gap: 14px; padding: 18px 20px; min-height: 76px; border-radius: 24px; }
.sess summary::-webkit-details-marker { display: none; }
.sess-head { display: grid; gap: 2px; }
.sess-label { color: var(--gold); font-size: 14px; }
.sess-title { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.sess-meta { display: flex; align-items: center; gap: 12px; }
.stack { display: flex; }
.av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #0d2427; margin-inline-start: -10px; background: #163a3e; }
.stack .av:first-child { margin-inline-start: 0; }
.av--ini, .av--more { display: grid; place-items: center; font-size: 14px; color: #fff; background: var(--slate); }
.av--more { background: #1d4448; font-size: 12px; font-variant-numeric: tabular-nums; }
.sess-count { font-size: 14px; color: var(--mute); white-space: nowrap; }
.chev { margin-inline-start: auto; flex: none; color: var(--gold); transition: transform .3s var(--ease); }
details[open] > summary .chev { transform: rotate(180deg); }
.sess-body { display: grid; gap: 24px; padding: 20px 0 24px; border-top: 1px solid var(--hair-soft); margin-inline: 20px; }
.sess-col h4 { font-size: 14px; color: var(--gold); margin-bottom: 12px; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.topics li { position: relative; padding-inline-start: 24px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.topics li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 11px; height: 11px; border-radius: 50%;
                     border: 2px solid var(--lteal); border-inline-start-color: transparent; transform: rotate(-30deg); }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.person { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.pav { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #163a3e; }
.pav--ini { display: grid; place-items: center; background: var(--slate); color: #fff; font-size: 18px; }
.p-txt { display: grid; gap: 2px; line-height: 1.5; }
.p-name { font-size: 15px; color: var(--gold-hi); }
.tag { justify-self: start; font-size: 12px; padding: 1px 10px; border-radius: 999px; color: #0A1F21; background: var(--gold); }
@media (min-width: 760px) {
  .sess summary { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 18px 24px; }
  .sess-meta .chev { margin-inline-start: 4px; }
  .sess-body { grid-template-columns: 1fr 1fr; gap: 32px; margin-inline: 24px; }
  .sess-body--one { grid-template-columns: 1fr; }
  .tl-item { gap: 20px; }
}
.prog-note { font-size: 14px; color: var(--mute) !important; }

/* speakers */
.sp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 10px; }
@media (min-width: 900px) { .sp-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .sp-grid { grid-template-columns: repeat(6, 1fr); gap: 40px 24px; } }
.sp { display: grid; justify-items: center; text-align: center; gap: 4px; }
.sp-photo { position: relative; width: 84px; height: 84px; margin-bottom: 8px; }
@media (min-width: 900px) { .sp-photo { width: 112px; height: 112px; } }
.sp-photo img, .sp-ini { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 50%; object-fit: cover; background: #163a3e; }
.sp-ini { display: grid; place-items: center; font-size: 30px; color: var(--lteal); background: #12363A; }
.sp-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-name { font-size: 14px; line-height: 1.5; }
@media (min-width: 900px) { .sp-name { font-size: 15px; } }

/* venue */
.venue { overflow: hidden; }
.venue-grid { display: grid; gap: 40px; align-items: center; }
.venue-art { width: min(420px, 100%); margin-block: -24px -40px; justify-self: end; margin-inline-end: -36%; }
.venue-art svg { width: 100%; height: auto; display: block; }
.venue-copy { display: grid; gap: 18px; }
.venue-copy h2 { font-size: clamp(34px, 5vw, 52px); }
.venue-name { font-size: clamp(24px, 3vw, 32px); color: var(--gold); line-height: 1.4; }
.venue-copy .facts { margin: 4px 0 8px; }
.venue-copy .btn { justify-self: start; }
.free { font-size: 15px; color: var(--ink-2); }
@media (min-width: 1000px) { .venue-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .venue-art { grid-column: 2; grid-row: 1; width: 560px; margin-block: -40px; margin-inline-end: -200px; justify-self: end; }
  .venue-copy { grid-column: 1; grid-row: 1; max-width: 520px; } }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 380px 1fr; gap: 72px; } .faq-grid .sec-head { position: sticky; top: 110px; align-self: start; } }
.faqs { display: grid; gap: 10px; }
.faq { border-radius: 20px; background: var(--plate); box-shadow: var(--plate-edge); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 22px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; max-width: 70ch; }
.faq-mail { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* footer */
.foot { background: var(--bg0); overflow: hidden; border-top: 1px solid var(--hair-soft); }
.foot-cta { position: relative; display: grid; gap: 18px; padding-block: 64px 48px; }
.foot-cta h2 { font-size: clamp(32px, 5vw, 56px); max-width: 16ch; }
.foot-cta p { color: var(--ink-2); font-size: 17px; }
.foot-cta .btn { justify-self: start; }
.foot-mark { position: absolute; inset-inline-end: -40px; top: 30px; width: 380px; height: 380px; pointer-events: none;
  background: radial-gradient(closest-side, #020B0C 0 60%, rgb(2 11 12 / 0) 100%); border-radius: 50%; }
@media (max-width: 900px) { .foot-mark { width: 220px; height: 220px; top: auto; bottom: -70px; inset-inline-end: -70px; opacity: .55; } }
.foot-cols { display: grid; gap: 24px; padding-block: 32px; border-top: 1px solid var(--hair-soft); }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.foot-brand .cl { height: 76px; width: auto; }
.foot-brand .yafea { height: 40px; width: auto; }
.foot-brand .scega { height: 48px; width: auto; }
.foot-cols h3 { font-size: 14px; color: var(--gold); margin-bottom: 10px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.foot-cols a:hover { color: var(--gold-hi); }
.foot-cols p { color: var(--ink-2); font-size: 14px; }
.foot-legal { padding-block: 20px 32px; border-top: 1px solid var(--hair-soft); font-size: 13px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 900px) { .foot-cols { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- hero: art clipped in its own layer ---------- */
.hero { overflow: visible; overflow-x: clip; z-index: 2; }
.hero-clip { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
@media (max-width: 767px) {
  .hero-inner { padding-bottom: 0; }
  .ticket { margin-bottom: -150px; position: relative; z-index: 3; }     /* overlaps the top of «عن المؤتمر» */
  #about { padding-top: 190px; }
  .hero-cta .btn { min-height: 48px; }
}

/* ---------- mobile menu (floating glass panel) ---------- */
.bar-end { display: flex; align-items: center; gap: 6px; }
.menu { position: relative; }
.menu-btn { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; cursor: pointer; color: var(--ink);
            background: rgb(255 255 255 / .05); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 0 0 1px var(--hair-soft); }
.menu-btn::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 220px; padding: 8px; border-radius: 20px; display: grid;
              background: rgb(6 25 27 / .90); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
              box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .12), 0 14px 34px -18px rgb(0 0 0 / .8); }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; text-decoration: none; color: var(--ink-2); }
.menu-panel a:hover { background: rgb(205 168 108 / .08); color: var(--gold-hi); }
@media (min-width: 980px) { .menu { display: none; } }
@media (max-width: 420px) { .bar-brand span { display: none; } }

/* ---------- speaker carousels (pattern borrowed from valuesforum.makarem.org.sa) ---------- */
.car + .car { margin-top: 64px; }
.car-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.car-title { font-size: clamp(22px, 3vw, 28px); color: var(--gold-hi); }
.car-count { font-size: 15px; color: var(--mute); margin-inline-start: 6px; }
.car-nav { display: none; gap: 8px; }
@media (min-width: 768px) { .car-nav { display: flex; } }
.car-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; color: var(--ink);
           background: linear-gradient(180deg, rgb(255 255 255 / .08), rgb(255 255 255 / .02)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 0 0 1px var(--gold-dim);
           transition: transform .16s var(--ease); }
.car-btn:active { transform: scale(.95); }
.car-track { list-style: none; margin: 0; padding: 0 0 2px; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
             scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.sc { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; }
@media (min-width: 640px) { .sc { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1000px) { .sc { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 1240px) { .sc { flex-basis: calc((100% - 48px) / 4); } }
.sc-photo { position: relative; aspect-ratio: 4 / 4.6; border-radius: 28px; overflow: hidden; isolation: isolate;
            background: radial-gradient(90% 70% at 50% 100%, rgb(40 126 131 / .30), transparent 70%), linear-gradient(180deg, var(--bg2), #0a2427);
            box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 0 0 1px var(--hair-soft); }
.sc-plate { position: relative; margin: -64px 14px 0; padding: 16px 18px 18px; border-radius: 22px; display: grid; gap: 4px; text-align: center; min-height: 128px; align-content: start;
            background: linear-gradient(180deg, rgb(15 50 54 / .97), rgb(11 42 45 / .97)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px var(--hair); }
.sc-name { font-size: 18px; line-height: 1.45; color: var(--gold-hi); }
/* name -> ornament (hairline · diamond · hairline) -> roles */
.sc-name { position: relative; padding-bottom: 20px; }
.sc-name::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 72px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-dim) 38%, transparent 38% 62%, var(--gold-dim) 62%, transparent); }
.sc-name::before { content: ""; position: absolute; left: 50%; bottom: 3.5px; width: 6px; height: 6px; transform: translateX(-50%) rotate(45deg); background: var(--gold); }
/* roles: one uniform stack, every line the same width, divided by hairlines; full text, never clamped */
.roles { list-style: none; margin: 0; padding: 0; display: grid; }
.roles li { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); padding: 8px 4px; text-wrap: balance; }
.roles li + li { border-top: 1px solid rgb(121 199 189 / .16); }
.roles--sm li { font-size: 12.5px; padding: 5px 0; }
.p-txt .roles { margin-top: 4px; }
.p-txt .roles li { text-wrap: pretty; }
.car-foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 70%; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .22); transition: transform .3s var(--ease), background-color .3s; }
.dot[data-on] { background: var(--gold); transform: scale(1.35); }
.car-all { margin-top: 18px; display: grid; }
.car-all > summary { justify-self: center; }
.car-all > summary { list-style: none; cursor: pointer; }
.car-all > summary::-webkit-details-marker { display: none; }
.car-all[open] > summary { margin-bottom: 24px; }
.all-grid { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 10px; }
@media (min-width: 900px) { .all-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px; } }
.gi { display: grid; justify-items: center; text-align: center; gap: 4px; }
.gi-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: end center; background: var(--bg2); box-shadow: 0 0 0 1px var(--hair); }
.gi-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gi-name { font-size: 14px; line-height: 1.5; color: var(--gold-hi); }

@media (prefers-reduced-motion: reduce) { .dot, .car-btn { transition: none; } }

/* ---------- compact footer on phones ---------- */
@media (max-width: 767px) {
  .foot-cta { padding-block: 48px 36px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand .cl { height: 60px; } .foot-brand .yafea { height: 32px; } .foot-brand .scega { height: 38px; }
  .foot-legal { justify-content: center; text-align: center; }
}

/* ======================================================================
   Site additions (port): shared chrome, pop-out speaker cards, sub-pages.
   ====================================================================== */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 12px;
        background: var(--bg2); color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px var(--gold-dim); }
.skip:focus { top: 12px; }
.arw { flex: none; }
.closed-note { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; color: var(--ink-2);
               background: rgb(255 255 255 / .05); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 0 0 1px var(--hair); }
.bar-nav a[aria-current="page"] { color: var(--gold-hi); }

/* abstract badge glyph: one fragment, turned per item */
.gl { display: block; width: 100%; height: 100%; transform: rotate(var(--r, 0deg)); }
.tl-node .gl { width: 56px; height: 56px; }
.goal .gl { width: 40px; height: 40px; }
.c-gold { color: var(--gold); } .c-lteal { color: var(--lteal); }
.stat-badge .gl { position: absolute; inset: 0; }

/* round avatars: photo, else the framed cut-out zoomed onto the head */
.av, .pav { overflow: hidden; }
.av img, .pav img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.av.av--cut, .pav.pav--cut { display: block; background: var(--bg2); }
/* framed canvas: head top at 16.5%, chin at 49% of its height -> head fills the circle from ~12% to ~80% */
.av--cut img, .pav--cut img, .gi-photo img.cut { width: 100%; height: auto; object-fit: initial; border-radius: 0; transform: scale(1.8); transform-origin: 50% 0; margin-top: -22%; }
.stack .av { display: block; }

/* ---------- speaker cards: pop-out ring ----------
   The brand ring sits behind the photo; its lower half is painted again in front, so the body sinks into
   the ring while the head rises above it. Both ring layers rotate together (mobile slide change). */
.sc-photo { background: radial-gradient(70% 55% at 50% 60%, rgb(40 126 131 / .30), transparent 70%), linear-gradient(180deg, var(--bg2), #0a2427); }
.sc-fig { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sc-ring { transform-box: view-box; transform-origin: 200px 256px; }
.gi-photo { place-items: start center; }
.gi-photo img { width: 100%; }

/* ---------- sub-pages (register, badge, rsvp, privacy) ---------- */
.page-doc main, .page-badge main { min-height: 50vh; }
.doc-hero { position: relative; overflow: hidden; padding-block: 128px 40px;
  background: radial-gradient(60% 90% at 15% 0%, rgb(40 126 131 / .30), transparent 70%), var(--bg0); }
.doc-hero h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 14px; }
.doc-hero p { color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.doc-hero a { color: var(--gold-hi); }
.wrap-narrow { max-width: 820px; }
.eyebrow { color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.doc { padding-block: 24px 72px; }
.doc-body h2 { font-size: 24px; color: var(--gold-hi); margin: 36px 0 12px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: var(--ink-2); font-size: 16px; }
.doc-body ul { padding-inline-start: 22px; display: grid; gap: 8px; margin: 0; }
.doc-body strong { font-weight: 400; color: var(--ink); }
.doc-body a { color: var(--gold-hi); text-underline-offset: 4px; }
.doc-back { margin-top: 40px; }

.panel { border-radius: 28px; padding: 24px; background: var(--plate); box-shadow: var(--plate-edge); }
@media (min-width: 640px) { .panel { padding: 32px; } }

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.field .opt { color: var(--mute); }
.field input { width: 100%; min-height: 52px; padding: 10px 16px; border: 0; border-radius: 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: rgb(255 255 255 / .05); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 0 0 1px rgb(255 255 255 / .16); transition: box-shadow .2s; }
.field input::placeholder { color: rgb(169 190 187 / .85); }
.field input:focus-visible { outline: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 0 0 2px var(--gold); border-radius: 16px; }
.alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 16px; color: #FFD9D4; background: rgb(179 38 30 / .22); box-shadow: 0 0 0 1px rgb(255 140 128 / .35); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { cursor: progress; }
.form-note { margin-top: 14px; color: var(--mute); font-size: 14px; }
.form-note a { color: var(--gold-hi); }
.foot-x { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
