/* =============================================================================
   DOTMENT Academy — page styles (sub-brand, Aug 2026)
   -----------------------------------------------------------------------------
   Builds on base.css (tokens, reset, header, footer, buttons). The Academy
   sub-brand is black-dominant with cyan #40E4FF and gold #F6C439 (~50/30/20),
   a black→cyan glow gradient language, grain, and hand-drawn marker accents.
   The Capability Framework page keeps its own (earlier) look; the shared
   header/footer chrome is themed here for every page.

   1. Sub-brand tokens + header/footer chrome      2. Ambient (grain/glow/beam)
   3. Shared section parts                          4. Hero
   5. Proof strip (clients)                         6. Tracks explainer
   7. Tracks accordion                              8. Quarters calendar
   9. Trainers (+ become-a-trainer)                10. Organizations
   11. Learning library                            12. Final CTA
   13. Trainer profile page (light, unchanged)     14. Legal page (light, unchanged)
   15. Enrollment modal (dark)                     16. Video lightbox
   17. Pages/router                                18. Responsive
   19. No-script                                   20. Reduced motion
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Sub-brand tokens + shared chrome
   ------------------------------------------------------------------------ */
:root {
  --cyan: #40E4FF;
  --gold: #F6C439;
  --el: #FFC200;                  /* the hand-drawn marker elements' yellow */
  --dk-ink-2: rgba(255, 255, 255, 0.68);
  --dk-ink-3: rgba(255, 255, 255, 0.46);
  --dk-hair: rgba(255, 255, 255, 0.14);
  --dk-hair-2: rgba(255, 255, 255, 0.08);
  --dk-card: rgba(255, 255, 255, 0.045);
  --dk-card-b: rgba(255, 255, 255, 0.13);
}
/* one accent across the whole site (base.css still defines the old pale blue) */
:root { --blue: #40E4FF; --blue-wash: rgba(64, 228, 255, 0.12); }

/* header: dark, blurred when sticky, two-line wordmark, gold CTA */
.site-header { border-bottom: 1px solid var(--dk-hair-2); background: var(--black); }
.site-header.is-sticky { position: sticky; top: 0; }
/* every page in this build is dark, so the bar is simply the page colour */
body { background: var(--black); }
.brand { padding: 6px 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1.06; font-weight: 800; font-size: 15px; letter-spacing: 0; font-kerning: none; font-variant-ligatures: none; color: var(--white); }
.brand-word i { font-style: normal; color: var(--gold); }
.site-nav a[data-nav] { text-transform: none; letter-spacing: 0.06em; font-size: 13.5px; font-weight: 500; }
.site-nav a[data-nav]::after { background: var(--cyan); }
.nav-cta { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--gold); white-space: nowrap; padding: 10px 0; animation: ac-pulse-soft 3.6s ease-in-out infinite; transition: color var(--dur-fast); }
.nav-cta:hover { color: #ffd35c; animation: none; }
@keyframes ac-pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }
/* the KSA program's own highlighted nav button — a filled pill so it reads
   as a distinct destination, not another text link */
.nav-ksa { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--cyan); color: #04262b; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; white-space: nowrap; transition: background var(--dur-fast), transform var(--dur-fast); }
.nav-ksa .icon { width: 13px; height: 13px; }
.nav-ksa:hover { background: #8CEEFF; transform: translateY(-1px); }
/* the second standalone pill, so the two read as a pair rather than a repeat */
.nav-ksa.is-gold { background: var(--gold); color: #1c1400; }
.nav-ksa.is-gold:hover { background: #FFD65C; }
/* language toggle — a quiet outline pill beside the KSA button, in the same
   dark-header accent as the nav-link underline; fills solid on hover */
.lang-toggle { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 16px; border-radius: 999px; border: 1.5px solid rgba(64, 228, 255, 0.4); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, 0.82); white-space: nowrap; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.lang-toggle:hover, .lang-toggle:focus-visible { background: var(--cyan); border-color: var(--cyan); color: #04262b; }
.foot-l .logo { height: 20px; width: auto; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { display: inline-block; padding: 8px 0; transition: color var(--dur-fast); }
.foot-nav a:hover { color: var(--white); }
.foot-r a:hover { color: var(--gold); }

/* gold + outline buttons (the sub-brand's primary/secondary) */
.btn-gold, .btn-line { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); border-radius: 999px; }
.btn-gold:hover, .btn-line:hover, .btn-gold:focus-visible, .btn-line:focus-visible,
.btn-gold:active, .btn-line:active { background: var(--gold); color: #0A0900; border-color: var(--gold); transform: translateY(-2px); }
.btn-line { color: var(--white); }
.btn-line:hover, .btn-line:focus-visible, .btn-line:active { color: #0A0900; }

/* ---------------------------------------------------------------------------
   2. Ambient — grain, drifting glow pools, the hero beam
   ------------------------------------------------------------------------ */
.ac-grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; filter: url(#ac-grain); mix-blend-mode: overlay; opacity: 0.5; }
.ac-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
@keyframes ac-drift-a { from { opacity: 0.5; transform: translate3d(0, 0, 0) scale(1); } to { opacity: 0.85; transform: translate3d(-70px, 46px, 0) scale(1.14); } }
@keyframes ac-drift-b { from { opacity: 0.55; transform: translate3d(0, 0, 0) scale(0.98); } to { opacity: 0.9; transform: translate3d(64px, -40px, 0) scale(1.1); } }
@keyframes ac-drift-c { from { opacity: 0.5; transform: translate3d(-30px, 20px, 0) scale(1.05); } to { opacity: 0.8; transform: translate3d(50px, -30px, 0) scale(0.94); } }
.ac-beam { position: absolute; left: -20%; right: -20%; top: -12%; bottom: -12%; pointer-events: none; z-index: 0;
  background: linear-gradient(112deg, transparent 36%, rgba(64, 228, 255, 0.09) 47%, rgba(122, 236, 255, 0.17) 53%, rgba(64, 228, 255, 0.07) 60%, transparent 72%);
  filter: blur(52px); animation: ac-sweep 26s ease-in-out infinite alternate; }
@keyframes ac-sweep { from { transform: translate3d(-6%, 3%, 0); } to { transform: translate3d(8%, -5%, 0); } }

/* reveal on scroll — JS-gated so nothing hides without scripts */
html.js #page-academy [data-reveal] { opacity: 0.55; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js #page-academy [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------
   3. Shared section parts (dark)
   ------------------------------------------------------------------------ */
/* `clip` (not `hidden`): hidden turns main into a scroll container, so a nav
   click scrolled it internally and the page could not return to the top. */
#page-academy main { background: var(--black); color: var(--white); position: relative; overflow: clip; }
.ac-section { position: relative; }
.ac-section-pad { --sec-pad: clamp(72px, 8vw, 108px); padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
/* An in-page link to a section used to stop at the section's top edge, which
   put its own top padding — up to 108px of nothing — between the header and the
   heading you clicked to see. Pulling the stop up by that padding lands the
   heading just under the header instead. */
.ac-section-pad[id] { scroll-margin-top: calc(32px - var(--sec-pad)); }
.ac-h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.01em; font-weight: 800; }
/* "development" is one word: the .ac-dot span below is an inline-block, which is a
   line-break opportunity, so without this the word could split as "develop· / ment". */
.ac-h2 .ac-nb { white-space: nowrap; }
/* .ac-head is a flex row above 900px; the heading shares it with the note block and
   was being shrunk below its natural width, forcing a wrap. Below 900px .ac-head is
   a column, where flex-shrink applies to the cross axis and this is inert. */
.ac-head > .ac-h2 { flex-shrink: 0; }
/* font-size/line-height 0 + overflow hidden hide the literal "·" glyph inside
   the span, which otherwise paints in the heading's white text colour and
   overflows this 8px box as a second dot below the gold one. The character
   stays in the markup as a graceful fallback if this stylesheet fails. */
.ac-h2 .ac-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin: 0 2px; font-size: 0; line-height: 0; overflow: hidden; }
.ac-eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.ac-sub { font-size: 16.5px; line-height: 1.6; color: var(--dk-ink-2); }
.ac-head { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(24px, 4vw, 60px); margin-bottom: clamp(32px, 4vw, 52px); position: relative; z-index: 2; }
.ac-head .ac-sub { max-width: 28em; text-align: end; }
.ac-head .r { text-align: end; }
.ac-shead { max-width: 640px; margin-bottom: 52px; position: relative; z-index: 2; }
.ac-shead .ac-eyebrow { display: block; margin-bottom: 14px; }
.ac-shead .ac-h2 { margin-bottom: 16px; }
/* hand-drawn marks from the brand's Elements sheet, trimmed to their stroke */
.ac-h2.has-mark { position: relative; display: inline-block; padding-bottom: 30px; }
.ac-mark-ul, .ac-mark-wv { position: absolute; inset-inline-start: 2px; bottom: 4px; width: min(66%, 250px); height: auto; opacity: 0.92; pointer-events: none; }
.ac-mark-wv { width: min(72%, 290px); bottom: 6px; }
.ac-mark-ck { width: 12px; height: auto; flex: none; opacity: 0.95; }
.ac-note { font-size: 12px; color: var(--dk-ink-3); display: block; margin-top: 6px; }
.ac-golddot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-inline-start: 5px; }
.ac-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; border-bottom: 2px solid var(--cyan); padding-bottom: 4px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.ac-link:hover { color: var(--cyan); }
.ac-link.is-white { color: var(--white); border-color: var(--cyan); }
.ac-link.is-white:hover { color: var(--cyan); }
.ac-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
#page-academy :focus-visible { outline-color: var(--cyan); }
.ac-legend { display: flex; gap: 26px; flex-wrap: wrap; margin: 0 0 30px; position: relative; z-index: 2; }
.ac-legend span { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-3); }
.ac-legend i, .ac-texp-meta i { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.is-foundation { background: var(--cyan); }
.is-applied { background: var(--gold); }
.is-advanced { background: var(--white); }
/* calendar legend — by market, not by track (a course can now run in more
   than one market through the year) */
.ac-legend .is-online { background: transparent; border: 1.5px solid var(--cyan); }
.ac-legend .is-egypt { background: var(--gold); }
.ac-legend .is-ksa { background: var(--white); }
.ac-legend .is-dubai { background: transparent; border: 1.5px solid var(--white); }

/* ---------------------------------------------------------------------------
   4. Hero
   ------------------------------------------------------------------------ */
.ac-hero { padding: clamp(48px, 6vw, 76px) 0 clamp(64px, 7vw, 96px); }
.ac-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 32px; align-items: center; position: relative; z-index: 2; }
.ac-hero h1 { font-size: clamp(32px, 4.1vw, 54px); line-height: 1.08; letter-spacing: -0.01em; font-weight: 800; margin-bottom: 22px; }
.ac-hero h1 .hline { display: block; }
.ac-hero h1 em { font-style: normal; color: var(--cyan); }
.ac-hero .ac-lead { font-size: 18px; line-height: 1.6; color: var(--dk-ink-2); max-width: 32em; margin-bottom: 30px; }
.ac-hero .ac-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 34px; }
.ac-tagline { display: flex; align-items: baseline; gap: 0.22em; font-weight: 800; font-size: 25px; letter-spacing: 0.2em; }
.ac-tagline .c { color: var(--el); }
.ac-hero-mark { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; }
.ac-hero-mark img { width: min(94%, 500px); height: auto; }
html.js .ac-hero-mark img { animation: ac-float 7s ease-in-out 1.3s infinite; }
@keyframes ac-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* entrance */
.js .ac-hero-copy > * { opacity: 0; transform: translateY(14px); animation: ac-rise 0.7s var(--ease) forwards; }
.js .ac-hero-copy > :nth-child(2) { animation-delay: 0.14s; }
.js .ac-hero-copy > :nth-child(3) { animation-delay: 0.26s; }
.js .ac-hero-copy > :nth-child(4) { animation-delay: 0.38s; }
.js .ac-hero-mark { opacity: 0; animation: ac-fade 0.9s var(--ease) 0.3s forwards; }
@keyframes ac-rise { to { opacity: 1; transform: none; } }
@keyframes ac-fade { to { opacity: 1; } }

/* ---------------------------------------------------------------------------
   5. Proof strip — facts + client logos
   ------------------------------------------------------------------------ */
.ac-proof { padding: 30px 0; border-top: 1px solid var(--dk-hair-2); border-bottom: 1px solid var(--dk-hair-2); position: relative; z-index: 2; }
.ac-proof .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.ac-facts { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.ac-facts span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dk-ink-3); font-weight: 600; }
.ac-clients { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; }
.ac-clients em { font-style: normal; color: var(--dk-ink-3); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.ac-clients img { display: block; width: auto; opacity: 0.85; }

/* ---------------------------------------------------------------------------
   6. Tracks explainer
   ------------------------------------------------------------------------ */
.ac-texp { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%); padding-bottom: clamp(24px, 2.4vw, 36px); }
.ac-tracks { --sec-pad: clamp(28px, 2.8vw, 40px); padding-top: var(--sec-pad); }
.ac-texp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.ac-texp-card { position: relative; padding: 34px 28px 30px; border-radius: 18px; background: var(--dk-card); border: 1px solid var(--dk-card-b); display: flex; flex-direction: column; gap: 14px; color: inherit; transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease); }
.ac-texp-card:hover { border-color: rgba(64, 228, 255, 0.45); transform: translateY(-4px); }
.ac-texp-card .tn { font-size: 13px; font-weight: 800; color: var(--dk-ink-3); }
.ac-texp-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.ac-texp-card h3 span { color: var(--cyan); }
.ac-texp-card p { font-size: 14.5px; line-height: 1.55; color: var(--dk-ink-2); }
.ac-texp-meta { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.ac-texp-meta > span { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dk-ink-3); }
.ac-legend i { display: inline-block; }
.ac-texp-arrow { display: flex; justify-content: center; gap: 10px; margin-top: 26px; color: var(--dk-ink-3); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; align-items: center; position: relative; z-index: 2; }
.ac-texp-arrow .icon { width: 15px; height: 15px; stroke: var(--gold); }

/* ---------------------------------------------------------------------------
   7. Tracks — vertical accordion, one track open at a time
   ------------------------------------------------------------------------ */
.ac-tracks .ac-h2 { margin-bottom: 16px; }
.ac-tracks .ac-instr { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dk-ink-3); font-weight: 600; margin-bottom: 40px; }
.ac-acc { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--dk-hair); position: relative; z-index: 2; }
.ac-panel { border-bottom: 1px solid var(--dk-hair); }
.ac-panel-btn { width: 100%; display: grid; grid-template-columns: 44px 210px minmax(0, 1fr) 90px 28px; align-items: center; gap: 18px; padding: 26px 6px; text-align: start; color: inherit; transition: background var(--dur-fast); }
.ac-panel-btn:hover { background: rgba(255, 255, 255, 0.03); }
.ac-panel.is-open .ac-panel-btn { background: rgba(64, 228, 255, 0.05); }
.ac-panel-btn .num { font-size: 13px; font-weight: 800; color: var(--dk-ink-3); }
.ac-panel-btn .name { font-size: 20px; font-weight: 800; }
.ac-panel-btn .desc { font-size: 14px; color: var(--dk-ink-2); }
.ac-panel-btn .deliv { display: none; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-3); }
.ac-panel-btn .count { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-3); justify-self: end; white-space: nowrap; }
.ac-panel-btn .vert { display: none; }
.ac-ctl { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--dk-hair); display: flex; align-items: center; justify-content: center; pointer-events: none; transition: transform var(--dur) var(--ease), border-color var(--dur-fast); justify-self: end; }
.ac-ctl .ac-icon { width: 12px; height: 12px; }
.ac-panel.is-open .ac-ctl { transform: rotate(45deg); border-color: var(--gold); }
.ac-panel-body { padding: 0 6px 30px; }
.ac-panel-body[hidden] { display: none; }
.ac-courses { border-top: 1px solid var(--dk-hair-2); }
.ac-course { border-bottom: 1px solid var(--dk-hair-2); }
.ac-course:last-child { border-bottom: 0; }
.ac-course-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 18px; align-items: center; }
.ac-course-btn { display: grid; grid-template-columns: 34px minmax(0, 1fr) 118px 58px 64px 30px; gap: 14px; align-items: center; text-align: start; color: inherit; min-height: 44px; padding: 16px 0; width: 100%; }
.ac-course-btn .cn { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--cyan); }
.ac-course-btn .ct { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; transition: color var(--dur-fast); }
.ac-course-btn .ct small { display: block; font-size: 12.5px; font-weight: 400; color: var(--dk-ink-3); margin-top: 2px; letter-spacing: 0; }
.ac-course-btn .cloc { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; white-space: nowrap; font-weight: 700; }
.ac-course-btn .cloc::before { content: ""; width: 7px; height: 7px; flex: none; }
/* online = hollow cyan ring; in person = solid gold square */
.ac-course-btn .cloc.is-online { color: var(--cyan); border: 1px solid rgba(64, 228, 255, 0.45); }
.ac-course-btn .cloc.is-online::before { border-radius: 50%; border: 1.5px solid var(--cyan); }
.ac-course-btn .cloc.is-dubai { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.5); }
.ac-course-btn .cloc.is-dubai::before { border-radius: 50%; border: 1.5px solid var(--white); }
.ac-course-btn .cloc.is-egypt { color: #0A0900; background: var(--gold); border: 1px solid var(--gold); }
.ac-course-btn .cloc.is-egypt::before { background: #0A0900; }
.ac-course-btn .cloc.is-ksa { color: #0A0900; background: var(--white); border: 1px solid var(--white); }
.ac-course-btn .cloc.is-ksa::before { background: #0A0900; }
.ac-course-btn .cm { font-size: 11.5px; color: var(--dk-ink-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.ac-course-btn .ac-ctl-sm { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--dk-hair); display: flex; align-items: center; justify-content: center; justify-self: end; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur) var(--ease); }
.ac-course-btn .ac-ctl-sm .ac-icon { width: 12px; height: 12px; }
.ac-course-btn .ac-ctl-sm .ac-icon .v { transition: transform var(--dur-fast) var(--ease); transform-origin: center; }
.ac-course-btn:hover .ct { color: var(--cyan); }
.ac-course-btn:hover .ac-ctl-sm { border-color: rgba(255, 255, 255, 0.5); }
.ac-course.is-open .ac-course-btn .ct { color: var(--cyan); }
.ac-course.is-open .ac-ctl-sm { background: var(--gold); border-color: var(--gold); color: #0A0900; }
.ac-course.is-open .ac-ctl-sm .ac-icon .v { transform: scaleY(0); }
.ac-reg { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(64, 228, 255, 0.4); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: inherit; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.ac-reg:hover { background: var(--gold); border-color: var(--gold); color: #0A0900; }
.ac-reg .icon { width: 12px; height: 12px; transition: transform var(--dur-fast) var(--ease); }
.ac-reg:hover .icon { transform: translateX(3px); }
[dir="rtl"] .ac-reg:hover .icon { transform: translateX(-3px); }
.ac-course-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease), visibility 0s linear var(--dur); visibility: hidden; }
.ac-course.is-open .ac-course-body { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.ac-course-body > div { overflow: hidden; }
.ac-detail { padding-block: 6px 34px; padding-inline-start: 48px; }
.ac-detail .lead { font-size: 16.5px; line-height: 1.55; color: var(--dk-ink-2); max-width: 58em; margin-bottom: 26px; }
.ac-detail .cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; }
.ac-detail h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.ac-detail li { font-size: 14px; line-height: 1.45; color: var(--dk-ink-2); padding-block: 5px; padding-inline-start: 16px; position: relative; }
.ac-detail li::before { content: ""; position: absolute; inset-inline-start: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.ac-detail .two { columns: 2; column-gap: 28px; }
.ac-detail .two li { break-inside: avoid; }
.ac-detail .row2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; margin-top: 22px; }
.ac-detail .foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.ac-detail .foot .btn-cyan { background: var(--gold); color: #0A0900; border-color: var(--gold); border-radius: 999px; }
.ac-detail .foot .btn-cyan:hover { background: #ffd35c; border-color: #ffd35c; }
.ac-detail .meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dk-ink-3); font-weight: 700; }

/* ---------------------------------------------------------------------------
   8. Quarters calendar
   ------------------------------------------------------------------------ */
.ac-cal { overflow: clip; }
.ac-cal .ac-head { margin-bottom: 20px; }

/* quarter cards in one row; each card's panel follows it in the DOM but is
   `order`ed after all the cards here, and spans the row — so it opens under
   the row on desktop and (see the mobile block) under its own card on phones */
.ac-qgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 2; }
.ac-qcard { order: 1; background: var(--dk-card); border: 1px solid var(--dk-card-b); border-radius: 16px; padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 14px; transition: border-color var(--dur-fast); }
.ac-qcard:hover { border-color: rgba(64, 228, 255, 0.4); }
.ac-qcard.is-on { border-color: var(--gold); }
.ac-qcard p { margin: 0; }
.ac-qcard .qe { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.ac-qcard .qn { display: flex; align-items: baseline; gap: 8px; }
.ac-qcard .qn b { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.ac-qcard .qn span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-3); }
.ac-qcard .ql { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ac-qcard .ql li { display: flex; gap: 9px; align-items: baseline; font-size: 12.5px; line-height: 1.35; font-weight: 600; }
.ac-qcard .ql small { display: block; font-weight: 400; font-size: 10.5px; color: var(--dk-ink-3); margin-top: 2px; }
.ac-qcard .qo { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-3); display: flex; align-items: center; gap: 9px; }
.ac-qcard i { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; position: relative; top: -1px; }
.ac-qcard i.is-online { border: 1.5px solid var(--cyan); }
.ac-qcard i.is-egypt { background: var(--gold); }
.ac-qcard i.is-ksa { background: var(--white); }
.ac-qcard i.is-dubai { border: 1.5px solid var(--white); }
.ac-qbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--gold); color: var(--gold); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; transition: background var(--dur-fast), color var(--dur-fast); }
.ac-qbtn .off, .ac-qcard.is-on .ac-qbtn .on { display: none; }
.ac-qcard.is-on .ac-qbtn .off { display: inline; }
.ac-qbtn i { width: auto; height: auto; border-radius: 0; top: 0; font-style: normal; font-size: 16px; line-height: 1; font-weight: 500; }
.ac-qbtn i::before { content: "+"; }
.ac-qcard.is-on .ac-qbtn i::before { content: "×"; }
.ac-qbtn:hover, .ac-qbtn:focus-visible, .ac-qcard.is-on .ac-qbtn { background: var(--gold); color: #0A0900; }

/* the quarter's month-by-month panel */
.ac-qpanel { order: 2; grid-column: 1 / -1; border: 1px solid var(--dk-card-b); border-radius: 16px; padding: 22px 22px 12px; background: var(--dk-card); animation: ac-qpanel-in var(--dur) var(--ease); }
.ac-qpanel[hidden] { display: none; }
@keyframes ac-qpanel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ac-qpanel .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.ac-qpanel .ph b { font-size: 16px; font-weight: 800; }
.ac-qpanel .ph span { font-size: 11px; color: var(--dk-ink-3); letter-spacing: 0.05em; text-transform: uppercase; }
.ac-qmonths { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
.ac-qmonth h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 800; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--dk-hair); }
.ac-qmonth h4 small { font-size: 10.5px; color: var(--dk-ink-3); font-weight: 400; letter-spacing: 0.05em; }
.ac-qmonth .ac-mc { margin-bottom: 10px; }
.ac-qmonth .ac-mc.is-ghost { min-height: 64px; }
.ac-qloc { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.ac-qloc { display: inline-flex; align-items: center; gap: 6px; }
.ac-qloc::before { content: ""; width: 7px; height: 7px; flex: none; }
.ac-qloc.is-online { color: var(--cyan); border: 1px solid rgba(64, 228, 255, 0.45); }
.ac-qloc.is-online::before { border-radius: 50%; border: 1.5px solid var(--cyan); }
.ac-qloc.is-dubai { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.5); }
.ac-qloc.is-dubai::before { border-radius: 50%; border: 1.5px solid var(--white); }
.ac-qloc.is-egypt { color: #0A0900; background: var(--gold); }
.ac-qloc.is-egypt::before { background: #0A0900; }
.ac-qloc.is-ksa { color: #0A0900; background: var(--white); }
.ac-qloc.is-ksa::before { background: #0A0900; }
.ac-qreg { align-self: flex-end; margin-top: auto; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--dk-ink-2); border-bottom: 1.5px solid rgba(64, 228, 255, 0.5); padding: 3px 0; transition: color var(--dur-fast); min-height: 24px; }
.ac-qreg:hover { color: var(--gold); border-color: var(--gold); }

/* market cells inside a month: each holds 1–3 course sessions */
.ac-mc { flex: 1 1 220px; border: 1px solid var(--dk-hair); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 64px; transition: border-color var(--dur-fast); }
.ac-mc:hover { border-color: rgba(64, 228, 255, 0.4); }
.ac-mc.is-ghost { flex-basis: 100%; border-style: dashed; justify-content: center; align-items: center; color: var(--dk-ink-3); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; text-align: center; min-height: 48px; }
.ac-mc.is-ghost:hover { border-color: var(--dk-hair); }
.ac-mc .tp { display: flex; justify-content: space-between; align-items: center; }
.ac-mc-list { display: flex; flex-direction: column; gap: 8px; }
.ac-mc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--dk-hair-2); }
.ac-mc-list .ac-mc-row:first-child { padding-top: 0; border-top: 0; }
.ac-mc-row .cl { display: flex; gap: 9px; align-items: baseline; color: inherit; min-width: 0; }
.ac-mc-row .cl b { font-size: 10.5px; font-weight: 800; color: var(--cyan); flex: none; }
.ac-mc-row .cl > span { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.ac-mc-row .cl > span:hover { color: var(--cyan); }
.ac-mc-row .cl small { display: block; font-weight: 400; font-size: 10.5px; color: var(--dk-ink-3); margin-top: 2px; }
.ac-mc-row .ac-qreg { flex: none; margin-top: 0; align-self: center; }

/* ---------------------------------------------------------------------------
   9. Trainers + become a trainer
   ------------------------------------------------------------------------ */
.ac-tgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; position: relative; z-index: 2; }
.ac-tr { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 18px; border-radius: 16px; background: var(--dk-card); border: 1px solid var(--dk-card-b); color: inherit; transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease); }
.ac-tr:hover { border-color: rgba(64, 228, 255, 0.4); transform: translateY(-4px); }
.ac-tr .picw { display: block; width: 88px; margin-bottom: 16px; }
.ac-tr .pic { display: block; width: 88px; aspect-ratio: 1; border-radius: 50%; background: var(--white); overflow: hidden; }
.ac-tr .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur) var(--ease); }
.ac-tr:hover .pic img { transform: scale(1.05); }
.ac-tr b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 4px; line-height: 1.25; }
.ac-tr .role { display: block; font-size: 11.5px; line-height: 1.4; font-weight: 600; color: var(--cyan); margin-bottom: 10px; }
.ac-tr p { font-size: 12.5px; line-height: 1.5; color: var(--dk-ink-3); margin-bottom: 12px; }
.ac-tr .leads { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ac-tr .leads span { font-size: 10.5px; letter-spacing: 0.03em; color: var(--dk-ink-2); border: 1px solid var(--dk-hair); border-radius: 999px; padding: 4px 9px; line-height: 1.35; }
.ac-tr .leads span b { display: inline; font-size: 10.5px; font-weight: 800; color: var(--cyan); margin: 0 4px 0 0; }
.ac-tr .more { display: inline-block; margin-top: auto; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--gold); transition: transform var(--dur-fast); }
.ac-tr:hover .more { transform: translateX(3px); }
[dir="rtl"] .ac-tr:hover .more { transform: translateX(-3px); }
.ac-join { margin-top: 34px; display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 30px; border-radius: 16px; background: var(--dk-card); border: 1px solid var(--dk-card-b); position: relative; z-index: 2; }
.ac-join b { display: block; font-size: 19px; font-weight: 800; margin-bottom: 5px; }
.ac-join p { font-size: 13.5px; color: var(--dk-ink-3); }

/* ---------------------------------------------------------------------------
   10. Organizations
   ------------------------------------------------------------------------ */
.ac-orgs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; position: relative; z-index: 2; }
.ac-orgs-grid > div { min-height: 110px; border-radius: 14px; background: var(--dk-card); border: 1px solid var(--dk-card-b); display: flex; align-items: center; justify-content: center; padding: 30px; }
.ac-orgs-grid img { width: auto; opacity: 0.92; }

/* ---------------------------------------------------------------------------
   11. Learning library
   ------------------------------------------------------------------------ */
.ac-lib .ac-head { margin-bottom: 44px; }
.ac-lib .ac-sub { text-align: start; margin-top: 14px; }
.ac-recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; z-index: 2; }
.ac-rec { display: block; text-align: start; color: inherit; padding: 18px; border-radius: 16px; background: var(--dk-card); border: 1px solid var(--dk-card-b); transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease); }
.ac-rec:not(.is-soon):hover { border-color: rgba(64, 228, 255, 0.4); transform: translateY(-4px); }
.ac-rec .thumb { display: flex; align-items: center; justify-content: center; position: relative; aspect-ratio: 16 / 9; border-radius: 10px; margin-bottom: 16px; background: radial-gradient(circle at 50% 40%, rgba(64, 228, 255, 0.18), rgba(255, 255, 255, 0.02) 70%); overflow: hidden; }
.ac-rec .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) brightness(0.6); transition: filter var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ac-rec:not(.is-soon):hover .thumb img { filter: saturate(1) brightness(0.8); transform: scale(1.04); }
/* keeps the gold play control readable over any poster frame */
.ac-rec .thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 58%, transparent 80%); }
.ac-rec .play { position: relative; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #0A0900; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55); transition: transform var(--dur-fast) var(--ease); }
.ac-rec .play .icon { width: 16px; height: 16px; margin-left: 2px; }
.ac-rec:not(.is-soon):hover .play { transform: scale(1.12); }
.ac-rec .dur { position: absolute; left: 16px; bottom: 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--dk-ink-2); }
.ac-rec .kicker { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.ac-rec b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.005em; margin: 8px 0 12px; line-height: 1.4; }
.ac-rec .soon-note { font-size: 11.5px; color: var(--dk-ink-3); letter-spacing: 0.04em; }
.ac-rec.is-soon { cursor: default; }
.ac-rec.is-soon .play { background: rgba(255, 255, 255, 0.14); color: var(--white); }

/* ---------------------------------------------------------------------------
   12. Final CTA
   ------------------------------------------------------------------------ */
.ac-final { padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(44px, 4.5vw, 64px); }
.ac-final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.ac-final .ac-h2 { margin-bottom: 26px; }
.ac-paths { display: grid; gap: 14px; }
.ac-paths button { border: 1px solid var(--dk-card-b); background: var(--dk-card); border-radius: 16px; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; text-align: start; color: inherit; transition: background var(--dur-fast), border-color var(--dur-fast); }
.ac-paths button:hover { border-color: rgba(64, 228, 255, 0.5); background: rgba(64, 228, 255, 0.06); }
.ac-paths b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ac-paths p { font-size: 13px; line-height: 1.5; color: var(--dk-ink-3); }
.ac-paths .icon { width: 16px; height: 16px; stroke: var(--gold); }

/* ---------------------------------------------------------------------------
   12. Trainer profile page
   ------------------------------------------------------------------------ */
.ac-tp { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(64px, 7vw, 96px); }
.ac-crumb { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: clamp(28px, 3vw, 44px); transition: color var(--dur-fast); }
.ac-crumb:hover { color: var(--ink-2); }
.ac-crumb .icon { width: 14px; height: 14px; }
.ac-tp-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.ac-tp .pic { width: 300px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 30px; background: #efefef; }
.ac-tp .pic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.ac-tp h1 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.03em; font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }
.ac-tp .role { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 36px; }
.ac-tp h4 { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.ac-tp .leads { border-top: 1.5px solid var(--black); padding-top: 20px; }
.ac-tp .lead-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; color: inherit; transition: color var(--dur-fast); }
.ac-tp .lead-row:hover { color: var(--ink-2); }
.ac-tp .lead-row .n { font-size: 11px; letter-spacing: 0.14em; font-weight: 800; color: var(--ink-3); }
.ac-tp .lead-row .d { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.ac-tp .leads .soon { font-size: 14px; line-height: 1.5; color: var(--ink-2); padding: 6px 0 14px; }
.ac-tp .bio p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--ink-2); margin-bottom: 20px; max-width: 36em; }
.ac-tp .bio p:first-child { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--black); font-weight: 500; }
.ac-tp .creds { margin-top: 36px; border-top: 1.5px solid var(--black); padding-top: 22px; max-width: 36em; }
.ac-tp .creds li { font-size: 15px; line-height: 1.5; color: var(--ink-2); padding-block: 6px; padding-inline-start: 18px; position: relative; }
.ac-tp .creds li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.ac-tp-cta { background: var(--blue); color: var(--black); }
.ac-tp-cta .row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(52px, 6vw, 76px); }
.ac-tp-cta .ac-h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 14ch; }

/* ---------------------------------------------------------------------------
   13. Legal page
   ------------------------------------------------------------------------ */
.ac-legal { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(64px, 7vw, 96px); }
.ac-legal .ac-h2 { margin-bottom: 14px; }
.ac-legal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); margin-top: clamp(32px, 4vw, 48px); }
.ac-legal article h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; padding-top: 22px; border-top: 1.5px solid var(--black); }
.ac-legal article h4 { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin: 22px 0 8px; }
.ac-legal article p, .ac-legal article li { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ac-legal article p + p { margin-top: 10px; }
.ac-legal article li { padding-block: 4px; padding-inline-start: 18px; position: relative; }
.ac-legal article li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------------------------------------------------------------------------
   14. Enrollment modal
   ------------------------------------------------------------------------ */
.ac-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0.82); }
.ac-modal[hidden] { display: none; }
.ac-dialog { position: relative; width: min(100%, 640px); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; background: var(--white); color: var(--black); padding: clamp(28px, 4vw, 40px) clamp(22px, 3.5vw, 36px); }
.ac-close { position: absolute; inset-inline-end: 14px; top: 14px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background var(--dur-fast); }
.ac-close:hover { background: var(--grey); }
.ac-close .icon { width: 18px; height: 18px; }
.ac-dialog .ac-eyebrow { margin-bottom: 14px; color: var(--ink-3); }
.ac-dialog h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1; letter-spacing: -0.03em; font-weight: 900; text-transform: uppercase; margin-bottom: 22px; padding-inline-end: 44px; }
.ac-step[hidden] { display: none; }
.ac-choice { display: block; width: 100%; text-align: start; border: 1.5px solid var(--black); padding: 22px 24px; margin-bottom: 12px; color: inherit; transition: background var(--dur-fast), color var(--dur-fast); }
.ac-choice:hover { background: var(--black); color: var(--white); }
.ac-choice b { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.ac-choice span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ac-choice:hover span { color: var(--paper-2); }
.ac-stepper { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.ac-stepper span { border: 1px solid rgba(0, 0, 0, 0.3); padding: 8px 12px; color: var(--ink-3); }
.ac-stepper span.is-on { background: var(--black); color: var(--white); border-color: var(--black); }
.ac-stepper span.is-done { border-color: var(--black); color: var(--black); }
.ac-pick-group { border-top: 1px solid var(--line); }
.ac-pick-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; min-height: 44px; }
.ac-pick-group summary::-webkit-details-marker { display: none; }
.ac-pick-group summary .icon { width: 14px; height: 14px; flex: none; }
.ac-pick-group[open] summary .ac-icon .v { transform: scaleY(0); }
.ac-pick-group summary .ac-icon .v { transition: transform var(--dur-fast) var(--ease); transform-origin: center; }
.ac-pick { display: grid; grid-template-columns: 40px 1fr 70px 50px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; cursor: pointer; position: relative; }
.ac-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ac-pick .n { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.ac-pick .t { font-weight: 700; }
.ac-pick .d { font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }
.ac-pick:hover { background: var(--grey); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
/* a course that registers on its own page says so, and picking it navigates */
.ac-pick .away { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.ac-pick:has(input:checked) { background: var(--blue); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.ac-pick:has(input:checked) .n, .ac-pick:has(input:checked) .d { color: var(--black); }
.ac-pick:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: -2px; }
.ac-pick-list { margin-bottom: 8px; }
.ac-form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.ac-field { margin-bottom: 14px; }
.ac-field label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.ac-field input, .ac-field select, .ac-field textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--black); background: var(--white); padding: 0 14px; font: inherit; font-size: 15px; color: var(--black); border-radius: 0; -webkit-appearance: none; appearance: none; }
.ac-field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.ac-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-inline-end: 40px; }
.ac-field input:focus-visible, .ac-field select:focus-visible, .ac-field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ac-field .err { display: none; margin-top: 6px; font-size: 12.5px; color: #b3261e; font-weight: 600; }
.ac-field.is-invalid input, .ac-field.is-invalid select { border-color: #b3261e; }
.ac-field.is-invalid .err { display: block; }
/* ---- when a course runs (course card) ---------------------------------- */
.ac-detail .ac-runs { margin-top: 26px; }
.ac-detail .ac-runs h4 span { margin-inline-start: 10px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--dk-ink-2); }
.ac-detail .ac-runs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ac-detail .ac-runs li::before { content: none; }
.ac-detail .ac-runs li { display: inline-flex; align-items: baseline; gap: 8px; border: 1px solid var(--dk-card-b); border-radius: 999px; padding: 7px 14px; background: var(--dk-card); font-size: 13px; }
.ac-detail .ac-runs li b { font-weight: 700; }
.ac-detail .ac-runs li .l { color: var(--dk-ink-2); font-size: 12px; }
.ac-detail .ac-runs li .l.is-online { color: var(--cyan); }

/* the single-run case: the select still carries the answer, it just isn't a choice */
.ac-field select:disabled { opacity: 1; }
.ac-field .hint { display: block; margin-top: 6px; font-size: 12px; color: var(--dk-ink-2); }

.ac-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* the team form drops "Preferred course" for a custom program — see academy.js */
.ac-f2.is-single { grid-template-columns: 1fr; }
.ac-sum { background: var(--grey); padding: 18px 20px; font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.ac-sum b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
.ac-sum button { margin-inline-start: 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; border-bottom: 2px solid var(--black); padding-bottom: 2px; }
.ac-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: rgba(0, 0, 0, 0.72); margin: 6px 0 22px; cursor: pointer; }
.ac-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--black); }
.ac-consent a { text-decoration: underline; text-underline-offset: 3px; }
.ac-consent.is-invalid { color: #b3261e; }
.ac-radios { display: grid; gap: 10px; margin-bottom: 18px; }
.ac-radio { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; min-height: 32px; }
.ac-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--black); flex: none; }
.ac-status { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); min-height: 1em; }
.ac-status.is-error { color: #b3261e; font-weight: 600; }
.ac-done { text-align: start; }
.ac-done .mark { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.ac-done .mark .icon { width: 28px; height: 28px; }
.ac-done p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin-bottom: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.btn.is-busy::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ac-spin 0.8s linear infinite; }
@keyframes ac-spin { to { transform: rotate(360deg); } }
body.ac-modal-open { overflow: hidden; }


/* ---- modal, dark sub-brand restyle (overrides on the block above) ---- */
.ac-modal { background: rgba(0, 0, 0, 0.88); }
.ac-dialog { background: #0F0F12; color: var(--white); border: 1px solid var(--dk-card-b); border-radius: 18px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7); }
.ac-close:hover { background: rgba(255, 255, 255, 0.1); }
.ac-dialog .ac-eyebrow { color: var(--gold); }
.ac-dialog h2 { text-transform: none; letter-spacing: -0.01em; font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); }
.ac-choice { border: 1px solid var(--dk-card-b); border-radius: 14px; background: var(--dk-card); }
.ac-choice:hover { background: rgba(64, 228, 255, 0.07); color: var(--white); border-color: rgba(64, 228, 255, 0.5); }
.ac-choice b { color: var(--white); }
.ac-choice span, .ac-choice:hover span { color: var(--dk-ink-2); }
.ac-stepper span { border-color: var(--dk-hair); color: var(--dk-ink-3); border-radius: 999px; }
.ac-stepper span.is-on { background: var(--gold); color: #0A0900; border-color: var(--gold); }
.ac-stepper span.is-done { border-color: var(--gold); color: var(--gold); }
.ac-pick-group { border-top-color: var(--dk-hair); }
.ac-pick { border-top-color: var(--dk-hair-2); }
.ac-pick .n, .ac-pick .d { color: var(--dk-ink-3); }
.ac-pick:hover { background: rgba(255, 255, 255, 0.05); }
.ac-pick:has(input:checked) { background: var(--gold); color: #0A0900; border-radius: 8px; }
.ac-pick:has(input:checked) .n, .ac-pick:has(input:checked) .d, .ac-pick:has(input:checked) .t { color: #0A0900; }
.ac-pick:has(input:focus-visible) { outline-color: var(--cyan); }
.ac-field input, .ac-field select, .ac-field textarea { border: 1px solid var(--dk-hair); background: rgba(255, 255, 255, 0.04); color: var(--white); border-radius: 12px; }
.ac-field input::placeholder, .ac-field textarea::placeholder { color: var(--dk-ink-3); }
.ac-field select { -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px auto; padding-inline-end: 40px; }
[dir="rtl"] .ac-field select { background-position: left 14px center; }
.ac-field select option { background: #0F0F12; color: var(--white); }
.ac-field input:focus-visible, .ac-field select:focus-visible, .ac-field textarea:focus-visible { outline-color: var(--cyan); }
.ac-field .err { color: #ff8f87; }
.ac-field.is-invalid input, .ac-field.is-invalid select { border-color: #ff8f87; }
.ac-sum { background: rgba(255, 255, 255, 0.05); border-radius: 12px; }
.ac-sum button { border-bottom-color: var(--cyan); }
.ac-consent { color: var(--dk-ink-2); }
.ac-consent input { accent-color: var(--gold); }
.ac-consent.is-invalid { color: #ff8f87; }
.ac-radio input { accent-color: var(--gold); }
.ac-status { color: var(--dk-ink-2); }
.ac-status.is-error { color: #ff8f87; }
.ac-done .mark { background: var(--gold); color: #0A0900; }
.ac-done p { color: var(--dk-ink-2); }

/* ---------------------------------------------------------------------------
   15. Pages — the single-file build keeps every page in one document
   ------------------------------------------------------------------------ */
.js .ac-page:not(.is-current) { display: none; }
.ac-page-divider { display: none; }
html:not(.js) .ac-page-divider { display: block; background: var(--black); color: var(--blue); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; padding: 14px var(--gutter); border-top: 4px solid var(--blue); }
.ac-page:focus { outline: none; }



/* ---------------------------------------------------------------------------
   13b. Trainer + legal pages on the dark sub-brand
   Overrides the light blocks above so the inner pages match the home page.
   ------------------------------------------------------------------------ */
[data-page^="trainer-"], [data-page="legal"], [data-page="ic-awareness/privacy"], [data-page="riyadah"], [data-page="metrics"] { --blue: var(--cyan); }
[data-page^="trainer-"] main, [data-page="legal"], [data-page="ic-awareness/privacy"] main, [data-page="riyadah"] main, [data-page="metrics"] main {
  background: var(--black); color: var(--white); position: relative; overflow: clip;
}
[data-page^="trainer-"] :focus-visible, [data-page="legal"], [data-page="ic-awareness/privacy"] :focus-visible, [data-page="riyadah"] :focus-visible, [data-page="metrics"] :focus-visible { outline-color: var(--cyan); }

/* a soft glow so the inner pages share the home page's atmosphere */
[data-page^="trainer-"] main::before, [data-page="legal"], [data-page="ic-awareness/privacy"] main::before {
  content: ""; position: absolute; left: 50%; bottom: -340px; width: 620px; height: 620px;
  transform: translateX(-50%); border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(64, 228, 255, 0.42) 0%, rgba(64, 228, 255, 0.16) 48%, transparent 74%);
  filter: blur(70px); animation: ac-drift-c 36s ease-in-out infinite alternate;
}
[data-page^="trainer-"] .container, [data-page="legal"], [data-page="ic-awareness/privacy"] .container { position: relative; z-index: 2; }

.ac-crumb { color: var(--dk-ink-2); }
.ac-crumb:hover { color: var(--gold); }

/* trainer profile */
.ac-tp .pic { background: var(--white); border: 1px solid var(--dk-hair); }
.ac-tp .pic img { filter: none; }
.ac-tp h1 { text-transform: none; letter-spacing: -0.01em; font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); }
.ac-tp .role { color: var(--cyan); font-size: 14.5px; }
.ac-tp h4 { color: var(--gold); }
.ac-tp .leads { border-top: 1px solid var(--dk-hair); }
.ac-tp .lead-row { border-bottom: 1px solid var(--dk-hair-2); color: var(--white); font-weight: 600; }
.ac-tp .lead-row:hover { color: var(--cyan); }
.ac-tp .lead-row .n { color: var(--cyan); }
.ac-tp .lead-row .d { color: var(--dk-ink-3); }
.ac-tp .leads .soon { color: var(--dk-ink-3); }
.ac-tp .bio p { color: var(--dk-ink-2); }
.ac-tp .bio p:first-child { color: var(--white); font-weight: 500; }
.ac-tp .creds { border-top: 1px solid var(--dk-hair); }
.ac-tp .creds li { color: var(--dk-ink-2); }
.ac-tp .creds li::before { background: var(--cyan); }
.ac-tp-cta { background: transparent; color: var(--white); border-top: 1px solid var(--dk-hair-2); }
.ac-tp-cta .ac-h2 { text-transform: none; letter-spacing: -0.01em; font-weight: 800; }

/* legal */
.ac-legal .ac-h2 { text-transform: none; letter-spacing: -0.01em; font-weight: 800; }
.ac-legal .ac-sub a { color: var(--cyan); }
.ac-legal article h3 { border-top: 1px solid var(--dk-hair); color: var(--white); }
.ac-legal article h4 { color: var(--gold); }
.ac-legal article p, .ac-legal article li { color: var(--dk-ink-2); }
.ac-legal article li::before { background: var(--cyan); }

/* ---------------------------------------------------------------------------
   16. Video lightbox (masterclass viewer)
   ------------------------------------------------------------------------ */
.ac-video { position: fixed; inset: 0; z-index: 85; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0.88); }
.ac-video[hidden] { display: none; }
.ac-video-box { position: relative; width: min(100%, 880px); background: #0F0F12; border: 1px solid var(--dk-card-b); border-radius: 18px; padding: 18px 18px 20px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7); }
.ac-video-box .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.ac-video-box .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ac-video-box .vt { margin: 14px 10px 0; font-size: 15px; font-weight: 700; color: var(--white); }
.ac-video-box .ac-close { position: absolute; inset-inline-end: 14px; top: -52px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: center; color: var(--white); transition: border-color var(--dur-fast); }
.ac-video-box .ac-close:hover { border-color: var(--white); background: none; }
.ac-video-box .ac-close .icon { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------------
   18. Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .ac-hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .ac-hero-mark { min-height: 0; order: -1; margin-bottom: 10px; }
  .ac-hero-mark img { width: min(58%, 340px); }
  .ac-texp-grid { grid-template-columns: 1fr; }
  .ac-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ac-detail .cols, .ac-detail .row2 { grid-template-columns: 1fr; gap: 22px; }
  .ac-course-btn { grid-template-columns: 30px minmax(0, 1fr) 100px 52px 58px 28px; gap: 10px; }
  .ac-detail { padding-inline-start: 0; }
  /* five quarter cards → 3 + 2 on tablets; panels still span the row */
  .ac-qgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ac-qmonths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-tp-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ac-head { flex-direction: column; align-items: flex-start; }
  .ac-head .ac-sub, .ac-head .r { text-align: start; }
  /* accordion rows stack */
  .ac-panel-btn { grid-template-columns: 32px minmax(0, 1fr) 28px; row-gap: 8px; padding: 22px 4px; }
  .ac-panel-btn .ctl, .ac-panel-btn .ac-ctl { grid-column: 3; grid-row: 1; }
  .ac-panel-btn .desc { grid-column: 1 / -1; }
  .ac-panel-btn .count { justify-self: start; grid-column: 1 / -1; }
  .ac-course-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ac-course-btn { grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 10px; padding: 14px 0 8px; }
  .ac-course-btn .cloc { grid-column: 2; justify-self: start; }
  .ac-course-btn .cm { grid-column: 2; }
  .ac-course-btn .cm + .cm { margin-top: -6px; }
  .ac-course-btn .ac-ctl-sm { grid-row: 1; grid-column: 3; }
  .ac-reg { justify-self: start; margin: 0 0 12px 40px; }
  .ac-detail .two { columns: 1; }
  /* quarters stack; DOM order puts each panel right under its own card */
  .ac-qgrid { grid-template-columns: 1fr; }
  .ac-qcard, .ac-qpanel { order: 0; }
  .ac-qpanel { padding: 16px 16px 6px; }
  .ac-qmonths { grid-template-columns: 1fr; }
  .ac-mc { flex-basis: 100%; }
  .ac-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-orgs-grid, .ac-recs { grid-template-columns: 1fr; }
  .ac-final-grid { grid-template-columns: minmax(0, 1fr); }
  .ac-tp-grid { grid-template-columns: 1fr; }
  .ac-legal-grid { grid-template-columns: 1fr; }
  .ac-f2 { grid-template-columns: 1fr; }
  .ac-join { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .ac-hero .ac-cta { flex-direction: column; align-items: stretch; }
  .ac-hero .ac-cta .btn { width: 100%; }
  .ac-tagline { font-size: 21px; }
  .ac-proof .container { justify-content: flex-start; }
  .ac-clients { gap: 22px; }
  .ac-tgrid { grid-template-columns: 1fr; }
  .ac-paths button { padding: 18px 18px; }
  .ac-modal { padding: 0; align-items: stretch; }
  .ac-dialog { width: 100%; max-height: none; min-height: 100vh; min-height: 100dvh; padding: 64px 20px 40px; border-radius: 0; }
  .ac-pick { grid-template-columns: 32px 1fr 60px; }
  .ac-pick .d:last-child { display: none; }
  .ac-video { padding: 12px; }
  .ac-video-box .ac-close { top: 10px; inset-inline-end: 10px; z-index: 2; background: rgba(0, 0, 0, 0.5); }
}

/* ---------------------------------------------------------------------------
   19. No-script — everything readable without JavaScript
   ------------------------------------------------------------------------ */
html:not(.js) .ac-panel-body[hidden] { display: block !important; }
html:not(.js) .ac-course-body { grid-template-rows: 1fr; visibility: visible; }
html:not(.js) .ac-ctl { display: none; }
html:not(.js) .ac-modal, html:not(.js) .ac-video { display: none; }
html:not(.js) .ac-hero-copy > *, html:not(.js) .ac-hero-mark { opacity: 1; transform: none; animation: none; }
html:not(.js) .ac-grain { position: absolute; }

/* ---------------------------------------------------------------------------
   20. Reduced motion
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .js .ac-hero-copy > *, .js .ac-hero-mark { opacity: 1; transform: none; animation: none; }
  .ac-glow, .ac-beam, .nav-cta { animation: none !important; }
  html.js .ac-hero-mark img { animation: none; }
  html.js .ac-tagline .cwrap path { animation: none; stroke-dashoffset: 0; }
  html.js #page-academy [data-reveal] { opacity: 1; transform: none; transition: none; }
}


/* ---------------------------------------------------------------------------
   21. Capability Framework page on the dark sub-brand
   The framework keeps its own structure and interactions; only its surfaces,
   borders and accents are brought onto the Academy's black / cyan / gold.
   ------------------------------------------------------------------------ */
[data-page="framework"] { background: var(--black); color: var(--white); }
[data-page="framework"] :focus-visible { outline-color: var(--cyan); }
[data-page="framework"] .grain-fx { position: fixed; inset: 0; z-index: 60; pointer-events: none;
  filter: url(#ac-grain); mix-blend-mode: overlay; opacity: 0.5; }

/* --- "How it works" band (was light grey) --- */
[data-page="framework"] .how { background: var(--black); position: relative; overflow: clip; border-top: 1px solid var(--dk-hair-2); }
[data-page="framework"] .how::before { content: ""; position: absolute; left: -180px; top: 30%; width: 520px; height: 520px;
  border-radius: 50%; pointer-events: none; filter: blur(70px);
  background: radial-gradient(circle, rgba(64, 228, 255, 0.28) 0%, transparent 70%);
  animation: ac-drift-a 40s ease-in-out infinite alternate; }
[data-page="framework"] .how-grid { position: relative; z-index: 2; }
[data-page="framework"] .how .lead { color: var(--dk-ink-2); }
[data-page="framework"] .how .lead b { color: var(--white); }
[data-page="framework"] .eyebrow-dark::before { background: var(--cyan); }
[data-page="framework"] .lvls li { border-top: 1px solid var(--dk-hair-2); }
[data-page="framework"] .lvls li:first-child { border-top: 1px solid var(--dk-hair); }
[data-page="framework"] .lvls small { color: var(--dk-ink-3); }
[data-page="framework"] .lvls .d { color: var(--dk-ink-2); }
[data-page="framework"] .lvls a:hover b { text-decoration-color: var(--gold); }
[data-page="framework"] .glyph i { border-color: rgba(255, 255, 255, 0.5); }
[data-page="framework"] .glyph i.on { background: var(--cyan); border-color: var(--cyan); }

/* --- the framework itself (was white) --- */
[data-page="framework"] .fw { background: var(--black); position: relative; }
[data-page="framework"] .fw-head .lead { color: var(--dk-ink-2); }
[data-page="framework"] .barwrap { background: rgba(0, 0, 0, 0.86); border-top: 1px solid var(--dk-hair);
  border-bottom: 1px solid var(--dk-hair-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
[data-page="framework"] .seg { border: 1.5px solid var(--dk-hair); border-radius: 999px; }
[data-page="framework"] .seg-btn { color: var(--dk-ink-2); }
[data-page="framework"] .seg-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
[data-page="framework"] .seg-btn[aria-pressed="true"] { background: var(--gold); color: #0A0900; }
[data-page="framework"] .bar-right { color: var(--dk-ink-3); }

/* selector tiles */
[data-page="framework"] .tile { border: 1px solid var(--dk-card-b); background: var(--dk-card); border-radius: 12px; color: inherit; }
[data-page="framework"] .tile:hover { border-color: rgba(64, 228, 255, 0.45); background: rgba(64, 228, 255, 0.06); }
[data-page="framework"] .tile[aria-selected="true"] { background: rgba(64, 228, 255, 0.14); border-color: var(--cyan); }
[data-page="framework"] .tile-num { color: var(--cyan); }
[data-page="framework"] .tile[aria-selected="true"] .tile-num { color: var(--cyan); }
[data-page="framework"] .tile-count { color: var(--dk-ink-3); }
[data-page="framework"] .tile[aria-selected="true"] .tile-count { color: var(--dk-ink-2); }
[data-page="framework"] .tile-sub { color: var(--dk-ink-2); }
[data-page="framework"] .tile[aria-selected="true"] .tile-sub { color: var(--dk-ink-2); }

/* domain / level blocks */
[data-page="framework"] .side .num { color: var(--cyan); }
[data-page="framework"] .side .desc { color: var(--dk-ink-2); }
[data-page="framework"] .stat span { color: var(--dk-ink-3); }
[data-page="framework"] .dist .f, [data-page="framework"] .legend .f { background: var(--white); }
[data-page="framework"] .dist .a, [data-page="framework"] .legend .a { background: rgba(255, 255, 255, 0.4); }
[data-page="framework"] .dist .v, [data-page="framework"] .legend .v { background: var(--cyan); }
[data-page="framework"] .legend { color: var(--dk-ink-2); }
[data-page="framework"] .wm { stroke: var(--white); opacity: 0.06; }
[data-page="framework"] .gh { border-bottom: 1px solid var(--dk-hair); }
[data-page="framework"] .gh .l span, [data-page="framework"] .gh .count { color: var(--dk-ink-3); }
[data-page="framework"] .empty { color: var(--dk-ink-3); }

/* capability rows */
[data-page="framework"] .cap { border-bottom: 1px solid var(--dk-hair-2); }
[data-page="framework"] .cap-btn::before { background: rgba(64, 228, 255, 0.07); }
[data-page="framework"] .cap-btn .ci { color: var(--dk-ink-3); }
[data-page="framework"] .cap-btn:hover .cn { text-decoration-color: var(--cyan); }
[data-page="framework"] .cap-btn .chev { stroke: var(--dk-ink-2); }
[data-page="framework"] .cap.is-open { background: linear-gradient(90deg, var(--gold) 0 3px, transparent 3px); }
[data-page="framework"] .cap-body-content .def { color: var(--dk-ink-2); }
[data-page="framework"] .cap-body-content .draft-note { color: var(--dk-ink-3); }
[data-page="framework"] .cap-body-content .lab { color: var(--gold); }
[data-page="framework"] .prog li { color: var(--dk-ink-3); }
[data-page="framework"] .prog li::before { border-color: rgba(255, 255, 255, 0.5); }
[data-page="framework"] .prog li.is-past::before { background: rgba(255, 255, 255, 0.7); }
[data-page="framework"] .prog li.is-current { color: var(--white); }
[data-page="framework"] .prog li.is-current::before { background: var(--cyan); border-color: var(--cyan); }
[data-page="framework"] .prog li + li::after { background: rgba(255, 255, 255, 0.28); }
[data-page="framework"] .lhead { border-bottom: 1px solid var(--dk-hair); }
[data-page="framework"] .lhead p { color: var(--dk-ink-2); }
[data-page="framework"] .lgroup { border-bottom: 1px solid var(--dk-hair-2); }
[data-page="framework"] .lnum { color: var(--cyan); }

/* nav buttons + closing band (was a solid cyan block) */
[data-page="framework"] .nav-btn { border: 1.5px solid var(--gold); color: var(--gold); border-radius: 999px; }
[data-page="framework"] .nav-btn:hover { background: var(--gold); color: #0A0900; }
[data-page="framework"] .next { background: var(--black); color: var(--white); position: relative; overflow: clip; border-top: 1px solid var(--dk-hair-2); }
[data-page="framework"] .next::before { content: ""; position: absolute; left: 50%; bottom: -360px; width: 700px; height: 700px;
  transform: translateX(-50%); border-radius: 50%; pointer-events: none; filter: blur(70px);
  background: radial-gradient(circle, rgba(64, 228, 255, 0.4) 0%, rgba(64, 228, 255, 0.14) 48%, transparent 74%);
  animation: ac-drift-b 30s ease-in-out infinite alternate; }
[data-page="framework"] .next-grid { position: relative; z-index: 2; }
[data-page="framework"] .next p:not(.eyebrow) { color: var(--dk-ink-2); }
[data-page="framework"] .next .eyebrow-dark::before { background: var(--gold); }
[data-page="framework"] .next .dots i { background: var(--cyan); }
[data-page="framework"] .btn-black { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); border-radius: 999px; }
[data-page="framework"] .btn-black:hover { background: var(--gold); color: #0A0900; }
[data-page="framework"] .btn-blue { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); border-radius: 999px; }
[data-page="framework"] .btn-blue:hover { background: var(--gold); color: #0A0900; }
[data-page="framework"] .btn-ghost { border-style: dashed; color: var(--dk-ink-3); border-radius: 999px; }
[data-page="framework"] .btn-outline { border-radius: 999px; border-color: var(--gold); color: var(--gold); }
[data-page="framework"] .btn-outline:hover { background: var(--gold); color: #0A0900; }
[data-page="framework"] .link-line { border-bottom-color: var(--gold); }
[data-page="framework"] .link-line:hover { color: var(--gold); }
[data-page="framework"] .model-tip { background: #0F0F12; color: var(--white); border: 1px solid var(--dk-card-b); }
[data-page="framework"] .model-tip small { color: var(--dk-ink-3); }
[data-page="framework"] .model-tip::after { border-top-color: #0F0F12; }
[data-page="framework"] .model-tip.is-below::after { border-bottom-color: #0F0F12; }
[data-page="framework"] .model .node { fill: var(--black); stroke: var(--cyan); }
[data-page="framework"] .model .node-icon { stroke: var(--cyan); }
[data-page="framework"] .model .lnode:hover .node-label { fill: var(--cyan); }

/* ---------------------------------------------------------------------------
   22. Riyadah standalone page — the shareable KSA certificate page.
   Sep 2026 redesign: one unified dark background for every segment (no more
   light/dark alternation) with a hairline top border standing in for the old
   background switch; an orbit graphic replaces the reused iC logomark in the
   hero; a new "why this program" section and a Day 1/2/3 tabbed journey
   section replace the old flat accordion lists; trainer cards get full,
   page-specific bios instead of linking out to the shared trainer directory;
   pricing cards and the FAQ accordion keep their existing markup, lightly
   restyled. Everything here is scoped under #page-riyadah so none of it
   reaches any other page.
   ------------------------------------------------------------------------ */
#page-riyadah .ac-section-pad { border-top: 1px solid var(--dk-hair); }
#page-riyadah #riyadah-top.ac-hero { border-top: none; }

/* -- hero: two-column grid + orbit graphic ------------------------------- */
#page-riyadah .ry-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr); gap: 32px; align-items: center; position: relative; z-index: 2; }
@media (min-width: 920px) { #page-riyadah .ry-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }
#page-riyadah .ry-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
#page-riyadah .ry-meta li { border: 1.5px solid var(--dk-card-b); border-radius: 999px; padding: 9px 16px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-2); }
#page-riyadah .ry-orbit-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 408px; }
#page-riyadah .ry-orbit { position: relative; width: 408px; height: 408px; flex: none; }
@media (min-width: 920px) and (max-width: 1059px) { #page-riyadah .ry-orbit { transform: scale(0.85); } }
#page-riyadah .ry-orbit-glow { position: absolute; inset: -38px; border-radius: 50%; filter: blur(65px); background: radial-gradient(circle, var(--cyan) 0%, rgba(64, 228, 255, 0.4) 45%, transparent 72%); animation: ry-orbit-pulse 8s ease-in-out infinite; }
#page-riyadah .ry-orbit-ring { position: absolute; inset: 62px; border-radius: 50%; border: 1.5px solid var(--dk-card-b); animation: ry-orbit-spin 70s linear infinite; }
#page-riyadah .ry-orbit-ring-inner { position: absolute; inset: 106px; border-radius: 50%; border: 1px dashed var(--dk-hair); animation: ry-orbit-spin-rev 52s linear infinite; }
#page-riyadah .ry-orbit-dot-wrap { position: absolute; inset: 62px; animation: ry-orbit-spin 15s linear infinite; }
#page-riyadah .ry-orbit-dot { position: absolute; top: 0; left: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 17px 5px rgba(246, 196, 57, 0.75); }
#page-riyadah .ry-orbit-center { position: absolute; inset: 106px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
#page-riyadah .ry-orbit-center .oc-e { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dk-ink-3); }
#page-riyadah .ry-orbit-center .oc-w { margin-top: 7px; font-size: 23px; font-weight: 800; line-height: 1.22; color: var(--white); letter-spacing: -0.01em; }
#page-riyadah .ry-orbit-node { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: rgba(10, 9, 8, 0.76); border: 1.5px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
#page-riyadah .ry-orbit-node::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: rgba(64, 228, 255, 0.85); border-inline-end-color: rgba(64, 228, 255, 0.85); }
#page-riyadah .ry-orbit-node.n1 { transform: translate(0, -142px); }
#page-riyadah .ry-orbit-node.n1::before { animation: ry-orbit-spin 7s linear infinite; }
#page-riyadah .ry-orbit-node.n2 { transform: translate(122px, 71px); }
#page-riyadah .ry-orbit-node.n2::before { animation: ry-orbit-spin-rev 8.5s linear infinite; }
#page-riyadah .ry-orbit-node.n3 { transform: translate(-122px, 71px); }
#page-riyadah .ry-orbit-node.n3::before { animation: ry-orbit-spin 6.3s linear infinite; }
#page-riyadah .ry-orbit-node b { position: relative; z-index: 1; font-size: 18px; font-weight: 800; line-height: 1; color: var(--gold); }
#page-riyadah .ry-orbit-node i { position: relative; z-index: 1; font-style: normal; display: block; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dk-ink-2); }
@keyframes ry-orbit-pulse { 0%, 100% { opacity: 0.72; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes ry-orbit-spin { to { transform: rotate(360deg); } }
@keyframes ry-orbit-spin-rev { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  #page-riyadah .ry-orbit-ring, #page-riyadah .ry-orbit-ring-inner, #page-riyadah .ry-orbit-dot-wrap, #page-riyadah .ry-orbit-glow, #page-riyadah .ry-orbit-node::before { animation: none !important; }
}

/* -- why this program ----------------------------------------------------- */
#page-riyadah .ry-why-grid { display: grid; gap: 34px; position: relative; z-index: 2; }
@media (min-width: 860px) { #page-riyadah .ry-why-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
#page-riyadah .ry-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#page-riyadah .ry-meta li.is-early { border-color: var(--gold); color: var(--gold); font-weight: 700; }
#page-riyadah .ry-chips li { font-size: 12px; font-weight: 600; color: var(--dk-ink-2); border: 1.5px solid var(--dk-card-b); border-radius: 999px; padding: 8px 14px; }
#page-riyadah .ry-why-copy p { font-size: 16px; line-height: 1.65; color: var(--dk-ink-2); max-width: 58ch; }
#page-riyadah .ry-stages { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--dk-hair); display: grid; }
#page-riyadah .ry-stages li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 13px 0; }
#page-riyadah .ry-stages li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 15px; top: 45px; bottom: -13px; width: 1px; background: var(--dk-hair); }
#page-riyadah .ry-stages b { position: relative; z-index: 1; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: var(--black); }
#page-riyadah .ry-stages span { font-size: 15px; color: var(--dk-ink-2); line-height: 1.5; padding-top: 6px; }

/* -- the Day 1/2/3 journey ------------------------------------------------- */
#page-riyadah .ry-tabs { display: flex; gap: 10px; margin-top: 38px; flex-wrap: wrap; position: relative; z-index: 2; }
#page-riyadah .ry-tab { flex: 1 1 220px; text-align: start; background: var(--dk-card); border: 1.5px solid var(--dk-card-b); border-radius: 14px; padding: 16px 18px; cursor: pointer; font-family: inherit; color: var(--white); transition: border-color var(--dur-fast), background var(--dur-fast); }
#page-riyadah .ry-tab .n { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dk-ink-3); margin-bottom: 6px; }
#page-riyadah .ry-tab .t { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
#page-riyadah .ry-tab[aria-selected="true"] { border-color: var(--gold); background: rgba(246, 196, 57, 0.08); }
#page-riyadah .ry-tab[aria-selected="true"] .n { color: var(--gold); }
#page-riyadah .ry-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
#page-riyadah .ry-panel { display: none; margin-top: 20px; position: relative; z-index: 2; }
#page-riyadah .ry-panel[data-active] { display: grid; }
@media (min-width: 860px) { #page-riyadah .ry-panel[data-active] { grid-template-columns: 0.6fr 1.4fr; gap: 2px; } }
#page-riyadah .ry-panel-num { position: relative; background: var(--dk-card); border: 1.5px solid var(--dk-card-b); border-radius: 14px; padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; overflow: hidden; }
#page-riyadah .ry-panel-num .big { position: relative; z-index: 1; font-size: clamp(52px, 7vw, 84px); font-weight: 800; line-height: 0.8; color: var(--gold); }
#page-riyadah .ry-panel-num h3 { position: relative; z-index: 1; color: var(--white); font-size: 19px; font-weight: 700; margin-top: 16px; line-height: 1.2; }
#page-riyadah .ry-panel-num hr { position: relative; z-index: 1; border: none; border-top: 1px solid var(--dk-hair); margin: 18px 0; }
#page-riyadah .ry-panel-num .outlabel { position: relative; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
#page-riyadah .ry-panel-num p { position: relative; z-index: 1; font-size: 14px; line-height: 1.55; margin-top: 8px; color: var(--dk-ink-2); }
/* optional second paragraph on a journey day (Day 3 explains the working day) */
#page-riyadah .ry-panel-num p.detail { font-size: 13.5px; margin-top: 12px; color: var(--dk-ink-3, var(--dk-ink-2)); opacity: .85; }
#page-riyadah .ry-panel-topics { background: var(--dk-card); border: 1.5px solid var(--dk-card-b); border-top: none; border-radius: 0 0 14px 14px; padding: 32px; }
@media (min-width: 860px) { #page-riyadah .ry-panel-topics { border-top: 1.5px solid var(--dk-card-b); border-inline-start: none; border-radius: 0 14px 14px 0; } }
#page-riyadah .ry-panel-topics .intro { font-size: 14px; color: var(--dk-ink-2); max-width: 60ch; margin: 0 0 22px; }
#page-riyadah .ry-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 600px) { #page-riyadah .ry-topics { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
#page-riyadah .ry-topics li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--dk-hair); font-size: 14.5px; color: var(--dk-ink-2); line-height: 1.4; }
#page-riyadah .ry-topics li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 7px; flex: none; }

/* -- compact journey: every part visible at once ---------------------------
   Short programmes (the 3-hour workshop) have too few topics per part to
   justify one-tab-at-a-time, which left the panel half empty. `compact: true`
   on the course renders all parts side by side instead. */
#page-riyadah .ry-flow { margin-top: 34px; display: grid; gap: 18px; position: relative; z-index: 2; }
@media (min-width: 900px) { #page-riyadah .ry-flow { grid-template-columns: repeat(3, 1fr); } }
#page-riyadah .ry-flow-card { position: relative; display: flex; flex-direction: column; background: var(--dk-card); border: 1.5px solid var(--dk-card-b); border-radius: 18px; padding: 28px 26px 26px; overflow: hidden; }
#page-riyadah .ry-flow-card::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold) 0%, rgba(246, 196, 57, 0) 78%); }
#page-riyadah .ry-flow-card:dir(rtl)::before { background: linear-gradient(270deg, var(--gold) 0%, rgba(246, 196, 57, 0) 78%); }
#page-riyadah .fc-step { display: flex; align-items: center; gap: 11px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dk-ink-3); }
#page-riyadah .fc-step .n { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0; display: flex; align-items: center; justify-content: center; }
#page-riyadah .ry-flow-card h3 { margin-top: 16px; font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--white); }
#page-riyadah .ry-flow-topics { list-style: none; margin: 18px 0 0; padding: 0; }
#page-riyadah .ry-flow-topics li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--dk-hair); font-size: 14px; line-height: 1.45; color: var(--dk-ink-2); }
#page-riyadah .ry-flow-topics li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 6px; flex: none; }
#page-riyadah .fc-out { margin-top: auto; padding-top: 22px; }
#page-riyadah .fc-out .outlabel { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
#page-riyadah .fc-out p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--dk-ink-2); }
#page-riyadah .fc-detail { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--dk-hair); font-size: 13px; line-height: 1.55; color: var(--dk-ink-3, var(--dk-ink-2)); opacity: 0.88; }

/* -- trainers: full page-specific bios, circular photos -------------------- */
#page-riyadah .ry-tgrid { margin-top: 32px; display: grid; gap: 24px; position: relative; z-index: 2; }
@media (min-width: 700px) { #page-riyadah .ry-tgrid { grid-template-columns: 1fr 1fr; } }
#page-riyadah .ry-tcard { display: flex; flex-direction: column; background: var(--dk-card); border: 1.5px solid var(--dk-card-b); border-radius: 18px; padding: 28px; }
#page-riyadah .ry-tcard .pic-circle { flex: none; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); }
#page-riyadah .ry-tcard .pic-circle img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
#page-riyadah .ry-tcard .body { padding-top: 18px; }
#page-riyadah .ry-tcard b { display: block; font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: 0.01em; }
#page-riyadah .ry-tcard .role { display: block; font-size: 13px; font-weight: 700; color: var(--dk-ink-2); margin-top: 6px; line-height: 1.4; }
#page-riyadah .ry-tcard p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--dk-ink-2); }
#page-riyadah .ry-tcard hr { border: none; border-top: 1px solid var(--dk-hair); margin: 18px 0; }
#page-riyadah .ry-tcard .brings { margin-top: 0; font-size: 13.5px; line-height: 1.6; color: var(--dk-ink-2); }
#page-riyadah .ry-tcard .brings b { display: inline; font-size: inherit; font-weight: 800; color: var(--white); }

/* -- pricing (existing .ac-ry-price markup, restyled) ---------------------- */
.ac-ry-tgrid { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); justify-content: flex-start; }
.ac-ry-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; position: relative; z-index: 2; }
.ac-ry-price { position: relative; border: 1.5px solid var(--dk-card-b); background: var(--dk-card); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 4px; }
.ac-ry-price.is-full { border-color: var(--gold); }
.ac-ry-price .tag { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--gold); color: #0A0900; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.ac-ry-price b { font-size: 19px; font-weight: 800; }
.ac-ry-price .d { font-size: 12.5px; color: var(--dk-ink-3); letter-spacing: 0.04em; margin-top: 6px; }
.ac-ry-price .amt { font-size: clamp(30px, 3.4vw, 40px); font-weight: 900; letter-spacing: -0.02em; color: var(--white); margin: 20px 0 0; }
.ac-ry-price .amt s { margin-inline-start: 10px; font-size: 0.45em; font-weight: 700; letter-spacing: 0; color: var(--dk-ink-3); text-decoration-thickness: 1.5px; }
.ac-ry-price .early { margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.ac-ry-price .note { font-size: 12px; color: var(--dk-ink-3); margin-bottom: 14px; }
.ac-ry-price .btn { align-self: stretch; justify-content: center; margin-top: 24px; }
/* -- promo code ----------------------------------------------------------- */
.ac-promo { margin-top: 24px; position: relative; z-index: 2; max-width: 440px; }
.ac-promo label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-3); margin-bottom: 10px; }
.ac-promo-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-promo input { flex: 1 1 200px; min-width: 0; padding: 12px 15px; border-radius: 12px; border: 1.5px solid var(--dk-card-b); background: rgba(0, 0, 0, 0.4); color: var(--white); font: inherit; letter-spacing: 0.06em; text-transform: uppercase; }
.ac-promo input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.ac-promo .btn { flex: none; }
.ac-promo-msg { margin-top: 10px; font-size: 13px; line-height: 1.5; min-height: 1.4em; }
.ac-promo-msg.is-ok { color: var(--gold); }
.ac-promo-msg.is-error { color: #ff8f8f; }
/* briefly ringed when someone arrives from the pointer by the registration form */
.ac-promo.is-hailed input { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(64, 228, 255, 0.18); }
.ac-promo.is-hailed input, .ac-promo input { transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }

.ac-ry-faq { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--dk-hair); position: relative; z-index: 2; }
.ac-ry-faq-item { border-bottom: 1px solid var(--dk-hair); padding: 4px 0; }
.ac-ry-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-size: 15.5px; font-weight: 700; }
.ac-ry-faq-item summary::-webkit-details-marker { display: none; }
.ac-ry-faq-item summary .ac-icon { flex: none; transition: transform var(--dur-fast) var(--ease); }
.ac-ry-faq-item[open] summary .ac-icon .v { transform: scaleY(0); }
.ac-ry-faq-item p { font-size: 14.5px; line-height: 1.55; color: var(--dk-ink-2); padding: 0 4px 18px; max-width: 60em; }
@media (max-width: 560px) {
  .ac-ry-pricing { grid-template-columns: 1fr; }
}

/* -- interest / register form (real, wired to the site's form backend) ---- */
#page-riyadah .ry-interest-grid { position: relative; z-index: 2; display: grid; gap: 30px; }
@media (min-width: 900px) { #page-riyadah .ry-interest-grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; } }
#page-riyadah .ry-interest-copy p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--dk-ink-2); max-width: 38ch; }
#page-riyadah .ry-iform { background: var(--white); border-radius: 22px; padding: clamp(26px, 3.5vw, 40px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55); }
#page-riyadah .ry-iform-grid { display: grid; gap: 16px; }
@media (min-width: 560px) { #page-riyadah .ry-iform-grid { grid-template-columns: 1fr 1fr; } }
#page-riyadah .ry-ifield { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
/* the programme list carries long labels; left to size itself it pushed the
   whole white card past the edge of a phone screen */
#page-riyadah .ry-ifield select { width: 100%; min-width: 0; }
#page-riyadah .ry-ifield.full { grid-column: 1 / -1; }
#page-riyadah .ry-ifield label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(10, 10, 10, 0.55); }
#page-riyadah .ry-ifield input, #page-riyadah .ry-ifield select { font-family: inherit; font-size: 14.5px; color: #0A0A0A; background: var(--white); border: 1.5px solid rgba(10, 10, 10, 0.16); border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color var(--dur-fast); }
#page-riyadah .ry-ifield input:focus, #page-riyadah .ry-ifield select:focus { border-color: var(--gold); }
#page-riyadah .ry-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 12px; line-height: 1.5; color: rgba(10, 10, 10, 0.6); }
#page-riyadah .ry-consent input { margin-top: 3px; flex: none; accent-color: #0A0A0A; }
#page-riyadah .ry-consent a { color: #0A0A0A; }
#page-riyadah .ry-consent.is-invalid { color: #b3261e; }
#page-riyadah .ry-ifield.is-invalid input, #page-riyadah .ry-ifield.is-invalid select { border-color: #b3261e; }
#page-riyadah .ry-iform .btn { margin-top: 22px; width: 100%; justify-content: center; }
#page-riyadah .ry-iform-status { margin-top: 12px; font-size: 12.5px; color: rgba(10, 10, 10, 0.6); text-align: center; min-height: 1.4em; }

/* -- what happens after you register --------------------------------------
   Programmes that keep the fee to the follow-up conversation print this in
   place of a price, so the column still answers "and then what?". */
#page-riyadah .ry-promo-jump { margin-top: 18px; }
#page-riyadah .ry-promo-jump a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(246, 196, 57, 0.45); padding-bottom: 2px; }
#page-riyadah .ry-promo-jump a:hover { border-bottom-color: var(--gold); }
#page-riyadah .ry-next-step { margin-top: 24px; padding: 18px 20px; border: 1.5px solid rgba(246, 196, 57, 0.4); border-radius: 16px; background: rgba(246, 196, 57, 0.05); font-size: 13.5px; line-height: 1.6; color: var(--dk-ink-2); max-width: 42ch; }

/* -- tighter rhythm for short programmes ---------------------------------- */
main.ry-dense .ac-section-pad { --sec-pad: clamp(52px, 5.6vw, 76px); padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
main.ry-dense .ac-head { margin-bottom: clamp(24px, 2.8vw, 36px); }
main.ry-dense .ac-final { padding-top: clamp(52px, 5.6vw, 76px); padding-bottom: clamp(40px, 4vw, 56px); }
main.ry-dense .ry-tgrid { margin-top: 0; }
/* the FAQ heading sits beside the questions rather than above them, which
   removes a full heading block of height from an already long page */
@media (min-width: 900px) {
  main.ry-dense #ry-faq .container { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
  main.ry-dense #ry-faq .ac-head { display: block; margin-bottom: 0; }
  main.ry-dense #ry-faq .ac-ry-faq { border-top: none; }
  main.ry-dense #ry-faq .ac-ry-faq-item:first-child { border-top: 1px solid var(--dk-hair); }
}
#page-riyadah .ry-iform-status.is-error { color: #b32626; }
#page-riyadah .ry-iform.is-done { text-align: center; padding-block: 56px; }
#page-riyadah .ry-iform.is-done .mark { margin-inline: auto; }
#page-riyadah .ry-iform.is-done h3 { font-size: 20px; font-weight: 800; color: #0A0A0A; margin-top: 4px; }
#page-riyadah .ry-iform.is-done p { margin-top: 8px; font-size: 14px; color: rgba(10, 10, 10, 0.64); max-width: 36ch; margin-inline: auto; }

/* -- final CTA: this page's version is single-column (no .ac-final-grid), so it needs its own centering -- */
#page-riyadah #ry-cta .container > div { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
#page-riyadah #ry-cta .ac-h2 { margin-bottom: 0; }
#page-riyadah #ry-cta .ac-sub { margin: 0; }

/* ---- assessment band (homepage, sits immediately before the calendar) ----
   A second entry point to the awareness tool; the Capability Framework page
   keeps its own at the foot. */
/* No overflow clip here: the gold glow is meant to fade out past the top and
   bottom edges. #page-academy main already clips the page horizontally. */
.ac-assess { position: relative; }
/* Tighter than the standard section rhythm — the band is one short row. */
.ac-assess.ac-section-pad { --sec-pad: clamp(44px, 4.6vw, 64px); padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
.ac-assess-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 2; }
.ac-assess .ac-h2 { margin: 14px 0 16px; }
.ac-assess .ac-sub { max-width: 34em; }
.ac-assess-cta { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); flex-wrap: wrap; margin-top: 30px; }
.ac-assess-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ac-assess-facts li { border: 1px solid var(--dk-card-b); border-radius: 14px; padding: 15px 18px; font-size: 14.5px; color: var(--dk-ink-2); background: var(--dk-card); }
@media (max-width: 900px) {
  .ac-assess-grid { grid-template-columns: 1fr; }
  .ac-assess-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

/* ---- header at mid widths ------------------------------------------------
   Six nav items, two programme pills, the early-bird button and the language
   toggle. Above 1360px the original spacing fits; below 900px the burger takes
   over. In between the gaps tighten in two steps, measured against the real
   rendered width rather than guessed. */
@media (min-width: 901px) and (max-width: 1360px) {
  .site-row { gap: 16px; }
  .site-nav { gap: 20px; }
  .site-nav ul { gap: 20px; }
  .site-nav a[data-nav] { font-size: 12.5px; letter-spacing: 0.03em; }
  .nav-cta { font-size: 11.5px; letter-spacing: 0.06em; }
  .nav-ksa { padding: 8px 13px; font-size: 11px; letter-spacing: 0.06em; }
  .lang-toggle { padding: 6px 11px; }
}
/* Just above the burger breakpoint the bar is tightest of all. */
@media (min-width: 901px) and (max-width: 1060px) {
  .site-row { gap: 10px; }
  .site-nav, .site-nav ul { gap: 11px; }
  .site-nav a[data-nav] { font-size: 11.5px; letter-spacing: 0.01em; }
  .nav-ksa { padding: 7px 9px; font-size: 10px; letter-spacing: 0.04em; gap: 5px; }
  .nav-ksa .icon { width: 11px; height: 11px; }
  .nav-cta { font-size: 10.5px; letter-spacing: 0.03em; }
  .lang-toggle { padding: 5px 9px; font-size: 11px; }
}
