/* Research Egypt Academy — V3.
   Loaded last. V2 gave the page the Research Egypt identity (colours, fonts, pills); V3 changes how the page is laid out:
   a giant headline over a media card that opens to the full width, one big sentence on a colour block, courses as a mosaic of
   large media cards that open a full detail sheet, real class examples of AI work, and a page ground that changes tone from
   one section to the next. Layout "h" of a section = its V3 layout (js/v3.js); layouts a–g still work.
   Light theme: nothing dark. */

/* ---------------------------------------------------------------- tokens */
html.v3 {
  --r: 26px; --r-lg: 34px;
  --section-y: clamp(76px, 9.5vw, 132px);
  --sky: #E2ECFA; --warm: #FCF1E4; --stmt: #D5E4F8; --stmt-ink: #0D1940; --stmt-hi: #084887;
  --tile-ai: #FFE5CB; --tile-lang: #DCE8FA; --ok-soft: #DFF3EA; --flag-soft: #FFE9D4;
  --inset: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
html.v3[data-theme="dark"] {
  --sky: #0E1C4A; --warm: #15193B; --stmt: #12204F; --stmt-ink: #EAF0FA; --stmt-hi: #F58220;
  --tile-ai: #2A2140; --tile-lang: #13265C; --ok-soft: rgba(62, 224, 160, .12); --flag-soft: rgba(245, 130, 32, .14);
}
html.v3 body { transition: background-color .8s cubic-bezier(.16, 1, .3, 1); }
html.v3[data-ground="sky"] body { background-color: var(--sky); }
html.v3[data-ground="warm"] body { background-color: var(--warm); }

/* ---------------------------------------------------------------- type: bigger, calmer, medium weight */
.v3 .sec-title { font-size: clamp(40px, 6.5vw, 122px); font-weight: 600; letter-spacing: -.048em; line-height: .98; }
html.v3[lang="ar"] .sec-title { font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.v3 .faq .sec-title, .v3 .register .sec-title { font-size: clamp(38px, 4.7vw, 88px); }
.v3 .sec-head { margin-bottom: clamp(36px, 5vw, 84px); }
.v3 .sec-head--row .sec-sub { max-width: 500px; font-size: clamp(15.5px, 1.1vw, 18.5px); }
.v3 .kicker { margin-bottom: clamp(14px, 1.6vw, 26px); }
.v3 .cursor { display: none !important; }
.hbr { display: none; }
[dir="rtl"] .wk__go svg, [dir="rtl"] .wk__more svg, [dir="rtl"] .aix__c svg, [dir="rtl"] .cs svg.arrow, [dir="rtl"] .cs__page svg, [dir="rtl"] .lab__more svg { transform: scaleX(-1); }

/* ================================================================ HERO h */
.hero[data-v="h"] { min-height: 0; display: block; overflow: visible; padding: calc(var(--header-h) + clamp(30px, 6.5vh, 84px)) 0 0; }
.hero[data-v="h"] #heroField, .hero[data-v="h"] .hero__vignette, .hero[data-v="h"] .hero__grid-lines, .hero[data-v="h"] .hero__scroll, .hero[data-v="h"] .hero__inner .hero__mark { display: none; }
.hero[data-v="h"] + .ticker { display: none; }
.hero[data-v="h"] .hero__inner { display: block; }
.hero[data-v="h"] .hero__chips { margin-bottom: clamp(18px, 3vh, 36px); }
.hero[data-v="h"] .hero__bottom { display: block; }
.hero[data-v="h"] .hero__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h1 h1" "lead ctas"; column-gap: clamp(24px, 4vw, 72px); row-gap: clamp(20px, 3.4vh, 40px); align-items: end; max-width: none; }
.hero[data-v="h"] .hbr { display: inline; }
.hero[data-v="h"] .hero__h1 { grid-area: h1; max-width: none; margin: 0; font-size: clamp(42px, 7.9vw, 150px); font-weight: 600; line-height: .93; letter-spacing: -.055em; text-wrap: balance; }
html[lang="ar"] .hero[data-v="h"] .hero__h1 { font-size: clamp(38px, 6.9vw, 132px); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.h3ln { display: block; overflow-x: visible; overflow-y: clip; padding-block: .14em; margin-block: -.14em; }
.h3ln > span { display: block; }
.hero[data-v="h"] .hero__lead { grid-area: lead; max-width: 58ch; margin: 0; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.7; }
.hero[data-v="h"] .hero__ctas { grid-area: ctas; margin: 0; }

.h3card { --k: 1; position: relative; margin-top: clamp(30px, 5.4vh, 64px); height: clamp(440px, 94vh, 1020px); }
.h3card__clip { position: absolute; inset: 0; overflow: hidden; background: var(--c-surface); clip-path: inset(0 calc(var(--inset) * var(--k)) round calc(34px * var(--k))); }
.h3card__v { display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.h3card--logo .h3card__clip { display: grid; place-items: center; background: var(--sky); }
.h3card--logo .hero__mark { display: block !important; width: min(72%, 1100px); }
.h3card__ui { position: absolute; inset-block-start: clamp(14px, 1.6vw, 26px); inset-inline: calc(var(--inset) * var(--k) + clamp(14px, 1.6vw, 26px)); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; pointer-events: none; }
.h3card__ui > * { pointer-events: auto; margin: 0 !important; grid-area: auto !important; }
.h3card__ui .countdown { width: min(400px, 46%); padding: 16px 20px 14px; border-radius: 24px; background: var(--c-card); border: 0; box-shadow: 0 24px 60px -30px rgba(13, 25, 64, .45); }
.h3card__ui .countdown .cd-digits { font-size: clamp(30px, 2.7vw, 46px); }
.h3card__ui .hlive { width: min(380px, 44%); padding: 16px 20px; border-radius: 24px; background: var(--c-card); border: 0; box-shadow: 0 24px 60px -30px rgba(13, 25, 64, .45); }
.h3card .rea-temp { position: absolute; bottom: 14px; inset-inline-start: calc(var(--inset) * var(--k) + 14px); z-index: 2; }

/* ================================================================ STATEMENT */
.stmt { position: relative; background: var(--stmt); color: var(--stmt-ink); padding-block: clamp(84px, 11.5vw, 200px); }
.stmt__k { font-family: var(--f-label); font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: clamp(20px, 2.6vw, 44px); opacity: .75; }
html[lang="ar"] .stmt__k { letter-spacing: 0; font-size: 15px; }
.stmt__t { font-family: var(--f-display); font-size: clamp(30px, 5.1vw, 98px); font-weight: 600; line-height: 1.03; letter-spacing: -.045em; max-width: 19em; text-wrap: balance; }
html[lang="ar"] .stmt__t { font-weight: 700; line-height: 1.32; letter-spacing: 0; font-size: clamp(28px, 4.5vw, 86px); }
.stmt__t em { font-style: normal; color: var(--stmt-hi); }
.stmt__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 40px; margin-top: clamp(40px, 6vw, 104px); }
.stmt__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.stmt__chips a, .stmt__chips span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--c-card); color: var(--c-text); font-weight: 700; font-size: clamp(14.5px, 1.05vw, 17px); transition: background .3s, color .3s, transform .3s var(--ease); }
.stmt__chips a:hover { background: var(--btn); color: #fff; transform: translateY(-2px); }
.stmt__modes { display: flex; flex-wrap: wrap; gap: 10px 30px; font-weight: 700; font-size: clamp(14.5px, 1.05vw, 17px); }
.stmt__modes li { display: inline-flex; align-items: center; gap: 10px; }
.stmt__modes li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

/* ================================================================ COURSES h: the mosaic */
#programs[data-v="h"] .progs__fk { display: none; }
#programs[data-v="h"] .pcards.wk, .wk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 3.4vw, 60px) clamp(16px, 1.6vw, 30px); }
.wk__c { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.wk__c.is-wide { grid-column: 1 / -1; }
.wk__c.is-hidden { display: none; }
.wk__m { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface); cursor: pointer; isolation: isolate; container-type: inline-size; text-align: start; }
.wk__c.is-wide .wk__m { aspect-ratio: 2.45 / 1; }
.wk__img, .wk__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; transition: transform 1.4s var(--ease), opacity .5s; z-index: -1; }
.wk__img--none { background: var(--sky); }
.wk__v { opacity: 0; }
.wk__c.is-playing .wk__v { opacity: 1; }
.wk__c:hover .wk__img, .wk__c:hover .wk__v { transform: scale(1.045); }
.wk__tags { position: absolute; inset-block-start: clamp(12px, 1.3vw, 22px); inset-inline-start: clamp(12px, 1.3vw, 22px); display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 24px); }
.wk__tag { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--c-card); color: var(--c-text); font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.wk__tag b { font-weight: 800; }
.wk__tag--soon { background: var(--orange); color: #1B0F00; }
.wk__tag--free { background: var(--c-ok); color: #fff; }
html[data-theme="dark"] .wk__tag--free { color: #062a1c; }
.wk__tag--live i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-ok) 60%, transparent); animation: wkpulse 2s infinite; }
@keyframes wkpulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.wk__name { position: absolute; inset-block-end: clamp(12px, 1.3vw, 22px); inset-inline-start: clamp(12px, 1.3vw, 22px); max-width: calc(100% - 110px); padding: 12px 20px; border-radius: 20px; background: var(--c-card); color: var(--c-text); font-family: var(--f-display); font-size: clamp(17px, 1.75vw, 31px); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
html[lang="ar"] .wk__name { letter-spacing: 0; }
.wk__c.is-wide .wk__name { font-size: clamp(19px, 2.3vw, 42px); padding: 14px 24px; }
.wk__go { position: absolute; inset-block-end: clamp(12px, 1.3vw, 22px); inset-inline-end: clamp(12px, 1.3vw, 22px); display: grid; place-items: center; width: clamp(46px, 3.6vw, 62px); height: clamp(46px, 3.6vw, 62px); border-radius: 50%; background: var(--c-card); color: var(--c-text); transition: background .35s, color .35s, transform .5s var(--ease); }
.wk__go svg, .wk__more svg, .aix__c svg, .cs__page svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wk__c:hover .wk__go, .wk__m:focus-visible .wk__go { background: var(--orange); color: #1B0F00; transform: rotate(-45deg); }
[dir="rtl"] .wk__c:hover .wk__go, [dir="rtl"] .wk__m:focus-visible .wk__go { transform: rotate(45deg); }
.wk__m:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 4px; }
.wk__word { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 16cqw; font-weight: 800; letter-spacing: -.06em; line-height: 1; white-space: nowrap; color: color-mix(in srgb, var(--c-text) 13%, transparent); z-index: -1; }
.wk__c--soon[data-cat="ai"] .wk__m { background: var(--tile-ai); }
.wk__c--soon .wk__m { background: var(--tile-lang); }
.wk__b { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; align-items: start; padding: clamp(14px, 1.4vw, 22px) 6px 0; }
.wk__s { grid-column: 1; max-width: 78ch; color: var(--c-muted); font-size: clamp(15px, 1.05vw, 17.5px); line-height: 1.75; }
.wk__f { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; font-weight: 600; color: var(--c-text-2); }
.wk__f li { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 13px; border-radius: 999px; background: var(--c-card); }
.wk__more { grid-column: 2; grid-row: 1 / span 2; align-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 6px; font-weight: 700; color: var(--c-hi-text); white-space: nowrap; border-bottom: 2px solid color-mix(in srgb, var(--orange) 70%, transparent); }
.wk__more:hover { color: var(--c-text); }
.wk__more svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.wk__more:hover svg { transform: translateX(4px); }
[dir="rtl"] .wk__more:hover svg { transform: scaleX(-1) translateX(4px); }

/* ================================================================ COURSE SHEET */
html.cs-open { overflow: hidden; }
.cs { position: fixed; inset: 0; z-index: 250; }
.cs[hidden] { display: none; }
.cs__bg { position: absolute; inset: 0; background: rgba(13, 25, 64, .34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s; }
.cs.is-open .cs__bg { opacity: 1; }
.cs__panel { position: absolute; inset: 14px 14px 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 34px 34px 0 0; background: var(--c-bg); color: var(--c-text); box-shadow: 0 -30px 90px -40px rgba(13, 25, 64, .5); transform: translateY(102%); transition: transform .6s var(--ease); }
.cs.is-open .cs__panel { transform: none; }
.cs__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3vw, 44px); border-bottom: 1px solid var(--c-line); }
.cs__brand { font-family: var(--f-label); font-size: 13.5px; font-weight: 700; color: var(--c-muted); }
.cs__x { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-card); border: 1px solid var(--c-line); color: var(--c-text); transition: background .25s, color .25s, transform .4s var(--ease); }
.cs__x:hover { background: var(--btn); color: #fff; transform: rotate(90deg); }
.cs__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cs__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 68px) clamp(16px, 4.4vw, 84px) 96px; outline: 0; }
.cs__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.cs__top:has(.cs__hl:only-child) { grid-template-columns: 1fr; }
.cs__k { font-family: var(--f-label); font-size: 14px; font-weight: 700; color: var(--orange-ink); margin-bottom: 14px; }
.cs__t { font-family: var(--f-display); font-size: clamp(32px, 5.2vw, 94px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
html[lang="ar"] .cs__t { font-weight: 700; line-height: 1.24; letter-spacing: 0; font-size: clamp(30px, 4.6vw, 82px); }
.cs__tag { margin-top: clamp(14px, 1.6vw, 24px); max-width: 46ch; font-size: clamp(17px, 1.55vw, 25px); line-height: 1.6; color: var(--c-text-2); font-weight: 500; }
.cs__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.4vw, 36px); }
.cs__facts li { min-width: 128px; padding: 14px 18px; border-radius: 20px; background: var(--c-card); }
.cs__facts b { display: block; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
html[dir="rtl"] .cs__facts b { text-align: right; }
.cs__facts span { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.cs__media .vthumb { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 28px; }
.cs__cap { margin-top: 10px; font-size: 13px; color: var(--c-muted); }
.cs__nav { position: sticky; top: 0; z-index: 3; display: flex; gap: 4px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-top: clamp(28px, 4vw, 60px); padding: 6px; border-radius: 999px; background: var(--c-card); border: 1px solid var(--c-line); box-shadow: 0 14px 34px -24px var(--c-shadow); }
.cs__nav button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--c-text-2); transition: background .25s, color .25s; }
.cs__nav button:hover { background: var(--c-hi-a); color: var(--c-text); }
.cs__cols { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 400px); gap: clamp(24px, 4.4vw, 84px); align-items: start; margin-top: clamp(26px, 3.4vw, 52px); }
.cs__side { position: sticky; top: 76px; }
.cs__card { display: grid; gap: 14px; padding: clamp(18px, 1.8vw, 26px); border-radius: 28px; background: var(--c-card); box-shadow: 0 30px 70px -50px var(--c-shadow); }
.cs__card .pblock { margin: 0; }
.cs__cardt { color: var(--c-text-2); line-height: 1.75; }
.cs__ck { font-size: 12.5px; font-weight: 700; color: var(--c-muted); margin-bottom: -6px; }
.cs__modes { display: flex; flex-wrap: wrap; gap: 6px; }
.cs__modes li { min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--c-bg-2); font-size: 13px; font-weight: 700; }
.cs__enr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.cs__enr > b { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 30px; font-weight: 700; line-height: 1; }
.cs__enr span { color: var(--c-muted); font-weight: 600; font-size: 14px; }
.cs__enr i { flex: 0 0 100%; height: 6px; border-radius: 6px; background: var(--c-bg-2); overflow: hidden; }
.cs__enr i b { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 6px; background: var(--c-acc); }
.cs__free { display: grid; gap: 2px; padding: 12px 16px; border-radius: 18px; background: var(--ok-soft); color: var(--c-text); transition: transform .3s var(--ease); }
.cs__free:hover { transform: translateY(-2px); }
.cs__free span { font-size: 12.5px; font-weight: 700; color: var(--c-ok); }
.cs__free b { font-size: 14.5px; }
.cs__page { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--c-hi-text); }
.cs__page svg { width: 16px; height: 16px; }
.cs__sec { padding-block: clamp(24px, 3vw, 46px); border-top: 1px solid var(--c-line-2); scroll-margin-top: 70px; }
.cs__sec:first-child { padding-top: 0; border-top: 0; }
.cs__sec > h3 { font-size: clamp(22px, 2.3vw, 38px); line-height: 1.2; margin-bottom: clamp(12px, 1.4vw, 20px); letter-spacing: -.025em; }
html[lang="ar"] .cs__sec > h3 { letter-spacing: 0; }
.cs__lead { max-width: 78ch; font-size: clamp(16px, 1.22vw, 19.5px); line-height: 1.9; color: var(--c-text-2); }
.cs__note { margin-top: 12px; font-size: 14px; color: var(--c-muted); }
.cs__units { display: grid; gap: 8px; margin-top: 16px; }
.cs__u { border-radius: 20px; background: var(--c-card); border: 1px solid var(--c-line); transition: border-color .25s; }
.cs__u[open] { border-color: var(--c-line-2); }
.cs__u summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px 16px; align-items: center; padding: 15px 20px; cursor: pointer; list-style: none; border-radius: 20px; }
.cs__u summary::-webkit-details-marker { display: none; }
.cs__u summary:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.cs__un { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 14px; color: var(--orange-ink); }
.cs__ut { font-weight: 700; font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.45; }
.cs__um { font-size: 13px; color: var(--c-muted); white-space: nowrap; }
.cs__uc { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c-bg-2); }
.cs__uc::before, .cs__uc::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.cs__uc::after { transform: rotate(90deg); }
.cs__u[open] .cs__uc::after { transform: rotate(0); }
.cs__ai { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 10px; padding: 3px 9px; border-radius: 999px; background: var(--flag-soft); color: var(--orange-ink); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 11.5px; font-weight: 800; vertical-align: middle; white-space: nowrap; }
.cs__ai svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cs__topics { display: grid; gap: 9px; padding: 2px 20px 20px; padding-inline-start: clamp(20px, 4.4vw, 58px); }
.cs__topics li { position: relative; padding-inline-start: 18px; color: var(--c-text-2); line-height: 1.7; font-size: 15px; }
.cs__topics li::before { content: ''; position: absolute; inset-inline-start: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-acc); }
.cs__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 12px 32px; }
.cs__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.7; }
.cs__list svg { flex: none; width: 24px; height: 24px; margin-top: 2px; padding: 5px; border-radius: 50%; background: var(--c-hi-a); fill: none; stroke: var(--c-acc); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cs__tools { display: flex; flex-wrap: wrap; gap: 8px; }
[dir="rtl"] .cs__tools { justify-content: flex-end; }
.cs__tools li { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--c-card); border: 1px solid var(--c-line); font-weight: 700; font-size: 14px; }

/* ================================================================ AI inside the curriculum */
.lab__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lab__tab { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 24px; background: color-mix(in srgb, var(--c-card) 50%, transparent); border: 1.5px solid transparent; text-align: start; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.lab__tab:hover { background: var(--c-card); transform: translateY(-2px); }
.lab__tab[aria-selected="true"] { background: var(--c-card); border-color: var(--c-text); }
.lab__tn { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 14px; color: var(--orange-ink); }
.lab__tt { display: grid; gap: 2px; min-width: 0; }
.lab__tt b { font-size: clamp(15.5px, 1.2vw, 19px); line-height: 1.4; }
.lab__tt > span { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.lab__panel { display: grid; grid-template-columns: minmax(290px, .82fr) minmax(0, 2fr); gap: 14px; margin-top: 14px; }
.lab__brief { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2vw, 38px); border-radius: var(--r-lg); background: var(--c-card); }
.lab__k { font-size: 12.5px; font-weight: 700; color: var(--c-muted); }
.lab__brief h3 { font-size: clamp(24px, 2.5vw, 42px); line-height: 1.16; letter-spacing: -.03em; }
html[lang="ar"] .lab__brief h3 { letter-spacing: 0; line-height: 1.35; }
.lab__b { color: var(--c-text-2); line-height: 1.8; }
.lab__prompt { display: grid; gap: 6px; padding: 14px 16px; border-radius: 18px; background: var(--c-bg-2); }
.lab__prompt span, .lab__src span { font-size: 12px; font-weight: 700; color: var(--c-muted); }
.lab__prompt q { quotes: none; font-weight: 700; line-height: 1.6; }
.lab__tools { display: flex; flex-wrap: wrap; gap: 6px; }
[dir="rtl"] .lab__tools { justify-content: flex-end; }
.lab__tools li { min-height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line-2); font-size: 12.5px; font-weight: 700; }
.lab__src { display: grid; gap: 4px; font-size: 14px; line-height: 1.7; color: var(--c-text-2); }
.lab__more { margin-top: auto; align-self: flex-start; }
.lab__stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lab__sw2 { display: none; }
.lab__card { min-width: 0; padding: clamp(16px, 1.8vw, 28px); border-radius: var(--r-lg); background: var(--c-card); border: 2px solid transparent; }
.lab__card--draft { border-color: color-mix(in srgb, var(--orange) 55%, transparent); }
.lab__card--rev { border-color: color-mix(in srgb, var(--c-ok) 55%, transparent); }
.lab__ck { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 800; }
.lab__card--draft .lab__ck { background: var(--flag-soft); color: var(--orange-ink); }
.lab__card--rev .lab__ck { background: var(--ok-soft); color: var(--c-ok); }
.lab__ck svg, .lab__note svg, .lab__mx svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lab__pre { margin: 0; padding: 12px 0; border-radius: 18px; background: var(--c-bg-2); color: var(--c-text); font: 500 clamp(11.5px, .86vw, 13.5px)/1.95 ui-monospace, 'Cascadia Code', Consolas, Menlo, monospace; overflow-x: auto; text-align: left; }
.lab__pre code { display: block; min-width: max-content; font: inherit; }
.lab__ln { display: flex; justify-content: space-between; gap: 14px; padding: 0 16px; white-space: pre; }
.lab__ln.is-gap { min-height: 1.95em; }
.lab__ln.is-flag { background: var(--flag-soft); }
.lab__ln.is-fix { background: var(--ok-soft); }
.lab__pre mark { padding: 1px 3px; border-radius: 5px; color: inherit; font-weight: 700; }
.lab__pre mark.flag { background: color-mix(in srgb, var(--orange) 38%, transparent); }
.lab__pre mark.fix { background: color-mix(in srgb, var(--c-ok) 30%, transparent); }
.lab__mk { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; }
.is-flag .lab__mk, .lab__notes--flag b { color: var(--orange-ink); }
.is-fix .lab__mk, .lab__notes--fix b { color: var(--c-ok); }
.lab__notes { display: grid; gap: 9px; margin-top: 16px; }
.lab__notes li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; line-height: 1.65; color: var(--c-text-2); }
.lab__notes b { flex: none; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; }
.lab__rows { display: grid; gap: 12px; }
.lab__row { display: grid; gap: 10px; padding: 12px; border-radius: 18px; background: var(--c-bg-2); }
.lab__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lab__tiles li { display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 10px 12px; border-radius: 14px; background: var(--c-card); font-size: 13px; font-weight: 700; line-height: 1.45; border: 1.5px solid transparent; }
.lab__tiles i { display: block; width: 16px; height: 16px; }
.lab__tiles i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lab__tiles .is-flagged { border-color: var(--orange); }
.lab__tiles .is-flagged i, .lab__tiles em { color: var(--orange-ink); }
.lab__tiles .is-kept { border-color: var(--c-ok); }
.lab__tiles .is-kept i { color: var(--c-ok); }
.lab__tiles .is-cut { opacity: .5; }
.lab__tiles em, .lab__pts em { font-style: normal; font-size: 11.5px; font-weight: 700; }
.lab__rk { font-size: 12px; font-weight: 700; color: var(--c-muted); }
.lab__sw { display: flex; flex-wrap: wrap; gap: 8px; }
[dir="rtl"] .lab__sw { justify-content: flex-end; }
.lab__sw li { display: grid; justify-items: center; gap: 3px; font: 700 10.5px/1 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--c-muted); }
.lab__sw i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--c-line-2); }
.lab__fonts { font-weight: 800; font-size: 15px; text-align: start; }
[dir="rtl"] .lab__fonts { text-align: right; }
.lab__note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.lab__note svg { margin-top: 3px; }
.lab__note--flag { color: var(--orange-ink); }
.lab__note--fix { color: var(--c-ok); }
.lab__pts { display: grid; gap: 8px; margin-bottom: 12px; }
.lab__pts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 11px 14px; border-radius: 16px; background: var(--c-bg-2); border: 1.5px solid transparent; }
.lab__pts li > b { grid-row: span 3; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; color: var(--c-muted); }
.lab__pt { font-weight: 700; font-size: 14.5px; line-height: 1.55; }
.lab__pts em { grid-column: 2; color: var(--orange-ink); }
.lab__pts .is-flagged { border-color: var(--orange); }
.lab__pts .is-fixed { border-color: var(--c-ok); }
.lab__pts .is-cut { opacity: .55; }
.lab__srcs { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px; }
[dir="rtl"] .lab__srcs { justify-content: flex-end; }
.lab__srcs i { padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--c-ok); font: 700 11px/1.5 'Plus Jakarta Sans', system-ui, sans-serif; }
.lab__mx { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lab__mx li { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ok-soft); color: var(--c-ok); font-size: 12.5px; font-weight: 700; }

.aix__units { margin-top: clamp(40px, 5.4vw, 92px); }
.aix__h { font-size: clamp(22px, 2.4vw, 40px); line-height: 1.2; letter-spacing: -.03em; margin-bottom: clamp(14px, 1.6vw, 24px); }
html[lang="ar"] .aix__h { letter-spacing: 0; }
.aix__rows { border-top: 1px solid var(--c-line-2); }
.aix__rows > li { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 2fr); gap: 12px 40px; align-items: start; padding: clamp(16px, 1.8vw, 26px) 0; border-bottom: 1px solid var(--c-line-2); }
.aix__c { display: inline-flex; align-items: center; gap: 10px; text-align: start; font-family: var(--f-display); font-size: clamp(18px, 1.7vw, 28px); font-weight: 700; line-height: 1.35; transition: color .25s; }
.aix__c:hover { color: var(--c-hi-text); }
.aix__c svg { flex: none; width: 20px; height: 20px; }
.aix__us { display: flex; flex-wrap: wrap; gap: 8px; }
.aix__us li { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 16px; border-radius: 18px; background: var(--c-card); }
.aix__us b { font-weight: 700; font-size: 14.5px; }
.aix__us span { font-size: 12.5px; color: var(--c-muted); font-weight: 600; }
.aix__soon { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 3.4vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 68px); padding: clamp(22px, 3.2vw, 58px); border-radius: var(--r-lg); background: var(--c-card); }
.aix__soon[hidden], .aix__units[hidden] { display: none; }
.aix__sk { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 700; color: var(--c-muted); }
.aix__st { margin-top: 14px; font-size: clamp(30px, 3.9vw, 70px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; }
html[lang="ar"] .aix__st { font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.aix__sp { margin-top: 14px; max-width: 52ch; color: var(--c-text-2); font-size: clamp(15.5px, 1.15vw, 18.5px); line-height: 1.8; }
.aix__sb { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.aix__topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aix__topics li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--c-bg-2); line-height: 1.6; font-weight: 600; font-size: 14.5px; }
.aix__topics b { flex: none; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; color: var(--orange-ink); }

/* ================================================================ BOOTCAMPS h */
#bootcamps[data-v="h"] .bootc__slot, #bootcamps[data-v="h"] .bootc__body, #bootcamps[data-v="h"] .clips { display: none !important; }
.bn[hidden] { display: none; }
.bn__big { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 30px); }
.bn__c { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); min-height: clamp(380px, 30vw, 520px); overflow: hidden; border-radius: var(--r-lg); background: var(--c-card); }
.bn__m { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; min-height: 220px; padding: clamp(12px, 1.3vw, 20px); background: var(--sky) center / cover no-repeat; }
.bn__b { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(18px, 2.1vw, 36px); }
.bn__k { font-size: 12.5px; font-weight: 700; color: var(--orange-ink); }
.bn__t { font-size: clamp(24px, 2.5vw, 44px); line-height: 1.14; letter-spacing: -.035em; margin-top: -6px; }
html[lang="ar"] .bn__t { letter-spacing: 0; line-height: 1.32; }
.bn__p { color: var(--c-text-2); line-height: 1.75; }
.bn__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.bn__meta li { min-height: 32px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; background: var(--c-bg-2); font-size: 13px; font-weight: 700; }
.bn__ss { display: grid; gap: 8px; margin: 2px 0 0; padding: 0; border: 0; min-width: 0; }
.bn__ss legend, .bn__sl { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--c-muted); }
.bn__s { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 18px; background: var(--c-bg-2); border: 1.5px solid transparent; transition: border-color .25s, background .25s; }
label.bn__s { cursor: pointer; }
.bn__s input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
label.bn__s:has(input:checked) { border-color: var(--c-acc); background: var(--c-hi-a); }
label.bn__s:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.bn__ck { margin-inline-start: auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-acc); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
html[data-theme="dark"] .bn__ck { color: #0A1330; }
.bn__ck svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
label.bn__s:has(input:checked) .bn__ck { opacity: 1; transform: none; }
.bn__d { display: grid; justify-items: center; min-width: 48px; font-size: 11.5px; font-weight: 700; color: var(--c-muted); line-height: 1.3; }
.bn__d b { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 26px; font-weight: 700; line-height: 1; color: var(--c-text); }
.bn__w { display: grid; gap: 1px; min-width: 0; }
.bn__w b { font-size: 15px; }
.bn__w span { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.bn__f { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: auto; padding-top: 10px; }
.bn__strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 1fr); gap: 14px; margin-top: clamp(16px, 1.6vw, 30px); padding-bottom: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bn__i { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 12px 16px; border-radius: 24px; background: var(--c-card); scroll-snap-align: start; }
.bn__i .vthumb { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; }
.bn__i--soon { padding: 18px; }
.bn__i--soon .link-arrow { margin-top: auto; align-self: flex-start; }
.bn__ik { font-size: 12px; font-weight: 700; color: var(--c-muted); padding-inline: 4px; }
.bn__i--soon .bn__ik { padding: 0; }
.bn__it { font-weight: 700; font-size: 16px; line-height: 1.45; padding-inline: 4px; }
.bn__i--soon .bn__it { padding: 0; font-size: 17.5px; }
.bn__ip { font-size: 13px; color: var(--c-muted); font-weight: 600; }

/* ================================================================ ABOUT h */
.about__facts { display: none; }
#about[data-v="h"] > .container { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "k media" "st media" "cols media" "facts media" "parent parent" "stats stats"; column-gap: clamp(28px, 5.4vw, 110px); row-gap: clamp(18px, 2.2vw, 34px); align-items: start; }
#about[data-v="h"] .kicker { grid-area: k; margin: 0; }
#about[data-v="h"] .about__statement { grid-area: st; margin: 0; max-width: none; font-size: clamp(32px, 4.5vw, 86px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
html[lang="ar"] #about[data-v="h"] .about__statement { font-weight: 700; line-height: 1.28; letter-spacing: 0; font-size: clamp(30px, 4vw, 76px); }
#about[data-v="h"] .about__cols { grid-area: cols; display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0; }
#about[data-v="h"] .about__text { max-width: 62ch; font-size: clamp(16px, 1.22vw, 20px); line-height: 1.85; }
#about[data-v="h"] .about__list { display: flex; flex-wrap: wrap; gap: 8px; }
#about[data-v="h"] .about__list li { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--c-card); font-size: 14px; font-weight: 600; }
#about[data-v="h"] .about__facts { grid-area: facts; display: grid; border-top: 1px solid var(--c-line-2); }
.about__facts li { display: grid; grid-template-columns: minmax(clamp(120px, 14vw, 250px), auto) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(14px, 1.5vw, 24px) 0; border-bottom: 1px solid var(--c-line-2); }
.about__facts b { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: clamp(42px, 4.8vw, 88px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
[dir="rtl"] .about__facts b { text-align: right; }
.about__facts span { max-width: 26ch; font-weight: 700; font-size: clamp(15px, 1.15vw, 18.5px); line-height: 1.5; }
#about[data-v="h"] .about__media { grid-area: media; position: sticky; top: calc(var(--header-h) + 28px); margin: 0; }
#about[data-v="h"] .about__parent { grid-area: parent; margin: 0; }
#about[data-v="h"] .stats { grid-area: stats; }

/* ================================================================ FOOTER h */
.fcta__h { display: none; }
.footer[data-v="h"] .fcta__t { display: none; }
.footer[data-v="h"] .fcta__h { display: block; font-family: var(--f-display); font-size: clamp(40px, 7.4vw, 140px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
html[lang="ar"] .footer[data-v="h"] .fcta__h { font-weight: 700; line-height: 1.25; letter-spacing: 0; font-size: clamp(38px, 6.6vw, 124px); }
.fcta__ar { display: inline-block; font-style: normal; color: var(--orange); transition: transform .5s var(--ease); }
.fcta:hover .fcta__ar { transform: translateX(14px); }
[dir="rtl"] .fcta:hover .fcta__ar { transform: translateX(-14px); }
.fcta__rot { display: inline-block; font-style: normal; color: var(--orange) !important; white-space: nowrap; }
/* agent 2: the changing word — every word in one grid cell, only the current one shown (no layout jump) */
.fcta__rot--stack { display: inline-grid; justify-items: start; }
.fcta__rot--stack > span { grid-area: 1 / 1; visibility: hidden; }
.fcta__rot--stack > span.is-on { visibility: visible; }

/* ================================================================ smaller screens */
@media (max-width: 1180px) {
  .lab__panel { grid-template-columns: 1fr; }
  .bn__c { grid-template-columns: 1fr; }
  .bn__m { min-height: 0; aspect-ratio: 16 / 8; }
  .cs__cols { grid-template-columns: 1fr; }
  .cs__side { position: static; order: -1; }
  .aix__soon { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero[data-v="h"] .hero__copy { grid-template-columns: 1fr; grid-template-areas: "h1" "lead" "ctas"; }
  .h3card { height: auto; margin-top: 26px; }
  .h3card__clip { position: relative; inset: auto; height: clamp(240px, 64vw, 520px); }
  .h3card__ui { position: static; flex-direction: column; align-items: stretch; padding: 14px var(--gutter) 0; }
  .h3card__ui .countdown, .h3card__ui .hlive { width: 100%; box-shadow: none; border: 1px solid var(--c-line); }
  .stmt__row { flex-direction: column; align-items: flex-start; }
  #programs[data-v="h"] .pcards.wk, .wk { grid-template-columns: 1fr; }
  .wk__c.is-wide .wk__m, .wk__m { aspect-ratio: 4 / 3; }
  .wk__b { grid-template-columns: 1fr; }
  .wk__more { grid-column: 1; grid-row: auto; justify-self: start; }
  .wk__name { max-width: calc(100% - 84px); }
  .lab__tabs { grid-template-columns: 1fr; }
  .lab__stage { grid-template-columns: 1fr; }
  .lab__sw2 { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--c-card); }
  .lab__sw2 button { flex: 1; min-height: 42px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--c-text-2); }
  .lab__sw2 button[aria-pressed="true"] { background: var(--btn); color: #fff; }
  .lab__stage[data-view="draft"] .lab__card--rev, .lab__stage[data-view="reviewed"] .lab__card--draft { display: none; }
  .aix__rows > li { grid-template-columns: 1fr; }
  .aix__topics { grid-template-columns: 1fr; }
  .bn__big { grid-template-columns: 1fr; }
  .bn__strip { grid-auto-columns: 78%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  #about[data-v="h"] > .container { grid-template-columns: 1fr; grid-template-areas: "k" "st" "media" "cols" "facts" "parent" "stats"; }
  #about[data-v="h"] .about__media { position: static; }
  .cs__panel { inset: 0; border-radius: 0; }
  .cs__top { grid-template-columns: 1fr; }
  .cs__u summary { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cs__um { grid-column: 2; grid-row: 2; white-space: normal; }
  .cs__uc { grid-column: 3; grid-row: 1 / span 2; }
  .cs__facts li { flex: 1 1 40%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cs__panel, .cs__bg, .wk__img, .wk__v, html.v3 body { transition: none; }
  .wk__tag--live i { animation: none; }
}

/* ---------------------------------------------------------------- round 2 */
.hero[data-v="h"] .hlive { display: block; }
.stmt { padding-block: clamp(70px, 8.5vw, 150px) clamp(70px, 9vw, 160px); }
.lab__pre { font-variant-ligatures: none; }
.lab__pre code { min-width: 0; }
.lab__ln { display: grid; grid-template-columns: 22px minmax(0, 1fr); justify-content: start; gap: 6px; padding: 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.lab__mk { text-align: center; }

/* ---------------------------------------------------------------- round 3 */
#about[data-v="h"] .about__media { display: block; }
#about[data-v="h"] .amedia { padding-bottom: 12%; }
#about[data-v="h"] .amedia__photo { aspect-ratio: 4 / 4.6; }
.amedia__cap { background: var(--c-card); color: var(--c-text); -webkit-backdrop-filter: none; backdrop-filter: none; }
.lab__panel { grid-template-columns: 1fr; }
.lab__brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 12px clamp(20px, 3vw, 56px); align-items: start; }
.lab__k { grid-column: 1; grid-row: 1; }
.lab__brief h3 { grid-column: 1; grid-row: 2; }
.lab__more { grid-column: 1; grid-row: 3; margin-top: 6px; align-self: end; }
.lab__b { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(15.5px, 1.15vw, 18px); }
.lab__src { grid-column: 2; grid-row: 3; display: grid; gap: 3px; }
.lab__src b, .lab__prompt b { font-size: 12px; font-weight: 700; color: var(--c-muted); }
.lab__src span { font-size: 14px; color: var(--c-text-2); font-weight: 400; }
.lab__prompt { grid-column: 3; grid-row: 1 / span 2; }
.lab__tools { grid-column: 3; grid-row: 3; }
.lab__ln { grid-template-columns: 22px minmax(0, 1fr); }
.aix__c { display: inline; }
.aix__c svg { display: inline-block; vertical-align: middle; margin-inline-start: 10px; }
@media (max-width: 1180px) {
  .lab__brief { grid-template-columns: 1fr; grid-template-rows: none; }
  .lab__brief > * { grid-column: 1 !important; grid-row: auto !important; }
}

/* ================================================================ VISION h: statement + value tiles on a warm ground */
#vision[data-v="h"] .vis__title { font-size: clamp(34px, 4.7vw, 88px); }
#vision[data-v="h"] .vis__m { font-size: clamp(18px, 1.7vw, 27px); line-height: 1.6; color: var(--c-text); font-weight: 500; }
#vision[data-v="h"] .vals { gap: clamp(10px, 1vw, 16px); }
#vision[data-v="h"] .val { border: 0; box-shadow: none; border-radius: var(--r-lg); padding: clamp(20px, 2vw, 34px); min-height: clamp(200px, 17vw, 300px); background: var(--c-card); }
#vision[data-v="h"] .val h4 { font-size: clamp(19px, 1.7vw, 28px); line-height: 1.3; }

/* ================================================================ INSIDE THE ACADEMY h: big rows */
#experience[data-v="h"] .bento { display: block; counter-reset: row; border-top: 1px solid var(--c-line-2); }
#experience[data-v="h"] .bcard { position: relative; display: grid; grid-template-columns: clamp(48px, 5vw, 96px) minmax(0, 1.15fr) minmax(0, 1fr) clamp(150px, 15vw, 260px); grid-auto-rows: auto; column-gap: clamp(18px, 2.6vw, 52px); row-gap: 8px; align-items: center; min-height: 0; height: auto; padding: clamp(22px, 2.5vw, 44px) 0; margin: 0; border: 0; border-bottom: 1px solid var(--c-line-2); border-radius: 0; background: none; box-shadow: none; overflow: visible; transform: none !important; opacity: 1 !important; color: var(--c-text); transition: padding-inline .5s var(--ease); }
#experience[data-v="h"] .bcard:hover { padding-inline: clamp(8px, 1vw, 20px); }
#experience[data-v="h"] .bcard::before { counter-increment: row; content: counter(row, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 3; align-self: start; position: static; inset: auto; width: auto; height: auto; background: none; opacity: 1; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; font-weight: 700; color: var(--orange-ink); padding-top: .5em; }
#experience[data-v="h"] .bcard::after { display: none; }
#experience[data-v="h"] .bcard--labs, #experience[data-v="h"] .bcard[hidden], #experience[data-v="h"] .bcard__ic, #experience[data-v="h"] .bcard__seal, #experience[data-v="h"] .eq, #experience[data-v="h"] .term { display: none !important; }
#experience[data-v="h"] .bcard__k { grid-column: 2; grid-row: 1; margin: 0; color: var(--c-muted); position: static; }
#experience[data-v="h"] .bcard h3 { grid-column: 2; grid-row: 2; margin: 0; max-width: none; font-size: clamp(24px, 2.9vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; color: var(--c-text); position: static; text-shadow: none; }
html[lang="ar"] #experience[data-v="h"] .bcard h3 { font-weight: 700; line-height: 1.32; letter-spacing: 0; font-size: clamp(22px, 2.5vw, 46px); }
#experience[data-v="h"] .bcard > p:not(.bcard__k) { grid-column: 3; grid-row: 1 / span 2; margin: 0; max-width: 52ch; color: var(--c-muted); font-size: clamp(15px, 1.12vw, 18px); line-height: 1.75; position: static; text-shadow: none; }
#experience[data-v="h"] .bcard > .modechips, #experience[data-v="h"] .bcard > .catchips, #experience[data-v="h"] .bcard > .link-arrow { grid-column: 3; grid-row: 3; margin: 6px 0 0; justify-self: start; position: static; }
#experience[data-v="h"] .bcard__media { grid-column: 4; grid-row: 1 / span 3; position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; opacity: 1; }
#experience[data-v="h"] .bcard__media::after, #experience[data-v="h"] .bcard__media::before { display: none; }
#experience[data-v="h"] .bcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: none; filter: none; }

/* ================================================================ JOURNEY h: numbered tiles */
#journey[data-v="h"] .jr__win { border: 0; background: none; box-shadow: none; padding: 0; border-radius: 0; overflow: visible; }
#journey[data-v="h"] .jr__bar, #journey[data-v="h"] .jr__line, #journey[data-v="h"] .jr__prog { display: none !important; }
#journey[data-v="h"] .jr__road { padding: 0; }
#journey[data-v="h"] .stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); padding: 0; }
#journey[data-v="h"] .stop { display: flex; flex-direction: column; gap: 10px; min-height: clamp(220px, 19vw, 330px); padding: clamp(20px, 2vw, 34px); margin: 0; border: 0; border-radius: var(--r-lg); background: var(--c-card); box-shadow: none; }
#journey[data-v="h"] .stop::before, #journey[data-v="h"] .stop::after { display: none; }
#journey[data-v="h"] .stop__n { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: auto; position: static; color: var(--c-muted); }
#journey[data-v="h"] .stop__n b { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: clamp(44px, 4.6vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.05em; color: var(--orange); position: static; background: none; width: auto; height: auto; }
#journey[data-v="h"] .stop__t { font-size: clamp(20px, 1.9vw, 32px); line-height: 1.25; }
#journey[data-v="h"] .stop__d { color: var(--c-muted); line-height: 1.75; }

/* ================================================================ ARTICLES h: typographic tiles */
#articles[data-v="h"] .arts__reader { display: none !important; }
#articles[data-v="h"] .arts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); }
#articles[data-v="h"] .art { position: relative; display: flex; flex-direction: column; grid-column: auto; grid-row: auto; min-height: clamp(360px, 31vw, 520px); padding: clamp(20px, 2.2vw, 38px); border: 0; border-radius: var(--r-lg); box-shadow: none; background: var(--sky); overflow: hidden; transition: transform .5s var(--ease); }
#articles[data-v="h"] .art:nth-child(3n+2) { background: var(--warm); }
#articles[data-v="h"] .art:nth-child(3n) { background: var(--c-card); }
#articles[data-v="h"] .art:hover { transform: translateY(-6px); }
#articles[data-v="h"] .art__img { display: none; }
#articles[data-v="h"] .art__b { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 0; }
#articles[data-v="h"] .art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--c-text-2); }
#articles[data-v="h"] .art__cat { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--btn); color: #fff; font-weight: 700; }
#articles[data-v="h"] .art__t { margin-top: clamp(40px, 6vw, 110px); font-size: clamp(22px, 2.2vw, 38px); line-height: 1.22; letter-spacing: -.03em; }
html[lang="ar"] #articles[data-v="h"] .art__t, #articles[data-v="h"] .art[lang="ar"] .art__t { letter-spacing: 0; line-height: 1.45; }
#articles[data-v="h"] .art__t a::after { content: ""; position: absolute; inset: 0; }
#articles[data-v="h"] .art__ex { color: var(--c-text-2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#articles[data-v="h"] .art__go { font-weight: 700; color: var(--c-hi-text); }

@media (max-width: 1100px) {
  #experience[data-v="h"] .bcard { grid-template-columns: 40px minmax(0, 1fr) clamp(110px, 24vw, 200px); }
  #experience[data-v="h"] .bcard > p:not(.bcard__k) { grid-column: 2; grid-row: 3; }
  #experience[data-v="h"] .bcard > .modechips, #experience[data-v="h"] .bcard > .catchips, #experience[data-v="h"] .bcard > .link-arrow { grid-column: 2; grid-row: 4; }
  #experience[data-v="h"] .bcard__media { grid-column: 3; grid-row: 1 / span 4; }
  #experience[data-v="h"] .bcard::before { grid-row: 1 / span 4; }
  #journey[data-v="h"] .stops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #articles[data-v="h"] .arts__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  #experience[data-v="h"] .bcard { grid-template-columns: 30px minmax(0, 1fr); }
  #experience[data-v="h"] .bcard__media { grid-column: 2; grid-row: auto; margin-top: 8px; aspect-ratio: 16 / 9; }
  #journey[data-v="h"] .stops { grid-template-columns: 1fr; }
  #journey[data-v="h"] .stop { min-height: 0; }
  #articles[data-v="h"] .arts__grid { grid-template-columns: 1fr; }
  #articles[data-v="h"] .art { min-height: 300px; }
}

/* ---------------------------------------------------------------- round 5: the sheet's menu sits in its top bar */
.cs__bar { gap: 12px; }
.cs__brand { flex: none; }
.cs__nav { position: static; flex: 0 1 auto; min-width: 0; margin: 0 auto; box-shadow: none; padding: 4px; background: var(--c-card); }
.cs__nav[hidden] { display: none; }
.cs__nav button { min-height: 38px; }
.cs__x { flex: none; }
.cs__sec { scroll-margin-top: 24px; }
.cs__side { top: 8px; }
@media (max-width: 900px) {
  .cs__brand { display: none; }
  .cs__nav { margin: 0; }
  .cs__bar { padding-inline: 10px; }
}

/* ---------------------------------------------------------------- round 6 */
html[lang="en"] .hero[data-v="h"] .hero__h1 { font-size: clamp(42px, 9.5vw, 196px); }
html[data-theme="dark"] .stmt__chips a, html[data-theme="dark"] .stmt__chips span { background: rgba(255, 255, 255, .1); color: #fff; }
html[data-theme="dark"] .stmt__chips a:hover { background: var(--orange); color: #1B0F00; }
html[data-theme="dark"] .lab__tab[aria-selected="true"] { border-color: var(--c-hi-soft); }
html[data-theme="dark"] .cs__bg { background: rgba(3, 7, 22, .6); }

/* ---------------------------------------------------------------- review 1 (visual) */
/* Arabic descenders and dots (ي، ج) were clipped by the line mask of the hero headline */
html[lang="ar"] .h3ln { padding-block: .08em .36em; margin-block: -.08em -.36em; }
/* tight display tracking swallowed the spaces between Latin words */
html[lang="en"] :is(.hero[data-v="h"] .hero__h1, .sec-title, .stmt__t, #about[data-v="h"] .about__statement, .footer[data-v="h"] .fcta__h, .cs__t, .aix__st, .cta__title) { word-spacing: .07em; }
/* dark: cards on the tinted grounds (sky / warm) had the same tone as the ground and disappeared */
html.v3[data-theme="dark"] :is(#ai, #vision, #journey, #articles) { --c-card: #172A63; --c-bg-2: #0F1D4C; }
html.v3[data-theme="dark"] .lab__tab { background: color-mix(in srgb, var(--c-card) 70%, transparent); }
/* inside the academy: a row with no paragraph lets its title use the free column */
#experience[data-v="h"] .bcard:not(:has(> p:not(.bcard__k))) h3 { grid-column: 2 / 4; }
@media (max-width: 1100px) { #experience[data-v="h"] .bcard:not(:has(> p:not(.bcard__k))) h3 { grid-column: 2; } }
/* the AI Agents title took three lines in its half column (AR) */
html[lang="ar"] .aix__st { font-size: clamp(28px, 3.2vw, 62px); }
/* phone numbers never break across lines */
[data-phone] { white-space: nowrap; }
/* a "coming soon" course has little to show: its sheet is a bottom sheet sized to its content (no empty full-screen panel),
   with the same typographic tile as its card in the media slot */
.cs--soon .cs__panel { top: auto; max-height: calc(100% - 14px); }
.cs__media--word { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 28px; background: var(--tile-lang); container-type: inline-size; overflow: hidden; }
.cs__media--word[data-cat="ai"] { background: var(--tile-ai); }
.cs__media--word span { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 17cqw; font-weight: 800; letter-spacing: -.06em; line-height: 1; white-space: nowrap; color: color-mix(in srgb, var(--c-text) 16%, transparent); }
.cs--soon .cs__scroll { padding-bottom: clamp(32px, 4vw, 64px); }
@media (max-width: 900px) { .cs--soon .cs__panel { top: 0; max-height: none; } .cs__media--word { aspect-ratio: 16 / 7; } }
/* light theme: no dark chips — the article category, the study-mode words in Banha and the highlighted field chip become soft blue tints */
html:not([data-theme="dark"]) #articles[data-v="h"] .art__cat { background: color-mix(in srgb, var(--c-hi) 11%, var(--c-card)); color: var(--c-hi-text); }
html:not([data-theme="dark"]) .vnote .mono { background: color-mix(in srgb, var(--c-hi) 11%, transparent); color: var(--c-hi-text); }
html:not([data-theme="dark"]) .catchips li:last-child { background: color-mix(in srgb, var(--c-hi) 11%, transparent); border-color: color-mix(in srgb, var(--c-hi) 35%, transparent); color: var(--c-hi-text); }
.art[dir="rtl"] .art__go[dir="ltr"] { text-align: right; }

/* ---------------------------------------------------------------- agent 2: touch targets (≥ 44px hit area, look unchanged) */
.lab__more, .bn__f .link-arrow, .bn__strip .link-arrow { position: relative; }
.lab__more::before, .bn__f .link-arrow::before, .bn__strip .link-arrow::before { content: ""; position: absolute; inset: -6px -4px -6px; min-height: 44px; }
.aix__c { padding-block: 10px; }
#programs[data-v="h"] .filter { height: 40px; }

/* ---------------------------------------------------------------- agent 2: header menu folds into the burger when it does not fit (js/v3.js navFit) */
.nav a { white-space: nowrap; }
html.nav-fold .nav { display: none; }
html.nav-fold .burger { display: block; }
html.nav-fold .header__right { margin-inline-start: auto; }

/* ---------------------------------------------------------------- agent 3: the tatweel in «الـ AI» / «والـ IT»
   Avenir Next Arabic and Readex Pro draw U+0640 (tatweel) almost zero-wide, so «الـ AI» read as «ال AI». Only that one
   character is taken from Tahoma (same baseline and stroke); where Tahoma is missing nothing changes. */
@font-face { font-family: 'REA Kashida'; font-weight: 100 600; unicode-range: U+0640; src: local('Tahoma'); }
@font-face { font-family: 'REA Kashida'; font-weight: 700 900; unicode-range: U+0640; src: local('Tahoma Bold'), local('Tahoma-Bold'); }
html.v3[lang="ar"] {
  --f-body: 'Plus Jakarta Sans', 'REA Kashida', 'REA Arabic', 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Plus Jakarta Sans', 'REA Kashida', 'REA Arabic', 'Readex Pro', system-ui, sans-serif;
  --f-label: 'Plus Jakarta Sans', 'REA Kashida', 'REA Arabic', 'Readex Pro', system-ui, sans-serif;
}
/* agent 3: dark theme, the "AI draft" label sat at 4.4:1 on its tinted pill (lifted AI-section card) — a lighter orange, 5.4:1 */
html.v3[data-theme="dark"] .lab__card--draft .lab__ck { color: #FF9A45; }
/* agent 3: a coming-soon sheet with no sections beyond the tagline — its card sits under the tagline (no empty column) */
.cs__solo { max-width: 460px; margin-top: clamp(22px, 2.4vw, 36px); }

/* ---------------------------------------------------------------- agent 4: bootcamp strip on wider screens — every card fully visible
   (no sideways scroll, no cut-off card): the clips fill one row, the "date being set" cards fill the next. js/v3.js sets
   --nc / --ns (cards per row, at most 4, rows balanced). Phones/tablets ≤ 900px keep the sideways strip. */
@media (min-width: 901px) {
  .bn__strip { display: flex; flex-wrap: wrap; overflow: visible; padding-bottom: 0; scroll-snap-type: none; }
  .bn__i--clip { flex: 1 1 calc((100% - (var(--nc, 3) - 1) * 14px) / var(--nc, 3) - 1px); }
  .bn__i--soon { flex: 1 1 calc((100% - (var(--ns, 4) - 1) * 14px) / var(--ns, 4) - 1px); }
}

/* ---------------------------------------------------------------- agent 4: pinned "idea to product" fills the screen
   On large screens (≥ 1500×940, e.g. 1914×1000) the board runs to ~32px above the bottom of the viewport while pinned
   (it stopped at 760px: ~140px blank), every step shows its line and the four steps share the column height, and the
   board's content and the step type are scaled up. Smaller screens keep the earlier sizes (the text would not fit). */
@media (min-width: 1500px) and (min-height: 940px) {
  html.v3 #pipeline[data-v="a"] .pboard { min-height: clamp(440px, calc(100svh - var(--header-h) - 64px), 1040px); }
  html.v3 #pipeline[data-v="a"] .rail { grid-auto-rows: 1fr; align-content: stretch; }
  html.v3 #pipeline[data-v="a"] .rail__i { display: flex; flex-direction: column; justify-content: center; }
  html.v3 #pipeline[data-v="a"] .rail__i:not(.is-on) .rail__d { display: block; }
  html.v3 #pipeline[data-v="a"] .rail__b { padding-top: 14px; }
}
@media (min-width: 1600px) and (min-height: 940px) {
  html.v3 #pipeline[data-v="a"] .rail__t { font-size: clamp(22px, 1.45vw, 30px); }
  html.v3 #pipeline[data-v="a"] .rail__d { font-size: 16.5px; }
  html.v3 #pipeline[data-v="a"] .pb__body > * { zoom: 1.45; }
}

/* ---------------------------------------------------------------- agent 4: article tiles at 1914 were 520px tall with ~300px of blank between
   the date line and the title (typographic tiles, no cover) — a shorter tile, same look */
@media (min-width: 1181px) {
  #articles[data-v="h"] .art { min-height: clamp(320px, 21vw, 400px); }
  #articles[data-v="h"] .art__t { margin-top: clamp(32px, 3vw, 56px); }
}

/* ================================================================ Laravel port — visual QA
   The home page now runs on the academy's own data instead of 05_build's sample data: no stock videos or posters, course
   titles typed in the admin, an empty FAQ / bootcamp list on some days. These rules keep every part of the page finished
   when that real data is thinner (or longer) than the sample it was designed with. */

/* a course title can carry a long English name in brackets; layouts2.css keeps it on one line so «(PHP · Laravel)» never
   splits, but a name longer than its line then ran out of the card (hero list, bootcamp strip, AI rows, footer). It still
   moves to the next line as one piece, and only a name wider than the whole line wraps — inside its own box. */
.tt-en { display: inline-block; max-width: 100%; white-space: normal; }
[dir="rtl"] .tt-en { text-align: right; }

/* hero without a video (HERO_MEDIA empty on purpose): the card is the animated logo on the sky ground. The logo sits under the
   two floating cards instead of behind them, and the card is shorter than a video frame so it never reads as an empty screen. */
@media (min-width: 901px) {
  .h3card--logo { height: clamp(440px, 80vh, 860px); }
  .h3card--logo .h3card__clip { place-items: end center; padding-bottom: clamp(36px, 8vh, 96px); }
  .h3card--logo .hero__mark { width: min(64%, 1180px); align-self: end; }
}
/* the floating cards are the same tone as the sky ground in the dark theme — a hairline keeps them apart */
.h3card--logo .h3card__ui .countdown, .h3card--logo .h3card__ui .hlive { border: 1px solid var(--c-line); }

/* a course with no poster (no stock media on the real site): a tinted tile with the brand mark instead of an empty frame —
   sky for programming / computer skills, warm for design. If the card carries the big English word (as the coming-soon
   cards do) the word is the picture and the mark steps aside. */
.wk__c[data-cat="design"] .wk__img--none { background: var(--warm); }
.wk__img--none::after { content: ""; position: absolute; inset: 14% 0; background: color-mix(in srgb, var(--c-text) 9%, transparent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='190 440 150 200'%3E%3Cpath d='M330.39,444.9l-12.06,34.73c-33.81-23.3-80.15-.94-83.81,39.51l.56,15.96c-10.15-22.07-8.46-48.23,5.37-68.31,20-29.04,58.61-38.11,89.94-21.88Z'/%3E%3Cpath d='M284.14,618.62c-21.21,24.58-56.38,31.86-85.27,16.24l11.81-34.74c39.64,27.59,92.18-8.15,82.71-54.93.83.02,1.06,1.58,1.37,2.27,10.23,23.14,5.87,52.04-10.62,71.15Z'/%3E%3Cpath d='M328.15,496.44c-4.2-1.47-7.67-3.98-12.04-5.62-34.35-12.87-71.66,11.7-72.65,48.46-.11,3.94.64,7.07.98,10.84.06.62.67,1.9-.39,1.79-10.81-26.41,1.19-56.4,27.27-67.73,17.38-7.55,36.58-5.11,52.06,5.53l11.2-29.71,4.25,1.97.46,1-11.13,33.46Z'/%3E%3Cpath d='M284.97,532.02c-.03-.52-1.59-3.3,0-3.64,15.81,40.52-20.43,81.36-62.79,69.77-6.53-1.79-11.52-5.03-17.38-8.12l-9.56,29.68-5.63-2.02,11.27-34.39c.59-.44,5.96,3.32,7.07,3.85,26.84,12.87,59.22,2.11,72.09-24.77,1.42-2.96,4.94-12.9,4.94-15.8,0-4.76.26-9.87,0-14.57Z'/%3E%3Cpath d='M278.05,593.2c-15.26,15.25-38.59,19.35-58.32,10.76-3.65-1.59-6.8-4-10.45-5.53l-9.83,29.7c-.73,1.3-5.12-1.47-5.25-2.02l11.99-34.4c39.52,27.98,92.54-8.01,82.71-54.93.87.12,1.26,1.94,1.52,2.68,6.5,18.46,1.4,39.96-12.37,53.72Z'/%3E%3Cpath d='M334.88,453.29l-11.79,34.74c-33.7-23.3-80.27-1.65-84.1,38.96l.56,16.52c-9.44-22.76-1.48-49.05,18.65-62.89,18.25-12.56,42.59-11.69,60.67.69l10.68-29.7c.64-.93.59-.33,1.2-.11,1.35.49,2.59,1.66,4.12,1.79Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='190 440 150 200'%3E%3Cpath d='M330.39,444.9l-12.06,34.73c-33.81-23.3-80.15-.94-83.81,39.51l.56,15.96c-10.15-22.07-8.46-48.23,5.37-68.31,20-29.04,58.61-38.11,89.94-21.88Z'/%3E%3Cpath d='M284.14,618.62c-21.21,24.58-56.38,31.86-85.27,16.24l11.81-34.74c39.64,27.59,92.18-8.15,82.71-54.93.83.02,1.06,1.58,1.37,2.27,10.23,23.14,5.87,52.04-10.62,71.15Z'/%3E%3Cpath d='M328.15,496.44c-4.2-1.47-7.67-3.98-12.04-5.62-34.35-12.87-71.66,11.7-72.65,48.46-.11,3.94.64,7.07.98,10.84.06.62.67,1.9-.39,1.79-10.81-26.41,1.19-56.4,27.27-67.73,17.38-7.55,36.58-5.11,52.06,5.53l11.2-29.71,4.25,1.97.46,1-11.13,33.46Z'/%3E%3Cpath d='M284.97,532.02c-.03-.52-1.59-3.3,0-3.64,15.81,40.52-20.43,81.36-62.79,69.77-6.53-1.79-11.52-5.03-17.38-8.12l-9.56,29.68-5.63-2.02,11.27-34.39c.59-.44,5.96,3.32,7.07,3.85,26.84,12.87,59.22,2.11,72.09-24.77,1.42-2.96,4.94-12.9,4.94-15.8,0-4.76.26-9.87,0-14.57Z'/%3E%3Cpath d='M278.05,593.2c-15.26,15.25-38.59,19.35-58.32,10.76-3.65-1.59-6.8-4-10.45-5.53l-9.83,29.7c-.73,1.3-5.12-1.47-5.25-2.02l11.99-34.4c39.52,27.98,92.54-8.01,82.71-54.93.87.12,1.26,1.94,1.52,2.68,6.5,18.46,1.4,39.96-12.37,53.72Z'/%3E%3Cpath d='M334.88,453.29l-11.79,34.74c-33.7-23.3-80.27-1.65-84.1,38.96l.56,16.52c-9.44-22.76-1.48-49.05,18.65-62.89,18.25-12.56,42.59-11.69,60.67.69l10.68-29.7c.64-.93.59-.33,1.2-.11,1.35.49,2.59,1.66,4.12,1.79Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wk__m:has(.wk__word) .wk__img--none::after { display: none; }
/* a summary typed in the admin can be a long paragraph: the card shows its first lines, the course sheet shows all of it */
.wk__s { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* about: the «introduction video» caption only makes sense on top of a video — with the still photo alone it is dropped */
.amedia:not(:has(.amedia__video)) .amedia__cap { display: none; }
/* the footer's email link is one long word: in its narrow column it ran past the page gutter */
.footer__links a[data-email] { overflow-wrap: anywhere; }
