/* =============================================================================
   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; } }
.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 { padding-top: clamp(72px, 8vw, 108px); padding-bottom: clamp(72px, 8vw, 108px); }
.ac-h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.01em; font-weight: 800; }
.ac-h2 .ac-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin: 0 2px; }
.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: right; }
.ac-head .r { text-align: right; }
.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; left: 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-left: 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); }

/* ---------------------------------------------------------------------------
   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 { padding-top: clamp(28px, 2.8vw, 40px); }
.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: left; 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: left; 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-egypt, .ac-course-btn .cloc.is-gulf { color: #0A0900; background: var(--gold); border: 1px solid var(--gold); }
.ac-course-btn .cloc.is-egypt::before, .ac-course-btn .cloc.is-gulf::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); }
.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: 6px 0 34px 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: 5px 0 5px 16px; position: relative; }
.ac-detail li::before { content: ""; position: absolute; left: 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; }
.ac-qrows { display: flex; flex-direction: column; gap: 13px; position: relative; z-index: 2; }
.ac-qrow { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 18px 20px; border-radius: 16px; background: var(--dk-card); border: 1px solid var(--dk-card-b); align-items: center; }
.ac-qrow.is-open { background: transparent; border-style: dashed; border-color: var(--dk-hair-2); }
.ac-qrow .qq b { display: block; font-size: 18px; font-weight: 800; }
.ac-qrow .qq span { display: block; font-size: 11px; color: var(--dk-ink-3); margin-top: 5px; letter-spacing: 0.05em; }
.ac-qcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ac-qc { border: 1px solid var(--dk-hair); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 104px; transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease); }
.ac-qc:hover { border-color: rgba(64, 228, 255, 0.4); transform: translateY(-2px); }
.ac-qc.is-ghost { 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; }
.ac-qc.is-ghost:hover { transform: none; border-color: var(--dk-hair); }
.ac-qc.is-ghost.is-wide { grid-column: 1 / -1; min-height: 64px; }
.ac-qc .tp { display: flex; justify-content: space-between; align-items: center; }
.ac-qc .tp small { font-size: 9.5px; color: var(--dk-ink-3); letter-spacing: 0.08em; font-weight: 700; }
.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-egypt, .ac-qloc.is-gulf { color: #0A0900; background: var(--gold); }
.ac-qloc.is-egypt::before, .ac-qloc.is-gulf::before { background: #0A0900; }
.ac-qc .cl { display: flex; gap: 9px; align-items: baseline; color: inherit; }
.ac-qc .cl b { font-size: 10.5px; font-weight: 800; color: var(--cyan); flex: none; }
.ac-qc .cl > span { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.ac-qc .cl > span:hover { color: var(--cyan); }
.ac-qc .cl small { display: block; font-weight: 400; font-size: 10.5px; color: var(--dk-ink-3); margin-top: 2px; }
.ac-qc .ft { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; gap: 12px; }
.ac-qc .ft em { font-style: normal; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-ink-3); }
.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); }
.ac-qc .ft .ac-qreg { margin-top: 0; }

/* ---------------------------------------------------------------------------
   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); }
.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: left; 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: left; 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: left; 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: 6px 0 6px 18px; position: relative; }
.ac-tp .creds li::before { content: ""; position: absolute; left: 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: 4px 0 4px 18px; position: relative; }
.ac-legal article li::before { content: ""; position: absolute; left: 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; right: 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-right: 44px; }
.ac-step[hidden] { display: none; }
.ac-choice { display: block; width: 100%; text-align: left; 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; }
.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-right: 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; }
.ac-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.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-left: 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: left; }
.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-right: 40px; }
.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"] { --blue: var(--cyan); }
[data-page^="trainer-"] main, [data-page="legal"] main {
  background: var(--black); color: var(--white); position: relative; overflow: clip;
}
[data-page^="trainer-"] :focus-visible, [data-page="legal"] :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"] 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"] .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; right: 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-left: 0; }
  .ac-qcards { grid-template-columns: 1fr 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: left; }
  /* 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; }
  .ac-qrow { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .ac-qcards { grid-template-columns: 1fr; }
  .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; right: 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); }
