/* ==========================================================================
   EduTech Global — main stylesheet
   Design reference: Figma "Edutech Global Website Redesign", 1440px frame.
   ========================================================================== */

/* Tokens ----------------------------------------------------------------- */
:root {
	--red: #da1111;
	--red-hover: #b80e0e;
	--red-bright: #ec1212;
	--red-dot: #d81f2a;
	--red-deep: #ab0d0d;
	--ink: #020617;
	--text: #0f172a;
	--text-soft: #4b5563;
	--muted-text: #737373;
	--line: #e5e5e5;
	--bg: #ffffff;
	--bg-muted: #f8f8f9;
	--bg-soft: #fafafa;
	--black: #0a0a0b;

	--font-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(64px, 8vw, 110px);
	--radius-sm: 8px;
	--radius: 15px;
	--radius-lg: 24px;
	--header-h: 92px;
	--shadow: 0 20px 50px rgba(11, 11, 31, .08);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* Base ------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.025em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px; left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--muted { background: var(--bg-muted); }
.section--soft { background: var(--bg-soft); }

.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title {
	font-size: clamp(32px, 3.34vw, 48px);
	font-weight: 800;
	line-height: 1.02;
}

.section-lead {
	max-width: 820px;
	margin: 0 auto;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.56;
	color: var(--text);
}

/* Eyebrow label */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.24;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--black);
}
.eyebrow__dot {
	position: relative;
	flex: none;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--red-dot);
}
.eyebrow__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--red-dot);
	animation: pulse 2s var(--ease) infinite;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 8px 14px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fafafa; }
.btn--primary:hover { background: var(--red-hover); box-shadow: 0 10px 24px rgba(218, 17, 17, .3); }

.btn--outline-light { border-color: #fafafa; color: #fafafa; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

.btn--outline-red { min-width: 194px; border-width: 2px; border-color: var(--red); color: var(--red); }
.btn--outline-red:hover { background: var(--red); color: #fff; }

.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-group--center { justify-content: center; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: var(--red);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Image placeholder until real images are added */
.media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 70%) 0 0 / 200% 100%,
		linear-gradient(135deg, #d9d9de, #ececef);
	animation: shimmer 2.2s linear infinite;
}

/* Preloader -------------------------------------------------------------- */
.preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	place-items: center;
	background: #fff;
	transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.js .preloader { display: grid; }
.preloader__inner { display: grid; justify-items: center; gap: 14px; }
.preloader__mark { width: 72px; height: 66px; color: var(--red); }
.preloader__mark path {
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linejoin: round;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: draw 1.4s var(--ease) forwards, breathe 2.4s 1.4s var(--ease) infinite;
}
.preloader__mark path:nth-child(2) { animation-delay: .25s, 1.65s; }
.preloader__mark path:nth-child(3) { animation-delay: .5s, 1.9s; }
.preloader__name {
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 800;
	color: var(--ink);
	opacity: 0;
	animation: fadeUp .6s .6s var(--ease) forwards;
}
.preloader__name span { color: var(--red); font-weight: 600; }
.preloader__bar { width: 140px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
.preloader__bar span { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--red); animation: loadbar 1.1s var(--ease) infinite; }

body.is-loaded .preloader { opacity: 0; visibility: hidden; }
body.is-loading { overflow: hidden; }
.no-js body.is-loading { overflow: auto; }

/* Logo ------------------------------------------------------------------- */
.logo { display: inline-flex; flex: none; }
.logo__img { width: 156px; height: auto; }
.logo--light .logo__img { width: 141px; }
body.is-loaded .site-header .logo { animation: fadeUp .7s var(--ease) both; }

.custom-logo-link img { max-height: 48px; width: auto; }

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 2px solid #f5f5f5;
	background: #fff;
	transition: box-shadow .3s var(--ease);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 11, 31, .08); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: calc(var(--header-h) - 2px);
}

.primary-nav { margin-left: auto; }
.primary-nav { margin-right: 16px; }
.primary-nav .menu { display: flex; align-items: center; gap: 12px; }
.primary-nav .menu-item { position: relative; }
.primary-nav .menu > .menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--ink);
	transition: color .2s var(--ease), background-color .2s var(--ease);
}
.primary-nav .menu > .menu-item > a:hover { background: #f5f5f5; }
.primary-nav .menu > .menu-item-has-children > a { padding-right: 34px; }
.primary-nav .menu > .menu-item-has-children > .submenu-toggle { position: absolute; top: 50%; right: 10px; margin: 0; transform: translateY(-50%); }
.primary-nav .menu > .menu-item > a:hover,
.primary-nav .current-menu-item > a { color: var(--red); }

.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 20px; height: 20px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
	vertical-align: middle;
}
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.menu-item.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: -16px;
	min-width: 240px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.primary-nav .sub-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 4px;
	font-size: 13px;
	color: var(--ink);
}
.primary-nav .sub-menu a:hover { background: var(--bg-muted); color: var(--red); }

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu,
.primary-nav .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.primary-nav__cta { display: none; }
.site-header__cta { min-height: 36px; padding: 8px 10px; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; margin: auto; }
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-start;
	/* Figma: 640px tall at 1440px wide, so keep that ratio on smaller screens. */
	min-height: clamp(520px, 44.45vw, 640px);
	overflow: hidden;
	color: #fff;
	background: #2a2c33;
	isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* Figma places the photo at 1515×856, 29px left of and 90px above the hero box. */
@media (min-width: 641px) {
	.hero__media { inset: auto; top: -14.06%; left: -2.01%; width: 105.21%; height: 133.75%; }
}
.hero__media img,
.hero__media .media-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center var(--hero-focus, 50%); }
.hero__media .media-placeholder { background: linear-gradient(120deg, #33363d, #6b6e75); animation: none; }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(104deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .1) 84%);
}
.hero__inner { padding-block: clamp(64px, 9.03vw, 130px) 64px; }
.hero__content { max-width: 820px; }
.hero__title {
	color: #fff;
	font-size: clamp(36px, 4.17vw, 60px);
	font-family: var(--font-body);
	font-weight: 600;
	line-height: 1;
}
.hero__text { max-width: 594px; margin: 12px 0 42px; font-size: 16px; line-height: 24px; color: #fff; }

/* Partners marquee ------------------------------------------------------- */
.partners { padding: 30px 0 33px; background: #fff; }
.partners__title {
	margin-bottom: 29px;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
	letter-spacing: .2em;
	text-align: center;
	text-transform: uppercase;
	color: #6b6a66;
}
.marquee {
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
	display: flex;
	flex: none;
	align-items: center;
	gap: 32px;
	padding-right: 32px;
	animation: marquee var(--anim-marquee, 32s) linear infinite;
}
/* Pause on hover only with a real mouse: on touchscreens a swipe over the strip counts as hover and froze it. */
@media (hover: hover) and (pointer: fine) {
	.marquee:hover .marquee__track { animation-play-state: paused; }
}
.marquee__item img { width: auto; max-width: 160px; height: 55px; object-fit: contain; transition: transform .3s var(--ease); }
.marquee__item img:hover { transform: scale(1.05); }
.marquee__text { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #9a9aa3; white-space: nowrap; }

/* About ------------------------------------------------------------------ */
.about.section { padding-block: clamp(64px, 6.9vw, 99px) 38px; }
.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 664px) minmax(0, 427px);
	justify-content: space-between;
	gap: clamp(40px, 6vw, 87px);
	align-items: start;
	padding-inline: max(var(--gutter), calc(var(--gutter) + 30px));
}
.about .section-title { max-width: 617px; margin-bottom: 24px; }
.about__text { max-width: 664px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: var(--ink); }
.about__text p + p { margin-top: 1em; }
.about__text strong { color: var(--ink); font-weight: 600; }
.about__media { aspect-ratio: 427 / 392; overflow: hidden; border: 5px solid #fff; border-radius: var(--radius-sm); }
.about__media img,
.about__media .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about__media:hover img { transform: scale(1.04); }

/* Subsidiaries ----------------------------------------------------------- */
.subsidiaries.section { padding-block: clamp(56px, 5vw, 72px) clamp(72px, 9.86vw, 142px); }
.subsidiaries .section-head { margin-bottom: 56px; }
.subsidiaries .eyebrow { margin-bottom: 24px; font-size: 16px; line-height: 31px; letter-spacing: .156em; color: var(--muted-text); }
.subsidiaries .eyebrow__dot { width: 8px; height: 8px; }
.subsidiaries .section-lead { max-width: 847px; }
.subsidiaries__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1240px; margin-inline: auto; }
.sub-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #d4d4d4;
	border-radius: var(--radius-lg);
	background: #fff;
	transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.sub-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sub-card__media { position: relative; aspect-ratio: 606 / 379; overflow: hidden; }
.sub-card__media > img:first-child,
.sub-card__media .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sub-card:hover .sub-card__media > img:first-child { transform: scale(1.05); }
.sub-card__logo { position: absolute; top: 18px; right: 26px; width: auto; max-width: 50%; height: 49px; object-fit: contain; }
.sub-card:nth-child(2) .sub-card__logo { top: 20px; right: 25px; height: 38px; }
.sub-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 28px 28px 41px; }
.sub-card__title { font-size: clamp(20px, 1.67vw, 24px); font-weight: 800; line-height: 1.33; }
.sub-card__text { flex: 1; font-size: 16px; line-height: 24px; color: var(--text-soft); }
.sub-card .link-arrow { margin-top: 6px; }

/* Services --------------------------------------------------------------- */
.services.section { padding-block: clamp(48px, 3.75vw, 54px) clamp(72px, 9vw, 130px); }
.services .section-head { margin-bottom: 32px; }
.services .eyebrow { margin-bottom: 12px; font-size: 11.5px; line-height: 1.5; letter-spacing: .22em; color: var(--ink); }
.services .section-title { max-width: 672px; }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.service-card {
	display: flex;
	flex-direction: column;
	padding: 35px 39px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 3px 12px 2px rgba(0, 0, 0, .03);
	transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card__num { margin-bottom: 21px; font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; line-height: 1.43; color: var(--red-bright); }
.service-card__title { margin-bottom: 20px; font-size: clamp(20px, 1.61vw, 23.2px); font-weight: 700; line-height: 1.33; }
.service-card__text { margin-bottom: 31px; font-size: 15px; line-height: 1.55; color: var(--text); }
.service-card__line { display: block; width: 39px; height: 3px; margin-top: auto; border-radius: 3px; background: var(--red-bright); transition: width .4s var(--ease); }
.service-card:hover .service-card__line { width: 80px; }

/* Why -------------------------------------------------------------------- */
.why { position: relative; padding-bottom: clamp(64px, 6.9vw, 100px); background: var(--bg-soft); }
.why__banner { height: clamp(260px, 34.7vw, 500px); overflow: hidden; background: #2a2c33; }
.why__banner img,
.why__banner .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
.why__card {
	position: relative;
	max-width: 1080px;
	margin: clamp(-201px, -14vw, -100px) auto 0;
	padding: clamp(40px, 5.56vw, 80px) clamp(24px, 5.83vw, 84px) clamp(40px, 5.76vw, 83px);
	border-radius: var(--radius-sm);
	background: #fff;
	box-shadow: 0 4px 12px 2px rgba(0, 0, 0, .04);
}
.why__title { text-align: center; font-size: clamp(28px, 2.78vw, 40px); line-height: 1; letter-spacing: -.02em; }
.why__underline { width: 85px; height: 6px; margin: 16px auto clamp(36px, 4.24vw, 61px); overflow: visible; }
.why__underline path { stroke: var(--red-bright); stroke-width: 6; stroke-linecap: round; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 411px)); justify-content: space-between; gap: 30px clamp(32px, 6vw, 90px); }
.why__col { display: grid; gap: 30px; align-content: start; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.feature__icon { color: var(--red-bright); }
.feature__icon .icon { width: 48px; height: 48px; }
.feature__title { margin: 3px 0 8px; font-size: 18px; font-weight: 700; line-height: 24px; letter-spacing: 0; }
.feature__text { max-width: 343px; font-size: 16px; line-height: 24px; color: var(--text); }
.why__action { margin-top: 33px; text-align: center; }

/* Impact ----------------------------------------------------------------- */
.impact { padding-block: clamp(56px, 5.28vw, 76px) clamp(64px, 10.76vw, 155px); background: var(--red-deep); color: #fff; }
.impact__title { margin-bottom: clamp(40px, 5.63vw, 81px); color: #fff; font-size: clamp(28px, 2.78vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -.02em; text-align: center; }
.impact__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding-inline: clamp(0px, 2.78vw, 40px); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 18px; }
.stat__number { margin: 0; font-family: var(--font-head); font-size: clamp(34px, 3.34vw, 48px); font-weight: 800; line-height: .84; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__label { max-width: 240px; font-size: 16px; line-height: 24px; color: #fff; }

/* Articles --------------------------------------------------------------- */
.articles.section { padding-block: clamp(64px, 6.9vw, 100px) clamp(48px, 4vw, 60px); }
.articles .section-title { margin-bottom: 40px; font-size: clamp(28px, 2.78vw, 40px); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.articles__grid { display: grid; grid-template-columns: minmax(0, 588px) minmax(0, 535px); gap: clamp(32px, 6.94vw, 100px); align-items: start; }
.article-featured__media { display: block; aspect-ratio: 588 / 284; overflow: hidden; border-radius: var(--radius-sm); }
.article-featured__media img,
.article-featured__media .media-placeholder,
.article-item__media img,
.article-item__media .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-featured:hover img,
.article-item:hover img { transform: scale(1.05); }
.article-featured__title { margin-top: 32px; max-width: 588px; font-size: clamp(22px, 1.94vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.article-list { display: grid; gap: 32px; }
.article-item { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.article-item__media { display: block; aspect-ratio: 220 / 131; overflow: hidden; border-radius: var(--radius-sm); }
.article-item__title { font-size: 18px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.article-featured__title a,
.article-item__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.article-featured__title a:hover,
.article-item__title a:hover { color: var(--red); background-size: 100% 1px; }

/* CTA -------------------------------------------------------------------- */
.cta.section { padding-block: clamp(64px, 8.89vw, 128px); }
.cta__box {
	position: relative;
	display: grid;
	justify-items: center;
	padding: clamp(56px, 6.67vw, 96px) clamp(24px, 5vw, 80px) clamp(56px, 6.6vw, 95px);
	overflow: hidden;
	border-radius: 32px;
	color: #fff;
	text-align: center;
	isolation: isolate;
	background: var(--black) var(--cta-bg, none) center / cover no-repeat;
}
.cta__box::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(10, 10, 11, 1) 0%, rgba(10, 10, 11, .85) 41%, rgba(38, 13, 15, .74) 63%, rgba(76, 17, 21, .63) 75%, rgba(101, 19, 25, .57) 81%, rgba(131, 22, 29, .51) 88%, rgba(168, 26, 35, .46) 94%, rgba(216, 31, 42, .4) 100%);
}
.cta__title { max-width: 672px; color: #fff; font-size: clamp(32px, 4.17vw, 60px); font-weight: 800; line-height: 1.02; }
.cta__text { max-width: 512px; margin: 20px 0 36px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: rgba(255, 255, 255, .7); }
.cta .btn-group { gap: 12px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { padding: 64px 0; background: var(--black); color: rgba(255, 255, 255, .7); }
.site-footer .container { padding-inline: max(var(--gutter), calc(var(--gutter) + 32px)); }
.site-footer__grid { display: grid; grid-template-columns: 328fr 235fr 235fr 235fr; gap: 48px; }
.site-footer__brand { padding-top: 12px; }
.site-footer__tagline { max-width: 320px; margin: 16px 0 24px; font-size: 14px; line-height: 22.8px; color: rgba(255, 255, 255, .6); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 24px; height: 24px; color: #fafafa; transition: color .2s, transform .25s var(--ease); }
.socials a:hover { color: var(--red); transform: translateY(-3px); }
.socials .icon { width: 20px; height: 20px; }
.footer-heading {
	margin-bottom: 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
}
.footer__links { display: grid; gap: 12px; }
.footer__links a,
.site-footer__address { font-size: 14px; line-height: 20px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--red); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid #e4e2dc;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
	color: rgba(255, 255, 255, .45);
}
.site-footer__copy { font-family: var(--font-body); }
.legal-links { display: flex; flex-wrap: wrap; }
.legal-links li + li::before { content: "|"; margin: 0 14px; }
.legal-links a:hover { color: #fff; }

@media (min-width: 1081px) { .site-footer__address { white-space: nowrap; } }

/* 404 ---------------------------------------------------------------------- */
.not-found { padding-block: clamp(56px, 8vw, 120px); text-align: center; }
.not-found__inner { display: grid; justify-items: center; gap: 28px; max-width: calc(760px + var(--gutter) * 2); }
.not-found__art { width: min(100%, 360px); height: auto; }
.not-found__art .draw { stroke: var(--red); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.not-found .eyebrow { justify-content: center; }
.not-found__title { font-family: var(--font-body); font-size: clamp(28px, 3.34vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--black); }
.not-found__text { max-width: 560px; margin: 16px auto 0; font-size: 17px; line-height: 1.6; color: var(--text-soft); }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.not-found__links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.not-found__links a:hover { border-color: var(--red); background: #fdf3f3; color: var(--red); }

/* Generic page content --------------------------------------------------- */
.page-content .section-title { margin-bottom: 24px; }
.entry + .entry { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.entry__title { font-size: 24px; margin-bottom: 10px; }
.entry__title a:hover { color: var(--red); }
.entry__media { margin-bottom: 24px; overflow: hidden; border-radius: var(--radius); }
.entry__content > * + * { margin-top: 1em; }
.entry__content a { color: var(--red); text-decoration: underline; }

/* Scroll reveal ---------------------------------------------------------- */
/*
 * Slow section fade-in (every top-level section and the footer; main.js adds
 * .reveal-section and a .section-veil cover to each). The page background is
 * white, so fading a white cover away looks the same as fading the section
 * in, but the browser only animates a plain sheet instead of repainting the
 * whole section and its photos, which kept scrolling smooth. Sections on
 * screen at load wait for the preloader to finish, so their fade is seen.
 */
.js .reveal-section { position: relative; }
.section-veil { position: absolute; inset: 0; z-index: 30; background: var(--bg); opacity: 1; pointer-events: none; transition: opacity var(--anim-section, 2.2s) cubic-bezier(.42, 0, .38, 1), visibility 0s linear var(--anim-section, 2.2s); }
.js .reveal-section.is-visible > .section-veil { opacity: 0; visibility: hidden; }
.js body:not(.is-loaded) .reveal-section > .section-veil { opacity: 1; visibility: visible; }
.no-js .section-veil { display: none; }

/* A short 16px rise with a soft ease-out: smoother and lighter than a long slide. */
.js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, var(--anim-distance, 16px), 0);
	transition: opacity calc(var(--anim-reveal, .9s) * .86) cubic-bezier(.16, 1, .3, 1) calc(var(--delay, 0s) * var(--anim-stagger, 1)), transform var(--anim-reveal, .9s) cubic-bezier(.16, 1, .3, 1) calc(var(--delay, 0s) * var(--anim-stagger, 1));
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Stroke-draw SVGs (feature icons, underline) */
.js [data-reveal] .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-visible .draw { animation: draw calc(1.4s * var(--anim-draw, 1)) var(--ease) forwards; }
.js [data-reveal] .feature__icon { opacity: 0; transform: scale(.6) rotate(-8deg); }
.js .is-visible .feature__icon { animation: pop calc(.7s * var(--anim-draw, 1)) var(--ease) calc(.15s * var(--anim-draw, 1)) forwards; }
.js .is-visible .feature:nth-child(2) .feature__icon { animation-delay: .3s; }
.js .is-visible .feature:nth-child(3) .feature__icon { animation-delay: .45s; }
.js .is-visible .why__col + .why__col .feature:nth-child(1) .feature__icon { animation-delay: .25s; }
.js .is-visible .why__col + .why__col .feature:nth-child(2) .feature__icon { animation-delay: .4s; }
.js .is-visible .why__underline .draw { animation-duration: calc(.9s * var(--anim-draw, 1)); animation-delay: calc(.3s * var(--anim-draw, 1)); }

/* Keyframes -------------------------------------------------------------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { 50% { opacity: .55; } }
@keyframes pop { 60% { opacity: 1; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes shimmer { to { background-position: -200% 0, 0 0; } }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
	.primary-nav .menu { gap: 2px; }
	.primary-nav .menu > .menu-item > a { padding-inline: 8px; font-size: 13px; }
	.primary-nav .menu > .menu-item-has-children > a { padding-right: 28px; }
	.primary-nav .menu > .menu-item-has-children > .submenu-toggle { right: 6px; }
}

@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	.logo__img { width: 132px; }
	.primary-nav .menu > .menu-item > a,
	.primary-nav .menu > .menu-item-has-children > a { padding: 16px 0; border-radius: 0; }
	.primary-nav .menu > .menu-item > a:hover { background: none; }
	.primary-nav .menu > .menu-item-has-children > .submenu-toggle { position: static; transform: none; }

	.nav-toggle { display: grid; }
	.site-header__cta { display: none; }

	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 99;
		display: flex;
		flex-direction: column;
		gap: 24px;
		margin: 0;
		padding: 16px var(--gutter) 40px;
		overflow-y: auto;
		background: #fff;
		border-top: 1px solid var(--line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > .menu-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > .menu-item > a { flex: 1; padding: 16px 0; font-size: 16px; }
	.submenu-toggle { width: 44px; height: 44px; }
	.primary-nav .sub-menu {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		margin: 0 0 12px;
		padding: 0 0 0 12px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.primary-nav .menu-item-has-children:hover > .sub-menu,
	.primary-nav .menu-item-has-children:focus-within > .sub-menu { display: none; }
	.primary-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.primary-nav__cta { display: inline-flex; align-self: flex-start; }
	body.nav-open { overflow: hidden; }

	.about__grid { padding-inline: var(--gutter); }
	.services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.impact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.articles__grid { grid-template-columns: 1fr; }
	.article-featured__title { max-width: none; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer .container { padding-inline: var(--gutter); }
}

/* Tablets (641–1080px): keep two-up layouts where they still fit. */
@media (min-width: 641px) and (max-width: 1080px) {
	/* Text centred in the hero, with even space above and below. */
	.hero { min-height: 520px; align-items: center; }
	.hero__inner { padding-block: 56px; }
	.article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.article-item { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 860px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 520px; }
}

@media (max-width: 640px) {
	.subsidiaries__grid { grid-template-columns: 1fr; max-width: 620px; }
}

@media (max-width: 860px) {
	.why__grid { grid-template-columns: 1fr; }
	.why__col { gap: 26px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	/* A fuller hero with slightly smaller text, centred so the space above and below stays even. */
	.hero { min-height: 520px; align-items: center; }
	.hero__media img { object-position: 75% var(--hero-focus, 50%); }
	.hero::before { background: linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .32) 100%); }
	.hero__inner { padding-block: 48px; }
	.hero__title { font-size: clamp(28px, 7.6vw, 32px); line-height: 1.12; }
	.hero__text { margin: 12px 0 28px; font-size: 14.5px; line-height: 22px; }
	.hero .btn-group .btn { flex: 1 1 auto; }
	.services__grid { grid-template-columns: 1fr; }
	.impact__grid { gap: 36px 20px; padding: 0; }
	.stat__label { font-size: 14px; }
	.article-item { grid-template-columns: 120px 1fr; gap: 16px; }
	.article-item__title { font-size: 15px; }
	.article-list { gap: 24px; }
	.article-featured__title { margin-top: 20px; }
	.cta .btn-group .btn { flex: 1 1 100%; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 44px; }
	.legal-links li + li::before { margin: 0 10px; }
}

@media (max-width: 380px) {
	.impact__grid { grid-template-columns: 1fr; }
	.btn { padding-inline: 16px; }
}

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	/* "Reduce motion" still gets the gentle section fade: it has no movement. */
	.section-veil { transition-duration: var(--anim-section, 2.2s), 0s !important; transition-delay: 0s, var(--anim-section, 2.2s) !important; }
	.js [data-reveal] .draw { stroke-dashoffset: 0; }
	.js [data-reveal] .feature__icon { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
	.marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
	.marquee__track[aria-hidden="true"] { display: none; }
	.marquee__track { flex-wrap: wrap; justify-content: center; padding: 0; row-gap: 24px; }
}

/* Eyebrows on phones: always one line. Each eyebrow carries its length (--chars),
   so long ones shrink just enough to fit the screen and short ones keep 12px.
   JetBrains Mono letters are 0.6em wide; plus 0.14em spacing = 0.74em each.
   26px covers the dot and its gap. "body" plus the doubled class beats every section-specific size. */
@media (max-width: 640px) {
	body .eyebrow.eyebrow,
	body .partners__title.partners__title {
		font-size: min(12px, calc((100vw - 2 * var(--gutter) - 26px) / (var(--chars, 24) * .74)));
		line-height: 1.5;
		letter-spacing: .14em;
		white-space: nowrap;
	}
	body .partners__title.partners__title { font-size: min(12px, calc((100vw - 2 * var(--gutter)) / (var(--chars, 24) * .74))); }
}

/* Mild motion ---------------------------------------------------------------- */

/* Pages fade softly into each other in browsers that support view transitions. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root),
	::view-transition-new(root) { animation-duration: var(--anim-page, .3s); animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
}

/* Header turns slightly translucent once the page scrolls. */
.site-header { transition: box-shadow .3s var(--ease), background-color .3s var(--ease); }
/*
 * The frosted blur sits on a layer behind the header, never on the header
 * itself: a blur on the header would make the fixed mobile menu inside it
 * position against the 92px header instead of the screen, collapsing it.
 */
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
	.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); transition: opacity .3s var(--ease); pointer-events: none; }
	.site-header.is-scrolled { background: transparent; }
	.site-header.is-scrolled::before { opacity: 1; }
	/* With the menu open the header is solid, matching the menu panel. */
	.nav-open .site-header.is-scrolled { background: #fff; }
	/* On very large, scaled screens the blur is costly to redraw while scrolling: use a near-solid header instead. */
	@media (min-width: 1800px) {
		.site-header::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }
	}
}

/*
 * Photos used to settle from a 1.08 zoom as their section appeared. Scaling
 * large photos forces a full repaint each frame and was the main cause of
 * stutter while scrolling, so photos now simply fade in with their section.
 * The gentle zoom on hover stays.
 */
:is(.about__media, .split-stats__photo, .sub-feature__photo, .sub-hero__photo, .person__photo, .sub-card__media, .post-card__media, .article-featured__media, .article-item__media, .product-tabs__shot, .why__banner) img { transition: transform .8s var(--ease); }

/* Hero photos drift slowly while scrolling (set in main.js). */
.hero__media img,
.page-hero__media img { will-change: transform; }

/* Buttons and links respond to presses. */
.btn:active { transform: translateY(0) scale(.98); }
.footer__links a,
.site-footer__address a { display: inline-block; transition: color .2s var(--ease), transform .25s var(--ease); }
.footer__links a:hover { transform: translateX(3px); }
.primary-nav .sub-menu a { transition: color .2s var(--ease), background-color .2s var(--ease), padding-left .25s var(--ease); }
.primary-nav .sub-menu a:hover { padding-left: 14px; }

/* ---------------------------------------------------------------------------
 * Background art (edutech_backdrop): faded rings, dots and drifting lines
 * behind a section. Purely decorative; stays behind content and pauses for
 * reduced-motion visitors.
 * ------------------------------------------------------------------------ */
.has-backdrop { position: relative; isolation: isolate; overflow: clip; }
.backdrop { position: absolute; z-index: -1; pointer-events: none; color: var(--red); }

.backdrop--orbit { width: clamp(340px, 42vw, 640px); height: auto; aspect-ratio: 1; opacity: .5; }
.backdrop--orbit.backdrop--right { top: 50%; right: 0; transform: translate(38%, -50%); }
.backdrop--orbit.backdrop--left { top: 50%; left: 0; transform: translate(-38%, -50%); }
.backdrop--orbit.backdrop--top-left { top: 0; left: 0; transform: translate(-40%, -35%); }
.backdrop--orbit.backdrop--top-right { top: 0; right: 0; transform: translate(40%, -35%); }
.backdrop--orbit.backdrop--center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(360px, 60vw, 720px); }
.backdrop__dots { fill: var(--ink); opacity: .14; }
.backdrop__ring { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .28; }
.backdrop__ring--dash { stroke-dasharray: 2 10; stroke-linecap: round; stroke-width: 2; opacity: .4; }
.backdrop__ring--dash-fine { stroke-dasharray: 18 12; opacity: .22; }
.backdrop__node { fill: currentColor; opacity: .45; }
.backdrop__node--soft { opacity: .3; }
.backdrop__pulse { fill: currentColor; opacity: .05; transform-box: fill-box; transform-origin: center; animation: bd-pulse calc(7s * var(--anim-bg, 1)) var(--ease) infinite; }
.backdrop__spin { transform-box: view-box; transform-origin: 50% 50%; animation: bd-spin calc(80s * var(--anim-bg, 1)) linear infinite; }
.backdrop__spin--rev { animation-duration: calc(60s * var(--anim-bg, 1)); animation-direction: reverse; }
.backdrop__spin--slow { animation-duration: calc(120s * var(--anim-bg, 1)); }

.backdrop--flow { inset: auto 0 0; width: 100%; height: clamp(180px, 22vw, 320px); opacity: .55; }
.backdrop--flow.backdrop--top { inset: 0 0 auto; transform: scaleY(-1); }
.backdrop__line { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 34 6; opacity: calc(.32 - var(--i) * .06); animation: bd-flow calc(26s * var(--anim-bg, 1)) linear infinite; animation-delay: calc(var(--i) * -3s); }
.backdrop__drift { animation: bd-drift calc(18s * var(--anim-bg, 1)) var(--ease) infinite alternate; }

@keyframes bd-spin { to { transform: rotate(360deg); } }
@keyframes bd-pulse { 0%, 100% { transform: scale(1); opacity: .05; } 50% { transform: scale(1.6); opacity: .02; } }
@keyframes bd-flow { to { stroke-dashoffset: -200; } }
@keyframes bd-drift { from { transform: translateX(-2%); } to { transform: translateX(2%); } }

@media (max-width: 640px) {
	.backdrop--orbit { width: 300px; opacity: .4; }
	.backdrop--orbit.backdrop--right { transform: translate(55%, -50%); }
	.backdrop--orbit.backdrop--left { transform: translate(-55%, -50%); }
	.backdrop--flow { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
	.backdrop * { animation: none !important; }
}

/* ---------------------------------------------------------------------------
 * Extra-large screens
 * The design is drawn for a 1440px-wide screen. Beyond that:
 * - 1600px+: the content column widens a little (1240 → 1320px).
 * - 1800px+: the whole layout scales up in steps, keeping the Figma
 *   proportions, so 1920px, 2K, ultrawide and 4K screens see the same
 *   composition at a comfortable size instead of a small strip in the middle.
 * --zoom is reused wherever a size depends on the screen height.
 * ------------------------------------------------------------------------ */
@media (min-width: 1600px) {
	:root { --container: 1320px; }
}
@media (min-width: 1800px) {
	html { --zoom: 1.125; zoom: var(--zoom); }
}
@media (min-width: 2200px) {
	html { --zoom: 1.3; }
}
@media (min-width: 2400px) {
	html { --zoom: 1.45; }
}
@media (min-width: 2800px) {
	html { --zoom: 1.6; }
}
@media (min-width: 3400px) {
	html { --zoom: 2; }
}

/*
 * Homepage hero on screens wider than the 1440px design.
 * - Height: exactly the first screen minus the header and the "Trusted by"
 *   strip, so hero + institutions are both visible without scrolling
 *   (never shorter than 440px, enough for the text and buttons).
 * - Text: vertically centred, still lined up with the logo on the left, and
 *   sized against the real screen (about 48px at 1920px), so it no longer
 *   grows with the large-screen scaling.
 * - Photo: no Figma upward shift, anchored near the top so the person's head
 *   is never cut off (a lower Customizer focus is capped at 10% here).
 * --partners-h is the height of the "Trusted by" strip.
 */
@media (min-width: 1441px) {
	:root { --partners-h: 163px; }
	.hero {
		align-items: center;
		min-height: max(440px, calc(100vh / var(--zoom, 1) - var(--header-h) - var(--partners-h)));
	}
	.hero__inner { padding-block: 40px; }
	.hero__content { max-width: calc(clamp(760px, 40vw, 1500px) / var(--zoom, 1)); }
	.hero__title { font-size: calc(clamp(48px, min(2.5vw, 4.4vh), 96px) / var(--zoom, 1)); line-height: 1.08; }
	.hero__text { max-width: calc(clamp(560px, 30vw, 1150px) / var(--zoom, 1)); margin: .9em 0 2em; font-size: calc(clamp(17px, min(.9vw, 1.6vh), 34px) / var(--zoom, 1)); line-height: 1.55; }
	.hero__media { inset: 0 auto 0 -2.01%; width: 105.21%; height: 100%; }
	.hero__media img { object-position: center min(var(--hero-focus, 50%), 10%); }
}

/* Animations switched off (Customize → Animations): every animation finishes instantly. */
.no-anim *,
.no-anim *::before,
.no-anim *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
.no-anim .marquee__track { animation: none !important; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
.no-anim .section-veil { display: none !important; }
.no-anim .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
.no-anim .marquee__track[aria-hidden="true"] { display: none; }
.no-anim .marquee__track { flex-wrap: wrap; justify-content: center; padding: 0; row-gap: 24px; }
