/* ==========================================================================
   ATHAR AL-ILM — "أثر / The Trace"
   One stylesheet, no framework. Logical properties throughout so the same
   rules serve English (LTR) and Arabic (RTL).
   ========================================================================== */

/* ---------- Fonts (Tajawal, OFL) ---------- */
@font-face { font-family: Tajawal; src: url(../fonts/Tajawal-Light.ttf) format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: Tajawal; src: url(../fonts/Tajawal-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Tajawal; src: url(../fonts/Tajawal-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Tajawal; src: url(../fonts/Tajawal-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Tajawal; src: url(../fonts/Tajawal-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: Tajawal; src: url(../fonts/Tajawal-Black.ttf) format("truetype"); font-weight: 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--ink: #06172B;
	--navy: #09213D;
	--navy-2: #0C2E57;
	--blue: #1688D7;
	--blue-deep: #0C4594;
	--sky: #B8D5EF;
	--green: #6BAF46;
	--green-2: #8BCB63;
	--green-ink: #3C7D24; /* brand green darkened for text on light surfaces (4.6:1 on paper) */
	--paper: #F4F7FB;
	--white: #FFFFFF;
	--text: #0B1B2E;
	--muted: #4A5B70;
	--line: #D9E3EE;
	--on-dark: #EAF2FA;
	--on-dark-2: #A9BED6;
	--err: #D93A3A;
	--err-dark: #FF8F8F;

	--font: Tajawal, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--hdr-h: 76px;
	--gutter: clamp(16px, 4vw, 44px);
	--max: 1320px;
	--sheet-r: 0px; /* sections meet square (Phase 2.1) */
	--r: 6px; /* panels, cards, media, inputs; pills stay pills */
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--lh: 1.65;
	--lh-h: 1.05;
	--track: -0.02em;
	--case: uppercase;
	--track-k: 0.14em;
}
:root[dir="rtl"] {
	--lh: 1.9;
	--lh-h: 1.35;
	--track: 0;
	--case: none;
	--track-k: 0;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--hdr-h) + 16px);
	background: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
	/* Smooth only after load, so arriving on /ar/#training lands instantly. */
	html.is-smooth { scroll-behavior: smooth; }
}
html.is-locked { overflow: hidden; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: var(--lh);
	color: var(--text);
	background: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
:root[dir="rtl"] body { font-size: 1.125rem; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[data-tone="dark"] :focus-visible, .menu :focus-visible { outline-color: var(--green-2); }

.sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: fixed; z-index: 100; inset-inline-start: 16px; top: -80px;
	padding: 12px 18px; border-radius: 10px; background: var(--green); color: var(--ink);
	font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Type ---------- */
.kicker, .eyebrow {
	display: inline-flex; align-items: center; gap: .7em;
	font-size: .8125rem; font-weight: 700; letter-spacing: var(--track-k); text-transform: var(--case);
	color: var(--blue-deep);
}
:root[dir="rtl"] .kicker, :root[dir="rtl"] .eyebrow { font-size: .95rem; }
.kicker::before {
	content: ""; width: 9px; height: 9px; flex: none; background: var(--green);
	transform: rotate(45deg); border-radius: 1.5px;
}
[data-tone="dark"] .kicker { color: var(--sky); }

.h2, .statement {
	font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; line-height: var(--lh-h);
	letter-spacing: var(--track); margin-top: .5em; max-width: 20ch; text-wrap: balance;
}
.statement { font-size: clamp(2.1rem, 5vw, 4.4rem); max-width: 18ch; }
.statement em {
	background: linear-gradient(100deg, var(--blue) 10%, var(--green) 90%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.25; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 56ch; margin-top: 1.4rem; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.tag {
	display: inline-flex; align-items: center; padding: .15em .65em; border-radius: 99px;
	font-size: .72rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6;
	background: rgba(22, 136, 215, .12); color: var(--blue-deep);
}
[dir="rtl"] .tag { letter-spacing: 0; font-size: .8rem; }
.tag--feat { background: rgba(107, 175, 70, .18); color: #2F6A14; }
[data-tone="dark"] .tag--feat { color: var(--green-2); background: rgba(107, 175, 70, .16); }
.tag--sample { background: #FFF4D6; color: #6E4B00; }

/* ---------- Buttons & links ---------- */
.btn {
	--bx: 0px; --by: 0px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: .2em 1.6em; border-radius: 99px; border: 1.5px solid transparent;
	font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
	transform: translate(var(--bx), var(--by));
	transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn--primary { background: var(--green); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(107, 175, 70, .7); }
.btn--primary:hover { background: var(--green-2); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
[data-tone="light"] .btn--ghost:hover { background: rgba(9, 33, 61, .06); }
.btn--sm { min-height: 42px; padding-inline: 1.15em; font-size: .9375rem; }
.btn .btn__ico { transition: translate .3s var(--ease-out); }
.btn:hover .btn__ico { translate: 4px 0; }
[dir="rtl"] .btn:hover .btn__ico { translate: -4px 0; }

.link {
	display: inline-flex; align-items: center; gap: .55em; font-weight: 700; text-decoration: none;
	color: var(--blue-deep); padding-block: .35em; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px;
	transition: background-size .35s var(--ease-out);
}
[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover { background-size: 100% 1.5px; }
[data-tone="dark"] .link { color: var(--sky); }

.ticks { display: grid; gap: .55rem; }
.ticks li { position: relative; padding-inline-start: 1.5em; }
.ticks li::before {
	content: ""; position: absolute; inset-inline-start: .15em; top: .62em; width: 7px; height: 7px;
	background: var(--green); transform: rotate(45deg); border-radius: 1px;
}
:root[dir="rtl"] .ticks li::before { top: .8em; }

/* ---------- Header ---------- */
.hdr {
	position: fixed; inset-inline: 0; top: 0; z-index: 50; pointer-events: none;
	padding: 0 var(--gutter);
	transition: padding .45s var(--ease-out);
	color: #fff;
}
.hdr__bar {
	position: relative; pointer-events: auto;
	display: flex; align-items: center; gap: 24px;
	max-width: var(--max); height: var(--hdr-h); margin-inline: auto; padding-inline: 0;
	border-radius: 999px; border: 1px solid transparent;
	transition: height .45s var(--ease-out), padding .45s var(--ease-out), background-color .45s, border-color .45s, box-shadow .45s, color .3s;
}
.hdr.is-scrolled { padding-top: 10px; }
.hdr.is-scrolled .hdr__bar {
	height: 60px; padding-inline: 10px 10px; padding-inline-start: 18px;
	background: rgba(6, 23, 43, .72); border-color: rgba(184, 213, 239, .14);
	box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .55);
	-webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.hdr[data-tone="light"] { color: var(--navy); }
.hdr.is-scrolled[data-tone="light"] .hdr__bar {
	background: rgba(255, 255, 255, .8); border-color: rgba(9, 33, 61, .08);
	box-shadow: 0 18px 50px -24px rgba(9, 33, 61, .35);
}

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo__img { width: auto; height: 44px; }
.hdr.is-scrolled .logo__img { height: 38px; }
.logo__img--dark { display: none; }
.hdr[data-tone="light"] .logo__img--light { display: none; }
.hdr[data-tone="light"] .logo__img--dark { display: block; }
.logo__name { font-weight: 800; font-size: .95rem; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.logo__name b { color: var(--green); font-weight: 800; }
.logo--lg .logo__img { height: 84px; }

.hdr__nav { position: relative; margin-inline: auto; }
.hdr__nav ul { display: flex; gap: 4px; }
.hdr__nav a {
	display: block; padding: 10px 14px; border-radius: 99px; text-decoration: none;
	font-weight: 500; font-size: .95rem; opacity: .82; transition: opacity .2s, background-color .2s;
}
:root[dir="rtl"] .hdr__nav a { font-size: 1.02rem; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { opacity: 1; }
.hdr__nav a:hover { background: rgba(127, 160, 200, .14); }
.hdr__dot {
	position: absolute; bottom: 1px; left: 0; width: 7px; height: 7px; background: var(--green);
	transform: translateX(var(--x, 0)) rotate(45deg) scale(var(--s, 0)); border-radius: 1px;
	transition: transform .5s var(--ease-out);
}
.hdr__end { display: flex; align-items: center; gap: 12px; flex: none; }
.langs { display: inline-flex; padding: 3px; border-radius: 99px; border: 1px solid rgba(127, 160, 200, .35); }
.langs__a {
	display: block; min-width: 40px; padding: 5px 11px; border-radius: 99px; text-align: center;
	font-size: .85rem; font-weight: 700; text-decoration: none; line-height: 1.4; opacity: .75;
}
.langs__a[lang="ar"] { font-size: .95rem; }
.langs__a:hover { opacity: 1; }
.langs__a[aria-current] { background: currentColor; opacity: 1; }
.langs__a[aria-current] { color: inherit; }
.hdr .langs__a[aria-current], .menu .langs__a[aria-current], .ftr .langs__a[aria-current] { background: var(--green); color: var(--ink); }

.hdr__menu {
	display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid rgba(127, 160, 200, .4); background: transparent;
}
.hdr__menu i {
	position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; border-radius: 2px;
	transition: transform .3s var(--ease-out);
}
.hdr__menu i:first-of-type { top: 18px; }
.hdr__menu i:last-of-type { top: 26px; right: 18px; }
[dir="rtl"] .hdr__menu i:last-of-type { right: 13px; left: 18px; }
.hdr__progress {
	position: absolute; inset-inline: 24px; bottom: -1px; height: 2px; overflow: hidden; border-radius: 2px;
	opacity: 0; transition: opacity .3s;
}
.hdr.is-scrolled .hdr__progress { opacity: 1; }
.hdr__progress i {
	display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green));
	transform: scaleX(var(--p, 0)); transform-origin: left;
}
[dir="rtl"] .hdr__progress i { transform-origin: right; background: linear-gradient(-90deg, var(--blue), var(--green)); }

.hdr__cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--navy-900, #071629), 0 0 0 4px var(--green-2); }
/* External nav item (Certificates portal, §30): small out-arrow, mirrored in RTL. */
/* Search trigger: same round control as the menu button, a touch smaller on desktop. */
.hdr__search {
	display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%;
	border: 1px solid rgba(127, 160, 200, .35); background: transparent; color: inherit;
	transition: background-color .2s, border-color .2s;
}
.hdr__search .ico { width: 19px; height: 19px; }
.hdr__search:hover { background: rgba(127, 160, 200, .14); border-color: rgba(127, 160, 200, .6); }
html:not(.js) .hdr__search { display: none; }
/* Eight items + search (v1.5, §30). Breakpoints come from measured fit: links never
   wrap, and at least ~25px stays clear beside the logo and the end controls in EN and AR. */
.hdr__nav a { white-space: nowrap; }
@media (max-width: 1360px) {
	.hdr__bar { gap: 18px; }
	.hdr__end { gap: 10px; }
	.hdr__nav ul { gap: 2px; }
	.hdr__nav a { padding-inline: 10px; }
}
@media (max-width: 1240px) {
	.hdr__nav a { padding-inline: 8px; font-size: .9rem; }
	:root[dir="rtl"] .hdr__nav a { font-size: .96rem; }
}
@media (max-width: 1140px) {
	.hdr__nav { display: none; }
	.hdr__menu { display: block; }
	.hdr__end { margin-inline-start: auto; }
}
@media (max-width: 640px) {
	:root { --hdr-h: 64px; }
	.hdr__langs, .hdr__cta { display: none; }
	.logo__name { font-size: .8rem; }
	.logo__img { height: 38px; }
}

/* ---------- Menu (dialog) ---------- */
.menu {
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); border: 0;
	background: radial-gradient(120% 70% at 85% 0%, #0E3A6B 0%, var(--ink) 60%); color: #fff;
	display: none; flex-direction: column;
}
.menu[open] { display: flex; animation: menu-in .45s var(--ease-out); }
.menu::backdrop { background: rgba(6, 23, 43, .6); }
@keyframes menu-in { from { opacity: 0; clip-path: circle(0% at calc(100% - 44px) 36px); } to { opacity: 1; clip-path: circle(150% at calc(100% - 44px) 36px); } }
[dir="rtl"] .menu[open] { animation-name: menu-in-rtl; }
@keyframes menu-in-rtl { from { opacity: 0; clip-path: circle(0% at 44px 36px); } to { opacity: 1; clip-path: circle(150% at 44px 36px); } }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.menu__close {
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(184, 213, 239, .35);
	background: transparent; display: grid; place-items: center;
}
.menu__list { margin-block: auto; display: grid; gap: 4px; counter-reset: m; }
.menu__list a {
	display: flex; align-items: baseline; gap: 16px; padding-block: 10px;
	font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; line-height: 1.15; text-decoration: none;
	border-bottom: 1px solid rgba(184, 213, 239, .12);
}
.menu__n { font-size: .8rem; font-weight: 700; color: var(--green); min-width: 2ch; }
.menu[open] .menu__list li { animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
.menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.menu__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sky); font-weight: 500; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Site search (dialog, blueprint §30–31) ----------
   A bright, editorial reading surface over the dimmed page: white panel, navy
   text, neutral greys for metadata and dividers. Brand blue is kept for focus
   and links; brand green only for the soft term highlight. */
.srch {
	--s-pad: 24px;
	--s-line: #E6ECF2; /* dividers between rows */
	--s-tint: #F5F7FA; /* group headings, notes */
	--s-hover: #F3F7FC;
	--s-meta: #5A6B7F; /* 5.6:1 on white */
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: clamp(16px, 10vh, 112px) var(--gutter) 32px; border: 0;
	background: transparent; color: var(--text); font-family: var(--font);
	display: none; justify-content: center; align-items: flex-start; overflow: hidden;
}
.srch[open] { display: flex; }
.srch::backdrop { background: rgba(4, 16, 31, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.srch__panel {
	position: relative; width: 100%; max-width: 720px; max-height: min(100%, 720px);
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--white); border-radius: 10px;
	box-shadow: 0 0 0 1px rgba(9, 33, 61, .06), 0 32px 80px -24px rgba(2, 10, 22, .6);
}
@media (prefers-reduced-motion: no-preference) {
	.srch[open] .srch__panel { animation: srch-in .26s var(--ease-out); }
	.srch[open]::backdrop { animation: srch-fade .2s ease-out; }
}
@keyframes srch-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes srch-fade { from { opacity: 0; } to { opacity: 1; } }
.srch :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Input row */
.srch__bar {
	display: flex; align-items: center; gap: 14px; flex: none;
	padding-block: 10px; padding-inline: var(--s-pad) 12px;
	border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.srch__bar:focus-within { box-shadow: inset 0 -2px 0 var(--blue); } /* the focus indicator for the field */
.srch__ico { width: 20px; height: 20px; flex: none; color: var(--s-meta); transition: color .2s; }
.srch__bar:focus-within .srch__ico { color: var(--blue-deep); }
.srch__q {
	flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; background: transparent;
	color: var(--text); font: 500 1.2rem/1.3 var(--font); letter-spacing: 0; text-align: start;
	-webkit-appearance: none; appearance: none;
}
.srch__q::placeholder { color: #7B8A9B; opacity: 1; }
.srch__q::-webkit-search-cancel-button, .srch__q::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.srch .srch__q:focus, .srch .srch__q:focus-visible { outline: none; }
.srch__spin {
	width: 16px; height: 16px; flex: none; border-radius: 50%; opacity: 0;
	border: 2px solid var(--line); border-top-color: var(--blue); transition: opacity .2s;
}
.srch.is-busy .srch__spin { opacity: 1; animation: srch-spin .7s linear infinite; }
@keyframes srch-spin { to { transform: rotate(360deg); } }
.srch__close {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: var(--s-meta); transition: background-color .15s, color .15s;
}
.srch__close:hover { background: var(--s-tint); color: var(--text); }
.srch__close .ico { width: 20px; height: 20px; }

/* Status line and the scrolling results area (the only scroller in the panel) */
.srch__status { flex: none; margin: 0; padding: 12px var(--s-pad) 10px; font-size: .88rem; line-height: 1.5; color: var(--s-meta); }
.srch__status:empty { display: none; }
.srch__res { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; transition: opacity .2s; }
.srch.is-busy .srch__res { opacity: .5; }
.srch__res:focus { outline: none; }
.srch__res:empty { display: none; }

/* Initial state */
.srch__try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px var(--s-pad) 18px; }
.srch__try-l {
	flex-basis: 100%; margin: 0 0 2px; font-size: .74rem; font-weight: 700; color: var(--s-meta);
	text-transform: var(--case); letter-spacing: .08em;
}
:root[dir="rtl"] .srch__try-l { font-size: .86rem; letter-spacing: 0; }
.srch__chip, .srch__retry {
	min-height: 38px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line);
	background: var(--white); color: var(--text); font: 500 .92rem/1.2 var(--font);
	transition: background-color .15s, border-color .15s;
}
.srch__chip:hover, .srch__retry:hover { background: var(--s-tint); border-color: #C5D2E0; }
.srch__foot { padding: 6px var(--s-pad) 8px; border-top: 1px solid var(--s-line); }
.srch__retry { margin: 4px var(--s-pad) 20px; }

/* Groups and rows */
.srch__other { margin: 0; padding: 10px var(--s-pad); background: var(--s-tint); border-top: 1px solid var(--line); font-size: .88rem; color: var(--s-meta); }
.srch__gh {
	position: sticky; top: 0; z-index: 1;
	display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 9px var(--s-pad);
	background: var(--s-tint); border-block: 1px solid var(--line);
	font-size: .74rem; font-weight: 700; line-height: 1.4; color: var(--navy-2);
	text-transform: var(--case); letter-spacing: .08em;
}
:root[dir="rtl"] .srch__gh { font-size: .9rem; letter-spacing: 0; }
.srch__grp + .srch__grp .srch__gh { border-top: 0; }
.srch__gn { margin-inline-start: auto; font-weight: 500; color: var(--s-meta); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.srch__list { list-style: none; margin: 0; padding: 0; }
.srch__list > li + li { border-top: 1px solid var(--s-line); }
.srch__hit {
	display: grid; grid-template-columns: minmax(0, 1fr) 12px; column-gap: 20px; row-gap: 3px; align-items: center;
	padding: 14px var(--s-pad); text-decoration: none; color: inherit; transition: background-color .15s;
}
.srch__hit > * { grid-column: 1; }
.srch__hit::after {
	content: ""; grid-column: 2; grid-row: 1 / span 3; width: 7px; height: 7px;
	border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor;
	color: var(--blue-deep); opacity: 0; transform: rotate(45deg); transition: opacity .15s;
}
[dir="rtl"] .srch__hit::after { transform: rotate(-45deg); }
.srch__hit[data-ext]::after { opacity: .55; transform: none; } /* points up and out: leaves the site */
.srch__hit:hover, .srch__hit:focus-visible { background: var(--s-hover); }
.srch__hit:hover::after, .srch__hit:focus-visible::after { opacity: 1; }
.srch__hit:focus-visible { outline-offset: -2px; }
.srch__t { font-size: 1.02rem; font-weight: 700; line-height: 1.4; color: var(--text); transition: color .15s; }
:root[dir="rtl"] .srch__t { font-size: 1.06rem; line-height: 1.55; }
.srch__hit:hover .srch__t { color: var(--blue-deep); }
.srch__k { font-size: .8rem; font-weight: 500; line-height: 1.4; color: var(--s-meta); }
.srch__x {
	margin-top: 2px; font-size: .9rem; line-height: 1.6; color: var(--muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
:root[dir="rtl"] .srch__x { line-height: 1.75; }
/* Matched terms: a soft green underlay under the lower part of the word, no solid blocks. */
.srch mark {
	color: inherit; background: linear-gradient(transparent 60%, rgba(107, 175, 70, .3) 60%);
	padding: 0; border-radius: 0;
}
.srch__more {
	display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px var(--s-pad);
	border-top: 1px solid var(--s-line); color: var(--blue-deep); font-weight: 700; font-size: .92rem; text-decoration: none;
	transition: background-color .15s;
}
.srch__more::after {
	content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor;
	transform: rotate(45deg);
}
[dir="rtl"] .srch__more::after { transform: rotate(-45deg); }
.srch__more:hover { background: var(--s-hover); }
.srch__foot .srch__more, .srch__none .srch__more { display: inline-flex; min-height: 40px; padding: 4px 0; border: 0; }
.srch__foot .srch__more:hover, .srch__none .srch__more:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.srch__none { padding: 6px var(--s-pad) 22px; }
.srch__none p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }

/* Phones: a full-screen sheet; the field stays at the top, clear of the keyboard. */
@media (max-width: 640px) {
	.srch { --s-pad: 16px; padding: 0; }
	.srch__panel { max-width: none; height: 100%; max-height: none; border-radius: 0; box-shadow: none; }
	.srch__bar { padding-block: max(6px, env(safe-area-inset-top)) 6px; padding-inline: max(16px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-right)); gap: 12px; }
	.srch__q { font-size: 1.1rem; height: 50px; } /* at least 16px: no zoom on focus in iOS */
	.srch__close { width: 44px; height: 44px; }
	.srch__res { flex: 1 1 auto; padding-bottom: env(safe-area-inset-bottom); }
	.srch__hit { padding-block: 13px; }
	.hdr__search { width: 44px; height: 44px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column; justify-content: center;
	padding: calc(var(--hdr-h) + 40px) 0 calc(var(--sheet-r) + 72px);
	color: #fff;
	background:
		radial-gradient(70% 60% at 78% 42%, rgba(22, 136, 215, .28) 0%, transparent 62%),
		radial-gradient(50% 50% at 8% 100%, rgba(12, 69, 148, .45) 0%, transparent 70%),
		linear-gradient(180deg, #071B33 0%, var(--ink) 100%);
}
[dir="rtl"] .hero {
	background:
		radial-gradient(70% 60% at 22% 42%, rgba(22, 136, 215, .28) 0%, transparent 62%),
		radial-gradient(50% 50% at 92% 100%, rgba(12, 69, 148, .45) 0%, transparent 70%),
		linear-gradient(180deg, #071B33 0%, var(--ink) 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* One photographic layer, kept far behind the particles: navy-toned, softened, never the subject. */
.hero__photo { position: absolute; inset: 0; z-index: -4; pointer-events: none; }
.hero__photo img {
	width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
	opacity: .34; filter: grayscale(.55) contrast(1.05) blur(1.5px); transform: scale(1.03);
}
.hero__veil {
	position: absolute; inset: 0; z-index: -3; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(6, 23, 43, .94) 0%, rgba(6, 23, 43, .78) 42%, rgba(9, 33, 61, .55) 100%),
		linear-gradient(180deg, rgba(6, 23, 43, .35) 0%, rgba(6, 23, 43, 0) 30%, rgba(6, 23, 43, .85) 100%);
	mix-blend-mode: normal;
}
[dir="rtl"] .hero__veil {
	background:
		linear-gradient(270deg, rgba(6, 23, 43, .94) 0%, rgba(6, 23, 43, .78) 42%, rgba(9, 33, 61, .55) 100%),
		linear-gradient(180deg, rgba(6, 23, 43, .35) 0%, rgba(6, 23, 43, 0) 30%, rgba(6, 23, 43, .85) 100%);
}
.hero__glow {
	position: absolute; z-index: -2; inset: auto -10% -30% -10%; height: 60%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(107, 175, 70, .14), transparent 70%);
	pointer-events: none;
}
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px);
	align-items: center; min-height: min(640px, 70svh);
}
.hero__copy { position: relative; z-index: 2; max-width: 640px; }
.eyebrow { color: var(--sky); }
.ths { display: inline-flex; position: relative; width: 22px; height: 18px; flex: none; }
.ths i { position: absolute; width: 7px; height: 7px; transform: rotate(45deg); border-radius: 1px; background: var(--sky); }
.ths i:nth-child(1) { left: 7.5px; top: 0; background: var(--green); }
.ths i:nth-child(2) { left: 1px; top: 10px; background: var(--blue); }
.ths i:nth-child(3) { left: 14px; top: 10px; }

.hero__title {
	margin-top: 22px; font-weight: 800; letter-spacing: -0.035em;
	font-size: clamp(2.9rem, 6.6vw, 6.1rem); line-height: .98;
}
:root[dir="rtl"] .hero__title { letter-spacing: 0; line-height: 1.3; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.hero__title > span { display: block; }
.trace-word { position: relative; display: inline-block; color: transparent; background: linear-gradient(100deg, var(--sky) 0%, var(--blue) 45%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; padding-inline-end: .04em; }
.trace-word__line {
	position: absolute; inset-inline: -2%; bottom: -.12em; width: 104%; height: .22em; overflow: visible;
	fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round;
	stroke-dasharray: 260; stroke-dashoffset: 0;
}
:root[dir="rtl"] .trace-word__line { bottom: -.02em; transform: scaleX(-1); }
html.js .trace-word__line { stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s var(--ease-out) 1s; }
html.js .is-ready .trace-word__line { stroke-dashoffset: 0; }

.hero__body { margin-top: 26px; max-width: 50ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--on-dark-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.dial { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 40px; }
.dial a {
	display: inline-flex; align-items: center; gap: .5em; padding: 8px 14px 8px 12px; border-radius: 12px;
	text-decoration: none; font-size: .9rem; background: rgba(184, 213, 239, .07); border: 1px solid rgba(184, 213, 239, .14);
	transition: background-color .25s, border-color .25s;
}
.dial a:hover { background: rgba(184, 213, 239, .14); border-color: rgba(184, 213, 239, .3); }
.dial__name { font-weight: 700; }
.dial__arrow { width: 1em; color: var(--green); }
.dial__word { color: var(--sky); }

.hero__word { position: relative; align-self: stretch; min-height: 360px; display: flex; align-items: flex-end; justify-content: center; }
.hero__caption { display: grid; gap: 8px; justify-items: center; text-align: center; padding-bottom: 8px; }
.hero__gloss { font-size: .95rem; color: var(--on-dark-2); max-width: 36ch; }
.hero__hint { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--sky); opacity: .8; }
.hero__hint .ico { width: 16px; height: 16px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, 3px); } }
.no-canvas .hero__hint { display: none; }

.hero__scroll {
	position: absolute; inset-inline-start: 50%; bottom: calc(var(--sheet-r) + 18px); translate: -50% 0;
	display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: .75rem; font-weight: 700;
	letter-spacing: var(--track-k); text-transform: var(--case); color: var(--on-dark-2);
}
[dir="rtl"] .hero__scroll { translate: 50% 0; }
.hero__scroll i { position: relative; width: 1.5px; height: 40px; background: rgba(184, 213, 239, .25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--green); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 900px) {
	.hero__veil { background: linear-gradient(180deg, rgba(6, 23, 43, .7) 0%, rgba(6, 23, 43, .82) 45%, rgba(6, 23, 43, .95) 100%); }
	.hero__photo img { opacity: .3; }
	.hero { justify-content: flex-start; padding-top: calc(var(--hdr-h) + 12px); }
	.hero__grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
	.hero__word { order: -1; min-height: 0; height: clamp(190px, 34svh, 300px); align-items: flex-end; }
	.hero__caption { padding-bottom: 0; }
	.hero__gloss { font-size: .85rem; }
	.hero__title { margin-top: 18px; }
	.hero__scroll { display: none; }
}

/* ---------- Sheets ---------- */
.sheet {
	position: relative;
	padding-block: clamp(56px, 6.4vw, 96px);
}
/* A hairline seam where two light sheets meet, instead of the old rounded overlap. */
.sheet--paper + .sheet--white, .sheet--white + .sheet--paper { box-shadow: inset 0 1px 0 var(--line); }
.sheet--paper { background: var(--paper); color: var(--text); }
.sheet--white { background: var(--white); color: var(--text); }
.sheet--navy {
	color: var(--on-dark);
	background: radial-gradient(80% 50% at 100% 0%, rgba(22, 136, 215, .18), transparent 70%), var(--navy);
}
.sheet--ink { color: var(--on-dark); background: var(--ink); }
.sheet--navy .h2, .sheet--ink .h2 { color: #fff; }

/* ---------- Practices (scroll story) ---------- */
/* Text column (intro, then chapters) on the start side; the sticky stage spans
   the whole story on the end side, so it begins beside the headline. */
.story {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "intro stage" "chapters stage"; column-gap: clamp(32px, 6vw, 96px);
}
.story__intro { grid-area: intro; padding-block-end: clamp(32px, 5vh, 56px); }
.story__intro .statement { font-size: clamp(2rem, 3.5vw, 3.35rem); max-width: 16ch; }
.story__cue { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 4vh, 44px); font-size: .95rem; font-weight: 700; color: var(--blue-deep); }
.story__cue span { width: 44px; height: 1.5px; background: linear-gradient(90deg, var(--blue), var(--green)); }
[dir="rtl"] .story__cue span { background: linear-gradient(270deg, var(--blue), var(--green)); }
.story__stage { position: relative; grid-area: stage; }
.story__chapters { grid-area: chapters; }
.stage {
	position: sticky; top: calc(var(--hdr-h) + 6vh);
	aspect-ratio: 1; max-height: 74vh; margin-inline: auto;
	border-radius: var(--r); background: var(--white);
	box-shadow: 0 1px 0 rgba(9, 33, 61, .04), 0 40px 80px -50px rgba(9, 33, 61, .45);
	overflow: hidden;
}
.stage::before {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(9, 33, 61, .09) 1px, transparent 1.2px);
	background-size: 22px 22px; mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 75%);
}
.stage__svg { position: absolute; inset: 6% 6% 16%; width: 88%; height: 78%; overflow: visible; }
.sd { transition: transform 1s var(--ease-out), opacity .6s; transition-delay: calc(var(--i, 0) * 18ms); }
.sd polygon { fill: var(--blue); transition: fill .6s; }
.sd.is-faint polygon { fill: var(--sky); }
.sd.is-accent polygon { fill: var(--green); }
.sd.is-dark polygon { fill: var(--navy); }
.ln { fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-out) .45s forwards; vector-effect: non-scaling-stroke; }
.ln--accent { stroke: var(--green); stroke-width: 2.6; animation-delay: .8s; }
.ln--full { stroke-dasharray: 1.5; stroke-dashoffset: 1.5; } /* §28: revised formations; dash covers the whole path (Chrome under-measures pathLength with non-scaling-stroke) */
.ln--dash { stroke-dasharray: 4 6; stroke-dashoffset: 0; animation: fadein .8s .6s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.stage__caption {
	position: absolute; inset-inline: 0; bottom: 6%; display: flex; justify-content: center; align-items: baseline; gap: .5em;
	font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--muted);
}
.stage__word {
	font-weight: 800; font-size: 1.6em; color: var(--navy); display: inline-block;
	transition: opacity .3s, transform .45s var(--ease-out);
}
.stage__word.is-out { opacity: 0; transform: translateY(10px); }
.stage__word.is-all { font-size: 1.15em; letter-spacing: .01em; color: var(--blue-deep); }

.story__chapters { display: grid; }
.chapter {
	position: relative; min-height: 56vh; padding-block: 8vh; padding-inline-end: clamp(20px, 3vw, 40px);
	display: flex; flex-direction: column; justify-content: center; gap: 18px;
	border-inline-end: 1px solid var(--line);
}
.chapter::before {
	content: ""; position: absolute; inset-inline-end: -1px; top: 30%; bottom: 30%; width: 3px; border-radius: 3px;
	background: linear-gradient(var(--blue), var(--green)); transform: scaleY(0); transition: transform .7s var(--ease-out);
}
.chapter.is-active::before { transform: scaleY(1); }
.chapter__n { font-size: .9rem; font-weight: 800; color: var(--muted); letter-spacing: .08em; transition: color .4s; }
.chapter__n span { opacity: .5; font-weight: 500; }
.chapter.is-active .chapter__n { color: var(--blue); }
.chapter__name { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.12; color: var(--navy); }
.chapter__word { display: flex; align-items: center; gap: .35em; margin-top: .2em; font-size: .62em; color: var(--green-ink); font-weight: 700; }
.chapter__word .ico { width: .9em; height: .9em; }
.chapter__text { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }
.chapter .link { align-self: flex-start; margin-top: 6px; }

@media (max-width: 860px) {
	.story { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "stage" "chapters"; gap: 0; }
	.story__intro { padding-block-end: 28px; }
	.story__intro .statement { max-width: 18ch; }
	.story__cue { display: none; }
	.chapter { padding-inline: clamp(20px, 3vw, 40px) 0; border-inline-end: 0; border-inline-start: 1px solid var(--line); }
	.chapter::before { inset-inline: -1px auto; }
	.story__stage { position: sticky; top: calc(var(--hdr-h) + 4px); z-index: 2; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 10px; background: linear-gradient(var(--paper) 82%, rgba(244, 247, 251, 0)); }
	.stage { position: relative; top: 0; aspect-ratio: auto; height: 176px; max-height: none; border-radius: var(--r); }
	/* Fit the whole 400×400 drawing in the band (sized by height, not width), centred in the space beside the caption. */
	.stage__svg { inset: 8px auto 8px max(4%, calc(30% - 80px)); width: auto; height: calc(100% - 16px); aspect-ratio: 1; }
	[dir="rtl"] .stage__svg { inset: 8px max(4%, calc(30% - 80px)) 8px auto; }
	.stage__caption { inset-inline: auto 5%; bottom: auto; top: 50%; translate: 0 -50%; flex-direction: column; align-items: flex-end; gap: 0; font-size: .85rem; }
	[dir="rtl"] .stage__caption { align-items: flex-end; }
	.stage__word { font-size: 1.5em; }
	.stage__word.is-all { font-size: 1.1em; max-width: 7.5em; line-height: 1.35; text-align: end; text-wrap: balance; }
	.chapter { min-height: 0; padding-block: 56px; }
}

/* ---------- Training explorer (v0.9, blueprint §24) ---------- */
.training .sec-head { max-width: 900px; }
.cat-head .h2 { max-width: none; }
.explorer {
	display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 0;
	border-radius: var(--r); overflow: clip;
	background: rgba(6, 23, 43, .55); border: 1px solid rgba(184, 213, 239, .12);
	box-shadow: 0 50px 100px -60px rgba(0, 0, 0, .8);
}
.explorer__side { padding: 22px; border-inline-end: 1px solid rgba(184, 213, 239, .1); background: rgba(6, 23, 43, .35); min-width: 0; }
.explorer__side-in { position: sticky; top: calc(var(--hdr-h) + 20px); }
.search__label { display: block; font-size: .8rem; font-weight: 700; color: var(--on-dark-2); margin-bottom: 8px; }
.search__box { position: relative; }
.search__box .ico { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; color: var(--sky); pointer-events: none; }
.search__box input {
	width: 100%; height: 50px; padding-inline: 44px 14px; border-radius: var(--r);
	border: 1px solid rgba(184, 213, 239, .2); background: rgba(255, 255, 255, .05); color: #fff;
	unicode-bidi: plaintext; text-align: start;
	transition: border-color .2s, background-color .2s;
}
.search__box input::placeholder { color: rgba(184, 213, 239, .6); font-size: .92rem; }
.search__box input:focus { outline: none; border-color: var(--green); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(107, 175, 70, .18); }
.search__box input::-webkit-search-cancel-button { filter: invert(1) opacity(.7); cursor: pointer; }

/* Field filter: real radios (one choice), styled as a list. */
.fields { display: grid; gap: 4px; margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.fields__legend { padding: 0; margin-bottom: 8px; font-size: .8rem; font-weight: 700; color: var(--on-dark-2); }
.fields__opt {
	position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px;
	padding: 11px 12px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
	color: var(--on-dark-2); transition: background-color .2s, color .2s, border-color .2s;
}
.fields__radio { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fields__opt:hover { background: rgba(184, 213, 239, .07); color: #fff; }
.fields__opt:has(:checked) { background: rgba(22, 136, 215, .2); border-color: rgba(22, 136, 215, .55); color: #fff; }
.fields__opt:has(:focus-visible) { outline: 2px solid var(--green-2); outline-offset: 2px; }
.fields__opt .glyph { width: 28px; height: 28px; color: var(--sky); }
.fields__opt .glyph .fill { fill: var(--green); stroke: none; }
.fields__opt .glyph .line { stroke: var(--green); }
.fields__opt:has(:checked) .glyph { color: #fff; }
.fields__name { font-weight: 500; font-size: .95rem; line-height: 1.35; }
.fields__opt:has(:checked) .fields__name { font-weight: 700; }
.fields__count { min-width: 2.2em; text-align: center; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(184, 213, 239, .1); color: var(--sky); font-variant-numeric: tabular-nums; }
.fields__opt:has(:checked) .fields__count { background: var(--green); color: var(--ink); }

/* Compact field select (small screens). */
.fields-m { display: none; margin-top: 14px; }
.fields-m__box { position: relative; }
.fields-m select {
	width: 100%; height: 50px; padding-inline: 14px 42px; border-radius: var(--r); appearance: none;
	border: 1px solid rgba(184, 213, 239, .2); color: #fff; font-weight: 700;
	background: rgba(255, 255, 255, .05) no-repeat;
	background-image: linear-gradient(45deg, transparent 50%, var(--sky) 50%), linear-gradient(135deg, var(--sky) 50%, transparent 50%);
	background-size: 5px 5px; background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%;
}
[dir="rtl"] .fields-m select { padding-inline: 14px 42px; background-position: 17px 52%, 22px 52%; }
.fields-m select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(107, 175, 70, .18); }
.fields-m option { color: var(--text); background: #fff; }

.explorer__main { position: relative; padding: 22px clamp(18px, 2.5vw, 32px) 22px; min-width: 0; }
.explorer__bar { display: grid; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(184, 213, 239, .12); }
.explorer__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.explorer__field { font-size: 1.3rem; font-weight: 800; color: #fff; }
.explorer__count { font-size: .9rem; color: var(--on-dark-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips[hidden] { display: none; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 10px 4px 14px; border-radius: 99px;
	border: 1px solid rgba(107, 175, 70, .5); background: rgba(107, 175, 70, .12); color: #fff; font-size: .85rem; font-weight: 700;
	transition: background-color .2s, border-color .2s;
}
[dir="rtl"] .chip { padding: 4px 14px 4px 10px; }
.chip span { max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .ico { width: 14px; height: 14px; color: var(--green-2); }
.chip:hover { background: rgba(107, 175, 70, .24); border-color: var(--green); }
.chip--clear { border-color: transparent; background: none; color: var(--sky); text-decoration: underline; text-underline-offset: 3px; padding-inline: 8px; }
.chip--clear:hover { background: rgba(184, 213, 239, .08); border-color: transparent; }

/* Program rows: one column, numbered, title links to the program, CTA opens its registration form. */
.progs { display: grid; align-content: start; counter-reset: prog; padding-top: 4px; }
.progs[hidden] { display: none; }
.prog {
	position: relative; display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: 4px 18px;
	padding: 16px 14px; margin-inline: -14px; border-radius: var(--r); border-bottom: 1px solid rgba(184, 213, 239, .08);
	transition: background-color .2s;
}
.prog:not([hidden]) { counter-increment: prog; }
.prog::before {
	content: counter(prog, decimal-leading-zero); align-self: start; padding-top: .2em;
	font-size: .78rem; font-weight: 800; color: rgba(184, 213, 239, .5); font-variant-numeric: tabular-nums; transition: color .2s;
}
.prog:hover, .prog:focus-within { background: rgba(184, 213, 239, .06); }
.prog:hover::before, .prog:focus-within::before { color: var(--green-2); }
.progs.is-anim .prog { animation: prog-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * 22ms); }
@keyframes prog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.prog__body { display: grid; gap: 4px; min-width: 0; }
.prog__h { font-size: 1.05rem; font-weight: 700; line-height: 1.45; }
.prog__title { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .3s var(--ease-out), color .2s; }
[dir="rtl"] .prog__title { background-position: 100% 100%; }
.prog__title:hover, .prog__title:focus-visible { color: var(--green-2); background-size: 100% 1px; }
.prog__title mark { background: rgba(107, 175, 70, .35); color: #fff; border-radius: 3px; padding-inline: 1px; }
.prog__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .82rem; color: var(--on-dark-2); }
.prog__meta:empty { display: none; }
.prog__field { opacity: .85; }
.explorer:not(.is-all) .prog__field { display: none; }
.prog__cta {
	display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 99px; white-space: nowrap;
	border: 1px solid rgba(107, 175, 70, .55); background: transparent; color: var(--green-2); font-size: .88rem; font-weight: 700; text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.prog__cta .ico { width: 15px; height: 15px; transition: translate .3s var(--ease-out); }
.prog:hover .prog__cta, .prog__cta:focus-visible { background: var(--green); border-color: var(--green); color: var(--ink); }
.prog__cta:hover .ico { translate: 3px 0; }
[dir="rtl"] .prog__cta:hover .ico { translate: -3px 0; }

.progs-more { display: flex; justify-content: center; padding-top: 22px; }
.progs-more[hidden] { display: none; }
.progs-more .btn { color: #fff; }
.progs-empty { padding: 40px 4px 16px; display: grid; gap: 10px; justify-items: start; color: var(--on-dark-2); }
.progs-empty[hidden] { display: none; }
.progs-empty__title { font-size: 1.25rem; font-weight: 800; color: #fff; overflow-wrap: anywhere; }
.progs-empty__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.progs-empty__acts .btn--ghost { color: #fff; }
.explorer__note { font-size: .82rem; color: var(--on-dark-2); opacity: .85; padding-top: 16px; }

@media (max-width: 900px) {
	.explorer { grid-template-columns: minmax(0, 1fr); }
	.explorer__side { border-inline-end: 0; border-bottom: 1px solid rgba(184, 213, 239, .1); padding: 16px; }
	.explorer__side-in { position: static; }
	.fields { display: none; }
	.fields-m { display: block; }
	.explorer__main { padding: 16px; }
}
@media (max-width: 600px) {
	.prog { grid-template-columns: 2em minmax(0, 1fr); gap: 10px 12px; padding: 16px 12px; margin-inline: -12px; }
	.prog__cta { grid-column: 2; justify-self: start; }
	.prog__h { font-size: 1rem; }
}

/* Delivery modes */
.modes { margin-top: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 56px; align-items: center; }
.modes__head { display: grid; gap: 22px; grid-column: 1; }
.modes__tabs {
	position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px;
	border-radius: calc(var(--r) + 6px); background: rgba(6, 23, 43, .5); border: 1px solid rgba(184, 213, 239, .14);
}
.modes__tabs button {
	position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px;
	border-radius: var(--r); border: 0; background: none; text-align: start;
	font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--on-dark-2); transition: color .3s, background-color .2s;
}
.modes__tabs button:hover { color: #fff; background: rgba(184, 213, 239, .06); }
.modes__tabs button:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }
.modes__no { flex: none; font-size: .72rem; font-weight: 800; opacity: .7; font-variant-numeric: tabular-nums; }
.modes__label { min-width: 0; }
.modes__tabs button[aria-selected="true"] { color: var(--ink); background: none; }
.modes__tabs button[aria-selected="true"] .modes__no { opacity: 1; }
.modes__ind {
	position: absolute; z-index: 0; top: 0; left: 0; height: var(--h, 0); width: var(--w, 0); border-radius: var(--r);
	background: var(--green); transform: translate(var(--x, 0), var(--y, 0)); transition: transform .45s var(--ease-out), width .45s var(--ease-out), height .45s var(--ease-out);
}
.modes__panel { grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: var(--r); background: rgba(184, 213, 239, .06); border: 1px solid rgba(184, 213, 239, .1); }
.modes__name { font-size: 1.3rem; font-weight: 800; color: #fff; }
.modes__desc { color: var(--on-dark-2); margin-top: 6px; }
.modes__note { grid-column: 1; font-size: .85rem; color: var(--on-dark-2); opacity: .9; max-width: 52ch; }
.mode-art { width: 200px; height: 130px; overflow: visible; }
.mode-art .s { fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.mode-art .s2 { fill: none; stroke: rgba(184, 213, 239, .5); stroke-width: 1.4; stroke-linecap: round; }
.mode-art .dash { stroke-dasharray: 4 5; stroke: var(--green); }
.mode-art .d { fill: var(--blue); transform-box: fill-box; transform-origin: center; }
.mode-art .d:nth-of-type(3n) { fill: var(--green); }
.modes__panel:not([hidden]) .mode-art .d { animation: pop .6s var(--ease-out) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
.method { grid-column: 1; }
.method__title { font-size: .85rem; font-weight: 700; color: var(--on-dark-2); margin-bottom: 12px; }
.method__list { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.method__list li {
	counter-increment: s; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
	border-radius: 99px; background: rgba(184, 213, 239, .07); font-size: .9rem; color: var(--on-dark);
}
[dir="rtl"] .method__list li { padding: 7px 8px 7px 14px; }
.method__list li::before {
	content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
	font-size: .72rem; font-weight: 800; background: var(--blue); color: #fff;
}
@media (max-width: 900px) {
	.modes { grid-template-columns: 1fr; }
	.modes__head, .modes__panel, .modes__note, .method { grid-column: 1; grid-row: auto; }
	.modes__panel { grid-template-columns: 1fr; padding: 20px; }
	.mode-art { width: 100%; max-width: 240px; height: auto; }
}
@media (max-width: 440px) {
	.modes__tabs { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.modes__tabs button { min-height: 48px; }
}

/* ---------- About / expertise ---------- */
.person { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.person__role { font-weight: 700; color: var(--blue-deep); }
.person__name { margin-top: 6px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
:root[dir="rtl"] .person__name { letter-spacing: 0; line-height: 1.25; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.creds li { padding: 6px 12px; border-radius: 8px; font-size: .85rem; font-weight: 800; letter-spacing: .04em; background: var(--paper); color: var(--navy); border: 1px solid var(--line); }
.person__bio { margin-top: 26px; font-size: 1.1rem; max-width: 56ch; }
.person__bio2 { margin-top: 12px; color: var(--muted); max-width: 56ch; }
.person__id .link { margin-top: 18px; }

/* v0.8: portrait on the start side, identity then the personal record on the end side. */
.person--pic { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); grid-template-areas: "pic id" "pic rec"; gap: 36px clamp(40px, 5.5vw, 96px); }
.person--pic .person__pic { grid-area: pic; }
.person--pic .person__id { grid-area: id; }
.person--pic .record { grid-area: rec; }
.person__pic { position: relative; margin: 0; align-self: start; position: sticky; top: calc(var(--hdr-h) + 32px); padding: 0 22px 22px 0; }
[dir="rtl"] .person__pic { padding: 0 0 22px 22px; }
.person__plate {
	position: absolute; inset: 22px 0 0 22px; border-radius: calc(var(--r) + 4px);
	background: linear-gradient(140deg, var(--blue-deep), var(--navy) 55%, #0d3a2a); pointer-events: none;
}
[dir="rtl"] .person__plate { inset: 22px 22px 0 0; }
.person__plate::after {
	content: ""; position: absolute; inset-inline-end: 18px; bottom: 18px; width: 64px; height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--green));
}
.person__dots {
	position: absolute; top: -26px; inset-inline-end: -14px; width: 46%; height: 120px; pointer-events: none;
	background-image: radial-gradient(circle, rgba(12, 69, 148, .22) 1.2px, transparent 1.6px); background-size: 16px 16px;
	mask-image: linear-gradient(0deg, transparent, #000); -webkit-mask-image: linear-gradient(0deg, transparent, #000);
}
.person__frame {
	position: relative; z-index: 1; display: block; aspect-ratio: 1426 / 1150; overflow: hidden; border-radius: var(--r); /* the portrait's own ratio: nothing is cropped */
	background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(9, 33, 61, .6);
}
.person__frame picture { display: block; height: 100%; }
.person__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.person__mark { position: absolute; z-index: 2; top: 28px; inset-inline-start: -10px; display: grid; gap: 9px; }
.person__mark i { width: 11px; height: 11px; transform: rotate(45deg); border-radius: 1.5px; background: var(--blue); }
.person__mark i:nth-child(2) { background: var(--green); }
.person__mark i:nth-child(3) { background: var(--navy); }
.person--pic .person__name { font-size: clamp(2.2rem, 4vw, 3.3rem); }
.person--pic .record { padding: clamp(22px, 2.6vw, 32px); }
.person--pic .record__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; margin-top: 20px; }
.person--pic .stat__num { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.person--pic .stat__label { font-size: .88rem; line-height: 1.4; }
.person--pic .record__note { margin-top: 22px; }
@media (max-width: 1180px) {
	.person--pic .record__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.person--pic { grid-template-areas: "pic" "id" "rec"; }
	.person__pic { position: relative; top: auto; width: min(100%, 580px); }
}

.record {
	position: relative; overflow: hidden; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); color: #fff;
	background: radial-gradient(90% 80% at 100% 0%, rgba(22, 136, 215, .35), transparent 60%), var(--navy);
}
.record__label { font-weight: 700; color: var(--sky); font-size: .95rem; }
.record__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 26px; position: relative; z-index: 1; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat__num { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__plus { color: var(--green); }
.stat__label { color: var(--on-dark-2); font-size: .95rem; }
.record__note { margin-top: 28px; font-size: .82rem; color: var(--on-dark-2); position: relative; z-index: 1; border-top: 1px solid rgba(184, 213, 239, .15); padding-top: 14px; }
.record__trace { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 45%; opacity: .5; }
[dir="rtl"] .record__trace { transform: scaleX(-1); }
.record__trace path { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 0; }
html.js .record__trace path { stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease-out) .4s; }
html.js .record.is-in .record__trace path { stroke-dashoffset: 0; }

.about__lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.network { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.network__svg { width: min(100%, 380px); aspect-ratio: 1; overflow: visible; }
.network__svg .nd { fill: var(--sky); transform-box: fill-box; transform-origin: center; }
.network__svg .nd.is-b { fill: var(--blue); }
.network__svg .nd.is-g { fill: var(--green); }
.network__svg .nl { stroke: rgba(22, 136, 215, .18); stroke-width: 1; fill: none; }
html.js .network__svg .nd { opacity: 0; transform: scale(0); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 9ms); }
html.js .network.is-in .network__svg .nd { opacity: 1; transform: none; }
html.js .network__svg .nl { opacity: 0; transition: opacity 1.2s 1s; }
html.js .network.is-in .network__svg .nl { opacity: 1; }
.network__num { margin-top: -6px; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--navy); line-height: 1; }
.network__label { font-weight: 800; color: var(--navy); margin-top: 6px; }
.network__desc { color: var(--muted); max-width: 40ch; margin-top: 6px; font-size: .95rem; }
.quals { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.quals__h { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.ticks--plain li { font-size: .97rem; color: var(--text); }

/* Vision / mission / values: tabs + a stage whose needle turns to the selected point. */
.compass { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 6vw, 104px); align-items: center; }
.compass__title { color: #fff; margin-bottom: clamp(28px, 3.4vw, 44px); }
.compass__tabs { display: grid; gap: 0; border-top: 1px solid rgba(184, 213, 239, .16); }
.compass__tabs button {
	position: relative; display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 20px 4px;
	border: 0; border-bottom: 1px solid rgba(184, 213, 239, .16); background: transparent; text-align: start;
	font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 800; color: var(--on-dark-2); transition: color .3s;
}
.compass__tabs button::after {
	content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px;
	background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out);
}
[dir="rtl"] .compass__tabs button::after { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--blue), var(--green)); }
.compass__tabs button:hover { color: #fff; }
.compass__tabs button[aria-selected="true"] { color: #fff; }
.compass__tabs button[aria-selected="true"]::after { transform: none; }
.compass__tabs button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.compass__n { font-size: .8rem; color: var(--sky); font-weight: 800; letter-spacing: .06em; transition: color .3s; }
.compass__tabs button[aria-selected="true"] .compass__n { color: var(--green); }

.compass__stage {
	position: relative; min-height: clamp(300px, 30vw, 400px); display: grid; align-content: center;
	padding: clamp(28px, 4vw, 56px); border-radius: var(--r); overflow: hidden;
	background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(184, 213, 239, .14);
}
.compass__orbit { position: absolute; width: clamp(240px, 26vw, 360px); aspect-ratio: 1; top: 50%; inset-inline-end: calc(-1 * clamp(60px, 7vw, 110px)); translate: 0 -50%; overflow: visible; pointer-events: none; }
.compass__orbit circle { fill: none; }
.compass__orbit .o1 { stroke: rgba(184, 213, 239, .22); stroke-width: 1; }
.compass__orbit .o2 { stroke: rgba(184, 213, 239, .14); stroke-width: 1; stroke-dasharray: 2 6; }
.compass__orbit .o3 { fill: var(--navy); stroke: var(--sky); stroke-width: 1.5; }
.compass__orbit .nd { fill: rgba(184, 213, 239, .35); transform-box: fill-box; transform-origin: center; transition: fill .4s, scale .5s var(--ease-out); }
.compass__needle { transition: rotate .9s var(--ease-out); }
.compass__needle path { fill: var(--green); }
.compass__needle .tail { fill: rgba(184, 213, 239, .4); }
.compass:has(#cmp-tab-0[aria-selected="true"]) .nd--0,
.compass:has(#cmp-tab-1[aria-selected="true"]) .nd--1,
.compass:has(#cmp-tab-2[aria-selected="true"]) .nd--2 { fill: var(--green); scale: 1.5; }
.compass:has(#cmp-tab-1[aria-selected="true"]) .compass__needle { rotate: 120deg; }
.compass:has(#cmp-tab-2[aria-selected="true"]) .compass__needle { rotate: 240deg; }
.compass__panel { position: relative; z-index: 1; max-width: 32ch; }
:root[dir="rtl"] .compass__panel { max-width: 34ch; }
.compass__step { font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--sky); font-variant-numeric: tabular-nums; }
.compass__text { margin-top: 14px; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.5; color: #fff; font-weight: 600; }
:root[dir="rtl"] .compass__text { line-height: 1.85; }
.compass__panel:not([hidden]) .compass__text { animation: rise .55s var(--ease-out) both; }

@media (max-width: 900px) {
	.person, .about__lower, .compass { grid-template-columns: 1fr; }
	.quals { grid-template-columns: 1fr; }
	.compass__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
	.compass__tabs button { flex-direction: column; gap: 4px; font-size: 1.1rem; padding: 12px 2px; }
	.compass__stage { min-height: 300px; }
	.compass__orbit { width: 280px; inset-inline-end: -70px; }
}
@media (max-width: 600px) {
	.compass__stage { min-height: 0; align-content: start; padding-top: 150px; }
	.compass__orbit { width: 210px; top: -64px; translate: none; inset-inline-end: -56px; opacity: .8; }
}

/* ---------- Why (expanding panels) ---------- */
.why { background: radial-gradient(60% 50% at 0% 100%, rgba(12, 69, 148, .35), transparent 70%), var(--ink); }
.panels { display: flex; gap: 12px; height: clamp(440px, 52vw, 540px); }
.panel {
	position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r);
	background: linear-gradient(180deg, rgba(184, 213, 239, .07), rgba(184, 213, 239, .02));
	border: 1px solid rgba(184, 213, 239, .1);
	transition: flex-grow .7s var(--ease-out), background-color .4s, border-color .4s;
}
.panel.is-open { flex-grow: 2.8; background: linear-gradient(180deg, rgba(22, 136, 215, .2), rgba(9, 33, 61, .3)); border-color: rgba(22, 136, 215, .35); }
.why-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; transition: opacity .6s; pointer-events: none; }
.panel.is-open .why-art { opacity: .9; }
.why-art .r { fill: none; stroke: rgba(184, 213, 239, .35); stroke-width: 1; }
.why-art .l { stroke: rgba(184, 213, 239, .35); stroke-width: 1; fill: none; }
.why-art .d { fill: var(--green); }
.why-art .g { fill: rgba(184, 213, 239, .25); }
.why-art .b { fill: rgba(22, 136, 215, .45); }
.panel.is-open .why-art .r, .panel.is-open .why-art .b, .panel.is-open .why-art .d { animation: pop .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); transform-box: fill-box; transform-origin: center; }
.panel__h { position: absolute; inset: 0; font-size: inherit; }
.panel__btn {
	position: absolute; inset: 0; width: 100%; padding: 26px; border: 0; background: none; color: #fff; text-align: start;
	display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 10px; border-radius: inherit;
}
.panel__btn:focus-visible { outline-offset: -6px; }
.panel__n { font-size: .85rem; font-weight: 800; color: var(--green); }
.panel__title { font-size: clamp(1.25rem, 1.8vw, 1.65rem); font-weight: 800; line-height: 1.2; max-width: 14ch; }
.panel__plus { position: absolute; bottom: 24px; inset-inline-start: 26px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(184, 213, 239, .35); transition: transform .5s var(--ease-out), opacity .3s; }
.panel__plus::before, .panel__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.panel__plus::after { rotate: 90deg; }
.panel.is-open .panel__plus { opacity: 0; transform: rotate(45deg); }
.panel__body {
	position: absolute; inset-inline: 26px; bottom: 26px; max-width: 46ch; pointer-events: none;
	font-size: 1.08rem; color: var(--on-dark); opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .3s, transform .3s, visibility 0s .3s;
}
.panel.is-open .panel__body { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .3s, transform .6s var(--ease-out) .3s, visibility 0s; }
.panel:not(.is-open) .panel__title { font-size: clamp(1.05rem, 1.3vw, 1.3rem); overflow-wrap: anywhere; hyphens: auto; }
.panel:not(.is-open) .panel__btn { padding: 22px; }

@media (max-width: 900px) {
	.panels { flex-direction: column; height: auto; }
	.panel { flex: none; min-height: 92px; transition: background-color .4s, border-color .4s; }
	.panel__h { position: relative; }
	.panel__btn, .panel:not(.is-open) .panel__btn { position: relative; flex-direction: row; align-items: center; padding: 22px 20px; padding-inline-end: 70px; min-height: 92px; }
	.panel__title { max-width: none; font-size: 1.2rem; }
	.panel__plus { bottom: auto; top: 28px; inset-inline-start: auto; inset-inline-end: 20px; }
	.panel.is-open .panel__plus { opacity: 1; }
	.panel__body { position: relative; inset: auto; padding: 0 20px 24px; max-width: none; display: none; transform: none; }
	.panel.is-open .panel__body { display: block; }
	.why-art { opacity: .2; }
	.panel.is-open .why-art { opacity: .35; }
}

/* ---------- Insights ---------- */
.topics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin-top: 18px; color: var(--muted); font-size: .95rem; }
.topics__label { font-weight: 700; color: var(--navy); margin-inline-end: 10px; }
.topics__t:not(:last-child)::after { content: "·"; margin-inline: 10px; color: var(--green); font-weight: 800; }
.rail-ctl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); }
.seg button { padding: 8px 16px; border-radius: 99px; border: 0; background: none; font-weight: 700; font-size: .9rem; color: var(--muted); transition: background-color .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--navy); color: #fff; }
.rail-arrows { display: flex; gap: 8px; }
.round {
	width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
	border: 1px solid var(--line); background: var(--white); color: var(--navy); transition: background-color .2s, color .2s, opacity .2s;
}
.round:hover:not(:disabled) { background: var(--navy); color: #fff; }
.round:disabled { opacity: .35; cursor: default; }
.round .back { rotate: 180deg; }

.rail {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	padding-bottom: 26px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; cursor: grab;
}
.rail.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.card { flex: none; width: min(360px, 82vw); scroll-snap-align: start; }
.card article {
	position: relative; height: 100%; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden;
	background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s;
}
.card article:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(9, 33, 61, .45); }
.card__media { position: relative; aspect-ratio: 5 / 3; background: var(--navy); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.cover { width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.card article:hover .cover { transform: scale(1.05); }
.cover .l { stroke: rgba(184, 213, 239, .5); stroke-width: 1.5; fill: none; }
.cover .d { fill: var(--green); }
.cover .g { fill: rgba(184, 213, 239, .45); }
.cover .r { fill: none; stroke: rgba(184, 213, 239, .3); }
.card[data-type="news"] .card__media { background: var(--blue-deep); }
.card__type { position: absolute; top: 14px; inset-inline-start: 14px; padding: 4px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; background: rgba(6, 23, 43, .6); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card .tag--sample { position: absolute; top: 14px; inset-inline-end: 14px; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--muted); }
.card__meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--green); transform: rotate(45deg); margin-inline-end: 8px; vertical-align: middle; }
.card__title { font-size: 1.2rem; font-weight: 800; line-height: 1.35; color: var(--navy); }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__ex { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__read { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--blue-deep); }
.card__read .ico { width: 16px; transition: translate .3s var(--ease-out); }
.card article:hover .card__read .ico { translate: 4px 0; }
[dir="rtl"] .card article:hover .card__read .ico { translate: -4px 0; }
.ins-empty { padding: 40px; border-radius: var(--r); background: var(--white); color: var(--muted); }
@media (max-width: 640px) { .sec-head--split { align-items: flex-start; } }

/* ---------- Contact ---------- */
.contact { overflow: hidden; padding-bottom: clamp(84px, 10vw, 140px); }
.contact__glow {
	position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(22, 136, 215, .28), transparent), radial-gradient(40% 40% at 30% 70%, rgba(107, 175, 70, .15), transparent);
}
[dir="rtl"] .contact__glow { inset: -20% auto auto -10%; }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact__title { margin-top: .5em; font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 800; line-height: var(--lh-h); letter-spacing: var(--track); color: #fff; text-wrap: balance; }
.contact__title em { background: linear-gradient(100deg, var(--sky), var(--blue) 40%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paths { margin: 36px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.paths__legend { padding: 0; margin-bottom: 12px; font-weight: 700; color: var(--on-dark-2); font-size: .9rem; }
.path {
	position: relative; display: grid; gap: 2px; padding: 16px 52px 16px 18px; border-radius: var(--r); cursor: pointer;
	border: 1px solid rgba(184, 213, 239, .16); background: rgba(184, 213, 239, .04); transition: border-color .25s, background-color .25s;
}
[dir="rtl"] .path { padding: 16px 18px 16px 52px; }
.path:hover { border-color: rgba(184, 213, 239, .35); }
.path input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.path__who { font-weight: 800; color: #fff; }
.path__q { color: var(--on-dark-2); font-size: .95rem; }
.path__dot { position: absolute; inset-inline-end: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(184, 213, 239, .5); }
.path__dot::after { content: ""; position: absolute; inset: 4px; background: var(--green); transform: rotate(45deg) scale(0); border-radius: 1px; transition: transform .3s var(--ease-out); }
.path:has(input:checked) { border-color: var(--green); background: rgba(107, 175, 70, .1); }
.path:has(input:checked) .path__dot { border-color: var(--green); }
.path:has(input:checked) .path__dot::after { transform: rotate(45deg) scale(1); }
.path:has(input:focus-visible) { outline: 2px solid var(--green-2); outline-offset: 3px; }
.direct { margin-top: 36px; }
.direct__h { font-weight: 700; color: var(--on-dark-2); font-size: .9rem; margin-bottom: 8px; }
.direct ul { display: grid; }
.direct a {
	display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 0;
	text-decoration: none; border-bottom: 1px solid rgba(184, 213, 239, .1); transition: color .2s;
}
.direct a:hover { color: var(--green-2); }
.direct a .ico { color: var(--green); }
.direct__l { color: var(--on-dark-2); font-size: .9rem; min-width: 5.5em; }
.direct bdi { font-weight: 700; overflow-wrap: anywhere; justify-self: start; }

.contact__form {
	--fbg: rgba(255, 255, 255, .05); --fbd: rgba(184, 213, 239, .22); --ftx: #fff; --flb: var(--on-dark-2); --ferr: var(--err-dark);
	position: relative; padding: clamp(22px, 3.5vw, 44px); border-radius: var(--r);
	background: linear-gradient(160deg, rgba(22, 136, 215, .14), rgba(6, 23, 43, .4) 60%); border: 1px solid rgba(184, 213, 239, .16);
	box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8); transition: box-shadow .6s, border-color .6s;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.contact__form.is-flash { border-color: var(--green); box-shadow: 0 0 0 6px rgba(107, 175, 70, .18), 0 50px 100px -50px rgba(0, 0, 0, .8); }
.contact__form-h { font-size: 1.5rem; font-weight: 800; color: #fff; }
.contact__form-sub { color: var(--on-dark-2); margin-top: 6px; margin-bottom: 24px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Inquiry form (shared) ---------- */
.inq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; align-content: start; min-width: 0; }
.fld--wide { grid-column: 1 / -1; }
.fld label { font-size: .88rem; font-weight: 700; color: var(--flb, var(--muted)); }
.fld__opt { font-weight: 400; opacity: .75; }
.fld input:not([type="checkbox"]), .fld select, .fld textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r);
	border: 1px solid var(--fbd, var(--line)); background: var(--fbg, var(--white)); color: var(--ftx, var(--text));
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.fld select { appearance: none; padding-inline-end: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-size: 5px 5px; background-repeat: no-repeat; background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; }
[dir="rtl"] .fld select { background-position: 17px 52%, 22px 52%; }
.contact__form .fld select option, .contact__form .fld select optgroup { color: var(--text); background: #fff; }
.fld textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 136, 215, .2); }
.fld input[dir="ltr"] { text-align: start; }
[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.fld [aria-invalid="true"] { border-color: var(--ferr, var(--err)) !important; }
.fld__err { font-size: .82rem; font-weight: 700; color: var(--ferr, var(--err)); }
.fld--check { grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 4px 12px; }
.fld--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); }
.fld--check label { font-weight: 400; font-size: .9rem; line-height: 1.5; }
.fld--check .fld__err { grid-column: 2; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.inq__status { font-size: .9rem; font-weight: 700; color: var(--ferr, var(--err)); }
.inq__legal { margin-top: 14px; font-size: .76rem; line-height: 1.5; color: var(--flb, var(--muted)); }
.inq__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.inq--reg .inq__legal { margin-top: 10px; }
/* Google allows hiding the reCAPTCHA badge when the notice above is shown. */
.grecaptcha-badge { visibility: hidden; }
.inq__local { margin-top: 14px; font-size: .78rem; color: var(--flb, var(--muted)); opacity: .8; }
.btn__dots { display: none; gap: 4px; }
.btn__dots i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); animation: blink 1s infinite; }
.btn__dots i:nth-child(2) { animation-delay: .15s; }
.btn__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.inq__submit.is-loading .btn__dots { display: inline-flex; }
.inq__submit.is-loading .btn__ico { display: none; }
.inq__submit:disabled { cursor: progress; opacity: .85; }
@media (max-width: 560px) { .inq__grid { grid-template-columns: 1fr; } .inq__submit { width: 100%; } }

.inq-ok { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 24px 8px; outline: none; }
.inq-ok__art { width: 120px; height: 120px; overflow: visible; }
.inq-ok .ring { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 330; stroke-dashoffset: 330; transform: rotate(-90deg); transform-origin: center; }
.inq-ok .tick { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.inq-ok .d { fill: var(--blue); transform-box: fill-box; transform-origin: center; opacity: 0; }
.inq-ok.is-play .ring { animation: ok-ring .9s var(--ease-out) forwards; }
.inq-ok.is-play .tick { animation: ok-tick .5s var(--ease-out) .75s forwards; }
.inq-ok.is-play .d1 { animation: ok-d1 .9s var(--ease-out) forwards; }
.inq-ok.is-play .d2 { animation: ok-d2 .9s var(--ease-out) .08s forwards; }
.inq-ok.is-play .d3 { animation: ok-d3 .9s var(--ease-out) .16s forwards; }
@keyframes ok-ring { to { stroke-dashoffset: 0; } }
@keyframes ok-tick { to { stroke-dashoffset: 0; } }
@keyframes ok-d1 { 0% { opacity: 0; transform: translate(0, -60px) scale(.4); } 60% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(0, 30px) scale(.2); } }
@keyframes ok-d2 { 0% { opacity: 0; transform: translate(-70px, 30px) scale(.4); } 60% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(16px, 10px) scale(.2); } }
@keyframes ok-d3 { 0% { opacity: 0; transform: translate(70px, 30px) scale(.4); } 60% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-16px, 10px) scale(.2); } }
.inq-ok__title { font-size: 1.5rem; font-weight: 800; color: var(--ftx, var(--navy)); }
.inq-ok p { color: var(--flb, var(--muted)); max-width: 40ch; }
.contact__form .inq-ok .btn--ghost { color: #fff; }

/* ---------- Course registration request (blueprint §24, §27) ----------
   Only in the registration form (.inq--reg); the general Contact form keeps
   the shared rules above unchanged. */
.inq__course {
	display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px 14px; align-items: center;
	margin-bottom: 20px; padding: 14px 16px; border-radius: var(--r);
	background: rgba(107, 175, 70, .12); border: 1px solid rgba(107, 175, 70, .42);
}
.inq__course-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(107, 175, 70, .2); }
.inq__course-mark i { width: 12px; height: 12px; border-radius: 2px; transform: rotate(45deg); background: var(--green-2); }
.inq__course-b { display: grid; gap: 2px; min-width: 0; }
.inq__course-k { font-size: .78rem; font-weight: 700; color: var(--green-2); }
.inq__course-t { font-size: 1.08rem; font-weight: 800; line-height: 1.4; color: var(--ftx, var(--navy)); overflow-wrap: anywhere; }
.inq__course-m { font-size: .85rem; color: var(--flb, var(--muted)); }
.inq__course .fld__err { grid-column: 1 / -1; }
.inq--reg .inq__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.inq--reg .fld input:not([type="checkbox"]), .inq--reg .fld textarea { font-size: 1rem; min-height: 52px; scroll-margin-block: calc(var(--hdr-h) + 24px) 120px; }
.inq--reg .fld textarea { min-height: 84px; }
.inq--reg .inq__local { margin-top: 10px; font-size: .76rem; }
.inq--reg .fld input:not([type="checkbox"]):hover, .inq--reg .fld textarea:hover { border-color: rgba(184, 213, 239, .5); }
.inq--reg .fld input:focus, .inq--reg .fld textarea:focus { border-color: var(--sky); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(22, 136, 215, .28); }
.inq--reg .fld__err { display: flex; align-items: center; gap: 8px; }
.inq--reg .fld__err::before { content: ""; width: 7px; height: 7px; flex: none; transform: rotate(45deg); border-radius: 1px; background: currentColor; }
.inq--reg .fld--check { padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--fbd, var(--line)); background: rgba(255, 255, 255, .03); }
.inq--reg .fld--check label { color: var(--flb, var(--text)); }
.inq__note {
	display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 16px;
	padding-inline-start: 14px; border-inline-start: 2px solid var(--green-2);
	font-size: .86rem; line-height: 1.6; color: var(--flb, var(--muted));
}
.inq__note .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--green-2); }
.inq--reg .inq__foot { display: grid; gap: 12px; margin-top: 18px; }
.inq--reg .inq__submit { width: 100%; min-height: 56px; justify-content: center; white-space: normal; text-align: center; }
.inq--reg .inq__status:not(:empty) { padding: 12px 14px; border-radius: var(--r); background: rgba(255, 138, 128, .1); border: 1px solid rgba(255, 138, 128, .35); line-height: 1.5; }
.inq-ok__course { display: grid; gap: 2px; padding: 12px 18px; border-radius: var(--r); background: rgba(107, 175, 70, .12); border: 1px solid rgba(107, 175, 70, .42); max-width: 100%; }
.inq-ok__course span { font-size: .78rem; font-weight: 700; color: var(--green-2); }
.inq-ok__course strong { font-weight: 800; color: var(--ftx, var(--navy)); overflow-wrap: anywhere; }
@container regform (min-width: 470px) {
	.inq--reg .inq__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.inq--reg .fld--email { grid-column: 1 / -1; }
}

/* ---------- Article fallback ---------- */
.page { background: var(--paper); padding: calc(var(--hdr-h) + 60px) 0 100px; min-height: 80vh; }
.page__wrap { max-width: 780px; }
.page__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; color: var(--navy); margin-top: 14px; }
.page__body { margin-top: 28px; font-size: 1.1rem; }
.page__body p + p { margin-top: 1em; }
.page .link { margin-top: 40px; }
.page .back { rotate: 180deg; }

/* ---------- Footer (v0.7: brand · contact · services · company) ---------- */
.ftr {
	position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark-2);
	padding: clamp(56px, 7vw, 88px) 0 26px; border-top: 1px solid rgba(184, 213, 239, .08);
}
/* A quiet light source and a hairline in the brand gradient: premium, not loud. */
.ftr::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(55% 70% at 100% 0%, rgba(22, 136, 215, .13), transparent 62%),
		radial-gradient(40% 60% at 0% 100%, rgba(107, 175, 70, .07), transparent 60%);
}
.ftr::after {
	content: ""; position: absolute; inset-inline: 0; top: -1px; height: 1px; pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(22, 136, 215, .55) 30%, rgba(107, 175, 70, .55) 70%, transparent);
}
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); }
.ftr__slogan { margin-top: 20px; font-size: 1.15rem; font-weight: 700; color: #fff; max-width: 26ch; }
.ftr__about { margin-top: 10px; max-width: 44ch; font-size: .95rem; line-height: 1.75; }
.ftr__h { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 800; color: #fff; letter-spacing: var(--track-k); text-transform: var(--case); margin-bottom: 18px; }
.ftr__h::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--green); transform: rotate(45deg); }
.ftr__col ul { display: grid; gap: 6px; }
.ftr__col a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; transition: color .2s; }
.ftr__col a:hover, .ftr__col a[aria-current="page"] { color: #fff; }
.ftr__links a { position: relative; }
.ftr__links a::after {
	content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: var(--green-2);
	transform: scaleX(0); transform-origin: var(--start, left); transition: transform .35s var(--ease-out);
}
[dir="rtl"] .ftr__links a::after { transform-origin: right; }
.ftr__links a:hover::after, .ftr__links a:focus-visible::after, .ftr__links a[aria-current="page"]::after { transform: scaleX(1); }
.ftr__contact a { gap: 12px; }
.ftr__contact .ico { flex: none; width: 18px; height: 18px; color: var(--green); }
.ftr__contact bdi { overflow-wrap: anywhere; }
.ftr .langs { color: #fff; }
.ftr__base {
	display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
	margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(184, 213, 239, .1); font-size: .85rem;
}
.ftr__credit { color: rgba(169, 190, 214, .78); font-size: .82rem; }
.ftr__credit-name { font-weight: 700; color: var(--on-dark); unicode-bidi: isolate; }
.ftr__credit a { text-decoration: none; }
.ftr__credit a:hover .ftr__credit-name { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
	.ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.ftr__col--contact { grid-column: 1 / -1; }
	.ftr__base { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Phase 2: shared pieces for the multi-page site
   ========================================================================== */

/* ---------- Small shared rules ---------- */
.glyph .fill { fill: var(--green); stroke: none; }
.glyph .line { stroke: var(--green); }
.ico.back { rotate: 180deg; }
.ico.down { rotate: 90deg; }
[dir="rtl"] .ico.down { transform: none; }
[dir] .btn:hover .btn__ico.down { translate: 0 3px; }
[dir] .btn:hover .btn__ico.back { translate: -4px 0; }
[dir="rtl"] .btn:hover .btn__ico.back { translate: 4px 0; }
.btn--lg { min-height: 60px; padding-inline: 2em; font-size: 1.0625rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.cards .card { width: auto; flex: initial; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.prose { font-size: 1.08rem; color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.3; color: var(--navy); }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; font-weight: 800; line-height: 1.35; color: var(--navy); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--green-ink); }
.prose a { color: var(--blue-deep); font-weight: 500; }
.prose blockquote { margin-inline: 0; padding-inline-start: 1.1em; border-inline-start: 3px solid var(--green); font-size: 1.2rem; font-weight: 500; color: var(--navy); }
.prose img { border-radius: var(--r); }

/* Notice shown after a no-JS form post (?athar_nt). */
.nt {
	position: fixed; z-index: 60; inset-inline: var(--gutter); bottom: 20px; max-width: 560px; margin-inline: auto;
	padding: 14px 18px; border-radius: var(--r); background: var(--green); color: var(--ink); font-weight: 700;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); animation: rise .6s var(--ease-out) both;
}


/* ---------- Inner-page hero ---------- */
.phero {
	--gx: 82%; --gx2: 6%;
	--t1: rgba(22, 136, 215, .3); --t2: rgba(12, 69, 148, .42); /* one tint for every inner hero (the Training page's) */
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	padding: calc(var(--hdr-h) + clamp(40px, 5.5vw, 76px)) 0 calc(var(--sheet-r) + clamp(44px, 5.5vw, 76px)); /* no breadcrumbs (v0.8): equal space above and below */
	background:
		radial-gradient(55% 90% at var(--gx) 18%, var(--t1) 0%, transparent 66%),
		radial-gradient(45% 70% at var(--gx2) 100%, var(--t2) 0%, transparent 70%),
		linear-gradient(180deg, #071B33 0%, var(--ink) 100%);
}
[dir="rtl"] .phero { --gx: 18%; --gx2: 94%; }
.phero::after {
	content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none;
	background-image: radial-gradient(circle, rgba(184, 213, 239, .08) 1px, transparent 1.2px); background-size: 26px 26px;
	mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
@media (max-width: 700px) { .phero__canvas { opacity: .45; } }
.phero__in { position: relative; }

.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.phero__text { max-width: 860px; }
.phero__title {
	margin-top: 14px; font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; line-height: 1.02;
	letter-spacing: -0.03em; text-wrap: balance;
}
:root[dir="rtl"] .phero__title { line-height: 1.3; letter-spacing: 0; }
.phero__title em { background: linear-gradient(100deg, var(--sky) 0%, var(--blue) 45%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero--course .phero__title, .phero--article .phero__title { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.12; max-width: 26ch; }
:root[dir="rtl"] .phero--course .phero__title, :root[dir="rtl"] .phero--article .phero__title { line-height: 1.4; }
.phero__lede { margin-top: 18px; max-width: 58ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--on-dark-2); }
.phero__btn { margin-top: 28px; }
.phero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 18px; color: var(--on-dark-2); }
.phero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.phero__meta span::before { content: ""; width: 6px; height: 6px; background: var(--green); transform: rotate(45deg); border-radius: 1px; }
.phero__art { width: clamp(110px, 14vw, 200px); color: var(--sky); opacity: .9; }
.phero__art .glyph { width: 100%; height: auto; stroke-width: 1; }
@media (max-width: 700px) {
	.phero__grid { grid-template-columns: minmax(0, 1fr); }
	.phero__art { display: none; }
}

/* ---------- Closing band on section pages ---------- */
.ctaband {
	overflow: hidden; padding-block: clamp(52px, 6vw, 84px);
	background:
		radial-gradient(45% 120% at 100% 100%, rgba(107, 175, 70, .14), transparent 70%),
		radial-gradient(55% 110% at 0% 0%, rgba(22, 136, 215, .2), transparent 70%),
		var(--ink);
}
.ctaband__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.ctaband__text { max-width: 760px; }
.ctaband__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; line-height: var(--lh-h); letter-spacing: var(--track); color: #fff; text-wrap: balance; }
.ctaband__body { margin-top: 12px; max-width: 58ch; color: var(--on-dark-2); }

/* ---------- Home: concise About (two-image composition) ---------- */
.habout:focus { outline: none; } /* programmatic focus target of "Continue" */
.habout { z-index: 2; overflow: clip; overflow-clip-margin: 160px; }
.habout__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px clamp(40px, 6.5vw, 112px); align-items: center; }
.habout__text { max-width: 560px; }
.habout__title { margin-top: 18px; font-size: clamp(2rem, 3.7vw, 3.25rem); font-weight: 800; line-height: var(--lh-h); letter-spacing: var(--track); color: var(--navy); text-wrap: balance; }
.habout__rule { display: block; width: 72px; height: 3px; margin-block: clamp(22px, 2.6vw, 32px) 20px; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: 0 50%; }
[dir="rtl"] .habout__rule { background: linear-gradient(270deg, var(--blue), var(--green)); transform-origin: 100% 50%; }
.habout__body { font-size: clamp(1.05rem, 1.25vw, 1.15rem); color: var(--muted); max-width: 50ch; }
.habout__text .btn { margin-top: 32px; }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -16px rgba(9, 33, 61, .7); }
.btn--navy:hover { background: var(--blue-deep); }

.habout__media { position: relative; padding-block-start: 30px; padding-inline: 16% 30px; }
.habout__frame {
	position: absolute; top: 0; inset-inline-end: 0; width: 56%; height: 62%;
	border: 1.5px solid var(--sky); border-radius: var(--r); pointer-events: none;
}
.habout__dots {
	position: absolute; inset-inline-end: 0; bottom: -44px; width: 46%; height: 150px; pointer-events: none;
	background-image: radial-gradient(circle, rgba(12, 69, 148, .22) 1.2px, transparent 1.6px); background-size: 16px 16px;
	mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.habout__main {
	position: relative; z-index: 1; margin: 0; aspect-ratio: 4 / 5; max-height: 640px; overflow: hidden; border-radius: var(--r);
	background: var(--navy); box-shadow: 0 50px 90px -60px rgba(9, 33, 61, .8);
}
.habout__main::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.habout__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.habout__media:hover .habout__main img { transform: scale(1.035); }
.habout__sub {
	position: absolute; z-index: 2; inset-inline-start: 0; bottom: calc(-1 * clamp(56px, 6.4vw, 96px) - 28px);
	width: 38%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden;
	border: 8px solid var(--white); border-radius: var(--r); background: var(--white);
	box-shadow: 0 34px 60px -30px rgba(9, 33, 61, .55);
	translate: 0 var(--py, 0px);
}
.habout__sub img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.habout__main picture, .habout__sub picture { display: block; width: 100%; height: 100%; }
.habout__main img { object-position: 50% 30%; } /* keep the presenter's head clear of the top edge on any crop */
.habout__mark { position: absolute; z-index: 3; top: 54px; inset-inline-start: calc(16% - 22px); display: grid; gap: 9px; }
.habout__mark i { width: 11px; height: 11px; transform: rotate(45deg); border-radius: 1.5px; background: var(--blue); }
.habout__mark i:nth-child(2) { background: var(--green); }
.habout__mark i:nth-child(3) { background: var(--navy); }

@media (prefers-reduced-motion: no-preference) {
	html.js .habout__rule { transform: scaleX(0); transition: transform 1s var(--ease-out) .35s; }
	html.js .habout__text:has(.is-in) .habout__rule { transform: none; }
	html.js [data-habout] .habout__main { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); }
	html.js [data-habout] .habout__main img { transform: scale(1.12); }
	html.js [data-habout] .habout__sub { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out) .45s, transform 1.1s var(--ease-out) .45s; }
	html.js [data-habout] .habout__frame, html.js [data-habout] .habout__mark { opacity: 0; transition: opacity 1s .7s; }
	html.js [data-habout].is-in .habout__main { clip-path: inset(0 0 0 0); }
	html.js [data-habout].is-in .habout__main img { transform: none; }
	html.js [data-habout].is-in:hover .habout__main img { transform: scale(1.035); }
	html.js [data-habout].is-in .habout__sub { opacity: 1; transform: none; }
	html.js [data-habout].is-in .habout__frame, html.js [data-habout].is-in .habout__mark { opacity: 1; }
}

@media (max-width: 900px) {
	.habout__in { grid-template-columns: minmax(0, 1fr); }
	.habout__text { max-width: 640px; }
	.habout__media { max-width: 560px; width: 100%; margin-inline: auto; padding-inline: 14% 22px; padding-block-end: 44px; }
	.habout__sub { bottom: 0; width: 40%; border-width: 6px; }
	.habout__mark { top: 44px; inset-inline-start: calc(14% - 20px); }
	.habout__dots { bottom: 0; }
}

/* ---------- Home: training preview ---------- */
.htrain__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.htrain__h { margin-bottom: 14px; font-size: .85rem; font-weight: 700; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--on-dark-2); }
:root[dir="rtl"] .htrain__h { font-size: .95rem; }
.ftiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ftiles > li { display: flex; }
.ftile {
	display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 84px;
	padding: 16px 18px; border-radius: var(--r); text-decoration: none; color: #fff;
	background: rgba(184, 213, 239, .06); border: 1px solid rgba(184, 213, 239, .12);
	transition: background-color .25s, border-color .25s, transform .4s var(--ease-out);
}
.ftile:hover { background: rgba(22, 136, 215, .18); border-color: rgba(22, 136, 215, .45); transform: translateY(-2px); }
.ftile .glyph { width: 34px; height: 34px; color: var(--sky); }
.ftile__name { font-weight: 700; line-height: 1.35; }
.ftile__count { padding: 2px 9px; border-radius: 99px; font-size: .8rem; font-weight: 800; background: rgba(184, 213, 239, .1); color: var(--sky); transition: background-color .25s, color .25s; }
.ftile:hover .ftile__count { background: var(--green); color: var(--ink); }

.featlist { border-top: 1px solid rgba(184, 213, 239, .14); }
.featlist a {
	display: grid; grid-template-columns: 2.4em minmax(0, 1fr) 20px; grid-template-areas: "n t a" "n f a"; align-items: center; gap: 2px 12px;
	padding: 14px 4px; border-bottom: 1px solid rgba(184, 213, 239, .12); text-decoration: none;
}
.featlist__n { grid-area: n; font-size: .8rem; font-weight: 800; color: var(--green); }
.featlist__t { grid-area: t; font-weight: 700; line-height: 1.4; color: #fff; transition: color .2s; }
.featlist__f { grid-area: f; font-size: .82rem; color: var(--on-dark-2); }
.featlist__a { grid-area: a; width: 18px; color: var(--sky); transition: translate .3s var(--ease-out); }
.featlist a:hover .featlist__t { color: var(--green-2); }
.featlist a:hover .featlist__a { translate: 4px 0; }
[dir="rtl"] .featlist a:hover .featlist__a { translate: -4px 0; }

/* ---------- Home: credibility ---------- */
.cred__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cred__title { margin-top: .4em; max-width: 18ch; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; line-height: var(--lh-h); letter-spacing: var(--track); color: var(--navy); text-wrap: balance; }
.cred__name { margin-top: 22px; font-size: 1.5rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.cred__role { font-size: .95rem; font-weight: 700; color: var(--blue-deep); }
.cred__id .creds { margin-top: 16px; }
.cred__id .link { margin-top: 16px; }
.cred__nums { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
.cred__record {
	padding: clamp(22px, 3vw, 36px); border-radius: var(--r); color: #fff;
	background: radial-gradient(90% 80% at 100% 0%, rgba(22, 136, 215, .35), transparent 60%), var(--navy);
}
.cred__record .stat__num { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.cred__net { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.cred__netn { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.cred__nett { font-weight: 800; color: var(--navy); }
.cred__netd { font-size: .92rem; color: var(--muted); }

/* ---------- Home: insights tabs and contact call ---------- */
.ins-panel { outline-offset: 6px; }
.ins-panel__all { margin-top: 24px; }

.hcta {
	overflow: hidden; padding-bottom: clamp(64px, 7vw, 104px);
	background:
		radial-gradient(50% 90% at 100% 0%, rgba(22, 136, 215, .24), transparent 70%),
		radial-gradient(40% 80% at 0% 100%, rgba(107, 175, 70, .12), transparent 70%),
		var(--ink);
}
.hcta__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.hcta__body { margin-top: 16px; max-width: 52ch; font-size: 1.1rem; color: var(--on-dark-2); }
.hcta__act { display: grid; gap: 20px; justify-items: start; }
.hcta__direct { display: grid; gap: 2px; }
.hcta__direct a { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; text-decoration: none; color: var(--on-dark); transition: color .2s; }
.hcta__direct a:hover { color: var(--green-2); }
.hcta__direct .ico { color: var(--green); }
.hcta__direct bdi { font-weight: 700; overflow-wrap: anywhere; }

/* ---------- About page (v0.8) ---------- */
/* Intro: image composition on the start side, philosophy on the end side. */
.aintro { overflow: clip; overflow-clip-margin: 120px; }
.aintro__in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px clamp(40px, 6.5vw, 112px); align-items: center; }
.aintro__media { position: relative; padding-block: 34px 70px; padding-inline: 30px 17%; }
.aintro__frame {
	position: absolute; top: 0; inset-inline-start: 0; width: 58%; height: 64%;
	border: 1.5px solid var(--sky); border-radius: var(--r); pointer-events: none;
}
.aintro__dots {
	position: absolute; inset-inline-end: 4%; top: -24px; width: 40%; height: 140px; pointer-events: none;
	background-image: radial-gradient(circle, rgba(12, 69, 148, .22) 1.2px, transparent 1.6px); background-size: 16px 16px;
	mask-image: linear-gradient(0deg, transparent, #000); -webkit-mask-image: linear-gradient(0deg, transparent, #000);
}
.aintro__main {
	position: relative; z-index: 1; margin: 0; aspect-ratio: 4 / 5; max-height: 620px; overflow: hidden; border-radius: var(--r);
	background: var(--navy); box-shadow: 0 50px 90px -60px rgba(9, 33, 61, .8);
}
.aintro__main::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.aintro__main picture, .aintro__sub picture { display: block; width: 100%; height: 100%; }
.aintro__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.4s var(--ease-out); }
.aintro__media:hover .aintro__main img { transform: scale(1.035); }
.aintro__sub {
	position: absolute; z-index: 2; inset-inline-end: 0; top: 22%;
	width: 36%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden;
	border: 8px solid var(--white); border-radius: var(--r); background: var(--white);
	box-shadow: 0 34px 60px -30px rgba(9, 33, 61, .55);
	translate: 0 var(--py, 0px);
}
.aintro__sub img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.aintro__badge {
	position: absolute; z-index: 3; bottom: 26px; inset-inline-start: 0; min-width: 220px;
	padding: 18px 22px; border-radius: var(--r); color: #fff;
	background: radial-gradient(120% 120% at 100% 0%, rgba(22, 136, 215, .35), transparent 60%), var(--navy);
	box-shadow: 0 30px 50px -28px rgba(9, 33, 61, .7);
}
.aintro__badge-t { font-size: .8rem; font-weight: 700; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--sky); }
:root[dir="rtl"] .aintro__badge-t { font-size: .9rem; }
.aintro__badge ul { display: grid; gap: 6px; margin-top: 10px; }
.aintro__badge li { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.aintro__badge li::before { content: ""; width: 8px; height: 8px; flex: none; transform: rotate(45deg); border-radius: 1.5px; background: var(--sky); }
.aintro__badge li:nth-child(2)::before { background: var(--blue); }
.aintro__badge li:nth-child(3)::before { background: var(--green); }
.aintro__text { max-width: 600px; }
.aintro__title { margin-top: 18px; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800; line-height: var(--lh-h); letter-spacing: var(--track); color: var(--navy); text-wrap: balance; }
.aintro__rule { display: block; width: 72px; height: 3px; margin-block: clamp(22px, 2.6vw, 32px) 20px; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: 0 50%; }
[dir="rtl"] .aintro__rule { transform-origin: 100% 50%; }
.aintro__body { font-size: clamp(1.05rem, 1.25vw, 1.15rem); color: var(--text); max-width: 52ch; }
.aintro__body--2 { margin-top: 14px; color: var(--muted); }
.aphil__words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.aphil__words li { padding: 8px 16px; border-radius: 99px; font-weight: 700; color: var(--navy); background: var(--paper); border: 1px solid var(--line); }
.aphil__words li:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
	html.js .aintro__rule { transform: scaleX(0); transition: transform 1s var(--ease-out) .35s; }
	html.js .aintro__text:has(.is-in) .aintro__rule { transform: none; }
	html.js [data-habout] .aintro__main { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); }
	html.js [data-habout] .aintro__main img { transform: scale(1.12); }
	html.js [data-habout] .aintro__sub { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out) .45s, transform 1.1s var(--ease-out) .45s; }
	html.js [data-habout] .aintro__badge { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out) .8s, transform .9s var(--ease-out) .8s; }
	html.js [data-habout] .aintro__frame, html.js [data-habout] .aintro__dots { opacity: 0; transition: opacity 1s .7s; }
	html.js [data-habout].is-in .aintro__main { clip-path: inset(0 0 0 0); }
	html.js [data-habout].is-in .aintro__main img { transform: none; }
	html.js [data-habout].is-in:hover .aintro__main img { transform: scale(1.035); }
	html.js [data-habout].is-in .aintro__sub, html.js [data-habout].is-in .aintro__badge { opacity: 1; transform: none; }
	html.js [data-habout].is-in .aintro__frame, html.js [data-habout].is-in .aintro__dots { opacity: 1; }
}

@media (max-width: 900px) {
	.aintro__in { grid-template-columns: minmax(0, 1fr); }
	.aintro__text { order: -1; max-width: 640px; }
	.aintro__media { max-width: 560px; width: 100%; margin-inline: auto; padding-inline: 22px 14%; padding-block: 28px 60px; }
	.aintro__sub { width: 38%; border-width: 6px; }
	.aintro__badge { min-width: 0; padding: 14px 18px; bottom: 14px; }
	.aintro__badge li { font-size: .95rem; }
}

/* Practices */
.apill__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.apill__item {
	position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
	padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
	transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.apill__item::before {
	content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out);
}
[dir="rtl"] .apill__item::before { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--blue), var(--green)); }
.apill__item:hover, .apill__item:has(:focus-visible) { transform: translateY(-4px); border-color: rgba(22, 136, 215, .35); box-shadow: 0 30px 60px -40px rgba(9, 33, 61, .45); }
.apill__item:hover::before, .apill__item:has(:focus-visible)::before { transform: none; }
.apill__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.apill__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: var(--sky); }
.apill__ico .glyph { width: 30px; height: 30px; }
.apill__n {
	font-size: clamp(2.4rem, 3.8vw, 3.2rem); font-weight: 900; line-height: 1;
	background: linear-gradient(180deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.apill__name { font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 800; line-height: 1.2; color: var(--navy); }
.apill__word { font-weight: 800; color: var(--green-ink); }
.apill__word span { font-weight: 500; color: var(--muted); }
.apill__text { color: var(--muted); }
.apill__item .link { margin-top: auto; align-self: flex-start; padding-top: 8px; }
@media (max-width: 900px) {
	.apill__list { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 561px) and (max-width: 900px) {
	.apill__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 26px; row-gap: 10px; align-content: start; }
	.apill__top { grid-row: 1 / span 4; flex-direction: column; justify-content: flex-start; gap: 12px; margin: 0; }
	.apill__item .link { justify-self: start; padding-top: 4px; }
}

/* ---------- Training page ---------- */
.tintro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.tintro__method { margin-top: 16px; max-width: 30ch; font-size: clamp(1.35rem, 2.3vw, 1.95rem); font-weight: 700; line-height: 1.4; color: var(--navy); text-wrap: pretty; }
:root[dir="rtl"] .tintro__method { line-height: 1.7; }
.pkg {
	padding: clamp(24px, 3vw, 36px); border-radius: var(--r); color: var(--on-dark);
	background: radial-gradient(80% 80% at 100% 0%, rgba(22, 136, 215, .35), transparent 60%), var(--navy);
}
[dir="rtl"] .pkg { background: radial-gradient(80% 80% at 0% 0%, rgba(22, 136, 215, .35), transparent 60%), var(--navy); }
.pkg__h { font-size: 1.4rem; font-weight: 800; color: #fff; }
.pkg__p { margin-top: 8px; color: var(--on-dark-2); }
.pkg__parts { display: grid; gap: 8px; margin-top: 20px; }
.pkg__parts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); font-weight: 700; background: rgba(184, 213, 239, .07); }
.pkg__parts span { font-size: .78rem; font-weight: 800; color: var(--green-2); }

/* ---------- Course page (blueprint §24, §27) ----------
   Two balanced columns on desktop: the registration request first (right in
   Arabic, left in English), the course information beside it. The form pins
   below the header on wide screens (.is-sticky, set by JS; a form taller than
   the viewport scrolls until its far edge shows, then holds). */
.course { padding-top: clamp(48px, 6vw, 80px); }
.course__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 88px); align-items: start; }
.course__main { display: grid; gap: clamp(36px, 4vw, 52px); align-content: start; min-width: 0; }
.course__h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.course__h::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--green); transform: rotate(45deg); border-radius: 1.5px; }
.course__media { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.course__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.course__main .lede { margin-top: 0; }
.course__main .prose { margin-top: 14px; }
.course__topics { display: grid; counter-reset: t; border-top: 1px solid var(--line); }
.course__topics li { counter-increment: t; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--line); }
.course__topics li::before { content: counter(t, decimal-leading-zero); font-size: .85rem; font-weight: 800; color: var(--blue); padding-top: .15em; }
.course__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.course__facts div { padding: 16px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.course__block + .course__facts { margin-top: calc(16px - clamp(36px, 4vw, 52px)); }
.course__facts dt { font-size: .82rem; font-weight: 700; color: var(--muted); }
.course__facts dd { margin-top: 4px; font-weight: 800; color: var(--navy); }
.course__facts dd a { color: inherit; text-decoration: underline; text-decoration-color: rgba(12, 69, 148, .3); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.course__facts dd a:hover { color: var(--blue-deep); text-decoration-color: currentColor; }
.course__pending { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px dashed rgba(12, 69, 148, .3); }
.course__pending .glyph { width: 44px; height: 44px; color: var(--blue-deep); }
.course__pending p { line-height: 1.7; }
.course__fnote { max-width: 62ch; margin: -4px 0 18px; color: var(--muted); }
.course__modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.course__modes li { display: grid; grid-template-rows: auto auto 1fr; gap: 8px; align-content: start; padding: 12px 12px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.course__mode-art { display: grid; place-items: center; margin-bottom: 6px; padding: 14px 10px; border-radius: calc(var(--r) - 2px); background: radial-gradient(90% 90% at 100% 0%, rgba(22, 136, 215, .3), transparent 65%), var(--navy); }
.course__mode-art .mode-art { width: 100%; max-width: 150px; height: auto; }
.course__modes h3 { padding-inline: 8px; font-size: 1.02rem; font-weight: 800; line-height: 1.35; color: var(--navy); }
.course__modes p { padding-inline: 8px; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.course__method p { max-width: 62ch; font-size: 1.05rem; line-height: 1.75; color: var(--muted); }
.course__ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 8px; margin-top: 18px; }
.course__ways li { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 99px; font-weight: 700; color: var(--navy); background: var(--paper); border: 1px solid var(--line); }
[dir="rtl"] .course__ways li { padding: 9px 10px 9px 14px; }
.course__ways span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; font-size: .72rem; font-weight: 800; color: #fff; background: var(--blue-deep); }
.course__aside { min-width: 0; }
.course__aside, .course__alias { scroll-margin-top: calc(var(--hdr-h) + var(--wpbar, 0px) + 16px); }
.course__alias { display: block; height: 0; }
.course__aside.is-sticky { position: sticky; top: var(--stick-top, calc(var(--hdr-h) + 24px)); }
.course__form {
	--fbg: rgba(255, 255, 255, .06); --fbd: rgba(184, 213, 239, .26); --ftx: #fff; --flb: var(--on-dark-2); --ferr: var(--err-dark);
	container: regform / inline-size;
	position: relative; overflow: hidden;
	padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r); color: #fff;
	background: radial-gradient(80% 50% at 100% 0%, rgba(22, 136, 215, .32), transparent 65%), radial-gradient(60% 40% at 0% 100%, rgba(107, 175, 70, .1), transparent 70%), var(--navy);
	box-shadow: 0 40px 80px -50px rgba(9, 33, 61, .7);
}
[dir="rtl"] .course__form { background: radial-gradient(80% 50% at 0% 0%, rgba(22, 136, 215, .32), transparent 65%), radial-gradient(60% 40% at 100% 100%, rgba(107, 175, 70, .1), transparent 70%), var(--navy); }
.course__form::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
[dir="rtl"] .course__form::before { background: linear-gradient(270deg, var(--blue), var(--green)); }
.course__form :focus-visible { outline-color: var(--green-2); }
.course__form-head { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(184, 213, 239, .16); }
.course__form-h { font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 800; line-height: 1.3; color: #fff; }
.course__form-sub { margin-top: 8px; max-width: 56ch; font-size: .96rem; line-height: 1.6; color: var(--on-dark-2); }
.course__form .fld select option, .course__form .fld select optgroup { color: var(--text); background: #fff; }
.course__form .inq-ok { padding: 28px 4px 8px; }
.course__form .inq-ok .btn--ghost { color: #fff; }

.crel { padding-bottom: clamp(64px, 7vw, 100px); }
.crel .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.crel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.crel__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy); transition: color .2s; }
.crel__list a:hover { color: var(--blue-deep); }
.crel__list .ico { color: var(--green-ink); transition: translate .3s var(--ease-out); }
.crel__list a:hover .ico { translate: 4px 0; }
[dir="rtl"] .crel__list a:hover .ico { translate: -4px 0; }
.crel__back { margin-top: 32px; color: var(--navy); }

/* ---------- Consulting page (blueprint §25) ---------- */
/* 1. Introduction + planning-table illustration */
.cintro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.cintro__title { max-width: 20ch; font-size: clamp(1.8rem, 3.1vw, 2.6rem); }
.cintro__text .lede { margin-top: 1.2rem; }
.cintro__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cintro__list li { display: grid; grid-template-columns: 14px minmax(0, 13rem) minmax(0, 1fr); gap: 6px 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cintro__list strong { font-weight: 800; color: var(--navy); }
.cintro__list span:last-child { font-size: .95rem; color: var(--muted); }
.cintro__dot { width: 9px; height: 9px; rotate: 45deg; border-radius: 2px; background: var(--green); translate: 0 -1px; }
.cvis { position: relative; margin: 0; padding-bottom: 12%; --px: 0; --py: 0; }
.cvis__a, .cvis__b { overflow: hidden; border-radius: var(--r); }
.cvis__a { width: 88%; aspect-ratio: 640 / 520; box-shadow: 0 30px 60px -30px rgba(6, 23, 43, .55); }
.cvis__b {
	position: absolute; inset-inline-end: 0; bottom: 0; width: 40%; aspect-ratio: 400 / 440;
	border: 6px solid var(--white); box-shadow: 0 24px 50px -22px rgba(6, 23, 43, .5);
}
.cvis svg, .cvis img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cvis__layer { transition: transform .6s var(--ease-out); }
.cvis__layer--docs, .cvis__layer--sheet { transform: translate(calc(var(--px) * 7px), calc(var(--py) * 5px)); }
.cvis__layer--props, .cvis__layer--pen { transform: translate(calc(var(--px) * 12px), calc(var(--py) * 9px)); }
.cvis__layer--seats { transform: translate(calc(var(--px) * -4px), calc(var(--py) * -3px)); }
.cvis__b { transform: translate(calc(var(--px) * 8px), calc(var(--py) * 6px)); transition: transform .6s var(--ease-out); }
.cvis__links path { stroke-dasharray: .022 .03; }
@media (prefers-reduced-motion: no-preference) {
	html.js .cvis { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
	html.js .cvis.is-in { opacity: 1; transform: none; }
	html.js .cvis .cvis__loop, html.js .cvis .cvis__gauge, html.js .cvis .cvis__mark { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .5s; }
	html.js .cvis.is-in .cvis__loop, html.js .cvis.is-in .cvis__gauge, html.js .cvis.is-in .cvis__mark { stroke-dashoffset: 0; }
	html.js .cvis .cvis__links path { opacity: 0; transition: opacity .8s ease .9s; }
	html.js .cvis.is-in .cvis__links path { opacity: 1; }
	html.js .cvis .cvis__bars rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--ease-out); }
	html.js .cvis .cvis__bars rect:nth-child(2) { transition-delay: .08s; }
	html.js .cvis .cvis__bars rect:nth-child(3) { transition-delay: .16s; }
	html.js .cvis .cvis__bars rect:nth-child(4) { transition-delay: .24s; }
	html.js .cvis .cvis__bars rect:nth-child(5) { transition-delay: .32s; }
	html.js .cvis .cvis__bars rect:nth-child(6) { transition-delay: .4s; }
	html.js .cvis.is-in .cvis__bars rect { transform: none; }
	html.js .cvis .cvis__b { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease-out) .35s, translate 1s var(--ease-out) .35s, transform .6s var(--ease-out); }
	html.js .cvis.is-in .cvis__b { opacity: 1; translate: none; }
}

/* 2. How the services connect: an illustrative loop */
.cflow__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.cflow__head .lede { margin-top: 0; color: var(--on-dark-2); }
.cflow__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; --a: -1; }
.cflow__ring { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; }
.cflow__ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cflow__track { stroke: rgba(184, 213, 239, .12); stroke-width: 1.5; }
.cflow__arc { fill: none; stroke: rgba(184, 213, 239, .55); stroke-width: 2.2; stroke-linecap: round; transition: stroke .3s, stroke-width .3s, opacity .3s; }
.cflow__arc--back { stroke: var(--green-2); stroke-dasharray: .03 .025; }
.cflow__node circle { fill: var(--navy-2); stroke: var(--blue); stroke-width: 2; transition: fill .3s, stroke .3s, r .3s; }
.cflow__node text { fill: #fff; font-family: var(--font); font-size: 13px; font-weight: 800; pointer-events: none; }
.cflow__node--end circle { fill: var(--green); stroke: var(--green); }
.cflow__node--end text { fill: var(--ink); }
.cflow__core { position: absolute; inset: 28%; display: grid; place-items: center; margin: 0; text-align: center; border-radius: 50%; background: radial-gradient(circle, rgba(22, 136, 215, .16), transparent 70%); }
.cflow__core span { font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 800; line-height: 1.3; color: #fff; transition: opacity .25s; }
.cflow__core span.is-swap { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	html.js .cflow__arc:not(.cflow__arc--back) { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
	html.js .cflow__grid:not(.is-in) .cflow__arc { opacity: 0; }
	html.js .cflow__grid.is-in .cflow__arc { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-out) calc(var(--d) * .28s + .2s), opacity .4s ease calc(var(--d) * .28s + .2s), stroke .3s, stroke-width .3s; }
	html.js .cflow__node { transform-box: fill-box; transform-origin: center; }
	html.js .cflow__grid:not(.is-in) .cflow__node { opacity: 0; transform: scale(.4); }
	html.js .cflow__grid.is-in .cflow__node { transition: opacity .5s ease calc(var(--d) * .28s), transform .7s var(--ease-out) calc(var(--d) * .28s); }
	html.js .cflow__grid.is-done .cflow__arc, html.js .cflow__grid.is-done .cflow__node { transition-delay: 0s; transition-duration: .3s; }
}
/* Active stage (hover / tap): its node, its outgoing arc and its row. */
.cflow__grid[data-a] .cflow__arc, .cflow__grid[data-a] .cflow__node { opacity: .45; }
.cflow__grid[data-a="0"] [data-i="0"], .cflow__grid[data-a="1"] [data-i="1"], .cflow__grid[data-a="2"] [data-i="2"],
.cflow__grid[data-a="3"] [data-i="3"], .cflow__grid[data-a="4"] [data-i="4"] { opacity: 1; }
.cflow__grid[data-a="0"] .cflow__arc[data-i="0"], .cflow__grid[data-a="1"] .cflow__arc[data-i="1"], .cflow__grid[data-a="2"] .cflow__arc[data-i="2"],
.cflow__grid[data-a="3"] .cflow__arc[data-i="3"], .cflow__grid[data-a="4"] .cflow__arc[data-i="4"] { stroke: var(--green-2); stroke-width: 3.4; }
.cflow__grid[data-a="0"] .cflow__node[data-i="0"] circle, .cflow__grid[data-a="1"] .cflow__node[data-i="1"] circle, .cflow__grid[data-a="2"] .cflow__node[data-i="2"] circle,
.cflow__grid[data-a="3"] .cflow__node[data-i="3"] circle { fill: var(--blue); stroke: var(--sky); }
.cflow__list { list-style: none; margin: 0; padding: 0; counter-reset: none; border-top: 1px solid rgba(184, 213, 239, .16); }
.cflow__stage {
	position: relative; display: grid; grid-template-columns: 44px minmax(0, 9.5rem) minmax(0, 1fr); gap: 4px 18px; align-items: baseline;
	padding: 16px 14px; border-bottom: 1px solid rgba(184, 213, 239, .16); cursor: default; transition: background-color .3s;
}
.cflow__stage::before { content: ""; position: absolute; inset-block: -1px; inset-inline-start: 0; width: 3px; background: var(--green); transform: scaleY(0); transition: transform .35s var(--ease-out); }
.cflow__stage.is-on { background: rgba(22, 136, 215, .1); }
.cflow__stage.is-on::before { transform: none; }
.cflow__n { font-size: .8rem; font-weight: 800; color: var(--sky); letter-spacing: .04em; }
.cflow__stage:last-child .cflow__n { color: var(--green-2); }
.cflow__name { margin: 0; font-size: 1.2rem; font-weight: 800; line-height: 1.3; color: #fff; }
.cflow__svc { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--on-dark-2); }
.cflow__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; margin-top: clamp(32px, 4vw, 52px); padding-top: 22px; border-top: 1px solid rgba(184, 213, 239, .16); }
.cflow__along { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; font-weight: 700; color: #fff; }
.cflow__tag { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(139, 203, 99, .5); font-size: .8rem; font-weight: 800; color: var(--green-2); }
.cflow__note { margin: 0; max-width: 52ch; font-size: .9rem; color: var(--on-dark-2); }

/* 3. Five areas: master-detail at desktop, accordion below 900px */
.careas__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.careas__head .lede { margin-top: 0; }
.careas__h { margin: 0; font-size: inherit; }
.careas__tab {
	position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 12px; align-items: center; width: 100%;
	padding: 18px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: inherit; text-align: start; color: var(--navy); cursor: pointer;
	transition: background-color .25s, color .25s;
}
.careas__tab::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--green); transform: scaleY(0); transition: transform .35s var(--ease-out); }
.careas__n { font-size: .8rem; font-weight: 800; color: var(--blue-deep); letter-spacing: .04em; }
.careas__t { font-size: 1.05rem; font-weight: 800; line-height: 1.4; }
.careas__chev { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease-out), color .25s; }
.careas__tab:hover { background: rgba(22, 136, 215, .06); }
.careas__tab[aria-expanded="true"] { background: var(--white); }
.careas__tab[aria-expanded="true"]::before { transform: none; }
.careas__tab[aria-expanded="true"] .careas__chev { color: var(--green-ink); }
.careas__tab:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.careas__panel { position: relative; }
.careas__in { position: relative; overflow: hidden; padding: 24px 16px 28px 62px; }
:root[dir="rtl"] .careas__in { padding: 24px 62px 28px 16px; }
.careas__big { display: none; }
.careas__sum { margin: 0; max-width: 54ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.6; color: var(--text); }
.careas__label { margin: 24px 0 10px; font-size: .78rem; font-weight: 800; text-transform: var(--case); letter-spacing: var(--track-k); color: var(--muted); }
:root[dir="rtl"] .careas__label { font-size: .9rem; }
.careas__covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px 20px; }
.careas__covers li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 600; color: var(--navy); }
.careas__covers .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--green-ink); }
.careas__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.careas__link {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--paper); font-size: .9rem; font-weight: 700; color: var(--navy); text-decoration: none; transition: border-color .2s, background-color .2s;
}
.careas__link span { font-size: .75rem; font-weight: 800; color: var(--blue-deep); }
.careas__link:hover { border-color: var(--blue); background: var(--white); }
.careas__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 800; color: var(--blue-deep); text-decoration: none; }
.careas__more .ico { width: 18px; height: 18px; transition: translate .3s var(--ease-out); }
.careas__more:hover .ico { translate: 4px 0; }
[dir="rtl"] .careas__more:hover .ico { translate: -4px 0; }
html.js .careas__panel[hidden] { display: none; }
html.js .careas__panel.is-shown .careas__in > * { animation: careasIn .5s var(--ease-out) both; }
html.js .careas__panel.is-shown .careas__in > :nth-child(n+3) { animation-delay: .06s; }
html.js .careas__panel.is-shown .careas__in > :nth-child(n+5) { animation-delay: .12s; }
@keyframes careasIn { from { opacity: 0; transform: translateY(10px); } }
.careas__tab[aria-expanded="true"] .careas__chev { transform: rotate(90deg); }
@media (min-width: 901px) {
	html.js .careas__x { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); grid-auto-rows: auto; align-items: stretch; border-top: 1px solid var(--line); }
	html.js .careas__h { grid-column: 1; grid-row: var(--r); }
	html.js .careas__panel { grid-column: 2; grid-row: 1 / span 6; }
	html.js .careas__tab { padding-block: 20px; }
	html.js .careas__tab[aria-expanded="true"] { color: var(--navy); }
	html.js .careas__tab[aria-expanded="true"] .careas__chev { transform: none; }
	html.js .careas__in {
		height: 100%; padding: clamp(32px, 4vw, 52px); background: var(--white); border-inline-start: 1px solid var(--line);
		background-image: radial-gradient(420px circle at var(--mx, 80%) var(--my, 20%), rgba(22, 136, 215, .07), transparent 70%);
	}
	html.js .careas__big {
		display: block; position: absolute; top: -.12em; inset-inline-end: .08em; font-size: clamp(7rem, 12vw, 11rem); font-weight: 900; line-height: 1;
		color: transparent; -webkit-text-stroke: 1.5px rgba(12, 69, 148, .12); pointer-events: none; user-select: none;
	}
	html.js .careas__sum { position: relative; font-size: clamp(1.2rem, 1.7vw, 1.45rem); padding-inline-end: 3.5em; }
}
@media (max-width: 900px) {
	.cintro__grid, .cflow__head, .careas__head { grid-template-columns: minmax(0, 1fr); }
	.cintro__grid { gap: 48px; }
	.cflow__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.cflow__ring { max-width: 340px; }
	.cflow__list { width: 100%; }
}
@media (max-width: 600px) {
	.cintro__list li { grid-template-columns: 14px minmax(0, 1fr); }
	.cintro__list li > span:last-child { grid-column: 2; }
	.cflow__ring { max-width: 290px; }
	.cflow__stage { grid-template-columns: 34px minmax(0, 1fr); padding-inline: 10px; }
	.cflow__svc { grid-column: 2; }
	.cvis { padding-bottom: 16%; }
	.cvis__a { width: 90%; }
	.cvis__b { width: 44%; border-width: 4px; }
	.careas__in { padding: 20px 12px 24px 12px; }
	:root[dir="rtl"] .careas__in { padding: 20px 12px 24px 12px; }
	.careas__tab { padding: 16px 10px; grid-template-columns: 28px minmax(0, 1fr) 18px; }
}

/* ---------- Marketing page: the chain and the service index ---------- */
.mflow__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.mflow__head .h2 { margin-top: 0; }
.mflow__head .lede { margin-top: 0; color: var(--on-dark-2); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.chain li {
	position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 99px;
	font-weight: 700; color: #fff; background: rgba(184, 213, 239, .08); border: 1px solid rgba(184, 213, 239, .16);
}
[dir="rtl"] .chain li { padding: 10px 10px 10px 18px; }
.chain li:not(:last-child)::after { content: ""; position: absolute; top: 50%; inset-inline-end: -21px; width: 16px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }
[dir="rtl"] .chain li:not(:last-child)::after { background: linear-gradient(270deg, var(--blue), var(--green)); }
.chain__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .8rem; font-weight: 800; background: var(--green); color: var(--ink); }
.chain li:last-child { background: rgba(107, 175, 70, .16); border-color: rgba(107, 175, 70, .5); }
@media (prefers-reduced-motion: no-preference) {
	html.js .chain li { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i) * 80ms + 150ms); }
	html.js .chain.is-in li { opacity: 1; transform: none; }
}

.msvc__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 28px clamp(32px, 5vw, 80px); align-items: start; }
.msvc__list { border-top: 1px solid var(--line); }
.msvc__row {
	position: relative; display: grid; grid-template-columns: 3em minmax(0, 1fr); grid-template-areas: "n t" "n d"; gap: 6px 16px;
	padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 24px);
}
.msvc__row::before { content: ""; position: absolute; inset-inline-start: -1px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--green)); transform: scaleY(0); transition: transform .45s var(--ease-out); }
.msvc__row:hover::before, .msvc__row:target::before { transform: none; }
.msvc__n { grid-area: n; padding-top: .35em; padding-inline-start: 14px; font-size: .9rem; font-weight: 800; color: var(--blue); }
.msvc__t { grid-area: t; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 800; line-height: 1.3; color: var(--navy); }
.msvc__d { grid-area: d; max-width: 60ch; color: var(--muted); }

/* ---------- Marketing services visual (blueprint §26) ----------
   Framed like the homepage / About images: thin outline frame, dot field,
   three diamonds, a 4:5 main frame and a smaller overlapping detail frame.
   Code-drawn fill until the owner photo is added (views/marketing.php).
   The aside (title + visual) pins while the list scrolls on tall desktops. */
.msvc__aside { min-width: 0; }
.mvis { position: relative; max-width: 440px; margin-top: clamp(32px, 3.4vw, 48px); padding-block: 26px 64px; padding-inline: 14% 26px; }
.mvis__frame { position: absolute; top: 0; inset-inline-end: 0; width: 58%; height: 60%; border: 1.5px solid var(--sky); border-radius: var(--r); pointer-events: none; }
.mvis__dots {
	position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; height: 130px; pointer-events: none;
	background-image: radial-gradient(circle, rgba(12, 69, 148, .22) 1.2px, transparent 1.6px); background-size: 16px 16px;
	mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.mvis__main {
	position: relative; z-index: 1; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r);
	background: var(--navy); box-shadow: 0 50px 90px -60px rgba(9, 33, 61, .8);
}
.mvis__main::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
[dir="rtl"] .mvis__main::after { background: linear-gradient(270deg, var(--blue), var(--green)); }
.mvis__main svg, .mvis__sub svg, .mvis picture, .mvis img { display: block; width: 100%; height: 100%; }
.mvis img { object-fit: cover; transition: transform 1.4s var(--ease-out); }
.mvis--photo:hover .mvis__main img { transform: scale(1.03); }
.mvis__sub {
	position: absolute; z-index: 2; inset-inline-start: 0; bottom: 0; width: 34%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden;
	border: 6px solid var(--white); border-radius: var(--r); background: var(--white); box-shadow: 0 30px 56px -28px rgba(9, 33, 61, .55);
}
.mvis__mark { position: absolute; z-index: 3; top: 52px; inset-inline-start: calc(14% - 22px); display: grid; gap: 9px; }
.mvis__mark i { width: 11px; height: 11px; transform: rotate(45deg); border-radius: 1.5px; background: var(--blue); }
.mvis__mark i:nth-child(2) { background: var(--green); }
.mvis__mark i:nth-child(3) { background: var(--navy); }
.mvis__node > circle:first-child { fill: #0C2E57; stroke: #B8D5EF; stroke-opacity: .45; transition: fill .3s, stroke .3s, stroke-opacity .3s; }
.mvis__hl { opacity: 0; transition: opacity .3s; pointer-events: none; }
@media (hover: hover) {
	.msvc__grid:has(#svc-plan:hover) .mvis__hl[data-k~="plan"],
	.msvc__grid:has(#svc-plan:target) .mvis__hl[data-k~="plan"],
	.msvc__grid:has(#svc-social:hover) .mvis__hl[data-k~="social"],
	.msvc__grid:has(#svc-social:target) .mvis__hl[data-k~="social"],
	.msvc__grid:has(#svc-measure:hover) .mvis__hl[data-k~="measure"],
	.msvc__grid:has(#svc-measure:target) .mvis__hl[data-k~="measure"] { opacity: 1; }
	.msvc__grid:has(#svc-social:hover) .mvis__node[data-k~="social"] > circle:first-child,
	.msvc__grid:has(#svc-social:target) .mvis__node[data-k~="social"] > circle:first-child,
	.msvc__grid:has(#svc-google:hover) .mvis__node[data-k~="google"] > circle:first-child,
	.msvc__grid:has(#svc-google:target) .mvis__node[data-k~="google"] > circle:first-child,
	.msvc__grid:has(#svc-youtube:hover) .mvis__node[data-k~="youtube"] > circle:first-child,
	.msvc__grid:has(#svc-youtube:target) .mvis__node[data-k~="youtube"] > circle:first-child,
	.msvc__grid:has(#svc-seo:hover) .mvis__node[data-k~="seo"] > circle:first-child,
	.msvc__grid:has(#svc-seo:target) .mvis__node[data-k~="seo"] > circle:first-child,
	.msvc__grid:has(#svc-geo:hover) .mvis__node[data-k~="geo"] > circle:first-child,
	.msvc__grid:has(#svc-geo:target) .mvis__node[data-k~="geo"] > circle:first-child,
	.msvc__grid:has(#svc-email:hover) .mvis__node[data-k~="email"] > circle:first-child,
	.msvc__grid:has(#svc-email:target) .mvis__node[data-k~="email"] > circle:first-child { fill: var(--blue); stroke: #fff; stroke-opacity: 1; }
}
@media (min-width: 901px) and (min-height: 780px) {
	.msvc__aside { position: sticky; top: calc(var(--hdr-h) + 28px); }
}
@media (max-width: 900px) {
	.mvis { margin-inline: auto; margin-top: 28px; max-width: 460px; padding-block: 22px 56px; padding-inline: 12% 20px; }
	.mvis__mark { top: 42px; inset-inline-start: calc(12% - 20px); }
}
@media (prefers-reduced-motion: no-preference) {
	html.js [data-mvis] .mvis__main { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out); }
	html.js [data-mvis] .mvis__sub { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out) .5s, transform 1.1s var(--ease-out) .5s; }
	html.js [data-mvis] .mvis__frame, html.js [data-mvis] .mvis__mark, html.js [data-mvis] .mvis__dots { opacity: 0; transition: opacity 1s .7s; }
	html.js [data-mvis] .mvis__trend { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .8s; }
	html.js [data-mvis] .mvis__area { opacity: 0; transition: opacity 1s 1.4s; }
	html.js [data-mvis] .mvis__links { opacity: 0; transition: opacity .8s 1.2s; }
	html.js [data-mvis] .mvis__node { opacity: 0; transition: opacity .5s; transition-delay: calc(1.1s + var(--n) * 110ms); }
	html.js [data-mvis] .mvis__post { opacity: 0; transition: opacity .4s; transition-delay: calc(1.2s + var(--c) * 30ms); }
	html.js [data-mvis] .mvis__bars rect { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .8s var(--ease-out); transition-delay: calc(1s + var(--b) * 90ms); }
	html.js [data-mvis].is-in .mvis__main { clip-path: inset(0 0 0 0); }
	html.js [data-mvis].is-in .mvis__sub { opacity: 1; transform: none; }
	html.js [data-mvis].is-in .mvis__frame, html.js [data-mvis].is-in .mvis__mark, html.js [data-mvis].is-in .mvis__dots,
	html.js [data-mvis].is-in .mvis__area, html.js [data-mvis].is-in .mvis__links, html.js [data-mvis].is-in .mvis__node, html.js [data-mvis].is-in .mvis__post { opacity: 1; }
	html.js [data-mvis].is-in .mvis__trend { stroke-dashoffset: 0; }
	html.js [data-mvis].is-in .mvis__bars rect { transform: none; }
	.mvis__pulse { transform-box: fill-box; transform-origin: center; animation: mvpulse 3.4s ease-in-out infinite; }
	@keyframes mvpulse { 0%, 100% { transform: scale(1); opacity: .22; } 50% { transform: scale(1.6); opacity: .05; } }
}

/* ---------- Blog and News archives (v0.7: equal editorial grid) ----------
   Every card is the same size: 3 per row on desktop, 2 on tablet, 1 on mobile
   (.cards). No featured card. Blog cards lead with the topic; News cards carry
   a bulletin label, a cooler image tint and a blue accent so the two archives
   feel related but distinct. */
.archive { padding-top: clamp(48px, 6vw, 80px); }
.cards--grid { gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.cards--grid .card article {
	border-color: var(--line); box-shadow: 0 1px 2px rgba(9, 33, 61, .04);
	transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s;
}
.cards--grid .card article:hover, .cards--grid .card article:focus-within {
	transform: translateY(-6px); border-color: rgba(22, 136, 215, .28);
	box-shadow: 0 36px 64px -38px rgba(9, 33, 61, .5);
}
.cards--grid .card__media { aspect-ratio: 5 / 3; }
.cards--grid .card__media img { transition: transform 1.1s var(--ease-out); }
.cards--grid .card article:hover .card__media img,
.cards--grid .card article:focus-within .card__media img { transform: scale(1.045); }
/* The seam between image and text: a brand line that draws from the reading start. */
.cards--grid .card__media::after {
	content: ""; position: absolute; z-index: 1; inset-inline: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left;
	transition: transform .7s var(--ease-out);
}
[dir="rtl"] .cards--grid .card__media::after { background: linear-gradient(270deg, var(--blue), var(--green)); transform-origin: right; }
.cards--grid .card article:hover .card__media::after,
.cards--grid .card article:focus-within .card__media::after { transform: scaleX(1); }
.cards--grid[data-type="blog"] .card__type { display: none; }
.cards--grid .card__body {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto 1fr;
	gap: 0; padding: clamp(20px, 2vw, 26px) clamp(20px, 2vw, 26px) 20px;
}
.cards--grid .card__topic, .cards--grid .card__title, .cards--grid .card__ex { grid-column: 1 / -1; }
.cards--grid .card__title { margin-top: 10px; font-size: clamp(1.12rem, 1.3vw, 1.28rem); }
.cards--grid .card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
[dir="rtl"] .cards--grid .card__title a { background-position: 100% 100%; }
.cards--grid .card article:hover .card__title a { background-size: 100% 1px; }
.cards--grid .card__title a:focus-visible { outline: none; }
.cards--grid .card article:has(.card__title a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.cards--grid .card__ex { margin-top: 10px; }
.cards--grid .card__meta, .cards--grid .card__read {
	grid-row: 4; align-self: end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); min-height: 44px;
}
.cards--grid .card__meta { grid-column: 1; align-items: center; }
.cards--grid .card__read { grid-column: 2; justify-content: flex-end; padding-inline-start: 12px; }

/* Topic: shared by the homepage rail and the grids. */
.card__topic { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--green-ink); }
[dir="rtl"] .card__topic { font-size: .84rem; letter-spacing: 0; }
.card__topic::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--green); transform: rotate(45deg); }
.card__pending { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--blue-deep); }
.card__meta .card__pending::before { width: 8px; height: 8px; margin: 0; border-radius: 50%; border: 2px solid currentColor; transform: none; background: none; }
.tag--pending { background: #EAF3FC; color: var(--blue-deep); box-shadow: inset 0 0 0 1px rgba(12, 69, 148, .25); }
.card .tag--pending { position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px; }
.card[data-pending] article { border-style: dashed; }

/* News: bulletin character. */
.card[data-type="news"] .card__media::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(12, 69, 148, 0) 55%, rgba(12, 69, 148, .16));
	transition: opacity .6s var(--ease-out);
}
.card[data-type="news"] article:hover .card__media::before { opacity: .55; }
.card[data-type="news"] .card__type {
	z-index: 2; top: auto; bottom: 14px; border-radius: 3px; padding: 4px 10px 4px 9px; background: var(--blue-deep);
	-webkit-backdrop-filter: none; backdrop-filter: none; letter-spacing: var(--track-k); text-transform: var(--case);
	border-inline-start: 3px solid var(--sky);
}
.cards--grid .card[data-type="news"] .card__media::after { background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--sky)); }
[dir="rtl"] .cards--grid .card[data-type="news"] .card__media::after { background: linear-gradient(270deg, var(--blue-deep), var(--blue), var(--sky)); }
.card[data-type="news"] .card__topic { color: var(--blue-deep); }
.card[data-type="news"] .card__topic::before { background: var(--blue); border-radius: 1px; transform: none; width: 10px; height: 3px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; color: var(--navy); }
.pager__of { font-weight: 700; color: var(--muted); }
.archive__empty { display: grid; justify-items: center; gap: 16px; max-width: 640px; margin-inline: auto; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--r); text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--line); }
.archive__empty .glyph { width: 56px; height: 56px; color: var(--blue-deep); }

/* ---------- Single article ---------- */
.post { padding-top: clamp(40px, 5vw, 72px); }
.post__wrap { max-width: 1040px; }
.post__wrap > :not(.post__media) { max-width: 760px; margin-inline: auto; }
.post__sample, .legal__draft { padding: 14px 18px; border-radius: var(--r); font-size: .92rem; color: #5A3E00; background: #FFF9E8; border: 1px solid #F1DFA6; }
.post__sample { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.post__sample--pending { color: var(--navy); background: #F0F6FD; border: 1px dashed rgba(12, 69, 148, .35); }
.post__media { margin-bottom: clamp(32px, 4vw, 48px); border-radius: var(--r); overflow: hidden; background: var(--navy); }
.post__media img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.post__body { font-size: 1.15rem; line-height: 1.8; }
[dir="rtl"] .post__body { line-height: 1.95; }
.post__body h2 { scroll-margin-top: calc(var(--hdr-h) + 24px); }
.post__body > p:first-child { font-size: 1.22rem; color: var(--navy); }
.post__body h2::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.post__back { margin-top: 48px; color: var(--navy); }
.post-more .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.phero__pending { font-weight: 700; color: #fff; }
.phero__meta .phero__pending::before { background: none; border: 2px solid var(--sky); border-radius: 50%; transform: none; width: 8px; height: 8px; }

/* ---------- Editorial preview bar (?editorial=1, local or editors only) ---------- */
.edbar {
	position: fixed; z-index: 90; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 760px;
	display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 12px 14px 12px 18px;
	border-radius: 10px; background: var(--ink); color: var(--on-dark); font-size: .9rem;
	box-shadow: 0 24px 48px -20px rgba(6, 23, 43, .6); border: 1px solid rgba(184, 213, 239, .18);
}
[dir="rtl"] .edbar { padding: 12px 18px 12px 14px; }
.edbar__dot { width: 10px; height: 10px; flex: none; border-radius: 50%; border: 2px solid var(--sky); }
.edbar p { flex: 1 1 240px; margin: 0; }
.edbar strong { color: #fff; margin-inline-end: 6px; }
.edbar span { color: var(--on-dark-2); }
.edbar a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 6px; font-weight: 700; color: var(--ink); background: #fff; text-decoration: none; }
.edbar a:hover { background: var(--sky); }
body:has(.edbar) { padding-bottom: 96px; }
@media (max-width: 640px) { body:has(.edbar) { padding-bottom: 156px; } }

/* ---------- Privacy ---------- */
.legal { padding-bottom: clamp(64px, 7vw, 100px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 80px); align-items: start; }
.legal__aside { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 12px; }
.legal__updated { font-size: .85rem; color: var(--muted); }
.legal__body { max-width: 760px; }
.legal__contact { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); font-weight: 700; }

/* ---------- 404 ---------- */
.lost { padding-bottom: clamp(64px, 7vw, 100px); }
.lost__h { margin-bottom: 18px; font-size: 1.1rem; font-weight: 800; color: var(--muted); }
.lost__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.lost__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--r); text-decoration: none; font-weight: 800; color: var(--navy); background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.lost__links a:hover { border-color: var(--blue); background: var(--white); }
.lost__links .ico { color: var(--green-ink); }

/* ---------- Contact page ---------- */
.contact--page { padding-top: clamp(48px, 6vw, 80px); }
.contact__tip { margin-top: 18px; font-size: .92rem; color: var(--on-dark-2); }
.contact__tip a { color: var(--sky); font-weight: 700; }
.direct__note { grid-column: 3; font-size: .82rem; color: var(--on-dark-2); }

/* ---------- Phase 2 responsive ---------- */
@media (max-width: 1000px) {
	.course__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.course__aside { width: 100%; max-width: 680px; }
}
@media (max-width: 520px) {
	.course__modes { grid-template-columns: minmax(0, 1fr); }
	.course__modes li { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 10px 12px 10px 10px; }
	[dir="rtl"] .course__modes li { padding: 10px 10px 10px 12px; }
	.course__mode-art { grid-row: 1 / 3; align-self: start; margin: 0; padding: 10px 6px; }
	.course__modes h3, .course__modes p { padding-inline: 0; }
	.course__modes h3 { align-self: end; }
	.course__form { padding: 22px 18px; }
}
@media (max-width: 900px) {
	.htrain__grid, .cred__grid, .hcta__in, .aphil__grid, .tintro__grid,
	.mflow__head, .msvc__grid, .legal__grid { grid-template-columns: minmax(0, 1fr); }
	.msvc__head, .legal__aside { position: static; }
}
@media (max-width: 640px) {
	.crel__list { grid-template-columns: minmax(0, 1fr); }
	.cred__nums { grid-template-columns: minmax(0, 1fr); }
	.ftiles { grid-template-columns: minmax(0, 1fr); }
	.ftile { min-height: 0; }
	.chain { gap: 10px; }
	.chain li:not(:last-child)::after { display: none; }
	.cred__name { white-space: normal; }
}
@media (max-width: 420px) {
	.person__name { white-space: normal; }
}

/* ---------- Motion: reveal and split ---------- */
@media (prefers-reduced-motion: no-preference) {
	html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
	html.js [data-reveal].is-in { opacity: 1; transform: none; }
	html.js .w { display: inline-block; overflow: clip; overflow-clip-margin: .2em; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
	html.js .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--wi) * 55ms + var(--d, 0) * 90ms); }
	html.js .is-in .w > span, html.js .is-in.w > span { transform: none; }
	:root[dir="rtl"] html.js .w, html.js[dir="rtl"] .w { padding-bottom: .25em; margin-bottom: -.25em; padding-top: .1em; margin-top: -.1em; }
}
.btn[data-magnetic] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.hero__scroll i::after, .hero__hint .ico { animation: none; }
}

/* ---------- Campaign landing pages (blueprint §32, simplified in §34) ----------
   Five sections: the shared inner-page hero, About (text + one editorial
   photo), Who it is for & what they gain, Program content (accordion beside
   the confirmed details) and Registration (form + short FAQ). Light bands
   alternate white / mist; each section is left out when it has no content. */
.cmp { overflow-x: clip; }
.cmp [id] { scroll-margin-top: calc(var(--hdr-h) + var(--wpbar, 0px) + 8px); }
.cmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Hero: athar_page_hero() with one registration CTA. Since §35 the H1 is the
   program name; the campaign's statement sits under it as a supporting line.
   Long names (phero--long / --xlong, set by character count) step the size down
   so a 50-character title still reads as a heading, not a paragraph. */
.phero--campaign .phero__title { font-size: clamp(2.2rem, 5vw, 4.1rem); line-height: 1.05; max-width: 22ch; overflow-wrap: break-word; hyphens: manual; }
.phero--campaign.phero--long .phero__title { font-size: clamp(2rem, 4.1vw, 3.4rem); line-height: 1.08; max-width: 24ch; }
.phero--campaign.phero--xlong .phero__title { font-size: clamp(1.75rem, 3.4vw, 2.85rem); line-height: 1.12; max-width: 28ch; }
:root[dir="rtl"] .phero--campaign .phero__title { line-height: 1.34; }
:root[dir="rtl"] .phero--campaign.phero--xlong .phero__title { line-height: 1.42; }
.phero__sub {
	position: relative; margin-top: clamp(16px, 1.8vw, 22px); padding-inline-start: 18px; max-width: 40ch;
	font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.42; color: var(--sky); text-wrap: balance;
}
.phero__sub::before {
	content: ""; position: absolute; inset-inline-start: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 2px;
	background: linear-gradient(180deg, var(--blue), var(--green));
}
:root[dir="rtl"] .phero__sub { line-height: 1.65; }
.phero__sub + .phero__lede { margin-top: 14px; }
.phero--campaign .phero__lede { max-width: 60ch; line-height: 1.7; }
.phero--campaign .phero__btn { margin-top: 30px; }
.phero--campaign .cmp-flag { margin: 22px 0 0; }

/* Labels: illustrative photos, and parts awaiting approval (editorial preview only). */
.cmp-illus { position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px; padding: 5px 11px; border-radius: 99px; font-size: .74rem; font-weight: 700; line-height: 1.3; color: #fff; background: rgba(6, 23, 43, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(184, 213, 239, .22); pointer-events: none; }
.cmp-flag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px; font-size: .8rem; font-weight: 700; line-height: 1.4; color: #6B4300; background: #FFF3D1; border: 1px dashed #D99A00; }
.cmp-flag::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #D99A00; }
.cmp-h .cmp-flag { margin: 16px 0 0; }

/* Bands and headers. */
.cmp-band { position: relative; padding-block: clamp(64px, 7vw, 112px); }
.cmp-band--white { background: var(--white); color: var(--text); }
.cmp-band--mist { background: var(--paper); color: var(--text); box-shadow: inset 0 1px 0 var(--line); }
.cmp-h { max-width: 780px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.cmp-h__n { display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 800; letter-spacing: .14em; color: var(--blue); font-variant-numeric: tabular-nums; }
.cmp-h__n::after { content: ""; width: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }
[dir="rtl"] .cmp-h__n::after { background: linear-gradient(270deg, var(--blue), var(--green)); }
.cmp-h__t { margin-top: 14px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
:root[dir="rtl"] .cmp-h__t { line-height: 1.4; letter-spacing: 0; }
.cmp-lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem) !important; line-height: 1.7 !important; font-weight: 500; color: var(--text) !important; }
.cmp-label { margin-bottom: 16px; font-size: .8rem; font-weight: 800; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--blue-deep); }
:root[dir="rtl"] .cmp-label { font-size: .95rem; }

/* 2 · About: text beside one photo in an offset frame, with the program tag. */
.cmp-over { display: grid; gap: clamp(36px, 5vw, 88px); }
.cmp-over.has-img { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.cmp-over:not(.has-img) .cmp-over__t { max-width: 860px; }
.cmp-over__t p:not(.cmp-flag) { max-width: 62ch; font-size: 1.06rem; line-height: 1.85; color: var(--muted); }
.cmp-over__t p:not(.cmp-flag) + p { margin-top: 1em; }
.cmp-over__fig { position: relative; margin: 0; padding-bottom: 40px; padding-inline-start: 40px; }
.cmp-over__frame { position: absolute; top: 40px; bottom: 0; inset-inline-start: 0; inset-inline-end: 40px; border-radius: var(--r); border: 1.5px solid rgba(22, 136, 215, .3); background: radial-gradient(circle, rgba(22, 136, 215, .2) 1.2px, transparent 1.5px) 0 0 / 18px 18px; }
.cmp-over__img { position: relative; aspect-ratio: 4 / 5; max-height: 600px; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: 0 40px 70px -46px rgba(9, 33, 61, .6); }
.cmp-over__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmp-over__img::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.cmp-over__tag { position: absolute; z-index: 2; bottom: 0; inset-inline-start: 0; display: grid; gap: 4px; max-width: min(300px, 82%); padding: 16px 20px; border-radius: var(--r); color: var(--on-dark-2); background: var(--navy); box-shadow: 0 24px 44px -24px rgba(6, 23, 43, .7); }
.cmp-over__k { font-size: .74rem; font-weight: 800; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--green-2); }
:root[dir="rtl"] .cmp-over__k { font-size: .86rem; }
.cmp-over__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; line-height: 1.4; color: #fff; text-decoration: underline; text-decoration-color: rgba(184, 213, 239, .35); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.cmp-over__link:hover { text-decoration-color: var(--green-2); }
.cmp-over__link .ico, .cmp-info__link .ico { width: 1em; height: 1em; flex: none; }
.cmp-over__f { font-size: .88rem; }
@media (prefers-reduced-motion: no-preference) {
	html.js .cmp-over__fig[data-reveal] .cmp-over__frame { transform: translate(-14px, -14px); transition: transform 1.1s .25s var(--ease-out); }
	html.js[dir="rtl"] .cmp-over__fig[data-reveal] .cmp-over__frame { transform: translate(14px, -14px); }
	html.js .cmp-over__fig[data-reveal].is-in .cmp-over__frame { transform: none; }
	.cmp-over__img img { transition: transform 1.2s var(--ease-out); }
	.cmp-over__fig:hover .cmp-over__img img { transform: scale(1.03); }
}

/* 3 · Who it is for and what they gain. */
.cmp-fit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cmp-fit__grid.is-solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.cmp-aud li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.cmp-aud__m { width: 12px; height: 12px; flex: none; margin-top: 7px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, var(--blue), var(--green)); }
.cmp-aud__t { font-size: 1.06rem; font-weight: 800; line-height: 1.5; color: var(--navy); }
.cmp-aud__d { margin-top: 4px; font-size: .97rem; line-height: 1.7; color: var(--muted); }
.cmp-fit__col--out { padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(9, 33, 61, .45); }
.cmp-out li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.cmp-out li:first-child { border-top: 0; padding-top: 0; }
.cmp-out li:last-child { padding-bottom: 0; }
.cmp-out__m { width: 28px; height: 28px; padding: 6px; margin-top: 1px; flex: none; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); stroke-width: 2.8; }
.cmp-out__t { font-size: 1.04rem; font-weight: 700; line-height: 1.55; color: var(--navy); }
.cmp-out__d { margin-top: 4px; font-size: .97rem; line-height: 1.7; color: var(--muted); }
.cmp-org { margin-top: clamp(32px, 3.6vw, 52px); padding-top: clamp(24px, 2.6vw, 34px); border-top: 1px solid rgba(9, 33, 61, .12); }
.cmp-org__h { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.cmp-org__h .cmp-flag { margin-bottom: 16px; }
.cmp-org__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px 32px; }
.cmp-org__list li { position: relative; padding-inline-start: 22px; line-height: 1.65; color: var(--muted); }
.cmp-org__list li::before { content: ""; position: absolute; top: .62em; inset-inline-start: 2px; width: 8px; height: 8px; border-radius: 1px; transform: rotate(45deg); background: var(--green); }
.cmp-org__list strong { display: block; font-weight: 800; color: var(--navy); }

/* 4 · Program content: modules accordion beside the practical details. */
.cmp-prog__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cmp-prog__grid.is-solo { grid-template-columns: minmax(0, 640px); }
.cmp-prog__grid.is-full { grid-template-columns: minmax(0, 860px); }
.cmp-prog__grid.is-solo .cmp-info__dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: 28px; }
.cmp-prog__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(22, 136, 215, .35); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.cmp-prog__more:hover { text-decoration-color: var(--green-2); }
.cmp-prog__more .ico { width: 1em; height: 1em; flex: none; }
.cmp-acc { display: grid; gap: 10px; }
.cmp-acc__i { border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, box-shadow .35s, background-color .35s; }
.cmp-acc__i:hover { border-color: rgba(22, 136, 215, .35); }
.cmp-acc__i[open] { background: var(--white); border-color: rgba(22, 136, 215, .35); box-shadow: 0 24px 44px -34px rgba(9, 33, 61, .45); }
.cmp-acc__i summary, .cmp-acc--plain .cmp-acc__i { display: flex; align-items: center; gap: 16px; padding: 16px clamp(16px, 2vw, 22px); }
.cmp-acc__i summary { cursor: pointer; list-style: none; border-radius: inherit; }
.cmp-acc__i summary::-webkit-details-marker, .cmp-faq__i summary::-webkit-details-marker { display: none; }
.cmp-acc__i summary:focus-visible, .cmp-faq__i summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cmp-acc__n { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; font-size: .9rem; font-weight: 800; color: var(--blue-deep); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; transition: color .3s, background .3s, box-shadow .3s; }
.cmp-acc__i[open] .cmp-acc__n { color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); box-shadow: none; }
.cmp-acc__t { flex: 1; min-width: 0; font-size: clamp(1.02rem, 1.3vw, 1.14rem); font-weight: 800; line-height: 1.45; color: var(--navy); }
.cmp-acc__a { padding-block: 0 20px; padding-inline: calc(clamp(16px, 2vw, 22px) + 56px) clamp(16px, 2vw, 22px); }
.cmp-acc__a p { max-width: 64ch; line-height: 1.75; color: var(--muted); }

/* Plus / minus icon shared by the modules and FAQ accordions. */
.cmp-acc__i summary i, .cmp-faq__i summary i { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-acc__i summary i::before, .cmp-acc__i summary i::after, .cmp-faq__i summary i::before, .cmp-faq__i summary i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 1.8px; border-radius: 2px; background: var(--blue-deep); transition: transform .3s var(--ease-out); }
.cmp-acc__i summary i::after, .cmp-faq__i summary i::after { transform: rotate(90deg); }
.cmp-acc__i[open] summary i::after, .cmp-faq__i[open] summary i::after { transform: rotate(0deg); }
@media (prefers-reduced-motion: no-preference) {
	@supports (interpolate-size: allow-keywords) {
		.cmp-acc__i, .cmp-faq__i { interpolate-size: allow-keywords; }
		.cmp-acc__i::details-content, .cmp-faq__i::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
		.cmp-acc__i[open]::details-content, .cmp-faq__i[open]::details-content { block-size: auto; }
	}
}

.cmp-info { position: sticky; top: calc(var(--hdr-h) + var(--wpbar, 0px) + 28px); isolation: isolate; overflow: hidden; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); color: var(--on-dark-2); background: radial-gradient(90% 60% at 100% 0%, rgba(22, 136, 215, .32), transparent 70%), var(--navy); }
[dir="rtl"] .cmp-info { background: radial-gradient(90% 60% at 0% 0%, rgba(22, 136, 215, .32), transparent 70%), var(--navy); }
.cmp-info::before { content: ""; position: absolute; z-index: -1; top: -46px; inset-inline-end: -46px; width: 120px; aspect-ratio: 1; border: 1.5px solid rgba(184, 213, 239, .18); border-radius: 6px; transform: rotate(45deg); }
.cmp-info__h { font-size: 1.2rem; font-weight: 800; line-height: 1.4; color: #fff; }
.cmp-info__dl { margin-top: 14px; }
.cmp-info__row { padding: 12px 0; border-top: 1px solid rgba(184, 213, 239, .16); }
.cmp-info__row dt, .cmp-info__k { font-size: .76rem; font-weight: 700; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--sky); }
:root[dir="rtl"] .cmp-info__row dt, :root[dir="rtl"] .cmp-info__k { font-size: .88rem; }
.cmp-info__row dd { margin-top: 4px; font-weight: 700; line-height: 1.5; color: #fff; overflow-wrap: anywhere; }
.cmp-info__row.is-soft dd { font-weight: 500; color: var(--on-dark-2); }
.cmp-info__m { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(184, 213, 239, .16); font-size: .96rem; line-height: 1.7; }
.cmp-info__m .cmp-info__k { margin-bottom: 6px; }
.cmp-info__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: rgba(184, 213, 239, .35); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.cmp-info__link:hover { text-decoration-color: var(--green-2); }

/* 5 · Registration: heading and FAQ beside the request form. */
.cmp-reg { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 7vw, 112px); background: linear-gradient(160deg, #EAF3FC 0%, #F4F8FB 48%, #EEF7E8 100%); box-shadow: inset 0 1px 0 var(--line); }
.cmp-reg::before { content: ""; position: absolute; z-index: -1; bottom: -300px; inset-inline-start: -300px; width: 600px; aspect-ratio: 1; border: 1.5px solid rgba(22, 136, 215, .14); border-radius: 8px; transform: rotate(45deg); box-shadow: 0 0 0 80px rgba(22, 136, 215, .03); }
.cmp-reg__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); grid-template-areas: "head form" "faq form"; grid-template-rows: auto 1fr; gap: clamp(28px, 3vw, 44px) clamp(40px, 6vw, 104px); align-items: start; }
.cmp-reg__head { grid-area: head; }
.cmp-reg__form { grid-area: form; min-width: 0; }
.cmp-reg__faq { grid-area: faq; max-width: 580px; }
.cmp-reg__h { margin-top: 14px; max-width: 18ch; font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
:root[dir="rtl"] .cmp-reg__h { line-height: 1.4; letter-spacing: 0; }
.cmp-reg__sub { margin-top: 16px; max-width: 52ch; font-size: 1.06rem; line-height: 1.8; color: var(--muted); }
.cmp-reg__fk { display: inline-flex; align-items: center; gap: .6em; margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--green-2); }
:root[dir="rtl"] .cmp-reg__fk { font-size: .9rem; }
.cmp-reg__fk::before { content: ""; width: 7px; height: 7px; background: var(--green-2); transform: rotate(45deg); border-radius: 1px; }
.cmp-reg__faq .cmp-flag { margin-bottom: 12px; }
.cmp-faq { border-top: 1px solid rgba(9, 33, 61, .12); }
.cmp-faq__i { border-bottom: 1px solid rgba(9, 33, 61, .12); }
.cmp-faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 2px; cursor: pointer; list-style: none; font-size: 1.02rem; font-weight: 800; line-height: 1.5; color: var(--navy); }
.cmp-faq__i summary:hover { color: var(--blue-deep); }
.cmp-faq__a { padding: 0 2px 18px; max-width: 64ch; line-height: 1.8; color: var(--muted); }
.cmp-faq__a p + p { margin-top: .8em; }
.cmp-sel { display: flex; align-items: flex-start; gap: 16px; max-width: 540px; margin-top: 30px; padding: 20px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 44px -34px rgba(9, 33, 61, .45); }
.cmp-sel__m { width: 40px; height: 40px; flex: none; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(135deg, var(--blue), var(--green)); }
.cmp-sel__k { font-size: .76rem; font-weight: 800; letter-spacing: var(--track-k); text-transform: var(--case); color: var(--green-ink); }
:root[dir="rtl"] .cmp-sel__k { font-size: .88rem; }
.cmp-sel__t { margin-top: 4px; font-size: 1.1rem; font-weight: 800; line-height: 1.4; color: var(--navy); }
.cmp-sel__f { margin-top: 2px; font-size: .92rem; color: var(--muted); }
.cmp-closed { display: grid; gap: 18px; justify-items: start; }

/* Request CTA that follows the reader: bottom bar on small screens, floating pill on wide ones. */
.cmp-sticky { position: fixed; z-index: 60; inset-inline: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(6, 23, 43, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(184, 213, 239, .16); }
.cmp-sticky .btn { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
	.cmp-sticky:not([hidden]) { animation: cmp-up .4s var(--ease-out); }
}
@keyframes cmp-up { from { transform: translateY(100%); } }
@media (min-width: 1001px) {
	.cmp-sticky { inset-inline: auto; inset-inline-end: 28px; bottom: 28px; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.cmp-sticky .btn { width: auto; box-shadow: 0 20px 44px -16px rgba(6, 23, 43, .6), 0 10px 30px -12px rgba(107, 175, 70, .7); }
	body:has(.edbar) .cmp-sticky { bottom: 96px; }
}
@media (max-width: 1000px) {
	body:has(.cmp-sticky:not([hidden])) .ftr { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
	.cmp-reg__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "faq"; grid-template-rows: none; }
	.cmp-reg__form { max-width: 640px; }
	.cmp-reg__h { max-width: 22ch; }
	/* Editorial preview: lift the preview bar above the campaign sticky CTA so both stay usable. */
	body:has(.cmp-sticky:not([hidden])) .edbar { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 900px) {
	.cmp-over.has-img, .cmp-fit__grid, .cmp-prog__grid { grid-template-columns: minmax(0, 1fr); }
	.cmp-over__fig { max-width: 560px; padding-bottom: 28px; padding-inline-start: 24px; }
	.cmp-over__frame { top: 28px; inset-inline-end: 24px; }
	.cmp-over__img { aspect-ratio: 4 / 3; max-height: none; }
	.cmp-info { position: relative; top: auto; }
}
@media (max-width: 640px) {
	.phero--campaign .phero__btn { width: 100%; justify-content: center; }
	.cmp-acc__n { width: 34px; height: 34px; border-radius: 9px; }
	.cmp-acc__a { padding-inline: 16px; }
	.cmp-over__tag { max-width: 88%; padding: 14px 16px; }
	.cmp-sel { padding: 16px 18px; }
}

/* ---------- Sections added in Admin → Pages (Consulting / Marketing) ----------
   Heading and text, text and image, service cards, benefits list. They reuse the
   site's sheets, kicker, .h2 and .lede; the call-to-action type reuses .ctaband. */
.xsec__head { max-width: 760px; }
.xsec__head .h2, .xsec__text .h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); max-width: 22ch; }
.xsec__p { margin-top: 1.1rem; max-width: 64ch; font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.xsec__head .xsec__p:first-of-type, .xsec__text .xsec__p:first-of-type { margin-top: 1.4rem; }
.xsec__head .lede + .lede { margin-top: .9rem; }
.xsec__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.xsec__split--flip .xsec__media { order: -1; }
.xsec__split--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.xsec__media { margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(6, 23, 43, .45); }
.xsec__media img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.xsec__cards { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.xsec__card { position: relative; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: border-color .25s, transform .35s var(--ease-out); }
.sheet--white .xsec__card { background: var(--paper); }
.xsec__card::before { content: ""; position: absolute; inset-inline-start: -1px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--green)); transform: scaleY(0); transition: transform .45s var(--ease-out); }
.xsec__card:hover { border-color: rgba(22, 136, 215, .35); }
.xsec__card:hover::before { transform: none; }
.xsec__n { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .04em; color: var(--blue); }
.xsec__ct { margin-top: 10px; font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 800; line-height: 1.35; color: var(--navy); }
.xsec__cd { margin-top: 8px; color: var(--muted); }
.xsec__list { list-style: none; margin: clamp(28px, 3.4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px 40px; max-width: 980px; }
.xsec__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.xsec__list .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--green-ink); }
@media (max-width: 900px) {
	.xsec__split { grid-template-columns: minmax(0, 1fr); }
	.xsec__split--flip .xsec__media { order: 0; }
	.xsec__media img { max-height: 420px; }
}