/* Kwadra TBI — colours from the logo: navy arcs around a gold diamond. */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

:root {
	--navy: #233a8f;      /* logo arcs */
	--deep: #0f1c4d;      /* dark bands */
	--gold: #f6ac1b;      /* logo diamond */
	--gold-ink: #8a5a00;  /* gold text on white (4.5:1) */
	--ink: #141a33;
	--soft: #4a5370;
	--mist: #eef1f8;
	--line: #d6dcea;
	--white: #fff;
	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 40px);
	--sec: clamp(56px, 8vw, 104px);
	--wide: "wdth" 125;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 "Archivo", system-ui, sans-serif; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; font-weight: 800; font-variation-settings: var(--wide); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(760px + var(--gut) * 2); }
.section { padding: var(--sec) 0; }
.section + .section { padding-top: 0; }

/* Type scale: 17 / 21 / 28 / 40 / 56–84 */
.display { font-size: clamp(40px, 6.4vw, 84px); line-height: 1; letter-spacing: -.02em; }
.display-sm { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -.015em; }
.h2 { font-size: clamp(28px, 3.2vw, 40px); }
.h3, h3 { font-size: 21px; line-height: 1.2; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); max-width: 38em; }
.kind { color: var(--gold-ink); font-weight: 600; margin: -.3em 0 .6em; }
.date, .back { color: var(--soft); font-size: 15px; margin: 0 0 .4em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); font: inherit; font-weight: 700; font-variation-settings: "wdth" 110; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffc24d; border-color: #ffc24d; color: var(--ink); }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-line:hover { background: var(--white); border-color: var(--white); color: var(--deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.more { font-weight: 700; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-variation-settings: var(--wide); font-size: 18px; line-height: 1; }
.brand-mark { width: 38px; height: 38px; }
.brand-mark .arc, .foot-mark .arc { fill: var(--navy); }
.brand-mark .diamond, .foot-mark .diamond, .apply-mark .diamond { fill: var(--gold); }
.brand-name span { color: var(--navy); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--navy); }
.menu .current-menu-item > a, .menu .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--gold); }
.menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--white); border: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(4px); transition: .15s; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.menu .sub-menu a { padding: 8px 16px; font-weight: 500; }
.menu .sub-menu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--gold); }
.head-cta { min-height: 42px; padding: 8px 18px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: 72px 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) 32px; overflow-y: auto; display: none; }
	.nav-open .site-nav { display: flex; }
	.menu { flex-direction: column; }
	.menu a { padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
	.menu .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; border: 0; padding: 0 0 0 16px; }
	.menu .sub-menu a { font-size: 17px; }
	.menu .current-menu-item > a, .menu .current-menu-ancestor > a { box-shadow: none; color: var(--navy); }
	.head-cta { margin-top: 20px; justify-content: center; }
}

/* Hero: the logo's four arcs open around the diamond, like the doors of a toril. */
.hero { background: var(--deep); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; min-height: min(78vh, 720px); padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: var(--white); max-width: 11em; }
.hero-text { font-size: clamp(19px, 1.7vw, 23px); color: #d3daf0; max-width: 30em; }
.hero-art { position: relative; justify-self: end; width: min(100%, 520px); }
.mark-open .arc { fill: var(--navy); filter: brightness(1.35); }
.mark-open .diamond { fill: var(--gold); transform-origin: 100px 100px; }
@media (prefers-reduced-motion: no-preference) {
	.mark-open .arc { animation: kw-door 1.4s cubic-bezier(.2, .7, .1, 1) both; }
	.mark-open .arc-e { animation-delay: .08s; }
	.mark-open .arc-s { animation-delay: .16s; }
	.mark-open .arc-w { animation-delay: .24s; }
	.mark-open .diamond { animation: kw-gem 1.1s .55s cubic-bezier(.2, .7, .1, 1) both; }
}
@keyframes kw-door { from { transform: translateY(26px); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }
@keyframes kw-gem { from { transform: scale(.2) rotate(-45deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 820px) {
	.hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; padding-top: 40px; }
	.hero-art { order: -1; justify-self: start; width: 132px; }
}

/* Shared blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.sec-head .h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--soft); max-width: 36em; }
.page-head { padding: clamp(40px, 6vw, 80px) 0 var(--sec); }
.page-head-plain { background: var(--mist); padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: var(--sec); }
.page-head-plain + .section { padding-top: 0; }
.page-head .lead { margin-bottom: 0; }

/* Toril */
.title-word { font-size: clamp(56px, 9vw, 120px); color: var(--navy); line-height: .9; margin-bottom: .2em; }

/* Focus areas */
.focus { background: var(--mist); padding-top: var(--sec); }
.section.focus { padding-top: var(--sec); }
.focus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.focus-list li { padding: 24px 20px 8px 0; }
.focus-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.focus-list img { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 16px; }
.focus-list h3 { font-size: 19px; }
.focus-list p { color: var(--soft); font-size: 16px; }
@media (max-width: 1024px) { .focus-list { grid-template-columns: repeat(2, 1fr); } .focus-list li, .focus-list li + li { padding: 20px 16px 4px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .focus-list { grid-template-columns: 1fr; } }
.focus + .section { padding-top: var(--sec); }

/* Stalls: each startup has a square stall, like the stable a toril is. */
.stalls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stalls > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stall { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 16px; cursor: pointer; position: relative; }
.stall-logo { display: grid; place-items: center; aspect-ratio: 1; padding: 12%; }
.stall-logo img { max-height: 100%; width: auto; object-fit: contain; transition: transform .25s; }
.stall-name { font-weight: 700; font-size: 15px; line-height: 1.25; text-transform: none; }
.stall::after { content: ""; position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg) scale(0); transition: transform .2s; }
.stall:hover::after, .stall:focus-visible::after { transform: rotate(45deg) scale(1); }
.stall:hover .stall-logo img { transform: scale(1.05); }
.stall:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.stalls-mini { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); margin-bottom: 24px; }
.stalls-mini a { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; }
.stalls-mini img { max-height: 100%; width: auto; object-fit: contain; }
.stalls-mini a:hover { background: var(--mist); }
.cohort + .cohort { padding-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { padding: 8px 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.chips a:hover { border-color: var(--navy); }
.chips a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Profile sheet */
.sheet { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; padding: 0; color: var(--ink); border-top: 6px solid var(--gold); }
.sheet::backdrop { background: rgba(15, 28, 77, .6); }
.sheet[open] { animation: kw-sheet .25s ease-out; }
@keyframes kw-sheet { from { transform: translateY(16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
.sheet-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--soft); }
.sheet-body { padding: 36px clamp(20px, 4vw, 40px) 28px; }
.profile { display: grid; grid-template-columns: 160px 1fr; gap: 28px; }
.profile-logo { border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; padding: 14px; }
.profile-logo img { max-height: 100%; width: auto; object-fit: contain; }
.profile h2 { padding-right: 40px; }
.contact { margin: 20px 0 0; display: grid; gap: 10px; }
.contact div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.contact dt { color: var(--soft); }
.contact dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .profile { grid-template-columns: 1fr; } .profile-logo { width: 120px; } .contact div { grid-template-columns: 1fr; gap: 0; } }

/* Partners */
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-wall img { max-height: 72px; width: auto; object-fit: contain; mix-blend-mode: multiply; }

/* Call to action band */
.cta { position: relative; background: var(--deep); color: var(--white); overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: -1; }
.cta-inner { padding-top: var(--sec); padding-bottom: var(--sec); max-width: calc(820px + var(--gut) * 2); margin-left: max(0px, calc((100% - var(--wrap)) / 2 - var(--gut))); }
.cta h2 { color: var(--gold); }
.cta p { font-size: 19px; color: #e1e6f5; }

/* About */
.dna-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.dna-list li { padding: 14px 22px; background: var(--navy); color: var(--white); font-weight: 700; font-variation-settings: "wdth" 112; font-size: 19px; }
.def-grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.def-grid-3 { grid-template-columns: repeat(3, 1fr); }
.def-grid div { padding: 20px 0; border-top: 2px solid var(--navy); }
.def-grid dt { font-weight: 800; font-variation-settings: var(--wide); font-size: 21px; line-height: 1.2; margin-bottom: 8px; }
.def-grid dd { margin: 0; color: var(--soft); }
@media (max-width: 900px) { .def-grid, .def-grid-3 { grid-template-columns: 1fr 1fr; gap: 0 28px; } }
@media (max-width: 560px) { .def-grid, .def-grid-3 { grid-template-columns: 1fr; } }

/* Programs follow a founder from first idea to investment: a real sequence, so it's an ordered path. */
.programs { background: var(--mist); padding-top: var(--sec) !important; }
.programs + .section { padding-top: var(--sec); }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.path li { position: relative; padding: 44px 20px 8px 0; counter-increment: step; }
.path li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--navy); }
.path li::after { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; background: var(--gold); transform: rotate(45deg); }
.path h3 { font-size: 22px; color: var(--navy); }
.path p { font-size: 16px; color: var(--soft); }
.path .kind { color: var(--gold-ink); }
@media (max-width: 1024px) {
	.path { grid-template-columns: 1fr; }
	.path li { padding: 0 0 24px 40px; }
	.path li::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
	.path li:last-child::before { bottom: auto; height: 16px; }
	.path li::after { top: 4px; }
}

.stats-sec { background: var(--deep); color: var(--white); padding-top: var(--sec) !important; }
.stats-sec + .section { padding-top: var(--sec); }
.stats-sec .h2 { color: var(--white); }
.stats { margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.stats div { display: flex; flex-direction: column-reverse; padding: 16px 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.stats dd { margin: 0; font-size: clamp(44px, 5vw, 72px); font-weight: 800; font-variation-settings: var(--wide); line-height: 1; color: var(--gold); }
.stats dt { color: #cfd6ee; margin-top: 8px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); row-gap: 24px; } }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.portraits { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.portraits li { scroll-snap-align: start; }
.portraits img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Awards: grouped by year, newest first. */
.year { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 32px 0; border-top: 2px solid var(--navy); }
.year-num { font-size: clamp(40px, 5vw, 64px); color: var(--navy); position: sticky; top: 96px; align-self: start; }
.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.award { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.award:last-child { border-bottom: 0; padding-bottom: 0; }
.award figure { margin: 0; background: var(--mist); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 10px; }
.award figure img { max-height: 100%; width: auto; object-fit: contain; }
.award h3 { margin-bottom: .3em; }
.award p:last-child { margin-bottom: 0; color: var(--soft); }
@media (max-width: 760px) { .year { grid-template-columns: 1fr; gap: 8px; } .year-num { position: static; } .award { grid-template-columns: 1fr; gap: 14px; } .award figure { max-width: 320px; } }

/* News */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.post-item a { display: block; color: inherit; text-decoration: none; }
.post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); margin-bottom: 14px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-img-none { display: grid; place-items: center; }
.post-img-none .mark { width: 30%; }
.post-img-none .arc { fill: var(--line); }
.post-img-none .diamond { fill: var(--gold); }
.post-item time { color: var(--soft); font-size: 15px; }
.post-item h2 { margin: 4px 0 8px; }
.post-item a:hover h2 { color: var(--navy); text-decoration: underline; text-underline-offset: .15em; }
.post-item a:hover .post-img img { transform: scale(1.03); }
.post-item p { color: var(--soft); }
.empty { color: var(--soft); }
.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.article-img { margin-bottom: 40px; }
.article-img img { width: 100%; }
.prose { padding-bottom: var(--sec); }
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose img { margin: 1.5em 0; }

/* Connect */
.connect-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .connect-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form .wide { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #8f98b3; border-radius: 0; background: var(--white); font: inherit; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.form-note { padding: 14px 18px; font-weight: 600; }
.form-note.ok { background: #e3f4e8; color: #14532d; }
.form-note.err { background: #fde8e8; color: #7f1d1d; }
.apply-box { background: var(--deep); color: var(--white); padding: 28px; margin-bottom: 32px; }
.apply-mark { width: 56px; margin-bottom: 12px; }
.apply-mark .arc { fill: #fff; opacity: .9; }
.apply-box p { font-size: 19px; }
.connect-side .h3 { margin-top: 1.2em; }

/* Footer */
.site-foot { background: var(--deep); color: #cfd6ee; font-size: 16px; padding-top: 64px; }
.site-foot a { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot-brand strong { color: var(--white); font-variation-settings: var(--wide); font-size: 19px; }
.foot-mark { width: 48px; margin-bottom: 16px; }
.foot-mark .arc { fill: #fff; }
.foot-logos { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.foot-logos img { width: 64px; height: 64px; object-fit: contain; background: #fff; padding: 6px; }
.foot-h { font-size: 16px; color: var(--gold); font-variation-settings: "wdth" 110; margin-bottom: 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   UX and motion pass, benchmarked on orchid.security: floating pill nav, tilting
   showcase, pinned title with drifting cards, a path that lights up as you scroll,
   logo marquee, soft glows, blur-in reveals and page crossfades.
   ========================================================================== */
:root { --head-h: 84px; --ease: cubic-bezier(.2, .7, .2, 1); }

/* Floating pill navigation; the page slides up underneath it. */
.site-head { background: transparent; border: 0; backdrop-filter: none; padding: 10px 0; margin-bottom: calc(var(--head-h) * -1); view-transition-name: site-head; }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
.head-row { min-height: 64px; max-width: calc(var(--wrap) + 40px); padding: 0 10px 0 22px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; box-shadow: 0 10px 30px rgba(15, 28, 77, .12); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: background .3s, box-shadow .3s, max-width .4s var(--ease); }
.site-head.scrolled .head-row { background: rgba(255, 255, 255, .94); box-shadow: 0 14px 40px rgba(15, 28, 77, .18); max-width: calc(var(--wrap) - 80px); }
.menu a { border-radius: 999px; transition: background .2s, color .2s; }
.menu > li > a:hover { background: var(--mist); }
.menu .current-menu-item > a, .menu .current-menu-ancestor > a { box-shadow: none; background: var(--mist); color: var(--navy); }
.menu .sub-menu { border: 0; border-radius: 18px; padding: 8px; box-shadow: 0 18px 40px rgba(15, 28, 77, .16); }
.menu .sub-menu a { border-radius: 12px; }
.menu .sub-menu .current-menu-item > a { box-shadow: none; }
@media (max-width: 960px) {
	.site-nav { inset: calc(var(--head-h) + 8px) 12px auto; max-height: calc(100vh - var(--head-h) - 24px); border-radius: 24px; box-shadow: 0 24px 60px rgba(15, 28, 77, .25); }
	.nav-open .site-nav { animation: kw-drop .25s var(--ease); }
	.menu a { border-radius: 0; }
	.menu > li > a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { background: none; }
}
@keyframes kw-drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* Room for the floating nav at the top of every page. */
.hero-grid { padding-top: calc(56px + var(--head-h)); }
.page-head { padding-top: calc(clamp(40px, 6vw, 80px) + var(--head-h)); }

/* Pill buttons with a soft glow. */
.btn { border-radius: 999px; padding: 12px 26px; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold:hover { box-shadow: 0 10px 30px rgba(246, 172, 27, .45); }
.btn-line { backdrop-filter: blur(6px); }

/* Hero glow behind the opening mark. */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -18vw; top: -10vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 92, 214, .55), rgba(35, 58, 143, .18) 55%, transparent); filter: blur(10px); }
.hero-art::before { content: ""; position: absolute; inset: 18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 172, 27, .45), transparent); filter: blur(30px); }


/* Reveal: a gentle blur-and-rise the first time something enters the screen. */
.js [data-reveal] { transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal]:not(.in) { opacity: 0; filter: blur(8px); transform: translateY(22px); }

/* Focus areas: the title stays pinned while the five cards drift past it (wide screens only). */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
	.js .focus[data-progress="pin"] { height: 270vh; padding: 0; }
	.js .focus .pin-stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
	.js .focus-title { margin: 0; font-size: clamp(64px, 8vw, 128px); text-align: center; color: var(--navy); opacity: calc(.35 + var(--p, 0) * 1.4); }
	.js .focus-list { position: absolute; inset: 0; display: block; border: 0; }
	.js .focus-list li, .js .focus-list li + li { position: absolute; top: 0; left: var(--x); width: 300px; padding: 22px 24px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .9); box-shadow: 0 20px 50px rgba(15, 28, 77, .14); backdrop-filter: blur(8px); transform: translateY(calc((var(--y0) - var(--p, 0) * var(--speed)) * 1vh)); will-change: transform; }
	.js .focus-list li:nth-child(1) { --x: 4%; --y0: 62; --speed: 105; }
	.js .focus-list li:nth-child(2) { --x: 70%; --y0: 88; --speed: 128; }
	.js .focus-list li:nth-child(3) { --x: 38%; --y0: 140; --speed: 150; }
	.js .focus-list li:nth-child(4) { --x: 9%; --y0: 158; --speed: 150; }
	.js .focus-list li:nth-child(5) { --x: 66%; --y0: 182; --speed: 168; }
}

/* Partners: a slow, endless logo strip that pauses when you point at it. */
.partners { overflow: hidden; }
.marquee { display: flex; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .logo-wall { display: flex; flex: none; gap: 12px; padding: 0 12px 0 0; border: 0; animation: kw-marquee 45s linear infinite; }
.marquee .logo-wall li { flex: none; width: 180px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.marquee:hover .logo-wall, .marquee:focus-within .logo-wall { animation-play-state: paused; }
@keyframes kw-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gut); }
	.marquee .logo-wall { flex-wrap: wrap; flex: 1; animation: none; }
	.marquee-copy { display: none !important; }
}

/* Programs: the path lights up step by step as you read down the page. */
.path { position: relative; }
.path li::before { background: var(--line); }
.path::after { content: ""; position: absolute; z-index: 1; top: 9px; left: 0; right: 0; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.path li::after { z-index: 2; background: var(--line); transition: background .4s, transform .4s var(--ease); }
.path li.on::after { background: var(--gold); transform: rotate(45deg) scale(1.25); }
.js .path li > * { transition: opacity .5s; }
.js .path li:not(.on) > * { opacity: .45; }
@media (max-width: 1024px) {
	.path::after { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
}

/* Soft gold glow in the call-to-action band. */
.cta::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 172, 27, .35), transparent); }

/* Startup stalls and news cards lift a little under the pointer. */
.stall { transition: background .25s, transform .25s var(--ease); }
.stall:hover { background: var(--mist); transform: translateY(-3px); }
.stalls-mini a { transition: background .2s, transform .25s var(--ease); }
.stalls-mini a:hover { transform: translateY(-2px); }

/* Pages crossfade into each other instead of flashing white (browsers that support it). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: kw-vt-out .22s ease both; }
::view-transition-new(root) { animation: kw-vt-in .38s var(--ease) both; }
@keyframes kw-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes kw-vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
	.btn:hover, .stall:hover, .stalls-mini a:hover { transform: none; }
}

/* Toril: the brand's meaning reads as a definition, the photo drifts gently, and three routes send each visitor onward. */
.section.toril { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.toril .title-word { margin-bottom: .25em; }
.define { position: relative; max-width: 30em; margin: 0 0 1.2em; padding: 18px 22px 18px 24px; border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0; background: var(--mist); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; font-weight: 600; color: var(--ink); }
.toril-text { color: var(--soft); max-width: 34em; margin: 0; }
.photo-parallax { overflow: hidden; border-radius: 22px; }
.photo-parallax img { border-radius: 0; transform: translateY(calc((.5 - var(--p, .5)) * 60px)) scale(1.12); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .photo-parallax img { transform: none; } }

.routes { margin-top: clamp(48px, 6vw, 80px); }
.routes-title { font-size: 24px; color: var(--navy); margin-bottom: 16px; }
.routes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.routes a { display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; align-items: start; height: 100%; padding: 22px 24px; border-radius: 22px; background: var(--deep); color: var(--white); text-decoration: none; transition: background .3s, transform .3s var(--ease), box-shadow .3s; }
.routes a:hover, .routes a:focus-visible { background: var(--navy); color: var(--white); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 28, 77, .25); }
.route-mark { grid-row: span 2; width: 46px; height: 46px; overflow: visible; }
.route-mark .arc { fill: #fff; transition: transform .35s var(--ease); }
.route-mark .diamond { fill: var(--gold); transform-origin: 100px 100px; transition: transform .35s var(--ease); }
.routes a:hover .arc, .routes a:focus-visible .arc { transform: translateY(-14px); } /* The four doors open, as in the hero. */
.routes a:hover .diamond, .routes a:focus-visible .diamond { transform: rotate(45deg) scale(.9); }
.route-title { font-weight: 800; font-variation-settings: var(--wide); font-size: 19px; line-height: 1.2; }
.route-text { color: #c9d1ec; font-size: 15px; }
@media (max-width: 900px) { .routes ul { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .routes a:hover { transform: none; } .routes a:hover .arc, .routes a:hover .diamond { transform: none; } }

/* Home logo wall: quiet greyscale logos (not links); the call to action below does the inviting. */
.stalls-quiet li { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; }
.stalls-quiet img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; }
.stable-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 28px; padding: 22px 22px 22px 30px; border-radius: 26px; background: var(--deep); color: var(--white); }
.stable-count { display: flex; align-items: center; gap: 18px; margin: 0; max-width: 40em; }
.stable-count strong { font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 800; font-variation-settings: var(--wide); color: var(--gold); }
.stable-count span { color: #d3daf0; font-size: 17px; }
@media (max-width: 640px) { .stable-cta { padding: 22px; } .stable-cta .btn { width: 100%; } }

/* Focus band fades from mist to white so it melts into the next section, with soft navy and gold glows. */
.section.focus {
	background:
		radial-gradient(circle at 12% 22%, rgba(35, 58, 143, .12), transparent 34%),
		radial-gradient(circle at 88% 48%, rgba(246, 172, 27, .16), transparent 32%),
		radial-gradient(circle at 30% 78%, rgba(61, 92, 214, .10), transparent 30%),
		linear-gradient(180deg, var(--mist) 0%, var(--mist) 55%, var(--white) 100%);
}
.focus .pin-stage { isolation: isolate; }
.focus .pin-stage::before, .focus .pin-stage::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(20px); }
.focus .pin-stage::before { width: 520px; height: 520px; left: 50%; top: 50%; margin: -260px 0 0 -260px; background: radial-gradient(closest-side, rgba(246, 172, 27, .22), transparent); transform: scale(calc(.8 + var(--p, 0) * .5)); }
.focus .pin-stage::after { width: 420px; height: 420px; right: 4%; top: 8%; background: radial-gradient(closest-side, rgba(35, 58, 143, .16), transparent); transform: translateY(calc(var(--p, 0) * 30vh)); }
.focus + .section { background: var(--white); }

/* Call to action: a navy card that straddles the page and the footer, with the crowd photo as a slowly turning ring. */
.cta { background: linear-gradient(180deg, transparent 55%, var(--deep) 55%); color: var(--white); padding: clamp(24px, 4vw, 48px) 0 0; overflow: visible; }
.cta::before { display: none; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(36px, 5vw, 72px); border-radius: 32px;
	background:
		radial-gradient(circle at 85% 20%, rgba(246, 172, 27, .28), transparent 40%),
		radial-gradient(circle at 10% 100%, rgba(61, 92, 214, .55), transparent 45%),
		linear-gradient(135deg, #1b2c75 0%, var(--deep) 70%);
	box-shadow: 0 40px 80px rgba(15, 28, 77, .28), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cta-card h2 { color: var(--gold); margin-bottom: .35em; }
.cta-copy p { font-size: 19px; color: #dbe1f5; max-width: 32em; }
.cta-copy .actions { margin: 28px 0 0; }
.cta-photo { justify-self: center; width: min(100%, 400px); aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--gold), 0 0 0 22px rgba(246, 172, 27, .18), 0 30px 60px rgba(0, 0, 0, .4); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
@media (prefers-reduced-motion: no-preference) {
	.cta-photo img { animation: kw-turn 120s linear infinite; } /* The fisheye circle turns slowly, like people gathering round. */
}
@keyframes kw-turn { to { transform: scale(1.08) rotate(360deg); } }
.site-foot { padding-top: clamp(56px, 6vw, 80px); }
@media (max-width: 860px) {
	.cta { background: linear-gradient(180deg, transparent 70%, var(--deep) 70%); }
	.cta-card { grid-template-columns: 1fr; text-align: left; }
	.cta-photo { order: -1; justify-self: start; width: 160px; box-shadow: 0 0 0 5px var(--gold), 0 0 0 14px rgba(246, 172, 27, .18); }
}
@media (max-width: 480px) { .cta-copy .actions .btn { width: 100%; justify-content: center; } }

/* Hero photo strip: single photos in liquid-glass frames, sliding with the scroll. */
.strip { position: relative; overflow: hidden; margin-top: clamp(8px, 2vw, 24px); padding: 24px 0 36px; outline: 0; }
.strip-track { list-style: none; margin: 0; padding: 0 var(--gut); display: flex; gap: clamp(14px, 2vw, 24px); width: max-content; transform: translate3d(calc(var(--p, 0) * var(--shift, 0px) * -1), 0, 0); will-change: transform; }
.strip-track li { flex: none; }
.strip-track li:nth-child(odd) { margin-top: 28px; } /* A gentle wave, so the row reads as separate photos. */
.glass { position: relative; margin: 0; width: clamp(240px, 26vw, 380px); padding: 10px; border-radius: 30px;
	background: linear-gradient(140deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06) 45%, rgba(120, 150, 255, .14));
	border: 1px solid rgba(255, 255, 255, .35);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -1px 0 rgba(255, 255, 255, .12), inset 0 0 24px rgba(255, 255, 255, .08), 0 24px 50px rgba(0, 0, 0, .35);
	backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8); }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, .35), transparent 45%); mix-blend-mode: screen; }
.glass img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 21px; }
.strip:focus-visible .glass { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
	.strip { overflow-x: auto; scroll-snap-type: x mandatory; }
	.strip-track { transform: none; }
	.strip-track li { scroll-snap-align: start; }
}
@media (max-width: 640px) { .glass { width: 72vw; border-radius: 24px; padding: 8px; } .glass img { border-radius: 17px; } }

/* "Where do you fit?" tiles: blue liquid glass over soft blue and gold light. */
.routes { position: relative; isolation: isolate; }
.routes::before { content: ""; position: absolute; z-index: -1; inset: 30px -4% -40px; border-radius: 60px; pointer-events: none;
	background:
		radial-gradient(circle at 12% 70%, rgba(61, 92, 214, .55), transparent 32%),
		radial-gradient(circle at 52% 30%, rgba(35, 58, 143, .45), transparent 30%),
		radial-gradient(circle at 90% 75%, rgba(246, 172, 27, .45), transparent 28%);
	filter: blur(24px); }
.routes a { position: relative; overflow: hidden; color: var(--white);
	background: linear-gradient(140deg, rgba(70, 104, 230, .86), rgba(35, 58, 143, .82) 55%, rgba(20, 34, 100, .88));
	border: 1px solid rgba(255, 255, 255, .38);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(255, 255, 255, .15), inset 0 0 30px rgba(255, 255, 255, .1), 0 18px 40px rgba(35, 58, 143, .28);
	backdrop-filter: blur(18px) saturate(1.9); -webkit-backdrop-filter: blur(18px) saturate(1.9); }
.routes a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 70% at 15% 0%, rgba(255, 255, 255, .38), transparent 42%); }
.routes a:hover, .routes a:focus-visible { background: linear-gradient(140deg, rgba(88, 122, 240, .9), rgba(45, 70, 165, .86) 55%, rgba(25, 40, 115, .9)); }
.route-text { color: #e3e8ff; }

/* Hero fades from navy into the white page; the photo strip floats across the seam. */
.hero { background: linear-gradient(180deg, var(--deep) 0%, var(--deep) 52%, #1c2c6e 64%, #6f7fb8 80%, #dfe4f3 92%, var(--white) 100%); padding-bottom: clamp(24px, 4vw, 56px); }
.strip { margin-top: clamp(40px, 6vw, 96px); padding: 24px 0 48px; }
.glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -1px 0 rgba(255, 255, 255, .12), inset 0 0 24px rgba(255, 255, 255, .08), 0 30px 60px rgba(15, 28, 77, .28); }
.hero + .toril { padding-top: clamp(24px, 3vw, 48px); }

[hidden] { display: none !important; }

/* Inner page headers (Incubatees, Awards, News, Connect...): navy fading into the white page, like the home hero. */
.page-head-plain { background: linear-gradient(180deg, var(--deep) 0%, var(--deep) 45%, #24357c 66%, #8d9ac8 86%, var(--white) 100%); color: var(--white); padding-bottom: clamp(72px, 9vw, 128px); margin-bottom: 0; position: relative; isolation: isolate; overflow: hidden; }
.page-head-plain::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -14vw; top: -22vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 92, 214, .55), transparent); }
.page-head-plain::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; left: 52%; top: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 172, 27, .22), transparent); }
.page-head-plain h1 { color: var(--white); }
.page-head-plain .lead { color: #d6dcf2; }
.page-head-plain .lead a, .page-head-plain .back a { color: var(--gold); }
.page-head-plain .date { color: #c9d1ec; }
.page-head-plain .chips a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: var(--white); border-radius: 999px; backdrop-filter: blur(8px); }
.page-head-plain .chips a[aria-current] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.page-head-plain + .section { padding-top: clamp(24px, 3vw, 40px); }

/* Incubatees: a glass filter bar that stays under the nav while you browse. */
.inc-head { padding-bottom: clamp(88px, 10vw, 140px); }
.inc-bar { position: sticky; top: calc(var(--head-h) + 6px); z-index: 20; margin-top: calc(clamp(88px, 10vw, 140px) * -.42); }
.admin-bar .inc-bar { top: calc(var(--head-h) + 38px); }
.inc-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 8px; border-radius: 30px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 16px 40px rgba(15, 28, 77, .14); backdrop-filter: blur(16px) saturate(1.7); -webkit-backdrop-filter: blur(16px) saturate(1.7); }
.pills { display: flex; flex-wrap: wrap; gap: 4px; }
.pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s, color .25s; }
.pills a span { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--mist); color: var(--soft); font-size: 13px; text-align: center; }
.pills a:hover { background: var(--mist); }
.pills a[aria-current] { background: var(--navy); color: var(--white); }
.pills a[aria-current] span { background: rgba(255, 255, 255, .2); color: var(--white); }
.inc-search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--soft); flex: 0 1 280px; }
.inc-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(246, 172, 27, .45); }
.inc-search svg { width: 18px; flex: none; }
.inc-search input { width: 100%; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); }
@media (max-width: 760px) { .inc-bar-inner { border-radius: 22px; } .pills { overflow-x: auto; flex-wrap: nowrap; width: 100%; } .pills a { flex: none; } .inc-search { flex: 1 1 100%; } }
.inc-groups .cohort { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 0; }
.inc-groups .cohort:last-of-type { padding-bottom: var(--sec); }
.inc-empty { padding: 48px var(--gut) var(--sec); color: var(--soft); font-size: 18px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--navy); text-decoration: underline; cursor: pointer; }

/* Startup tiles */
.stalls { gap: 16px; border: 0; }
.stalls > li { border: 0; }
.stall { padding: 12px 12px 16px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(15, 28, 77, .04); transition: transform .3s var(--ease), box-shadow .3s; }
.stall:hover { background: var(--white); transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(35, 58, 143, .25), 0 20px 40px rgba(15, 28, 77, .14); }
.stall::after { display: none; }
.stall-logo { padding: 10%; margin-bottom: 12px; border-radius: 18px; background: var(--mist); }
.stall:hover .stall-logo img { transform: scale(1.06); }
.stall-name { padding: 0 4px; }
.stall-year { padding: 2px 4px 0; color: var(--soft); font-size: 13px; }

/* Profile: a glass sheet over a blurred page, with previous and next. */
.sheet { width: min(760px, calc(100% - 24px)); border-top: 0; border-radius: 30px; overflow: hidden; background: rgba(255, 255, 255, .94); box-shadow: 0 40px 100px rgba(10, 18, 60, .45), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.sheet::backdrop { background: rgba(15, 28, 77, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet-body { padding: 0; max-height: calc(100vh - 140px); overflow-y: auto; }
.profile { display: block; }
.profile-top { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; padding: 30px clamp(20px, 4vw, 36px); background: radial-gradient(circle at 90% 0%, rgba(246, 172, 27, .3), transparent 45%), linear-gradient(135deg, #2a44a8, var(--deep)); color: var(--white); }
.profile-logo { width: 120px; aspect-ratio: 1; padding: 14px; border: 0; border-radius: 24px; background: rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0, 0, 0, .25); }
.profile-kind { margin: 0 0 4px; color: var(--gold); font-weight: 700; font-size: 15px; }
.profile-name { margin: 0 44px 6px 0; font-size: clamp(24px, 3vw, 32px); color: var(--white); }
.profile-person { margin: 0; color: #d6dcf2; }
.profile-body { padding: 24px clamp(20px, 4vw, 36px) 8px; font-size: 17px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.profile-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; overflow-wrap: anywhere; }
.btn-soft { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.btn-soft:hover { background: var(--line); border-color: var(--line); color: var(--deep); }
.sheet-close { top: 16px; right: 16px; z-index: 2; background: rgba(255, 255, 255, .16); color: var(--white); border-radius: 50%; backdrop-filter: blur(6px); }
.sheet-close:hover { background: rgba(255, 255, 255, .3); }
.sheet-nav { display: flex; justify-content: space-between; gap: 12px; padding: 14px clamp(20px, 4vw, 36px) 18px; border-top: 1px solid var(--line); }
.sheet-step { border: 0; background: none; padding: 8px 0; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; max-width: 48%; text-align: left; }
.sheet-step[data-step="1"] { margin-left: auto; text-align: right; }
.sheet-step:hover { color: var(--deep); text-decoration: underline; }
@media (max-width: 560px) { .profile-top { grid-template-columns: 1fr; } .profile-logo { width: 96px; } }

/* Awards: a year bar, a timeline down the left, glass cards and photos that open large. */
.bar-note { margin: 0; padding: 0 14px; color: var(--soft); font-weight: 600; font-size: 15px; }
.awards-wrap { padding-top: clamp(32px, 4vw, 56px); }
.year { grid-template-columns: 170px 1fr; gap: 32px; padding: 24px 0 48px; border-top: 0; scroll-margin-top: calc(var(--head-h) + 90px); }
.year-num { top: calc(var(--head-h) + 96px); }
.awards { position: relative; gap: 20px; padding-left: 34px; }
.awards::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.award { position: relative; grid-template-columns: 240px 1fr; gap: 26px; padding: 18px; border: 0; border-radius: 26px; background: linear-gradient(140deg, #fff, var(--mist)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 #fff, 0 14px 34px rgba(15, 28, 77, .08); }
.award:last-child { padding-bottom: 18px; }
.award::before { content: ""; position: absolute; left: -32px; top: 30px; width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--white); }
.award-photo { all: unset; box-sizing: border-box; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; overflow: hidden; }
.award-photo img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.award-photo:hover img { transform: scale(1.05); }
.award-photo:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.award .date { color: var(--navy); font-weight: 700; }
.award h3 { font-size: 22px; }
@media (max-width: 760px) {
	.awards { padding-left: 26px; }
	.awards::before { left: 5px; }
	.award { grid-template-columns: 1fr; }
	.award::before { left: -27px; }
	.award-photo { max-width: 360px; }
}

.lightbox { width: min(1000px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 16px; border: 0; border-radius: 28px; background: rgba(255, 255, 255, .95); box-shadow: 0 40px 100px rgba(10, 18, 60, .5); }
.lightbox::backdrop { background: rgba(15, 28, 77, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 18px; }
.lightbox-caption { margin: 12px 8px 4px; font-weight: 700; color: var(--deep); }
.lightbox .sheet-close { background: var(--white); color: var(--deep); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.lightbox[open] { animation: kw-sheet .25s ease-out; }

/* Startup search: a button in the nav pill opens a glass search box. */
.search-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.search-btn:hover { background: var(--line); transform: scale(1.05); }
.search-btn svg { width: 20px; height: 20px; }
.search-btn-mobile { display: none; }
@media (max-width: 960px) {
	.search-btn-desk { display: none; }
	.search-btn-mobile { display: inline-grid; margin-left: auto; }
	.search-btn-mobile + .nav-toggle { margin-left: 6px; }
}
.site-search { width: min(680px, calc(100% - 24px)); margin-top: max(10vh, calc(var(--head-h) + 16px)); padding: 10px; border: 0; border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 40px 100px rgba(10, 18, 60, .45); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); }
.site-search::backdrop { background: rgba(15, 28, 77, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.site-search[open] { animation: kw-drop .22s var(--ease); }
.ss-field { display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 16px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); }
.ss-field:focus-within { box-shadow: inset 0 0 0 2px var(--navy), 0 0 0 4px rgba(246, 172, 27, .35); }
.ss-field > svg { width: 22px; height: 22px; flex: none; }
.ss-field input { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: none; font: inherit; font-size: 18px; color: var(--ink); }
.ss-esc { border: 0; border-radius: 10px; padding: 6px 10px; background: var(--mist); color: var(--soft); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; cursor: pointer; }
.ss-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: min(60vh, 520px); overflow-y: auto; }
.ss-results a { display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; align-items: center; padding: 10px 12px; border-radius: 16px; color: var(--ink); text-decoration: none; }
.ss-results img, .ss-noimg { grid-row: span 3; width: 52px; height: 52px; padding: 4px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); object-fit: contain; }
.ss-name { font-weight: 800; font-variation-settings: var(--wide); }
.ss-meta { color: var(--gold-ink); font-size: 14px; font-weight: 600; }
.ss-desc { color: var(--soft); font-size: 14px; line-height: 1.4; }
.ss-results li[aria-selected] a, .ss-results a:hover { background: var(--mist); }
.ss-empty { margin: 10px 12px 8px; color: var(--soft); }
@media (max-width: 560px) { .site-search { margin-top: 12px; border-radius: 22px; } .ss-desc { display: none; } }

/* Connect: the form is a glass card lifted onto the header; the side lists every other way to reach the team. */
.section.connect { padding-top: 0; }
.connect .connect-grid { margin-top: calc(clamp(88px, 10vw, 140px) * -.55); position: relative; z-index: 2; align-items: start; }
.connect-form { padding: clamp(22px, 3vw, 36px); border-radius: 30px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 30px 70px rgba(15, 28, 77, .16); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); }
.connect-form > .h3 { margin-bottom: 18px; color: var(--deep); }
.connect-form .form { padding: 0; background: none; border-radius: 0; }
.form input, .form textarea { border-radius: 14px; border-color: var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(246, 172, 27, .35); }
.form .btn { min-width: 200px; justify-content: center; }
.topics { margin: 0 0 1em; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.topic { position: relative; margin: 0; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--ink); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.topic input:checked + span { background: var(--navy); color: var(--white); }
.topic input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.connect-side { display: grid; gap: 14px; }
.connect-side .apply-box { margin: 0; border-radius: 28px; background: radial-gradient(circle at 90% 0%, rgba(246, 172, 27, .3), transparent 45%), linear-gradient(135deg, #2a44a8, var(--deep)); box-shadow: 0 24px 50px rgba(15, 28, 77, .25); }
.reach { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reach a { display: grid; gap: 2px; padding: 16px 20px; border-radius: 22px; background: linear-gradient(140deg, #fff, var(--mist)); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.reach a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(35, 58, 143, .3), 0 14px 30px rgba(15, 28, 77, .12); }
.reach-label { color: var(--gold-ink); font-weight: 700; font-size: 14px; }
.reach-value { font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.reach-hint { color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: underline; }
.reach-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.reach-social a { padding: 8px 16px; border-radius: 999px; background: var(--mist); color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; }
.reach-social a:hover { background: var(--line); }
@media (max-width: 860px) { .connect .connect-grid { margin-top: calc(clamp(88px, 10vw, 140px) * -.4); } }

/* News: the newest story leads, wide; the rest follow as rounded cards. */
.news-list { padding-top: clamp(32px, 4vw, 56px); }
.posts { gap: 22px; }
.post-item a { padding: 12px 12px 20px; border-radius: 26px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.post-item a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(35, 58, 143, .25), 0 20px 40px rgba(15, 28, 77, .12); }
.post-img { border-radius: 18px; }
.post-img-none { background: radial-gradient(circle at 80% 10%, rgba(246, 172, 27, .35), transparent 50%), linear-gradient(135deg, #2a44a8, var(--deep)); }
.post-img-none .arc { fill: rgba(255, 255, 255, .9); }
.post-item time { display: block; margin: 0 8px; color: var(--navy); font-weight: 700; font-size: 14px; }
.post-item h2, .post-item p { margin-left: 8px; margin-right: 8px; }
.post-featured { grid-column: 1 / -1; }
.post-featured a { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px 28px; align-items: center; padding: 14px; }
.post-featured .post-img { grid-row: span 3; margin: 0; aspect-ratio: 16 / 10; }
.post-featured h2 { font-size: clamp(24px, 2.6vw, 34px); align-self: end; }
.post-featured time { align-self: end; }
.post-featured p { align-self: start; font-size: 17px; }
@media (max-width: 760px) { .post-featured a { grid-template-columns: 1fr; } .post-featured .post-img { grid-row: auto; } }
.news-empty { display: grid; justify-items: center; gap: 8px; max-width: 520px; margin: 24px auto 0; padding: 40px 28px; border-radius: 30px; background: linear-gradient(140deg, #fff, var(--mist)); box-shadow: inset 0 0 0 1px var(--line); text-align: center; color: var(--soft); }
.news-empty .mark { width: 64px; }
.news-empty .arc { fill: var(--navy); }
.news-empty .diamond { fill: var(--gold); }
.news-empty strong { color: var(--ink); }
.bar-note a { color: var(--navy); font-weight: 700; }

/* About: the same family as the rest of the site — gradient header, glass, blue glass, light cards, the lit path. */
.about-head { padding-bottom: clamp(80px, 9vw, 130px); }
.about-head .split { align-items: center; }
.about-glass { width: auto; justify-self: end; max-width: 560px; }
.about-head + .section { padding-top: clamp(32px, 4vw, 56px); }

.dna-list { position: relative; isolation: isolate; gap: 12px; }
.dna-list::before { content: ""; position: absolute; z-index: -1; inset: -30px -4%; border-radius: 60px; background: radial-gradient(circle at 10% 60%, rgba(61, 92, 214, .4), transparent 30%), radial-gradient(circle at 60% 30%, rgba(35, 58, 143, .3), transparent 30%), radial-gradient(circle at 92% 60%, rgba(246, 172, 27, .35), transparent 28%); filter: blur(24px); pointer-events: none; }
.dna-list li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; border-radius: 999px; color: var(--white); background: linear-gradient(140deg, rgba(70, 104, 230, .86), rgba(35, 58, 143, .82) 55%, rgba(20, 34, 100, .88)); border: 1px solid rgba(255, 255, 255, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 12px 28px rgba(35, 58, 143, .25); backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8); font-variation-settings: "wdth" 110; }
.dna-list li:nth-child(3n + 2) { background: linear-gradient(140deg, rgba(70, 104, 230, .86), rgba(35, 58, 143, .82) 55%, rgba(20, 34, 100, .88)); color: var(--white); }
.dna-mark { width: 26px; height: 26px; flex: none; }
.dna-mark .arc { fill: #fff; }
.dna-mark .diamond { fill: var(--gold); }

.cards { margin: 0; display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; padding: 24px 26px; border-radius: 26px; background: linear-gradient(140deg, #fff, var(--mist)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 #fff, 0 14px 34px rgba(15, 28, 77, .07); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(35, 58, 143, .25), 0 20px 40px rgba(15, 28, 77, .12); }
.card dt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 800; font-variation-settings: var(--wide); font-size: 20px; line-height: 1.2; color: var(--navy); }
.card dt::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.card dd { margin: 0; color: var(--soft); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-2, .cards-3 { grid-template-columns: 1fr; } }

.section.programs { background: radial-gradient(circle at 15% 20%, rgba(35, 58, 143, .12), transparent 35%), radial-gradient(circle at 85% 80%, rgba(246, 172, 27, .14), transparent 32%), linear-gradient(180deg, var(--white), var(--mist) 25%, var(--mist) 75%, var(--white)); padding-top: var(--sec) !important; padding-bottom: var(--sec); }
.programs + .section { padding-top: var(--sec); }
.path { gap: 14px; }
.path li { padding-right: 0; }
.step-card { height: 100%; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 #fff, 0 14px 30px rgba(15, 28, 77, .08); backdrop-filter: blur(10px); transition: box-shadow .4s, transform .4s var(--ease); }
.path li.on .step-card { box-shadow: inset 0 0 0 1px rgba(246, 172, 27, .6), 0 18px 36px rgba(15, 28, 77, .12); }
.js .path li:not(.on) > * { opacity: 1; }
.js .path li:not(.on) .step-card { opacity: .55; transform: translateY(6px); }
.step-card h3 { font-size: 21px; color: var(--navy); }
.step-card p:last-child { margin: 0; font-size: 15px; color: var(--soft); }
@media (max-width: 1024px) { .path li { padding-left: 40px; } }

.stats-wrap { padding-top: var(--sec); }
.stats-sec, .stats-card { color: var(--white); }
.stats-card { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 60px); border-radius: 32px; background: radial-gradient(circle at 88% 10%, rgba(246, 172, 27, .3), transparent 40%), radial-gradient(circle at 5% 100%, rgba(61, 92, 214, .55), transparent 45%), linear-gradient(135deg, #1b2c75, var(--deep) 70%); box-shadow: 0 40px 80px rgba(15, 28, 77, .25); }
.stats-card .h2 { color: var(--white); }

.pillars { overflow: hidden; }
.pillars-strip { margin-top: 0; }
.glass-portrait { width: clamp(200px, 20vw, 260px); }
.glass-portrait img { aspect-ratio: 4 / 5; }

.place-glass { width: auto; }
.place .define { margin-bottom: 1.4em; }

/* Floating photos: each glass frame bobs on its own rhythm above a soft shadow that shrinks as it rises. */
.strip-track li { position: relative; padding-bottom: 34px; }
.strip-track li::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 28, 77, .38), transparent); filter: blur(6px); pointer-events: none; }
.strip .glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(255, 255, 255, .15), inset 0 0 24px rgba(255, 255, 255, .1), 0 30px 50px -18px rgba(15, 28, 77, .45); }
@media (prefers-reduced-motion: no-preference) {
	.strip .glass { animation: kw-float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate; will-change: transform; }
	.strip-track li::after { animation: kw-float-shadow var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate; }
	.strip-track li:nth-child(4n + 1) { --dur: 5.6s; --delay: -1.2s; }
	.strip-track li:nth-child(4n + 2) { --dur: 6.8s; --delay: -3.4s; }
	.strip-track li:nth-child(4n + 3) { --dur: 6.2s; --delay: -.4s; }
	.strip-track li:nth-child(4n + 4) { --dur: 7.4s; --delay: -2.6s; }
}
@keyframes kw-float { from { transform: translateY(6px) rotate(-.6deg); } to { transform: translateY(-12px) rotate(.6deg); } }
@keyframes kw-float-shadow { from { transform: scaleX(1); opacity: .9; } to { transform: scaleX(.78); opacity: .5; } }

/* The pillars: every portrait at once, in a still grid of glass frames. */
.pillars-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.pillars-grid .glass-portrait { width: auto; background: linear-gradient(140deg, rgba(255, 255, 255, .95), var(--mist)); border-color: var(--line); box-shadow: inset 0 1px 0 #fff, 0 22px 44px -18px rgba(15, 28, 77, .35); transition: transform .3s var(--ease), box-shadow .3s; }
.pillars-grid .glass-portrait:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 30px 50px -18px rgba(15, 28, 77, .45); }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .pillars-grid .glass-portrait { padding: 6px; border-radius: 20px; } .pillars-grid .glass-portrait img { border-radius: 15px; } }

/* Home photo strip: an endless, slow auto carousel (no longer tied to scrolling). */
.strip-auto .strip-track { gap: 0; padding: 0; transform: none; animation: kw-carousel 70s linear infinite; }
.strip-auto .strip-track > li { margin-right: clamp(14px, 2vw, 24px); } /* Margins, not gap, so the halfway point lines up exactly. */
@keyframes kw-carousel { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
	.strip-auto .strip-track { animation: none; padding: 0 var(--gut); }
	.strip-auto .strip-copy { display: none; }
}

/* Applications banner: a gold glass pill under the photo strip. */
.apply-banner { display: flex; align-items: center; gap: 16px; margin: 4px 0 0; padding: 10px 10px 10px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, rgba(255, 214, 120, .92), rgba(246, 172, 27, .9)); border: 1px solid rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 18px 40px rgba(246, 172, 27, .3); backdrop-filter: blur(12px); transition: transform .3s var(--ease), box-shadow .3s; }
.apply-banner:hover { color: var(--ink); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 24px 50px rgba(246, 172, 27, .4); }
.banner-mark { width: 40px; height: 40px; flex: none; }
.banner-mark .arc { fill: var(--deep); }
.banner-mark .diamond { fill: #fff; }
.ab-text { display: grid; flex: 1; gap: 2px; }
.ab-text strong { font-weight: 800; font-variation-settings: var(--wide); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.2; }
.ab-deadline { font-size: 15px; font-weight: 600; color: #4a3200; }
.ab-btn { flex: none; background: var(--deep); border-color: var(--deep); color: var(--white); }
.apply-banner:hover .ab-btn { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 640px) { .apply-banner { flex-wrap: wrap; border-radius: 26px; padding: 14px 16px; } .ab-btn { width: 100%; justify-content: center; } }

/* How to join: three numbered steps (a real sequence). */
.join-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.join-steps .card { padding: 26px; }
.join-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; background: var(--deep); color: var(--gold); font-weight: 800; font-variation-settings: var(--wide); font-size: 20px; }
.join-steps h3 { color: var(--navy); font-size: 21px; }
.join-steps p { margin: 0; color: var(--soft); }
@media (max-width: 860px) { .join-steps { grid-template-columns: 1fr; } }

/* Programs at a glance: the five Kwadra programs as a short path of pills. */
.section.glance { padding-top: var(--sec); }
.glance-path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.glance-path li { display: flex; align-items: center; gap: 10px; }
.glance-path li + li::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--line)); }
.glance-path a { display: grid; padding: 12px 20px; border-radius: 22px; text-decoration: none; color: var(--white); background: linear-gradient(140deg, rgba(70, 104, 230, .9), rgba(35, 58, 143, .88) 55%, rgba(20, 34, 100, .92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 26px rgba(35, 58, 143, .22); transition: transform .3s var(--ease); }
.glance-path a:hover { color: var(--white); transform: translateY(-2px); }
.glance-path strong { font-variation-settings: var(--wide); font-size: 17px; }
.glance-path span { color: #d6dcf2; font-size: 13px; }
@media (max-width: 760px) { .glance-path { flex-direction: column; align-items: stretch; } .glance-path li { flex-direction: column; align-items: stretch; } .glance-path li + li::before { width: 2px; height: 14px; margin-left: 24px; } }

/* Latest news on the home page reuses the News cards. */
.latest .post-item h3 { margin: 4px 8px 8px; }
.latest .post-featured h3 { font-size: clamp(22px, 2.4vw, 30px); align-self: end; }
@media (min-width: 761px) {
	.glance-path { flex-wrap: nowrap; }
	.glance-path li { flex: 1 1 0; min-width: 0; }
	.glance-path li + li::before { width: 18px; flex: none; }
	.glance-path a { flex: 1; min-width: 0; }
}
