/* =================================================================
   FAVTOMA — main.css
   Dark, kinetic identity. Palette extracted from the logo.
   ================================================================= */

:root {
	/* Brand palette (from logo) */
	--bg:        #0A0A0B;
	--bg-2:      #101013;
	--surface:   #141418;
	--surface-2: #1A1A20;
	--line:      rgba(255,255,255,0.09);
	--line-2:    rgba(255,255,255,0.16);
	--text:      #F4F4F6;
	--muted:     #9A9AA6;
	--muted-2:   #6E6E78;

	--teal:   #40BEB9;
	--mint:   #4CC4A7;
	--gold:   #D49226;
	--orange: #D56438;
	--indigo: #4F3E64;
	--violet: #6C5CE7;

	--ring-grad: conic-gradient(from 140deg, #40BEB9, #4CC4A7, #D49226, #D56438, #6C5CE7, #4F3E64, #40BEB9);
	--accent-grad: linear-gradient(100deg, #40BEB9, #4CC4A7 35%, #D49226 70%, #D56438);

	--maxw: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--radius: 18px;
	--radius-lg: 26px;

	--ff-display: "Space Grotesk", system-ui, sans-serif;
	--ff-body: "Inter", system-ui, -apple-system, sans-serif;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-2: cubic-bezier(0.65, 0.05, 0, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--ff-body);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--teal); }

::selection { background: var(--teal); color: #06201f; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
	background: var(--teal); color: #06201f; padding: 10px 16px; border-radius: 8px; z-index: 9999;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

.section__eyebrow, .hero__eyebrow {
	font-family: var(--ff-display);
	font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--teal); margin-bottom: 18px;
}
.section__title {
	font-family: var(--ff-display);
	font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; font-weight: 600;
	letter-spacing: -0.02em;
}
.section__sub { color: var(--muted); margin-top: 18px; font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	padding: 15px 26px; border-radius: 100px;
	font-family: var(--ff-display); font-weight: 500; font-size: 15px; letter-spacing: 0.01em;
	transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
	will-change: transform;
}
.btn__label { position: relative; z-index: 2; }
.btn__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; transition: transform .5s var(--ease); }
.btn--primary { background: var(--text); color: #08090b; }
.btn--primary .btn__dot { background: var(--orange); }
.btn--primary:hover { background: var(--teal); color: #06201f; }
.btn--primary:hover .btn__dot { transform: scale(2.4); background: #06201f; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Preloader ---------- */
.preloader {
	position: fixed; inset: 0; z-index: 10000; background: var(--bg);
	display: grid; place-items: center; overflow: hidden;
}
.preloader__inner { display: flex; align-items: baseline; gap: 14px; position: relative; z-index: 2; }
.preloader__mark {
	font-family: var(--ff-display); font-weight: 700; font-size: clamp(48px, 9vw, 96px);
	color: var(--text);
}
.preloader__word { font-family: var(--ff-display); font-weight: 500; letter-spacing: .3em; color: var(--muted); font-size: 14px; }
.preloader__count { position: absolute; right: 0; bottom: -2px; font-family: var(--ff-display); color: var(--muted-2); font-size: 13px; }
.preloader__ring {
	position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%;
	background: var(--ring-grad); filter: blur(80px); opacity: .12;
}

/* ---------- Header / nav ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 800;
	padding-block: 18px; transition: transform .5s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(10,10,11,.72); backdrop-filter: blur(14px); border-bottom-color: var(--line);
	padding-block: 12px;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__ring {
	width: 30px; height: 30px; border-radius: 50%; background: var(--ring-grad);
	-webkit-mask: radial-gradient(circle, transparent 7px, #000 8px); mask: radial-gradient(circle, transparent 7px, #000 8px);
	transition: transform .8s var(--ease);
}
.brand:hover .brand__ring { transform: rotate(160deg); }
.brand__mark { width: 32px; height: 32px; display: block; flex-shrink: 0; transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(160deg); }
.brand__name { font-family: var(--ff-display); font-weight: 700; letter-spacing: .12em; font-size: 18px; line-height: 1; }
.brand__sub { font-weight: 400; color: var(--muted-2); letter-spacing: .3em; font-size: 9px; display: block; margin-top: 3px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
	position: relative; display: inline-flex; align-items: center; gap: 5px;
	font-family: var(--ff-display); font-size: 13px; font-weight: 500; letter-spacing: .015em; color: var(--muted);
	padding: 9px 13px; border-radius: 100px; transition: color .35s var(--ease);
}
.nav__link::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 1px;
	background: var(--teal); transform: scaleX(0); transform-origin: left center;
	transition: transform .4s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__caret { color: var(--teal); font-weight: 400; transition: transform .4s var(--ease); }
.nav__has-children:hover .nav__caret { transform: rotate(135deg); }
.nav__has-children { position: relative; }
.nav__panel {
	position: absolute; top: calc(100% + 6px); left: 50%;
	background: rgba(18,18,22,.86); backdrop-filter: blur(20px); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 12px; width: 336px; display: grid; gap: 1px;
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); transform-origin: top center;
	transition: opacity .42s var(--ease), transform .42s var(--ease), visibility .42s;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
.nav__has-children:hover .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
/* Premium staggered fade-in of the dropdown items */
.nav__panel > * { opacity: 0; transform: translateY(7px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.nav__has-children:hover .nav__panel > * { opacity: 1; transform: none; }
.nav__has-children:hover .nav__panel > *:nth-child(1) { transition-delay: .05s; }
.nav__has-children:hover .nav__panel > *:nth-child(2) { transition-delay: .09s; }
.nav__has-children:hover .nav__panel > *:nth-child(3) { transition-delay: .13s; }
.nav__has-children:hover .nav__panel > *:nth-child(4) { transition-delay: .17s; }
.nav__has-children:hover .nav__panel > *:nth-child(5) { transition-delay: .21s; }
.nav__has-children:hover .nav__panel > *:nth-child(6) { transition-delay: .25s; }
.nav__has-children:hover .nav__panel > *:nth-child(7) { transition-delay: .29s; }
.nav__group-label { font-family: var(--ff-display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); padding: 6px 14px 5px; }
.nav__divider { height: 1px; background: var(--line); margin: 7px 10px; }
.nav__sub { display: block; padding: 9px 14px; border-radius: 12px; transition: background .3s; }
.nav__sub:hover { background: var(--surface-2); }
.nav__sub-title { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 13.5px; }
.nav__sub-desc { display: block; color: var(--muted-2); font-size: 12px; margin-top: 3px; }

/* Desktop mega-menu (Divisions → columns of services) */
.nav__has-mega { position: static; }
.nav__mega {
	position: absolute; top: calc(100% - 2px); left: 50%; transform: translate(-50%, 10px) scale(.985); transform-origin: top center;
	width: min(940px, 94vw);
	background: rgba(18,18,22,.93); backdrop-filter: blur(22px); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
	max-height: min(78vh, 680px); overflow-y: auto;
	opacity: 0; visibility: hidden;
	transition: opacity .42s var(--ease), transform .42s var(--ease), visibility .42s;
	box-shadow: 0 44px 90px -34px rgba(0,0,0,.8); z-index: 50;
}
.nav__mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 24px; }
.nav__has-mega:hover .nav__mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav__col { display: grid; gap: 2px; align-content: start; opacity: 0; transform: translateY(9px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
.nav__has-mega:hover .nav__col { opacity: 1; transform: none; }
.nav__has-mega:hover .nav__col:nth-child(1) { transition-delay: .04s; }
.nav__has-mega:hover .nav__col:nth-child(2) { transition-delay: .08s; }
.nav__has-mega:hover .nav__col:nth-child(3) { transition-delay: .12s; }
.nav__has-mega:hover .nav__col:nth-child(4) { transition-delay: .16s; }
.nav__has-mega:hover .nav__col:nth-child(5) { transition-delay: .2s; }
.nav__has-mega:hover .nav__col:nth-child(6) { transition-delay: .24s; }
.nav__has-mega:hover .nav__col:nth-child(7) { transition-delay: .28s; }
.nav__has-mega:hover .nav__col:nth-child(8) { transition-delay: .32s; }
.nav__col-title { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--text); padding: 6px 8px; margin-bottom: 5px; border-bottom: 1px solid var(--line); border-radius: 6px; transition: color .3s; }
.nav__col-title i { color: var(--teal); font-size: .9em; font-style: normal; transition: transform .35s var(--ease); }
.nav__col-title:hover { color: var(--teal); }
.nav__col-title:hover i { transform: translateX(4px); }
.nav__col-list { display: grid; }
.nav__col-list a { display: block; font-family: var(--ff-body); font-size: 12.5px; color: var(--muted); padding: 6px 8px; border-radius: 7px; transition: color .25s, background .25s; }
.nav__col-list a:hover { color: var(--text); background: var(--surface-2); }

/* Mobile accordion (each division expands its services) */
.m-div { width: 100%; }
.m-div__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; background: none; border: 0; padding: 4px 0; text-align: left; cursor: pointer; font-family: var(--ff-display); font-weight: 600; font-size: clamp(18px, 4.9vw, 23px); letter-spacing: -.01em; color: var(--text); transition: color .3s; }
.m-div__toggle:hover, .m-div__toggle:active { color: var(--teal); }
.m-div__caret { font-family: var(--ff-display); font-weight: 400; color: var(--teal); font-size: .8em; transition: transform .4s var(--ease); }
.m-div.is-open .m-div__caret { transform: rotate(135deg); }
.m-div__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
.m-div.is-open .m-div__sub { grid-template-rows: 1fr; }
.m-div__sub-inner { overflow: hidden; min-height: 0; display: grid; gap: 1px; padding-left: 14px; }
.m-div.is-open .m-div__sub-inner { padding-block: 4px 10px; }
.m-div__sub-inner a { font-family: var(--ff-body); font-size: 14px; color: var(--muted); padding: 5px 0; transition: color .25s; }
.m-div__sub-inner a:hover, .m-div__sub-inner a:active { color: var(--teal); }

.site-header__cta { flex-shrink: 0; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
	position: fixed; inset: 0; z-index: 700; background: var(--bg-2);
	display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; opacity: 0; visibility: hidden;
	/* OUT: hold the backdrop fully opaque until items finish leaving, then ease back to the page */
	transition: opacity .42s var(--ease) .66s, visibility 1.12s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.mobile-nav__inner { margin: 0; display: grid; gap: 6px; text-align: left; justify-items: start; width: 100%; padding: 104px clamp(32px, 9vw, 56px) 72px; }
.mobile-nav__link { font-family: var(--ff-display); font-size: clamp(18px, 4.9vw, 23px); font-weight: 600; letter-spacing: -.01em; padding: 4px 0; transition: color .3s; }
.mobile-nav__link:hover, .mobile-nav__link:active { color: var(--teal); }
.mobile-nav__label { font-family: var(--ff-display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-top: 16px; }
.mobile-nav__label:first-of-type { margin-top: 4px; }
/* Hero-style staggered IN; reverse-order OUT on close */
.mobile-nav__inner > * { opacity: 0; transform: translateY(20px); transition: opacity .3s var(--ease), transform .36s var(--ease); }
.mobile-nav.is-open .mobile-nav__inner > * { opacity: 1; transform: none; }
/* IN: top -> bottom */
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(1){transition-delay:.08s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(2){transition-delay:.12s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(3){transition-delay:.16s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(4){transition-delay:.20s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(5){transition-delay:.24s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(6){transition-delay:.28s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(7){transition-delay:.32s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(8){transition-delay:.36s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(9){transition-delay:.40s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(10){transition-delay:.44s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(11){transition-delay:.48s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(12){transition-delay:.52s}
.mobile-nav.is-open .mobile-nav__inner > *:nth-child(13){transition-delay:.56s}
/* OUT (closed state): bottom -> top, reverse of IN */
.mobile-nav__inner > *:nth-child(1){transition-delay:.30s}
.mobile-nav__inner > *:nth-child(2){transition-delay:.275s}
.mobile-nav__inner > *:nth-child(3){transition-delay:.25s}
.mobile-nav__inner > *:nth-child(4){transition-delay:.225s}
.mobile-nav__inner > *:nth-child(5){transition-delay:.20s}
.mobile-nav__inner > *:nth-child(6){transition-delay:.175s}
.mobile-nav__inner > *:nth-child(7){transition-delay:.15s}
.mobile-nav__inner > *:nth-child(8){transition-delay:.125s}
.mobile-nav__inner > *:nth-child(9){transition-delay:.10s}
.mobile-nav__inner > *:nth-child(10){transition-delay:.075s}
.mobile-nav__inner > *:nth-child(11){transition-delay:.05s}
.mobile-nav__inner > *:nth-child(12){transition-delay:.025s}
.mobile-nav__inner > *:nth-child(13){transition-delay:0s}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__fallback { position: absolute; inset: 0; z-index: 0; display: none; place-items: center; }
.hero__ring-css {
	width: min(70vw, 620px); aspect-ratio: 1; border-radius: 50%; background: var(--ring-grad);
	-webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); mask: radial-gradient(circle, transparent 38%, #000 39%);
	filter: blur(.5px); opacity: .85; animation: spin 38s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.no-webgl .hero__fallback { display: grid; }

.hero__veil {
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(100deg, var(--bg) 4%, rgba(10,10,11,.94) 30%, rgba(10,10,11,.5) 52%, rgba(10,10,11,.12) 72%, transparent 88%),
		radial-gradient(120% 95% at 62% 22%, transparent 28%, rgba(10,10,11,.5) 70%, var(--bg) 100%),
		linear-gradient(to bottom, rgba(10,10,11,.45), transparent 26%, transparent 55%, var(--bg));
}
.hero__inner { position: relative; z-index: 2; padding-top: 96px; max-width: 980px; }
.hero__title {
	font-family: var(--ff-display); font-weight: 600; letter-spacing: -0.035em;
	font-size: clamp(1.95rem, 5.4vw, 4.5rem); line-height: 1.0; margin-block: 8px 26px;
}
.hero__lede { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.4rem); max-width: 58ch; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero__founder {
	display: inline-flex; align-items: center; gap: 10px; margin-top: 42px;
	color: var(--muted-2); font-size: 14px; letter-spacing: .01em;
}
.hero__founder strong { color: var(--text); font-weight: 600; }
.hero__founder-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(213,100,56,.18); }
.hero__scroll {
	position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
	display: grid; justify-items: center; gap: 8px; color: var(--muted-2);
	font-family: var(--ff-display); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--teal), transparent); animation: scrollpulse 2.4s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { transform: scaleY(.4); opacity:.4; transform-origin: top; } 50% { transform: scaleY(1); opacity:1; transform-origin: top; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; background: var(--bg-2); }
.marquee__label { text-align: center; font-family: var(--ff-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.marquee__track { display: inline-flex; white-space: nowrap; gap: 0; animation: marquee 32s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 34px; font-family: var(--ff-display); font-weight: 500; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-inline: 0 34px; }
.marquee__sep { color: var(--teal); font-style: normal; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__statement {
	font-family: var(--ff-display); font-weight: 500; letter-spacing: -.02em;
	font-size: clamp(1.7rem, 4vw, 3.1rem); line-height: 1.18; max-width: 20ch + 60ch;
}
.intro__body { color: var(--muted); margin-top: 30px; max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.18rem); }

/* ---------- Divisions ---------- */
.divisions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dcard {
	position: relative; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
	padding: 34px 30px 30px; border-radius: var(--radius-lg); background: var(--surface);
	border: 1px solid var(--line); min-height: 340px; isolation: isolate;
	transition: transform .6s var(--ease), border-color .5s, background .5s;
}
.dcard:hover { transform: translateY(-8px); border-color: var(--line-2); background: var(--surface-2); }
.dcard__glow {
	position: absolute; inset: -2px; z-index: -1; opacity: 0; border-radius: inherit;
	background: radial-gradient(60% 60% at 50% 0%, rgba(64,190,185,.22), transparent 70%);
	transition: opacity .5s;
}
.dcard:hover .dcard__glow { opacity: 1; }
.dcard--flagship { background: linear-gradient(165deg, rgba(64,190,185,.10), var(--surface) 55%); border-color: rgba(64,190,185,.28); }
.dcard__badge {
	align-self: flex-start; font-family: var(--ff-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
	color: #06201f; background: var(--teal); padding: 6px 12px; border-radius: 100px; font-weight: 600;
}
.dcard__num { font-family: var(--ff-display); color: var(--muted-2); font-size: 14px; letter-spacing: .1em; }
.dcard__title { font-family: var(--ff-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.01em; margin-top: auto; }
.dcard__desc { color: var(--muted); font-size: .98rem; }
.dcard__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-family: var(--ff-display); font-weight: 500; font-size: 14px; }
.dcard__cta i { transition: transform .4s var(--ease); }
.dcard:hover .dcard__cta i { transform: translateX(6px); }

/* ---------- Flagship ---------- */
.flagship { background: var(--bg-2); }
.flagship__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.flagship__media { display: grid; place-items: center; }
.flagship__ring {
	width: min(80%, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--ring-grad);
	-webkit-mask: radial-gradient(circle, transparent 44%, #000 45%); mask: radial-gradient(circle, transparent 44%, #000 45%);
	animation: spin 44s linear infinite; box-shadow: 0 0 120px rgba(64,190,185,.18);
}
.flagship__title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.06; letter-spacing: -.02em; }
.flagship__body { color: var(--muted); margin-top: 22px; max-width: 56ch; }
.flagship__list { display: grid; gap: 12px; margin-block: 26px 30px; }
.flagship__list li { position: relative; padding-left: 26px; color: var(--text); }
.flagship__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-grad); }

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 30px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.stat__num { display: block; font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em;
	color: var(--text); }
.stat__label { display: block; color: var(--muted); font-size: .92rem; margin-top: 14px; line-height: 1.45; }

/* ---------- Approach ---------- */
.approach__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acard { padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .5s, transform .5s var(--ease); }
.acard:hover { border-color: var(--line-2); transform: translateY(-6px); }
.acard__index { font-family: var(--ff-display); color: var(--teal); font-size: 14px; letter-spacing: .1em; }
.acard__title { font-family: var(--ff-display); font-weight: 600; font-size: 1.35rem; margin-block: 16px 12px; }
.acard__body { color: var(--muted); font-size: .98rem; }

/* ---------- Founder ---------- */
.founder__inner { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.founder__portrait { position: relative; aspect-ratio: 1; max-width: 320px; padding: 7px; display: grid; place-items: center; }
.founder__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--ring-grad); animation: spin 52s linear infinite; }
.founder__photo { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 16%; }
.founder__initials { display: none; }
.founder__name { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.05; }
.founder__role { color: var(--teal); margin-top: 16px; font-size: .96rem; font-family: var(--ff-display); }
.founder__body { color: var(--muted); margin-block: 18px 28px; max-width: 56ch; }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }
.cta__title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -.03em; line-height: 1; }
.cta__body { color: var(--muted); max-width: 44ch; }
.cta__glow { position: absolute; bottom: -50%; left: 50%; transform: translateX(-50%); width: 80vmax; height: 80vmax; background: var(--ring-grad); filter: blur(120px); opacity: .08; border-radius: 50%; z-index: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding-block: clamp(54px, 7vw, 90px) 32px; overflow: hidden; background: var(--bg-2); }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.brand--footer { margin-bottom: 18px; }
.site-footer__tag { color: var(--muted); max-width: 40ch; font-size: .96rem; }
.site-footer__col { display: grid; gap: 12px; align-content: start; }
.site-footer__h { font-family: var(--ff-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.site-footer__col a { color: var(--muted); transition: color .3s; }
.site-footer__col a:hover { color: var(--teal); }
.site-footer__muted { color: var(--muted-2); font-size: .92rem; }
.site-footer__social { display: flex; gap: 10px; margin-top: 6px; }
.site-footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--ff-display); font-size: 13px; color: var(--muted); transition: all .3s; }
.site-footer__social a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; }
.site-footer__credit { color: var(--muted); font-size: .9rem; }
.site-footer__credit strong { color: var(--text); }
.site-footer__legal { color: var(--muted-2); font-size: .9rem; }
.site-footer__glow { position: absolute; top: -60%; right: -10%; width: 50vmax; height: 50vmax; background: var(--ring-grad); filter: blur(140px); opacity: .06; border-radius: 50%; }

/* ---------- Reveal / split animation initial states (only when .anim) ---------- */
html.anim [data-reveal] { opacity: 0; transform: translateY(26px); }
html.anim [data-split] { opacity: 0; }
.split-line { display: block; overflow: hidden; }
.split-line__inner { display: block; will-change: transform; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; }
.split-word__inner { display: inline-block; will-change: transform; }

/* ---------- Generic page / rich text ---------- */
.page-hero { padding-top: clamp(130px, 16vw, 200px); padding-bottom: clamp(20px, 4vw, 40px); position: relative; }
.page-hero::after { content: ""; position: absolute; top: 0; right: -10%; width: 40vmax; height: 40vmax; background: var(--ring-grad); filter: blur(150px); opacity: .07; border-radius: 50%; z-index: -1; }
.page-hero__title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.03em; line-height: 1; }
.rich { max-width: 760px; color: var(--muted); }
.rich h2 { font-family: var(--ff-display); color: var(--text); font-weight: 600; font-size: 1.6rem; margin-block: 1.6em .5em; letter-spacing: -.01em; }
.rich h3 { font-family: var(--ff-display); color: var(--text); font-weight: 600; font-size: 1.25rem; margin-block: 1.4em .4em; }
.rich p { margin-bottom: 1.1em; }
.rich a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.rich ul { display: grid; gap: 10px; margin-bottom: 1.2em; }
.rich ul li { position: relative; padding-left: 24px; }
.rich ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-grad); }
.rich__post { padding-block: 22px; border-bottom: 1px solid var(--line); }

/* ---------- Inner-page components ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 30px; color: var(--muted); }
.two-col p { font-size: 1.05rem; }
.page-hero__lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 60ch; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.cred { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cred__k { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em;
	color: var(--text); }
.cred__v { display: block; color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-col { padding: 30px 30px 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .5s; }
.svc-col:hover { border-color: var(--line-2); }
.svc-col--flag { background: linear-gradient(165deg, rgba(64,190,185,.08), var(--surface) 60%); border-color: rgba(64,190,185,.24); }
.svc-col__h { font-family: var(--ff-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 18px; }
.svc-list { display: grid; gap: 12px; }
.svc-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: .98rem; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { padding: 12px 22px; border: 1px solid var(--line-2); border-radius: 100px; font-family: var(--ff-display); font-size: 15px; color: var(--text); transition: all .35s var(--ease); }
.pill:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.pstep { padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.pstep__n { font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; color: var(--text); }
.pstep h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; margin-block: 14px 10px; }
.pstep p { color: var(--muted); font-size: .94rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact__form-wrap { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--ff-display); font-size: 13px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.field input, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-2);
	border: 1px solid var(--line-2); color: var(--text); font-family: var(--ff-body); font-size: 1rem; transition: border-color .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--surface-2); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-family: var(--ff-body); font-size: 1rem; transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select:focus { outline: none; border-color: var(--teal); background: var(--surface-2); }
.field select option { background: var(--surface); color: var(--text); }
.field .req { color: var(--teal); }
.form__status { font-size: .95rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--teal); }
.form__status.is-err { color: var(--orange); }
.contact__aside { position: relative; display: grid; gap: 28px; padding: 8px; overflow: hidden; }
.contact__block { display: grid; gap: 8px; }
.contact__h { font-family: var(--ff-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.contact__block a { color: var(--text); transition: color .3s; }
.contact__block a:hover { color: var(--teal); }
.contact__muted { color: var(--muted); }
.contact__ring { position: absolute; bottom: -40%; right: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--ring-grad); filter: blur(70px); opacity: .12; z-index: -1; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .5s, transform .5s var(--ease); }
.post-card:hover { border-color: var(--line-2); transform: translateY(-6px); }
.post-card__cat { align-self: flex-start; font-family: var(--ff-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(64,190,185,.3); padding: 5px 12px; border-radius: 100px; }
.post-card__title { font-family: var(--ff-display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
.post-card__title a { transition: color .3s; }
.post-card:hover .post-card__title a { color: var(--teal); }
.post-card__dek { color: var(--muted); font-size: .96rem; }
.post-card__meta { margin-top: auto; color: var(--muted-2); font-size: .82rem; font-family: var(--ff-display); letter-spacing: .04em; }
.blog-empty { color: var(--muted); }

.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 20px; color: var(--muted-2); font-family: var(--ff-display); font-size: .9rem; letter-spacing: .03em; }
.post-meta .post-cat { color: var(--teal); }
.post-body { max-width: 740px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.post-body h3 { font-family: var(--ff-display); color: var(--text); font-weight: 600; font-size: 1.4rem; margin-block: 1.5em .5em; }
.post-body p { margin-bottom: 1.1em; }
.post-body strong { color: var(--text); }
.post-body blockquote { border-left: 2px solid var(--teal); padding-left: 20px; margin: 1.4em 0; color: var(--text); font-style: italic; }
.post-body ul { display: grid; gap: 10px; margin-bottom: 1.2em; }
.post-body ul li { position: relative; padding-left: 24px; }
.post-body ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); }
.post-sources { max-width: 740px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-sources h4 { font-family: var(--ff-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.post-sources a { display: block; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 6px; font-size: .92rem; word-break: break-word; }
.post-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--ff-display); margin-top: 44px; transition: color .3s; }
.post-back:hover { color: var(--teal); }

/* ---------- Publications ---------- */
.pub-metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pubstat { padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.pubstat__num { display: block; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.02em; color: var(--text); }
.pubstat__label { display: block; color: var(--muted); font-size: .85rem; margin-top: 10px; line-height: 1.4; }
.pub-source { color: var(--muted-2); font-size: .85rem; margin-top: 22px; max-width: 76ch; }
.pub-source a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pub-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); min-height: 210px; transition: border-color .5s, transform .5s var(--ease); }
.pub-card[href]:hover { border-color: var(--teal); transform: translateY(-5px); }
.pub-card__cite { align-self: flex-start; font-family: var(--ff-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #06201f; background: var(--teal); padding: 4px 10px; border-radius: 100px; font-weight: 600; }
.pub-card__title { font-family: var(--ff-display); font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.pub-card__meta { color: var(--muted); font-size: .87rem; }
.pub-card__venue { margin-top: auto; color: var(--muted-2); font-size: .82rem; font-family: var(--ff-display); }

.pub-theme { margin-bottom: 50px; }
.pub-theme__head { margin-bottom: 14px; }
.pub-theme__title { font-family: var(--ff-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; }
.pub-theme__title::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px; background: var(--accent-grad); vertical-align: middle; margin-right: 12px; }
.pub-theme__blurb { color: var(--muted); margin-top: 10px; max-width: 72ch; font-size: .96rem; }
.pub-list { display: grid; }
.pub-item { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); }
.pub-item__title { font-family: var(--ff-body); font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: var(--text); }
.pub-item__title a { transition: color .3s; }
.pub-item__title a:hover { color: var(--teal); }
.pub-item__meta { color: var(--muted-2); font-size: .86rem; margin-top: 6px; }
.pub-item__venue { color: var(--muted); }
.pub-item__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; text-align: right; }
.pub-item__year { font-family: var(--ff-display); color: var(--muted); font-size: .9rem; }
.pub-cite { font-family: var(--ff-display); font-size: 11px; color: var(--teal); border: 1px solid rgba(64,190,185,.3); padding: 3px 9px; border-radius: 100px; white-space: nowrap; }

/* ---------- Academy — certification tracks ---------- */
.cert-note { color: var(--muted); margin-top: 18px; max-width: 64ch; font-size: clamp(1rem, 1.4vw, 1.14rem); }
.cert-note strong { color: var(--text); font-weight: 600; }

.cert-tracks { display: grid; gap: 20px; }

.course-card {
	position: relative; display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 30px);
	padding: clamp(26px, 3.3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg);
	background: var(--surface); isolation: isolate;
	transition: border-color .5s, transform .5s var(--ease), background .5s;
}
.course-card__cols { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: clamp(22px, 3.4vw, 46px); }
.course-card:hover { border-color: var(--line-2); transform: translateY(-5px); background: var(--surface-2); }
.course-card__glow {
	position: absolute; inset: -1px; z-index: -1; opacity: 0; border-radius: inherit;
	background: radial-gradient(70% 70% at 18% 0%, rgba(64,190,185,.16), transparent 70%);
	transition: opacity .5s;
}
.course-card:hover .course-card__glow { opacity: 1; }

.course-card__main { min-width: 0; }
.course-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 18px; }
.course-card__level { font-family: var(--ff-display); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: #06201f; background: var(--teal); padding: 5px 11px; border-radius: 100px; font-weight: 600; }
.course-card__dur { font-family: var(--ff-display); font-size: 12px; letter-spacing: .07em; color: var(--muted-2); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 100px; }
.course-card__title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.08; letter-spacing: -.02em; }
.course-card__catch { display: flex; gap: 8px; font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--teal); margin-top: 14px; }
.course-card__catch::before { content: "\2192"; flex-shrink: 0; }
.course-card__desc { color: var(--muted); margin-top: 16px; font-size: .98rem; max-width: 56ch; }
.course-card__roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.course-card__role { font-family: var(--ff-body); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 100px; background: var(--bg-2); }

.course-card__certs { min-width: 0; display: grid; gap: 11px; align-content: start; }
.course-card__certs-h { font-family: var(--ff-display); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.cert-badge { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .4s, background .4s; }
.course-card:hover .cert-badge { border-color: var(--line-2); }
.cert-badge__logo { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-2); }
.cert-logo { width: 22px; height: 22px; fill: var(--muted); transition: fill .4s; }
.course-card:hover .cert-logo { fill: var(--text); }
.cert-badge__text { min-width: 0; }
.cert-badge__name { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 13px; line-height: 1.25; color: var(--text); overflow-wrap: anywhere; }
.cert-badge__by { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.cert-badge__by .cert-code { color: var(--teal); font-family: var(--ff-display); letter-spacing: .03em; }
.cert-badge__tag { flex-shrink: 0; align-self: flex-start; margin-left: auto; font-family: var(--ff-display); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212,146,38,.32); padding: 3px 8px; border-radius: 100px; }

/* Soft-skills / work-readiness emphasis */
.cert-extra { margin-top: 30px; }

/* Logoless issuer monogram tile */
.cert-mono { font-family: var(--ff-display); font-weight: 700; font-size: 12px; letter-spacing: .01em; color: var(--muted); transition: color .4s; }
.course-card:hover .cert-mono { color: var(--text); }

/* Card footer: fee + actions */
.course-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: clamp(18px, 2.4vw, 26px); border-top: 1px solid var(--line); }
.course-card__fee { display: flex; flex-direction: column; gap: 1px; margin-right: auto; }
.course-card__fee-amt { font-family: var(--ff-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; color: var(--text); }
.course-card__fee-amt2 { font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: var(--muted); }
.course-card__fee-amt small, .course-card__fee-amt2 small { font-family: var(--ff-body); font-weight: 400; font-size: .58em; color: var(--muted-2); letter-spacing: .02em; margin-left: 5px; text-transform: uppercase; }
.course-card__fee-sub { font-size: 12px; color: var(--muted-2); margin-top: 3px; }
.fee-mode { display: inline-block; margin-left: 8px; font-family: var(--ff-display); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 100px; vertical-align: middle; }
.fee-mode--both { color: var(--muted-2); border: 1px solid var(--line-2); }
.fee-mode--online { color: var(--teal); border: 1px solid rgba(64,190,185,.4); }
.fee-mode--onsite { color: var(--gold); border: 1px solid rgba(212,146,38,.4); }
.course-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.course-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 100px; border: 1px solid var(--line-2); font-family: var(--ff-display); font-weight: 500; font-size: 14px; color: var(--text); transition: border-color .35s, color .35s; }
.course-toggle:hover { border-color: var(--teal); color: var(--teal); }
.course-toggle__caret { color: var(--teal); font-weight: 400; transition: transform .4s var(--ease); }
.course-toggle.is-open .course-toggle__caret { transform: rotate(135deg); }

/* Curriculum accordion */
.course-curric { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.course-curric.is-open { grid-template-rows: 1fr; }
.course-curric__inner { overflow: hidden; min-height: 0; }
.course-curric.is-open .course-curric__inner { padding-top: 6px; }
.curric-list { display: grid; gap: 1px; counter-reset: mod; }
.curric-mod { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.curric-mod:first-child { border-top: 0; }
.curric-mod__hrs { flex-shrink: 0; width: 48px; font-family: var(--ff-display); font-weight: 600; font-size: 13px; color: var(--teal); letter-spacing: .02em; }
.curric-mod__body { min-width: 0; }
.curric-mod__title { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 1rem; color: var(--text); }
.curric-mod__title::before { counter-increment: mod; content: counter(mod, decimal-leading-zero) " · "; color: var(--muted-2); font-weight: 400; }
.curric-mod__topics { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.curric-total { margin-top: 16px; font-family: var(--ff-display); font-size: 13px; letter-spacing: .04em; color: var(--muted-2); }

/* Fees */
.fees-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.fee-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fee-row__name { font-family: var(--ff-display); font-weight: 500; color: var(--text); font-size: .98rem; min-width: 0; }
.fee-row__name span { display: block; font-family: var(--ff-body); font-weight: 400; font-size: 12px; color: var(--muted-2); margin-top: 3px; }
.fee-row__amt { flex-shrink: 0; font-family: var(--ff-display); font-weight: 600; color: var(--teal); white-space: nowrap; }
.fee-row--tuition { background: linear-gradient(165deg, rgba(64,190,185,.10), var(--surface) 60%); border-color: rgba(64,190,185,.28); grid-column: 1 / -1; }
.fees-note { color: var(--muted-2); font-size: .85rem; margin-top: 18px; max-width: 74ch; line-height: 1.6; }
.cert-cost { color: var(--text); font-family: var(--ff-display); white-space: nowrap; }

/* Per-track fee table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.feetable { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.feetable th, .feetable td { text-align: right; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.feetable th:first-child, .feetable td:first-child { text-align: left; }
.feetable thead th { font-family: var(--ff-display); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); background: var(--surface); }
.feetable td:first-child { font-family: var(--ff-display); font-weight: 500; color: var(--text); }
.feetable td { color: var(--muted); }
.feetable tbody tr:last-child td { border-bottom: 0; }
.feetable tbody tr:hover { background: var(--surface); }
.feetable__total { font-family: var(--ff-display); font-weight: 700; color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.divisions__grid, .approach__grid { grid-template-columns: 1fr 1fr; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.flagship__inner, .founder__inner { grid-template-columns: 1fr; }
	.flagship__media { order: 2; }
	.founder__portrait { max-width: 240px; }
	.process { grid-template-columns: 1fr 1fr; }
	.creds { grid-template-columns: 1fr 1fr; }
	.contact { grid-template-columns: 1fr; }
	.contact__aside { order: -1; }
	.blog-grid { grid-template-columns: 1fr 1fr; }
	.pub-metrics { grid-template-columns: repeat(3, 1fr); }
	.featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.nav, .site-header__cta { display: none; }
	.nav-toggle { display: flex; }
	.site-header__inner { justify-content: space-between; }
	.course-card__cols { grid-template-columns: 1fr; }
	.course-card__certs { margin-top: 4px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.divisions__grid, .approach__grid, .stats__grid { grid-template-columns: 1fr; }
	.svc-grid, .process, .creds, .two-col, .blog-grid, .featured-grid, .fees-grid { grid-template-columns: 1fr; }
	.pub-metrics { grid-template-columns: 1fr 1fr; }
	.pub-item { flex-direction: column; gap: 8px; }
	.pub-item__aside { flex-direction: row; align-items: center; gap: 12px; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.hero { min-height: auto; padding-block: 116px 70px; align-items: flex-start; }
	.hero__inner { padding-top: 0; }
	.hero__title { font-size: clamp(2.05rem, 9.2vw, 3rem); line-height: 1.03; margin-bottom: 22px; }
	.hero__lede { font-size: 1.02rem; }
	.hero__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 30px; }
	.hero__actions .btn { justify-content: center; }
	.hero__founder { margin-top: 28px; font-size: 13px; }
	.hero__scroll { display: none; }
	.hero__fallback { align-items: flex-start; padding-top: 12vh; }
	.hero__ring-css { width: 92vw; opacity: .4; }
	.dcard { min-height: 0; }
}
@media (max-width: 420px) {
	.site-footer__top { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	html.anim [data-reveal], html.anim [data-split] { opacity: 1; transform: none; }
	.hero__scroll-line, .marquee__track, .hero__ring-css, .flagship__ring, .founder__ring { animation: none !important; }
}
