/* The Power of Knowledge — main styles
   Direction: private-banking restraint. Deep evergreen, porcelain, champagne-gold hairlines.
   Cormorant for display, Hanken Grotesk for reading and interface text. */

:root {
	--evergreen: #0c2420;
	--evergreen-2: #143630;
	--evergreen-3: #1f4a42;
	--porcelain: #f3f4f1;
	--white: #ffffff;
	--ink: #1a2421;
	--muted: #5a6661;
	--gold: #a8874d;
	--gold-light: #d2b983;
	--line: #d8dcd5;
	--line-dark: rgba(210, 185, 131, .26);
	--danger: #9b2a1e;

	--display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
	--text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 48px);
	--section: clamp(80px, 11vw, 150px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--porcelain);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--evergreen-3); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--evergreen); }
p { margin: 0 0 1.1em; }

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

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--gold-light); color: var(--evergreen); padding: 10px 16px;
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: 760px; }

.h2 {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2.25rem, 4vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.005em;
	margin: 0 0 .65em;
	text-wrap: balance;
}
.h2::after {
	content: ""; display: block; width: 48px; height: 1px;
	background: var(--gold); margin-top: 24px;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 0 30px;
	font-family: var(--text); font-weight: 600; font-size: .9375rem; letter-spacing: .04em;
	text-decoration: none; border-radius: 2px; border: 1px solid transparent;
	cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold-light); color: var(--evergreen); border-color: var(--gold-light); }
.btn--gold:hover { background: #e0cc9f; border-color: #e0cc9f; color: var(--evergreen); }
.btn--quiet { color: var(--white); border-color: var(--line-dark); }
.btn--quiet:hover { color: var(--white); border-color: var(--gold-light); }
.btn--wide { width: 100%; }

/* ---------- Header ---------- */

.site-header { background: var(--evergreen); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.site-header--over { position: absolute; inset: 0 0 auto 0; background: transparent; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; }
.brand { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; }
.brand:hover { color: var(--white); }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: .01em; }
.brand__logo { max-height: 52px; width: auto; }
.site-header__cta {
	font-size: .9375rem; font-weight: 500; letter-spacing: .03em;
	color: var(--gold-light); text-decoration: none;
	border-bottom: 1px solid var(--gold-light); padding: 4px 0;
}
.site-header__cta:hover { color: var(--white); border-color: var(--white); }

/* ---------- Hero ---------- */

.hero {
	background:
		radial-gradient(900px 520px at 78% 30%, rgba(31,74,66,.75), transparent 70%),
		var(--evergreen);
	color: var(--white);
	padding: calc(88px + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 88px);
}
.hero__grid {
	display: grid; gap: clamp(40px, 6vw, 96px);
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	align-items: center;
}
.hero__program {
	font-size: .9375rem; letter-spacing: .04em; color: var(--gold-light);
	margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
}
.hero__cohort { color: rgba(255,255,255,.7); padding-left: 14px; border-left: 1px solid var(--line-dark); }
.hero__title {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2.7rem, 5.4vw, 5rem);
	line-height: 1;
	letter-spacing: -0.015em;
	margin: 0 0 32px;
	text-wrap: balance;
}
.hero__audience {
	display: block; font-weight: 650; color: #e2c98f;
	font-size: 1em; line-height: 1; margin-bottom: .18em; letter-spacing: -0.015em;
}
.hero__question { display: block; font-size: .72em; line-height: 1.08; font-weight: 400; color: var(--white); }
.hero__lead strong { color: var(--gold-light); font-weight: 500; }
.fact-note { display: block; font-family: var(--text); font-size: .8125rem; line-height: 1.4; color: rgba(255,255,255,.7); margin-top: 6px; }
.hero__lead { font-size: 1.1875rem; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 33em; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__portrait { margin: 0; justify-self: end; width: 100%; max-width: 400px; }
.frame { position: relative; }
.frame::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px;
	border: 1px solid var(--gold-light); opacity: .55; pointer-events: none;
}
.frame img, .monogram { position: relative; width: 100%; aspect-ratio: 4 / 5; max-width: 100%; object-fit: cover; }
.monogram {
	display: grid; place-items: center;
	background: linear-gradient(160deg, var(--evergreen-3), var(--evergreen-2));
}
.monogram span {
	font-family: var(--display); font-style: italic; font-weight: 400;
	font-size: clamp(5rem, 11vw, 8.5rem); color: var(--gold-light); letter-spacing: .02em;
}
.hero__portrait figcaption {
	margin-top: 34px; font-size: .9375rem; color: rgba(255,255,255,.7);
	display: flex; flex-direction: column; gap: 2px;
}
.hero__portrait figcaption strong { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--white); }

.hero__facts {
	margin: clamp(56px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.hero__facts > div { padding: 24px 24px 24px 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero__facts dt { font-size: .875rem; letter-spacing: .04em; color: var(--gold-light); }
.hero__facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; }

/* Seats */
.seats { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.seats__row { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.seat {
	width: 14px; height: 14px; border-radius: 50%;
	border: 1px solid var(--gold-light);
	opacity: 0; animation: seat-in .6s ease forwards;
	animation-delay: calc(var(--i) * 80ms + 300ms);
}
.seat--taken { background: var(--gold-light); }
@keyframes seat-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .seat { animation: none; opacity: 1; } }
.seats__label { margin: 0; font-size: .9375rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.seats__label strong { color: var(--white); font-weight: 500; }
.seats__start { display: block; color: var(--gold-light); }

/* ---------- Imagine ---------- */

.imagine { padding: var(--section) 0; background: var(--porcelain); }
.imagine__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); }
.imagine__intro { position: sticky; top: 40px; align-self: start; }
.imagine__intro p { color: var(--muted); max-width: 30em; }
.pillars { margin: 0; }
.pillar {
	display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 40px;
	padding: 34px 0; border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar dt { font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; color: var(--evergreen); }
.pillar dd { margin: 0; color: var(--muted); }

/* ---------- Focus ---------- */

.focus { background: var(--evergreen-2); color: var(--white); padding: clamp(80px, 11vw, 150px) 0; text-align: center; }
.focus .wrap { display: flex; flex-direction: column; align-items: center; }
.focus .wrap::before { content: ""; width: 1px; height: 64px; background: var(--gold-light); margin-bottom: 48px; opacity: .7; }
.focus__statement {
	font-family: var(--display); font-weight: 400; font-style: italic;
	font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.15; letter-spacing: -0.005em;
	margin: 0 0 36px; max-width: 24ch; text-wrap: balance;
}
.focus__sub { font-size: 1.125rem; max-width: 36em; margin: 0; color: var(--gold-light); font-weight: 300; }

/* ---------- Don ---------- */

.don { padding: var(--section) 0; background: var(--white); }
.don__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.don__record { margin: 0; display: grid; gap: 0; }
.don__record > div { padding: 28px 0; border-top: 1px solid var(--line); }
.don__record > div:last-child { border-bottom: 1px solid var(--line); }
.don__record dt { font-family: var(--display); font-weight: 500; font-size: clamp(3.5rem, 6vw, 4.75rem); line-height: .95; color: var(--gold); }
.don__record dd { margin: 8px 0 0; color: var(--muted); font-size: .9375rem; }
.don__lead { font-family: var(--display); font-size: 1.625rem; line-height: 1.4; font-weight: 500; color: var(--evergreen); }
.don__body p { max-width: 36em; }
.don__body p:not(.don__lead) { color: var(--muted); }

/* ---------- Fit ---------- */

.fit { background: var(--porcelain); padding: var(--section) 0; }
.fit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 112px); }
.fit__intro { color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
	position: relative; padding: 18px 0 18px 44px;
	border-top: 1px solid var(--line); font-size: 1.0625rem;
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before {
	content: ""; position: absolute; left: 6px; top: 26px;
	width: 14px; height: 7px;
	border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
	transform: rotate(-45deg);
}

/* ---------- Steps ---------- */

.steps { padding: var(--section) 0 calc(var(--section) * .55); background: var(--white); }
.steps__list {
	list-style: none; margin: 48px 0 0; padding: 0; counter-reset: step;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px);
}
.steps__list li { counter-increment: step; position: relative; padding-top: 84px; }
.steps__list li::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid var(--gold); color: var(--gold);
	font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1;
}
.steps__list li:not(:last-child)::after {
	content: ""; position: absolute; top: 28px; left: 76px; right: calc(-1 * clamp(24px, 4vw, 64px) + 20px);
	height: 1px; background: var(--line);
}
.steps__list h3 { font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1.2; margin: 0 0 .4em; }
.steps__list p { color: var(--muted); margin: 0; }

/* ---------- Apply ---------- */

.apply { padding: calc(var(--section) * .45) 0 var(--section); background: var(--white); }
.apply__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); }
.apply__side { position: sticky; top: 40px; align-self: start; }
.apply__side > p { color: var(--muted); }
.contact { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact p { margin: 0 0 .3em; }
.contact__title { font-family: var(--display); font-size: 1.375rem; font-weight: 500; color: var(--evergreen); margin-bottom: .5em !important; }
.contact a { color: var(--evergreen-3); font-weight: 500; }

.apply__main {
	background: var(--porcelain); border: 1px solid var(--line);
	padding: clamp(24px, 4.5vw, 56px);
}

.form-part { border: 0; padding: 0; margin: 0 0 44px; min-width: 0; }
.form-part__title {
	font-family: var(--display); font-weight: 500; font-size: 1.625rem; color: var(--evergreen);
	padding: 0 0 12px; margin-bottom: 24px; width: 100%; border-bottom: 1px solid var(--gold);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin: 0 0 24px; border: 0; padding: 0; min-width: 0; }
.field__label { display: block; font-weight: 500; font-size: 1rem; line-height: 1.4; margin-bottom: 8px; padding: 0; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--muted); font-size: .875rem; margin-left: 4px; }
.field__hint { display: block; color: var(--muted); font-size: .875rem; margin: -4px 0 8px; }

.pok-form input[type="text"],
.pok-form input[type="email"],
.pok-form input[type="tel"],
.pok-form select,
.pok-form textarea {
	width: 100%; min-height: 52px;
	font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1px solid #c6ccc4; border-radius: 2px;
	padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.pok-form textarea { min-height: 120px; resize: vertical; }
.pok-form select {
	appearance: none; -webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--evergreen) 50%), linear-gradient(135deg, var(--evergreen) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
	background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px;
}
.pok-form input:focus, .pok-form select:focus, .pok-form textarea:focus {
	outline: none; border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(168,135,77,.2);
}
.pok-form .is-invalid { border-color: var(--danger) !important; }
.field--choice.is-invalid .choice span { border-color: var(--danger); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px;
	border: 1px solid #c6ccc4; border-radius: 2px; background: var(--white);
	font-weight: 500; font-size: .9375rem; transition: background-color .15s, border-color .15s, color .15s;
}
.choice:hover span { border-color: var(--evergreen-3); }
.choice input:checked + span { background: var(--evergreen); border-color: var(--evergreen); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.consent { margin: 0 0 28px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--evergreen); }
.consent.is-invalid { outline: 1px solid var(--danger); outline-offset: 6px; }

.form-error { color: var(--danger); font-weight: 500; margin: 0 0 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pok-form .btn--gold { background: var(--evergreen); color: var(--white); border-color: var(--evergreen); }
.pok-form .btn--gold:hover { background: var(--evergreen-3); border-color: var(--evergreen-3); color: var(--white); }

.notice { padding: 28px; background: var(--white); border: 1px solid var(--line); margin-bottom: 24px; }
.notice h3 { font-family: var(--display); font-weight: 500; font-size: 1.75rem; margin: 0 0 .3em; color: var(--evergreen); }
.notice p:last-child { margin: 0; }
.notice--done { background: var(--evergreen); color: var(--white); border-color: var(--evergreen); }
.notice--done h3 { color: var(--gold-light); }
.notice--error { background: #fbeeec; border-color: #ebc4bd; color: var(--danger); font-weight: 500; }

/* ---------- Closing & footer ---------- */

.closing { background: var(--evergreen); color: var(--white); padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; }
.closing__line {
	font-family: var(--display); font-weight: 500;
	font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.08; letter-spacing: -0.01em;
	max-width: 20ch; margin: 0 0 40px; text-wrap: balance;
}
.site-footer { background: #081a17; color: rgba(255,255,255,.6); font-size: .875rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.site-footer p { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.footer-links a { color: var(--gold-light); }

/* ---------- Plain pages ---------- */

.page-plain { padding: 80px 0 110px; }
.entry { margin-bottom: 48px; }
.entry__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.1; margin: 0 0 .6em; }
.entry__title a { color: inherit; text-decoration: none; }
.entry__content h2, .entry__content h3 { font-family: var(--display); font-weight: 500; line-height: 1.2; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.hero__grid, .imagine__grid, .don__grid, .fit__grid, .apply__grid { grid-template-columns: 1fr; }
	.hero__portrait { justify-self: start; max-width: 320px; }
	.imagine__intro, .apply__side { position: static; }
	.hero__facts { grid-template-columns: 1fr 1fr; }
	.hero__facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.hero__facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
	.don__record { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
	.don__record > div:last-child { border-bottom: 0; }
	.steps__list { grid-template-columns: 1fr; gap: 0; }
	.steps__list li { padding: 0 0 40px 84px; min-height: 56px; }
	.steps__list li:not(:last-child)::after { top: 64px; bottom: 8px; left: 28px; right: auto; width: 1px; height: auto; }
}
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.site-header__inner { min-height: 72px; }
	.brand__name { font-size: 1.25rem; }
	.hero { padding-top: calc(72px + 36px); }
	.hero__lead { font-size: 1.0625rem; }
	.hero__program { flex-direction: column; align-items: flex-start; }
	.hero__cohort { padding-left: 0; border-left: 0; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__portrait { max-width: 260px; }
	.hero__facts dd { font-size: 1.4rem; }
	.hero__facts > div { padding: 18px 12px 18px 0; }
	.hero__facts > div + div { padding-left: 12px; }
	.hero__facts > div:nth-child(3) { padding-left: 0; }
	.don__record { grid-template-columns: 1fr; }
	.don__record > div:last-child { border-bottom: 1px solid var(--line); }
	.pillar { grid-template-columns: 1fr; }
	.row { grid-template-columns: 1fr; }
	.choice { flex: 1 1 auto; }
	.choice span { width: 100%; justify-content: center; }
	.apply__main { padding: 24px 16px; }
}

/* Level (lining) numerals in the serif for figures */
.hero__facts dd, .don__record dt, .steps__list li::before, .hero__program, .hero__title, .h2, .closing__line { font-variant-numeric: lining-nums; }

.frame img { object-position: 50% 15%; }
