/* =========================================================================
   AITC Academy: dark stage, one violet accent, oversized type.
   ========================================================================= */

/* ---------- fonts (Inter Tight variable, self-hosted) ---------- */

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-tight-greek.woff2) format("woff2-variations");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-tight-greek-ext.woff2) format("woff2-variations");
	unicode-range: U+1F00-1FFF;
}
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-tight-latin.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-tight-latin-ext.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */

:root {
	--void: #000;
	--white: #fff;
	--ash: #9a9a9a;
	--silver: #bdbdbd;
	--iris: #8052ff;
	--iris-hi: #9670ff;
	--saffron: #ffb829;
	--verdant: #15846e;
	--line: rgba(255, 255, 255, 0.1);
	--surface: rgba(255, 255, 255, 0.04);

	--font: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--fs-caption: 0.75rem;
	--fs-label: 0.875rem;
	--fs-body: 1.125rem;
	--fs-lead: clamp(1.125rem, 0.6vw + 1rem, 1.375rem);
	--fs-h3: clamp(1.5rem, 1.2vw + 1.1rem, 2.25rem);
	--fs-h2: clamp(2rem, 2.6vw + 1rem, 3.5rem);
	--fs-h1: clamp(2.5rem, 3.6vw + 1rem, 4.875rem);
	--fs-display-md: clamp(2.75rem, 5.2vw + 0.5rem, 6.5rem);
	--fs-display: clamp(3.25rem, 7.4vw + 0.4rem, 9.4rem);

	--gutter: clamp(1.25rem, 3.5vw, 3rem);
	--max: 1440px;
	--radius: 24px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);

	color-scheme: dark;
}

/* ---------- base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	background: var(--void);
}

html.lenis,
html.lenis body {
	height: auto;
}
.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
	overflow: clip;
}

body {
	margin: 0;
	background: var(--void);
	color: var(--white);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 300;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

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

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

::selection {
	background: var(--iris);
	color: var(--white);
}

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

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

.skip-link {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--iris);
	border-radius: 999px;
	transform: translateY(-200%);
	transition: transform 0.3s var(--ease);
}
.skip-link:focus {
	transform: none;
}

.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow {
	max-width: 920px;
}

.site-main {
	position: relative;
	z-index: 2;
}

/* ---------- WebGL stage + grain ---------- */

.gl {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: var(--void);
}
.gl__canvas {
	width: 100%;
	height: 100%;
}
.no-webgl .gl {
	background:
		radial-gradient(40vmax 30vmax at 75% 40%, rgba(128, 82, 255, 0.28), transparent 70%),
		radial-gradient(30vmax 26vmax at 85% 70%, rgba(21, 132, 110, 0.22), transparent 70%),
		var(--void);
}

.grain {
	position: fixed;
	inset: -50%;
	z-index: 1;
	pointer-events: none;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
	0% { transform: translate(0, 0); }
	20% { transform: translate(-4%, 3%); }
	40% { transform: translate(3%, -5%); }
	60% { transform: translate(-6%, -2%); }
	80% { transform: translate(5%, 4%); }
	100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4,
p {
	margin: 0;
}

.display,
.h1,
.page-hero__title {
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 0.98;
	text-wrap: balance;
}
.display {
	font-size: var(--fs-display);
	line-height: 0.95;
}
.display--md {
	font-size: var(--fs-display-md);
}
.h1,
.page-hero__title {
	font-size: var(--fs-h1);
	line-height: 1.02;
}

.eyebrow {
	margin-bottom: 1.5rem;
	color: var(--saffron);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lead {
	max-width: 36rem;
	color: var(--silver);
	font-size: var(--fs-lead);
	font-weight: 250;
	line-height: 1.5;
}

.muted {
	color: var(--ash);
}

/* SplitText line masks: room for Greek descenders (ρ, φ, ψ, ξ). */
.split-line-mask {
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}
.split-line {
	will-change: transform;
}

/* Hidden until animated; .no-anim (scripts failed) shows everything. */
.js [data-split],
.js [data-reveal],
.js [data-hero-split],
.js [data-hero-reveal] {
	visibility: hidden;
}
.no-anim [data-split],
.no-anim [data-reveal],
.no-anim [data-hero-split],
.no-anim [data-hero-reveal] {
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
}
.no-anim .loader {
	display: none;
}

/* ---------- buttons + links ---------- */

.btn {
	--h: 3.5rem;
	white-space: nowrap;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: var(--h);
	padding: 0.9rem 1.6rem;
	border: 0;
	border-radius: 999px;
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.6s var(--ease), background-color 0.4s;
}
.btn--primary {
	background: var(--iris);
	color: var(--white);
}
.btn--primary::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(120% 140% at 50% 120%, var(--iris-hi), transparent 60%);
	opacity: 0;
	transition: opacity 0.5s;
}
.btn--primary:hover::before {
	opacity: 1;
}
.btn:hover {
	transform: translateY(-2px);
}
.btn--sm {
	--h: 2.75rem;
	padding: 0.6rem 1.25rem;
}
.btn--block {
	width: 100%;
}
.btn .icon {
	width: 1.1em;
	height: 1.1em;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--white);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.3s, gap 0.5s var(--ease);
}
.link:hover {
	color: var(--saffron);
	gap: 0.85rem;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
	margin-top: 2.5rem;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.tag {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: var(--surface);
	color: var(--silver);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: background-color 0.3s, color 0.3s;
}
a.tag:hover,
.tag.is-active {
	background: var(--white);
	color: var(--void);
}

/* ---------- loader ---------- */

.loader {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	background: var(--void);
	clip-path: inset(0 0 0 0);
}
.loader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}
.loader .mark {
	width: 56px;
	animation: mark-pulse 1.6s var(--ease) infinite;
}
@keyframes mark-pulse {
	0%, 100% { transform: rotate(0) scale(1); opacity: 1; }
	50% { transform: rotate(120deg) scale(0.86); opacity: 0.7; }
}
.loader__count {
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 200;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}
.loader__bar {
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
	height: 1px;
	background: var(--line);
}
.loader__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--iris), var(--verdant));
	transform: scaleX(0);
	transform-origin: left;
}

/* ---------- header ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding-top: env(safe-area-inset-top, 0px);
	transition: transform 0.7s var(--ease), background-color 0.5s;
}
.site-header.is-hidden {
	transform: translateY(-110%);
}
.site-header.is-scrolled {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	max-width: var(--max);
	margin-inline: auto;
	padding: 1.25rem var(--gutter);
}

.logo,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	flex: none;
}
.logo .mark {
	width: 34px;
	transition: transform 0.8s var(--ease);
}
.logo:hover .mark {
	transform: rotate(120deg);
}
.logo__word {
	display: flex;
	flex-direction: column;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}
.logo__word small {
	margin-top: 0.2rem;
	color: var(--ash);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.custom-logo {
	max-height: 40px;
	width: auto;
}

.nav {
	flex: 1;
	display: flex;
	justify-content: center;
}
.nav__list {
	display: flex;
	gap: clamp(1.1rem, 1.8vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__list a {
	position: relative;
	white-space: nowrap;
	color: var(--ash);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.3s;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: var(--white);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.6s var(--ease);
}
.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current-menu-ancestor > a {
	color: var(--white);
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 48px;
	height: 48px;
	margin-left: auto;
	border: 0;
	border-radius: 50%;
	background: var(--surface);
	cursor: pointer;
}
.nav-toggle__line {
	position: absolute;
	left: 14px;
	right: 14px;
	height: 1.5px;
	background: var(--white);
	transition: transform 0.6s var(--ease);
}
.nav-toggle__line:nth-child(2) { top: 20px; }
.nav-toggle__line:nth-child(3) { top: 27px; }
.menu-open .nav-toggle__line:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-toggle__line:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	align-items: flex-end;
	padding: 7rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px));
}
.mobile-menu[hidden] {
	display: none;
}
.mobile-menu__bg {
	position: absolute;
	inset: 0;
	background: #07060c;
	transform-origin: top;
}
.mobile-menu__nav {
	position: relative;
	width: 100%;
}
.mobile-menu__list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}
.mobile-menu__list a {
	display: block;
	padding: 0.35rem 0;
	font-size: clamp(2.25rem, 9vw, 3.5rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.1;
}
.mobile-menu__cta {
	width: 100%;
}

/* ---------- hero ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding-block: 8rem 6rem;
}
.hero__inner {
	position: relative;
}
.hero__title {
	max-width: 11.5em;
	margin-bottom: 2rem;
}
.hero__text {
	max-width: 32rem;
}

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	color: var(--ash);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transform: translateX(-50%);
}
.scroll-cue i {
	position: relative;
	width: 1px;
	height: 48px;
	overflow: hidden;
	background: var(--line);
}
.scroll-cue i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
	0% { transform: translateY(-100%); }
	60%, 100% { transform: translateY(100%); }
}

/* ---------- story (zig-zag) ---------- */

.story {
	display: flex;
	align-items: center;
	min-height: 120vh;
	padding-block: 8rem;
}
.story__body {
	max-width: 34rem;
}
.story--right .story__body {
	margin-left: auto;
}
.story .h1 {
	margin-bottom: 1.75rem;
}

/* ---------- stats ---------- */

.stats {
	padding-block: 10rem 6rem;
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
}
.stat {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.stat__num {
	font-size: clamp(3rem, 5vw, 5.5rem);
	font-weight: 300;
	letter-spacing: -0.045em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.stat__label {
	color: var(--ash);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---------- marquee ---------- */

.marquee {
	position: relative;
	z-index: 2;
	padding-block: 4rem 8rem;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
	display: flex;
	width: max-content;
	will-change: transform;
}
.marquee__group {
	display: flex;
	align-items: center;
	flex: none;
}
.marquee__item {
	padding-inline: 2.5rem;
	font-size: clamp(3rem, 7vw, 7.5rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.1;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
	transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.marquee__item:hover {
	color: var(--white);
}
.marquee__sep {
	width: clamp(1.25rem, 2vw, 2rem);
	fill: var(--iris);
	flex: none;
}

/* ---------- ask (pinned search) ---------- */

.ask {
	position: relative;
	z-index: 3;
}
.ask__stage {
	position: relative;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}
.ask__start {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-inline: var(--gutter);
	text-align: center;
}
.ask__bar {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	width: min(100%, 44rem);
	height: 4.5rem;
	padding: 0 0.6rem 0 1.6rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.ask__bar > .icon {
	color: rgba(255, 255, 255, 0.75);
}
.ask__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: clamp(1rem, 1.3vw, 1.25rem);
	font-weight: 300;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.ask__input::placeholder {
	color: rgba(255, 255, 255, 0.82);
}
.ask__input::-webkit-search-cancel-button {
	display: none;
}
.ask__go {
	display: grid;
	place-items: center;
	width: 3.4rem;
	height: 3.4rem;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: var(--void);
	cursor: pointer;
	transition: transform 0.5s var(--ease), background-color 0.3s;
}
.ask__go:hover {
	transform: scale(1.06);
	background: var(--saffron);
}
.ask__bar--light {
	margin-top: 2.5rem;
	background: rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.ask__bar--inline {
	margin-bottom: 4rem;
	background: var(--surface);
}
.ask__bar--inline .ask__input::placeholder {
	color: var(--ash);
}

.ask__panel {
	position: absolute;
	inset: 0;
	z-index: 1;
	clip-path: inset(45% 30% 45% 30% round 36px);
	background: #0b0718;
}
.ask__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.ask__end {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-inline: var(--gutter);
	text-align: center;
	visibility: hidden;
}
.ask__end .lead {
	margin-top: 1.75rem;
	color: rgba(255, 255, 255, 0.85);
}

.ask--static .ask__stage {
	height: auto;
	padding-block: 6rem;
}
.ask--static .ask__start {
	position: relative;
	padding-bottom: 3rem;
}
.ask--static .ask__panel {
	position: relative;
	min-height: 80vh;
	clip-path: none;
	border-radius: var(--radius);
	margin-inline: var(--gutter);
}
.ask--static .ask__end {
	visibility: visible;
}

/* ---------- section heads + program rows ---------- */

.programs,
.team,
.section {
	padding-block: clamp(6rem, 12vw, 10rem);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.rows {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.row {
	border-bottom: 1px solid var(--line);
}
.row__link {
	position: relative;
	display: grid;
	grid-template-columns: 4rem 1fr auto;
	align-items: center;
	gap: 1.5rem;
	padding-block: 2rem;
}
.row__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(128, 82, 255, 0.12), transparent 70%);
	opacity: 0;
	transition: opacity 0.5s;
}
.row__num {
	align-self: start;
	padding-top: 0.6rem;
	color: var(--ash);
	font-size: var(--fs-label);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.row__main {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: transform 0.7s var(--ease);
}
.row__area {
	color: var(--saffron);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.row__title {
	font-size: var(--fs-h2);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.05;
}
.row__meta {
	color: var(--ash);
	font-size: 1rem;
}
.row__arrow {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line);
	transition: background-color 0.4s, box-shadow 0.4s, transform 0.7s var(--ease);
}
.row__link:hover::before {
	opacity: 1;
}
.row__link:hover .row__main {
	transform: translateX(0.75rem);
}
.row__link:hover .row__arrow {
	background: var(--iris);
	box-shadow: none;
	transform: rotate(-45deg);
}

/* ---------- team ---------- */

.team__track,
.people {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 3rem);
}
.person__link {
	display: block;
}
.person__media {
	position: relative;
	aspect-ratio: 4 / 5;
	margin-bottom: 1.5rem;
	overflow: hidden;
	border-radius: var(--radius);
	background:
		radial-gradient(80% 60% at 50% 40%, rgba(128, 82, 255, 0.1), transparent 70%),
		rgba(255, 255, 255, 0.025);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.person__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
	transform: scale(1.04);
	transition: filter 0.8s, transform 1.2s var(--ease);
}
.person__link:hover .person__media img {
	filter: none;
	transform: scale(1);
}
.person__pyramid {
	position: absolute;
	inset: 12%;
}
.no-webgl .person__pyramid {
	background: linear-gradient(135deg, var(--iris), var(--verdant));
	clip-path: polygon(50% 8%, 92% 88%, 8% 88%);
	opacity: 0.6;
}
.person__role {
	margin-bottom: 0.5rem;
	color: var(--accent, var(--iris));
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.person__name {
	font-size: var(--fs-h3);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.team__dots {
	display: none;
	gap: 0.5rem;
}
.team__dots .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	transition: background-color 0.3s, transform 0.3s;
}
.team__dots .dot.is-active {
	background: var(--iris);
	transform: scale(1.25);
}

/* ---------- final CTA ---------- */

.final {
	display: flex;
	align-items: center;
	min-height: 110vh;
	padding-block: 8rem;
	text-align: center;
}
.final__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
}

/* ---------- footer ---------- */

.site-footer {
	position: relative;
	z-index: 2;
	padding-top: clamp(5rem, 10vw, 8rem);
	padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
	overflow: hidden;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6) 30%);
}
.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	gap: 3rem;
	align-items: start;
}
.site-footer__email {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: var(--fs-h3);
	font-weight: 400;
	letter-spacing: -0.03em;
	background: linear-gradient(var(--white), var(--white)) 0 100% / 0 1px no-repeat;
	transition: background-size 0.7s var(--ease);
}
.site-footer__email:hover {
	background-size: 100% 1px;
}
.site-footer__list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__list a {
	color: var(--ash);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.3s;
}
.site-footer__list a:hover {
	color: var(--white);
}
.site-footer__socials {
	display: flex;
	gap: 0.5rem;
}
.social {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line);
	transition: background-color 0.3s, box-shadow 0.3s;
}
.social:hover {
	background: var(--iris);
	box-shadow: none;
}
.site-footer__word {
	margin-block: clamp(3rem, 8vw, 6rem) 1.5rem;
	font-size: clamp(2rem, 7.6vw, 9.5rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.85;
	white-space: nowrap;
	background: linear-gradient(180deg, var(--white) 30%, rgba(255, 255, 255, 0.08));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	color: var(--ash);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.site-footer__bottom a:hover {
	color: var(--white);
}
.to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}
.to-top:hover {
	color: var(--white);
}

/* ---------- inner pages ---------- */

.page-hero {
	display: flex;
	align-items: flex-end;
	min-height: 78vh;
	padding-block: 10rem 5rem;
}
.page-hero--full {
	min-height: 100vh;
	min-height: 100svh;
	align-items: center;
}
.page-hero__title {
	max-width: 14em;
	margin-bottom: 1.75rem;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.split__side {
	position: sticky;
	top: 7rem;
	display: grid;
	gap: 1.25rem;
}

.facts {
	margin: 0;
	padding: 1.75rem;
	border-radius: var(--radius);
	background: rgba(12, 11, 20, 0.7);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.facts__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.85rem;
	border-bottom: 1px solid var(--line);
}
.facts__row:last-child {
	border-bottom: 0;
}
.facts dt {
	color: var(--ash);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.facts dd {
	margin: 0;
	text-align: right;
}

.feature-media {
	margin: 0 0 3rem;
	overflow: hidden;
	border-radius: var(--radius);
}

.prose {
	color: var(--silver);
	font-size: var(--fs-body);
	line-height: 1.7;
}
.prose > * + * {
	margin-top: 1.25em;
}
.prose h2,
.prose h3,
.prose h4 {
	margin-top: 2.2em;
	color: var(--white);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.15;
}
.prose h2 { font-size: var(--fs-h2); }
.prose h3 { font-size: var(--fs-h3); }
.prose a {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--iris);
	text-underline-offset: 0.2em;
}
.prose strong {
	color: var(--white);
	font-weight: 600;
}
.prose ul,
.prose ol {
	padding-left: 1.25em;
}
.prose li + li {
	margin-top: 0.5em;
}
.prose li::marker {
	color: var(--iris);
}
.prose blockquote {
	margin-inline: 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--iris);
	color: var(--white);
	font-size: var(--fs-lead);
}
.prose img,
.prose figure {
	border-radius: var(--radius);
	overflow: hidden;
}

.person-hero {
	display: grid;
	grid-template-columns: minmax(14rem, 26rem) 1fr;
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.page-hero--person {
	align-items: center;
	min-height: 100vh;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 3rem;
}

.posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3rem 2rem;
}
.post-card__media {
	margin-bottom: 1.25rem;
	overflow: hidden;
	border-radius: var(--radius);
}
.post-card__media img {
	transition: transform 1.2s var(--ease);
}
.post-card__link:hover img {
	transform: scale(1.05);
}
.post-card__date {
	margin-bottom: 0.5rem;
	color: var(--saffron);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.post-card__title {
	margin-bottom: 0.75rem;
	font-size: var(--fs-h3);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.12;
}
.post-card__excerpt {
	color: var(--ash);
	font-size: 1rem;
}

.post-nav,
.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 4rem;
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	color: var(--ash);
}
.nav-links .page-numbers.current,
.nav-links a.page-numbers:hover {
	background: var(--white);
	color: var(--void);
}

/* ---------- forms ---------- */

.section--form .h1 {
	margin-bottom: 3rem;
}
.form {
	display: grid;
	gap: 2rem;
}
.form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2rem;
}
.field {
	display: grid;
	gap: 0.5rem;
}
.field--full {
	grid-column: 1 / -1;
}
.field__label {
	color: var(--ash);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.field__input {
	width: 100%;
	padding: 0.85rem 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 0;
	background: transparent;
	font-size: 1.15rem;
	font-weight: 300;
	outline: none;
	transition: border-color 0.3s;
}
.field__input:focus {
	border-bottom-color: var(--iris);
}
select.field__input {
	-webkit-appearance: none;
	appearance: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 1.25rem no-repeat;
}
select.field__input option {
	background: #111;
}
textarea.field__input {
	resize: vertical;
	min-height: 7rem;
}
.check {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	color: var(--ash);
	font-size: 0.95rem;
}
.check input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2rem;
	accent-color: var(--iris);
	flex: none;
}
.form .btn {
	justify-self: start;
}
.form__hp {
	position: absolute;
	left: -9999px;
}
.form__notice {
	padding: 1rem 1.25rem;
	border-radius: 16px;
	font-size: 1rem;
}
.form__notice--ok {
	background: rgba(21, 132, 110, 0.2);
	box-shadow: inset 0 0 0 1px rgba(31, 184, 154, 0.4);
}
.form__notice--error {
	background: rgba(255, 184, 41, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 184, 41, 0.4);
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
	.nav,
	.site-header__cta {
		display: none;
	}
	.nav-toggle {
		display: block;
	}
	.stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3rem 2rem;
	}
	.posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.site-footer__top {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.hero {
		align-items: flex-end;
		padding-bottom: 7rem;
	}
	.story {
		min-height: 100vh;
		align-items: flex-end;
	}
	.story--right .story__body {
		margin-left: 0;
	}
	.lead {
		color: var(--white);
	}
	.row__link {
		grid-template-columns: 1fr auto;
		gap: 1rem;
	}
	.row__num {
		display: none;
	}
	.row__arrow {
		width: 2.75rem;
		height: 2.75rem;
	}
	.team__track {
		display: flex;
		gap: 1rem;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.team__track::-webkit-scrollbar {
		display: none;
	}
	.team__track .person {
		flex: 0 0 78%;
		scroll-snap-align: center;
	}
	.team__dots {
		display: flex;
	}
	.people,
	.posts {
		grid-template-columns: minmax(0, 1fr);
	}
	.split,
	.person-hero {
		grid-template-columns: minmax(0, 1fr);
	}
	.split__side {
		position: static;
	}
	.form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.site-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}
	.ask__bar {
		height: 4rem;
		padding-left: 1.25rem;
	}
	.ask__go {
		width: 3rem;
		height: 3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.grain {
		display: none;
	}
}

/* =========================================================================
   Epsilon Corporate Academy: content components
   ========================================================================= */

.section-head__main {
	max-width: 56rem;
}
.section-head__text {
	margin-top: 1.75rem;
}
.section-head--center {
	justify-content: center;
	text-align: center;
}
.section-head--center .section-head__text {
	margin-inline: auto;
}

.note {
	max-width: 40rem;
	margin-top: 2rem;
	padding-left: 1.25rem;
	border-left: 1px solid var(--iris);
	color: var(--silver);
	font-size: 1rem;
	line-height: 1.6;
}
.note--wide {
	max-width: 56rem;
	margin-top: 3.5rem;
}

.story__quote {
	margin: 2rem 0 0;
	color: var(--white);
	font-size: var(--fs-lead);
	font-weight: 300;
	line-height: 1.45;
}
.story .lead + .mini-grid,
.story .lead + .arrow-list {
	margin-top: 2.5rem;
}

.arrow-list {
	display: grid;
	gap: 0;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.arrow-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--line);
	font-size: 1.05rem;
	font-weight: 400;
}
.arrow-list .icon {
	color: var(--saffron);
}

.mini-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 2rem;
	margin-top: 2.75rem;
}
.mini {
	padding-top: 1.1rem;
	border-top: 1px solid var(--line);
}
.mini__title {
	margin-bottom: 0.5rem;
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.mini__text {
	color: var(--ash);
	font-size: 0.98rem;
	line-height: 1.55;
}

/* ---------- grids + cards ---------- */

.grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-height: 100%;
	padding: clamp(1.5rem, 2.4vw, 2.25rem);
	border-radius: var(--radius);
	overflow: hidden;
}
.card--card {
	background: rgba(14, 12, 24, 0.62);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
	transition: box-shadow 0.5s, transform 0.8s var(--ease), background-color 0.5s;
}
.card--card:hover {
	box-shadow: inset 0 0 0 1px rgba(128, 82, 255, 0.55);
	background: rgba(22, 16, 40, 0.7);
}
.card--plain {
	padding-inline: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
}
.card--link {
	transition: transform 0.8s var(--ease), box-shadow 0.5s;
}
.card--link:hover {
	transform: translateY(-4px);
}
.card--link .link {
	margin-top: auto;
	padding-top: 1rem;
}
.card__num {
	color: var(--saffron);
	font-size: var(--fs-label);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}
.card__title {
	font-size: clamp(1.35rem, 1vw + 1rem, 1.85rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.12;
}
.card__text {
	color: var(--silver);
	font-size: 1rem;
	line-height: 1.6;
}
.card__list {
	display: grid;
	gap: 0.6rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}
.card__list li {
	position: relative;
	padding-left: 1.35rem;
	color: var(--silver);
	font-size: 0.98rem;
	line-height: 1.5;
}
.card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.55rem;
	height: 0.5rem;
	background: var(--iris);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.card__list a:hover {
	color: var(--white);
}
.card__pyramid {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 0.5rem;
}

/* ---------- steps ---------- */

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.step {
	position: relative;
	padding-top: 4.25rem;
}
.step::before {
	content: "";
	position: absolute;
	top: 1.4rem;
	left: 3.4rem;
	right: -1rem;
	height: 1px;
	background: linear-gradient(90deg, var(--iris), rgba(128, 82, 255, 0));
}
.step:last-child::before {
	display: none;
}
.step__num {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(128, 82, 255, 0.7);
	color: var(--white);
	font-size: 1rem;
	font-weight: 500;
}
.step__title {
	margin-bottom: 0.75rem;
	font-size: clamp(1.5rem, 1.3vw + 1rem, 2.1rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.1;
}
.step__text {
	color: var(--silver);
	font-size: 1rem;
	line-height: 1.6;
}

/* ---------- levels (staircase) ---------- */

.levels {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: end;
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.level {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.level__bar {
	height: calc(4rem + var(--i) * 3.25rem);
	border-radius: 18px 18px 4px 4px;
	background:
		linear-gradient(180deg, rgba(128, 82, 255, calc(0.25 + var(--i) * 0.15)), rgba(128, 82, 255, 0.04)),
		rgba(255, 255, 255, 0.02);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transform-origin: bottom;
}
.level__num {
	color: var(--saffron);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.06em;
}
.level__title {
	margin-block: 0.35rem 0.5rem;
	font-size: clamp(1.15rem, 0.8vw + 0.9rem, 1.6rem);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.level__text {
	color: var(--silver);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* ---------- faculty ---------- */

.faculty__pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(1rem, 3vw, 3rem);
}
.faculty__col .person__role {
	min-height: 3em;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	font-size: 1rem;
}
.faculty__media {
	aspect-ratio: 5 / 4;
}
.faculty__plus {
	font-size: clamp(3rem, 6vw, 6rem);
	font-weight: 200;
	color: var(--ash);
	line-height: 1;
}

/* ---------- pillars / rows extras ---------- */

.pillars .row__main .tags {
	margin-top: 0.5rem;
}
.row__badge {
	display: none;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--iris);
	font-size: var(--fs-caption);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.row.is-match .row__badge {
	display: inline-flex;
}
.row.is-match .row__title {
	color: var(--white);
}
.row.is-dim {
	opacity: 0.38 !important;
	transition: opacity 0.5s;
}
.row__link {
	grid-template-columns: 4rem 1fr auto auto;
}

/* ---------- discover + chips ---------- */

.discover {
	margin-bottom: 4rem;
	padding: clamp(1.5rem, 3vw, 3rem);
	border-radius: var(--radius);
	background:
		radial-gradient(70% 100% at 100% 0%, rgba(128, 82, 255, 0.18), transparent 60%),
		rgba(12, 10, 22, 0.66);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.discover .h1 {
	max-width: 22em;
	margin-bottom: 2rem;
	font-size: var(--fs-h2);
}
.discover__q {
	display: grid;
	gap: 0.85rem;
	margin-top: 1.5rem;
}
.discover__result {
	min-height: 1.5em;
	margin-top: 1.75rem;
	color: var(--saffron);
	font-weight: 500;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.chips + .chips {
	margin-top: 0.75rem;
}
.chip {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}
.chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.chip span {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1.1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	color: var(--silver);
	font-size: 0.95rem;
	transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.chip:hover span {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	color: var(--white);
}
.chip input:checked + span,
.chip--btn[aria-pressed="true"] span {
	background: var(--iris);
	box-shadow: none;
	color: var(--white);
}
.chip input:focus-visible + span {
	outline: 2px solid var(--saffron);
	outline-offset: 3px;
}
.chip--btn {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
}

/* ---------- needs form + proposal ---------- */

.container--form {
	max-width: 1080px;
}
.form-intro {
	margin-block: 1.5rem 3rem;
}
.form--needs {
	gap: 2.5rem;
}
.fieldset {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	border: 0;
}
.fieldset__legend {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
	padding: 0;
	font-size: 1.35rem;
	font-weight: 400;
	letter-spacing: -0.02em;
}
.fieldset__legend span {
	color: var(--saffron);
	font-size: var(--fs-label);
	font-weight: 600;
}

.proposal {
	padding: clamp(1.5rem, 3vw, 3rem);
	border-radius: var(--radius);
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(21, 132, 110, 0.22), transparent 60%),
		radial-gradient(60% 80% at 0% 100%, rgba(128, 82, 255, 0.2), transparent 60%),
		rgba(12, 10, 22, 0.72);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.proposal__model {
	margin-bottom: 1rem;
	font-size: var(--fs-h2);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.05;
}
.proposal__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1rem;
	margin-block: 2.5rem;
}
.proposal__module {
	padding: 1.5rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
}
.proposal__module h4 {
	margin: 0.5rem 0 0.25rem;
	font-size: 1.2rem;
	font-weight: 500;
}
.proposal__facts {
	margin-bottom: 1rem;
	background: rgba(0, 0, 0, 0.25);
}

/* ---------- misc ---------- */

.callout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem 3rem;
	margin-top: 3rem;
	padding: clamp(1.5rem, 3vw, 2.75rem);
	border-radius: var(--radius);
	background: linear-gradient(120deg, rgba(128, 82, 255, 0.2), rgba(21, 132, 110, 0.14));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.callout .eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 0;
}
.callout__text {
	font-size: var(--fs-lead);
	font-weight: 300;
	line-height: 1.5;
}

.sectors {
	margin-top: -3rem;
	padding-bottom: clamp(5rem, 10vw, 8rem);
	position: relative;
	z-index: 2;
}
.tag--lg {
	padding: 0.65rem 1.15rem;
	font-size: var(--fs-label);
}

.btn--light {
	background: var(--white);
	color: var(--void);
}
.btn--light:hover {
	background: var(--saffron);
}
.actions--center {
	justify-content: center;
	margin-top: 2rem;
}

.final--short {
	min-height: 80vh;
}

@media (max-width: 1080px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
	.step:nth-child(2)::before { display: none; }
	.levels { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
}

@media (max-width: 760px) {
	.grid--2,
	.grid--3,
	.grid--4,
	.mini-grid { grid-template-columns: minmax(0, 1fr); }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.step::before { display: none; }
	.levels { grid-template-columns: minmax(0, 1fr); }
	.level { flex-direction: row; align-items: stretch; gap: 1rem; }
	.level__bar { width: calc(1.5rem + var(--i) * 0.9rem); height: auto; flex: none; border-radius: 4px 14px 14px 4px; transform-origin: left; }
	.faculty__pair { grid-template-columns: minmax(0, 1fr); }
	.faculty__plus { justify-self: center; }
	.callout { grid-template-columns: minmax(0, 1fr); }
	.row__link { grid-template-columns: 1fr auto; }
	.row__badge { grid-column: 1; justify-self: start; }
	.story { min-height: auto; padding-block: 6rem; }
	.story__body { padding: 1.5rem; margin-inline: -0.5rem; border-radius: var(--radius); background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* Small text over the particle field: a soft dark halo keeps it readable. */
.lead,
.step__text,
.mini__text,
.level__text,
.row__meta,
.note,
.eyebrow {
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.6);
}
