/* =========================================================================
   SVL Answer Sheet — main stylesheet
   Design language: an OMR answer sheet. Ballpoint blue on cool white paper,
   printed rose rules, filled bubbles as the one recurring mark.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
	--paper: #F7F8FC;
	--sheet: #FFFFFF;
	--ink: #2433A8;
	--ink-hover: #1A2690;
	--ink-soft: #E9ECFA;
	--deep: #0E1550;
	--deep-2: #172068;
	--rose: #C8325A;
	--rose-print: #E0577A;
	--rose-rule: #F2B3C3;
	--rose-wash: #FDEBF0;
	--hl: #FFE14D;
	--text: #232845;
	--muted: #585E7C;
	--line: #DDE0EE;
	--on-dark: #E8EBFF;
	--on-dark-muted: #AEB5E0;

	--font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Kannada', 'Kannada Sangam MN', sans-serif;
	--hand: 'Kalam', 'Segoe Print', 'Bradley Hand', cursive;

	--wide: 1240px;
	--measure: 720px;
	--gutter: clamp(20px, 5vw, 48px);
	--sec: clamp(72px, 9vw, 128px);

	--r-sheet: 6px;
	--r-tile: 18px;
	--shadow-sheet: 0 1px 0 rgba(14, 21, 80, .04), 0 2px 6px -2px rgba(14, 21, 80, .08), 0 28px 56px -28px rgba(14, 21, 80, .32);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--fs-small: .875rem;
	--fs-body: 1.0625rem;
	--fs-lead: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
	--fs-h3: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem);
	--fs-h2: clamp(1.95rem, 1.35rem + 2.3vw, 3.1rem);
	--fs-h1: clamp(2.45rem, 1.5rem + 3.3vw, 4.2rem);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.65;
	font-stretch: 100%;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink-hover); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--deep);
	font-weight: 760;
	font-stretch: 112%;
	line-height: 1.12;
	letter-spacing: -.012em;
	text-wrap: balance;
}
h3, h4, h5, h6 { font-stretch: 104%; font-weight: 700; letter-spacing: -.005em; }
strong, b { font-weight: 680; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--hl); color: var(--deep); }

:focus { outline: none; }
:focus-visible {
	outline: 3px solid var(--hl);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--deep);
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	width: auto; height: auto; clip: auto;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--hl); color: var(--deep);
	font-weight: 700;
	border-radius: 999px;
}

.wrap { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- 3. Buttons ---------- */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: #fff;
	--btn-bd: var(--ink);
	--dot: rgba(255, 255, 255, .9);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .6em;
	min-height: 48px;
	padding: .7em 1.35em .7em 1.1em;
	border: 1.5px solid var(--btn-bd);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-weight: 640;
	font-stretch: 106%;
	font-size: 1rem;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}
.btn::before {
	/* The bubble: an empty ring that fills when the button is pressed or hovered. */
	content: '';
	flex: none;
	width: .8em; height: .8em;
	border-radius: 50%;
	border: 1.5px solid var(--dot);
	box-shadow: inset 0 0 0 0 var(--dot);
	transition: box-shadow .25s var(--ease);
}
.btn:has(> .svl-icon)::before { display: none; }
.btn:hover { color: var(--btn-fg); text-decoration: none; }
.btn:hover::before, .btn:focus-visible::before { box-shadow: inset 0 0 0 .4em var(--dot); }
.btn:active { transform: translateY(1px); }
.btn .svl-icon { width: 1.15em; height: 1.15em; flex: none; }
.btn--ink:hover { --btn-bg: var(--ink-hover); --btn-bd: var(--ink-hover); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: currentColor; --dot: var(--ink); }
.btn--line:hover { --btn-bg: var(--ink-soft); }
.btn--paper { --btn-bg: var(--sheet); --btn-fg: var(--deep); --btn-bd: var(--sheet); --dot: var(--ink); }
.btn--paper:hover { --btn-bg: var(--hl); --btn-bd: var(--hl); }
.btn--hl { --btn-bg: var(--hl); --btn-fg: var(--deep); --btn-bd: var(--hl); --dot: var(--deep); }
.btn--hl:hover { --btn-bg: #fff; --btn-bd: #fff; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); --dot: #fff; }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; }
.btn--sm { min-height: 40px; padding: .5em 1em .5em .85em; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	background: var(--sheet);
	color: var(--ink);
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--ink); background: var(--ink-soft); }
.icon-btn .svl-icon { width: 20px; height: 20px; }

.link-more {
	display: inline-flex; align-items: center; gap: .45em;
	font-weight: 640;
	text-decoration: none;
	white-space: nowrap;
}
.link-more .svl-icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.link-more:hover .svl-icon { transform: translateX(3px); }

/* ---------- 4. Announcement strip ---------- */
.announce { background: var(--deep); color: var(--on-dark); font-size: .875rem; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-block: 6px; }
.announce p { margin: 0; }
.announce__text { display: flex; flex-wrap: wrap; align-items: center; gap: .25em .6em; }
.announce__text::before {
	content: ''; flex: none;
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--hl);
	box-shadow: 0 0 0 3px rgba(255, 225, 77, .25);
}
.announce a { color: var(--hl); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.announce a:hover { color: #fff; }
.announce__call { display: none; white-space: nowrap; }
.announce__call a { text-decoration: none; }
@media (min-width: 900px) { .announce__call { display: block; } }

/* ---------- 5. Header & navigation ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header::before {
	/* Frosted background lives on a pseudo-element: a backdrop-filter on the
	   header itself would trap the fixed mobile menu inside the header. */
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: rgba(247, 248, 252, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(14, 21, 80, .4); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep); flex: none; }
.brand:hover { color: var(--deep); text-decoration: none; }
.brand .custom-logo { width: auto; max-height: 52px; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-weight: 860; font-stretch: 125%; font-size: 1.5rem; letter-spacing: -.01em; }
.brand__full { font-size: .74rem; font-weight: 560; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }

.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 0 14px;
	border: 1.5px solid var(--line); border-radius: 999px;
	background: var(--sheet); color: var(--deep);
	font-weight: 600; cursor: pointer;
}
.nav-toggle .svl-icon { width: 20px; height: 20px; }

/* Desktop */
@media (min-width: 1100px) {
	.nav-toggle, .primary-nav__extra { display: none !important; }
	.primary-nav > .menu { display: flex; align-items: center; gap: 2px; }
	.primary-nav .menu > li { position: relative; }
	.primary-nav .menu > li > a {
		display: flex; align-items: center; gap: 4px;
		min-height: 44px; padding: 0 12px;
		color: var(--deep); font-weight: 560; font-size: .97rem;
		text-decoration: none; border-radius: 999px;
	}
	.primary-nav .menu > li > a:hover,
	.primary-nav .menu > li:focus-within > a { background: var(--ink-soft); color: var(--ink); }
	.primary-nav .menu > .current-menu-item > a,
	.primary-nav .menu > .current-menu-ancestor > a,
	.primary-nav .menu > .current_page_parent > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
	.primary-nav .menu-item-has-children > a::after {
		content: ''; width: 7px; height: 7px; margin-left: 4px;
		border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
		transform: translateY(-2px) rotate(45deg); opacity: .6;
	}
	.primary-nav .sub-menu {
		position: absolute; top: calc(100% + 6px); left: 0;
		min-width: 260px; padding: 8px;
		background: var(--sheet);
		border: 1px solid var(--line); border-radius: 12px;
		box-shadow: var(--shadow-sheet);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .18s, transform .18s var(--ease), visibility .18s;
	}
	.primary-nav .sub-menu::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
	.primary-nav li:hover > .sub-menu,
	.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a {
		display: block; padding: 10px 12px; border-radius: 8px;
		color: var(--text); text-decoration: none; font-size: .95rem; line-height: 1.35;
	}
	.primary-nav .sub-menu a:hover { background: var(--paper); color: var(--ink); }
	.sub-toggle { display: none; }
}

/* Mobile drawer */
@media (max-width: 1099px) {
	.site-header__actions .hide-sm { display: none; }
	.site-header__actions { margin-left: auto; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; z-index: 60;
		width: min(420px, 100%);
		padding: 88px 24px 32px;
		background: var(--sheet);
		overflow-y: auto; overscroll-behavior: contain;
		clip-path: inset(0 0 0 100%);
		transition: clip-path .4s var(--ease), visibility .4s;
		visibility: hidden;
	}
	.nav-open .primary-nav { clip-path: inset(0 0 0 0); visibility: visible; }
	.nav-backdrop {
		position: fixed; inset: 0; z-index: 55;
		background: rgba(14, 21, 80, .4);
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-close { position: absolute; top: 18px; right: 18px; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--line); position: relative; }
	.primary-nav .menu > li > a {
		display: block; padding: 16px 52px 16px 0;
		font-size: 1.25rem; font-weight: 700; font-stretch: 112%;
		color: var(--deep); text-decoration: none;
	}
	.primary-nav .sub-menu { display: none; padding: 0 0 12px 14px; border-left: 2px solid var(--rose-rule); margin-bottom: 12px; }
	.primary-nav .is-open > .sub-menu { display: block; }
	.primary-nav .sub-menu a { display: block; padding: 9px 0; color: var(--text); text-decoration: none; }
	.sub-toggle {
		position: absolute; right: 0; top: 10px;
		width: 44px; height: 44px; display: grid; place-items: center;
		border: 0; background: none; color: var(--ink); cursor: pointer;
	}
	.sub-toggle .svl-icon { transition: transform .25s var(--ease); }
	.is-open > .sub-toggle .svl-icon { transform: rotate(180deg); }
	.primary-nav__extra { margin-top: 28px; display: grid; gap: 12px; }
	.primary-nav__extra .btn { justify-content: center; }
	.primary-nav__extra p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
}
@media (min-width: 1100px) { .nav-backdrop, .nav-close { display: none; } }
@media (max-width: 420px) { .brand__full { display: none; } .site-header__actions .btn--ink { padding-inline: .8em; } }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); overflow: clip; }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }
.hero__title {
	font-size: var(--fs-h1);
	font-weight: 820;
	font-stretch: 125%;
	line-height: .98;
	letter-spacing: -.028em;
	margin-bottom: .42em;
	max-width: 16ch;
}
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text); max-width: 56ch; margin-bottom: 1.6em; }
.hero .btn-row { margin-bottom: clamp(32px, 4vw, 48px); }

.answer-key { display: grid; gap: 0; margin: 0; border-top: 1.5px solid var(--rose-rule); }
.answer-key__row { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rose-rule); }
.answer-key dt { font-weight: 800; font-stretch: 120%; font-size: 1.35rem; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.answer-key dd { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
@media (min-width: 640px) and (max-width: 979px), (min-width: 1180px) {
	.answer-key { grid-template-columns: repeat(3, 1fr); border-top: 0; }
	.answer-key__row { grid-template-columns: 1fr; gap: 6px; padding: 0 18px; border-bottom: 0; border-left: 1.5px solid var(--rose-rule); }
	.answer-key__row:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- 7. The answer sheet (OMR) ---------- */
.omr {
	position: relative;
	margin: 0;
	background: var(--sheet);
	border-radius: var(--r-sheet);
	box-shadow: var(--shadow-sheet);
	border: 1px solid #ECEEF6;
	overflow: hidden;
}
.omr::before {
	/* The printed timing marks down the left edge of a real OMR sheet. */
	content: '';
	position: absolute; left: 10px; top: 52px; bottom: 40px; width: 7px;
	background: repeating-linear-gradient(to bottom, var(--deep) 0 4px, transparent 4px 21px);
	opacity: .85;
}
.omr__head {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 12px 18px 11px 30px;
	border-bottom: 1.5px solid var(--rose-print);
	color: var(--rose);
	font-size: .78rem; font-weight: 640; font-stretch: 108%;
	letter-spacing: .02em;
}
.omr__meta { color: var(--muted); font-weight: 520; }
.omr__field { position: relative; padding: 14px 16px 10px 30px; }
.omr__canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.omr--hero .omr__field { height: clamp(300px, 42vw, 470px); }
.omr--page .omr__field { height: clamp(170px, 22vw, 230px); }
.omr__foot {
	padding: 9px 18px 11px 30px;
	border-top: 1px solid var(--rose-rule);
	color: var(--rose);
	font-size: .72rem; letter-spacing: .01em;
}
.hero__sheet { position: relative; }
@media (min-width: 980px) {
	.hero__sheet .omr { transform: rotate(1.2deg); }
	.hero__sheet::before {
		/* A second sheet underneath, slightly askew. */
		content: ''; position: absolute; inset: 14px -10px -12px 18px;
		background: var(--sheet); border-radius: var(--r-sheet);
		border: 1px solid #ECEEF6;
		transform: rotate(-2.4deg);
		box-shadow: 0 20px 40px -30px rgba(14, 21, 80, .35);
	}
}

/* ---------- 8. Sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sec-head--split .sec-title { max-width: 20ch; margin-bottom: 0; }
.sec-title { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.022em; font-stretch: 118%; font-weight: 780; }
.sec-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
.sec-head .sec-title + .sec-lead { margin-top: .2em; }

/* ---------- 9. The plan: matrix + tracks ---------- */
.plan { background: var(--sheet); border-block: 1px solid var(--line); }
.plan__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 980px) { .plan__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } .plan__grid .sec-head { margin-bottom: 0; position: sticky; top: 120px; } }

.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.matrix th, .matrix td { padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--rose-rule); }
.matrix thead th {
	position: relative;
	font-weight: 640; font-stretch: 106%; font-size: .86rem; color: var(--rose);
	line-height: 1.25; vertical-align: bottom;
	border-bottom: 1.5px solid var(--rose-print);
	cursor: pointer; user-select: none;
	transition: color .2s, background-color .2s;
}
.matrix thead th:hover, .matrix thead th.is-active { color: var(--ink); background: var(--ink-soft); }
.matrix__btn { all: unset; cursor: pointer; display: block; width: 100%; text-align: center; border-radius: 4px; }
.matrix__btn:focus-visible { outline: 3px solid var(--hl); outline-offset: 2px; box-shadow: 0 0 0 5px var(--deep); }
.matrix .matrix__corner { text-align: left; cursor: default; color: var(--muted); }
.matrix .matrix__corner:hover { background: none; color: var(--muted); }
.matrix tbody th { text-align: left; font-weight: 640; color: var(--deep); font-stretch: 104%; white-space: nowrap; transition: opacity .25s; }
.matrix td { transition: background-color .25s, opacity .25s; }
.matrix td.is-active { background: var(--ink-soft); }
.matrix.has-active td:not(.is-active) { opacity: .35; }
.matrix.has-active tr.is-dim th { opacity: .35; }
.matrix__note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) {
	.matrix { min-width: 0; font-size: .86rem; }
	.matrix th, .matrix td { padding: 12px 3px; }
	.matrix thead th { font-size: .74rem; }
	.matrix tbody th { white-space: normal; padding-right: 8px; }
	.matrix .bubble { width: 22px; height: 22px; }
}

.bubble {
	display: inline-grid; place-items: center;
	width: 26px; height: 26px; border-radius: 50%;
	border: 1.5px solid var(--rose-rule);
	color: var(--rose-print);
	font-size: .66rem; font-weight: 640; line-height: 1;
	position: relative;
}
.bubble.is-on { border-color: var(--ink); background: var(--ink); color: transparent; }
.bubble.is-on::after {
	/* A tiny unfilled fleck, like a real ballpoint fill. */
	content: ''; position: absolute; width: 4px; height: 3px; border-radius: 50%;
	background: rgba(255, 255, 255, .35); top: 6px; left: 7px; transform: rotate(-30deg);
}

.tracks { display: grid; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 760px) { .tracks { grid-template-columns: repeat(2, 1fr); } }
.track {
	position: relative;
	display: flex; flex-direction: column;
	padding: clamp(24px, 3vw, 36px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 4px solid var(--ink);
	border-radius: 4px 4px var(--r-tile) var(--r-tile);
	transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.track:nth-child(2n) { border-top-color: var(--rose); }
.track:hover { background: var(--sheet); transform: translateY(-3px); }
.track__combo {
	margin: 0 0 .15em;
	font-size: clamp(3rem, 2rem + 4vw, 5.25rem);
	font-weight: 880; font-stretch: 125%;
	line-height: .9; letter-spacing: -.035em;
	color: var(--ink);
	-webkit-text-stroke: 0;
}
.track:nth-child(2n) .track__combo { color: var(--rose); }
.track__title { font-size: 1.375rem; margin: .45em 0 .4em; }
.track__title a { color: var(--deep); text-decoration: none; }
.track__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.track__text { color: var(--muted); margin-bottom: 1.1em; }
.track__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 640; color: var(--ink); }
.track__more .svl-icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.track:hover .track__more .svl-icon { transform: translateX(4px); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1.25em; }
.chips li {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 5px 12px 5px 8px;
	background: var(--sheet);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .84rem; font-weight: 600; color: var(--deep);
}
.chips li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }

/* ---------- 10. Founder ---------- */
.founder { background: var(--deep); color: var(--on-dark); overflow: hidden; }
.founder .sec-title { color: #fff; }
.founder__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
	.founder__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "photo text" "photo mission"; }
	.founder__portrait { grid-area: photo; }
	.founder__text { grid-area: text; }
	.founder__mission { grid-area: mission; }
}
.founder__portrait { position: relative; max-width: 440px; }
@media (max-width: 899px) { .founder__portrait { max-width: 220px; } .founder__mono span { font-size: 3.4rem; } }
.founder__portrait img { border-radius: var(--r-tile); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder__mono {
	aspect-ratio: 4 / 5; border-radius: var(--r-tile);
	display: grid; place-items: center;
	background:
		radial-gradient(circle at 50% 46%, transparent 0 34%, var(--rose-print) 34% calc(34% + 2px), transparent calc(34% + 2px)),
		repeating-radial-gradient(circle at 50% 46%, rgba(255,255,255,.05) 0 1px, transparent 1px 18px),
		var(--deep-2);
}
.founder__mono span {
	font-weight: 880; font-stretch: 125%;
	font-size: clamp(4rem, 3rem + 5vw, 7rem);
	color: var(--hl); letter-spacing: -.04em; line-height: 1;
	transform: translateY(-6%);
}
.founder__text p { font-size: var(--fs-lead); line-height: 1.6; color: var(--on-dark); max-width: 58ch; }
.founder__sign { display: grid; gap: 2px; margin-top: 1.6em; }
.founder__signature { font-family: var(--hand); font-size: 2.1rem; line-height: 1; color: var(--hl); transform: rotate(-3deg); transform-origin: left; margin-bottom: 8px; }
.founder__name { font-weight: 700; color: #fff; }
.founder__role { font-size: .9rem; color: var(--on-dark-muted); }
.founder__mission {
	margin: 0; padding: clamp(20px, 3vw, 32px) 0 0;
	border-top: 1.5px solid rgba(255, 255, 255, .16);
}
.founder__mission-label { font-size: .9rem; color: var(--hl); font-weight: 620; margin-bottom: .5em; }
.founder__mission p:last-child { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.42; color: #fff; font-stretch: 104%; font-weight: 460; margin: 0; max-width: 46ch; }

/* ---------- 11. A day at SVL ---------- */
.daybar { position: relative; margin: 0 0 clamp(40px, 5vw, 64px); padding-bottom: 30px; }
.daybar__track { position: relative; height: 92px; border-radius: 12px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 13.5)); }
.daybar__seg {
	position: absolute; top: 0; bottom: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 12px 14px;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid var(--paper);
}
.daybar__seg--0 { background: var(--ink); color: #fff; }
.daybar__seg--1 { background: var(--rose-wash); color: var(--rose); border-color: var(--paper); }
.daybar__seg--2 { background: var(--deep); color: #fff; }
.daybar__label { font-weight: 700; font-stretch: 108%; font-size: .98rem; line-height: 1.15; }
.daybar__time { font-size: .78rem; opacity: .8; white-space: nowrap; }
.daybar__seg--1 .daybar__label { font-size: .8rem; }
.daybar__seg--1 .daybar__time { display: none; }
.daybar__ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; }
.daybar__ticks span { position: absolute; transform: translateX(-50%); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.daybar__ticks span:first-child { transform: none; }
@media (max-width: 640px) {
	.daybar__track { height: 120px; }
	.daybar__seg { padding: 10px; }
	.daybar__label { font-size: .82rem; }
	.daybar__seg--1 .daybar__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; }
	.daybar__ticks span:nth-child(2n) { display: none; }
}

.timetable { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--deep); }
@media (min-width: 760px) { .timetable { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) { .timetable { grid-template-columns: repeat(3, 1fr); } }
.timetable__item { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.timetable__time { display: block; margin-bottom: 8px; font-weight: 820; font-stretch: 122%; font-size: 1.5rem; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.timetable__title { font-size: 1.1rem; margin: 0 0 .25em; }
.timetable__text { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }

/* ---------- 12. Facilities bento ---------- */
.facilities { background: var(--sheet); border-top: 1px solid var(--line); }
.bento { display: grid; gap: 16px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__tile--1 { grid-column: span 2; } }
@media (min-width: 1040px) {
	.bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, auto); }
	.bento__tile--1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
}
.bento__tile {
	margin: 0; display: flex; flex-direction: column;
	background: var(--paper);
	border-radius: var(--r-tile);
	overflow: hidden;
	border: 1px solid var(--line);
}
.bento__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-soft); }
.bento__tile--1 .bento__media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.bento__media img, .bento__media .pattern-art { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bento__tile:hover .bento__media img, .bento__tile:hover .bento__media .pattern-art { transform: scale(1.035); }
.bento__cap { position: relative; padding: 20px 22px 22px; }
.bento__icon {
	position: absolute; top: -26px; right: 20px;
	display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--sheet); color: var(--ink);
	border: 1.5px solid var(--rose-rule);
}
.bento__icon .svl-icon { width: 24px; height: 24px; }
.bento__title { font-size: var(--fs-h3); margin: 0 0 .3em; padding-right: 56px; }
.bento__tile--1 .bento__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.bento__text { margin: 0; color: var(--muted); font-size: .97rem; }

.pattern-art { display: block; width: 100%; height: 100%; }

/* ---------- 13. Why SVL: ruled notebook ---------- */
.notebook {
	--rule: 2.25rem;
	--nb-l: clamp(56px, 8vw, 120px);
	--nb-r: clamp(22px, 4vw, 64px);
	position: relative;
	padding: clamp(28px, 4vw, 56px) var(--nb-r) clamp(20px, 3vw, 40px) var(--nb-l);
	background:
		linear-gradient(90deg, transparent calc(clamp(40px, 6vw, 92px)), var(--rose-print) calc(clamp(40px, 6vw, 92px)) calc(clamp(40px, 6vw, 92px) + 1.5px), transparent calc(clamp(40px, 6vw, 92px) + 1.5px)),
		var(--sheet);
	border-radius: var(--r-sheet);
	box-shadow: var(--shadow-sheet);
}
.notebook__title { margin-bottom: .8em; }
.notebook__list {
	list-style: none; margin: 0 calc(-1 * var(--nb-r)) 0 calc(-1 * var(--nb-l)); padding: 0 var(--nb-r) var(--rule) var(--nb-l);
	display: grid; gap: var(--rule) 48px;
	background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--rule) - 1px), #CBD3F2 calc(var(--rule) - 1px) var(--rule));
	background-position: 0 -7px;
}
@media (min-width: 860px) { .notebook__list { grid-template-columns: repeat(2, 1fr); } }
.notebook__list li { position: relative; padding: 0; line-height: var(--rule); }
.notebook__list strong { display: block; font-size: 1.12rem; color: var(--deep); font-stretch: 106%; line-height: var(--rule); }
.notebook__list span { display: block; color: var(--muted); line-height: var(--rule); }
.notebook__tick { position: absolute; left: calc(-1 * clamp(36px, 5.5vw, 76px)); top: 3px; width: 26px; height: 26px; color: var(--ink); stroke-width: 2.4; }

/* ---------- 14. Numbers band ---------- */
.stats { background: var(--hl); padding-block: clamp(48px, 6vw, 80px); }
.stats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 0; }
.stats__item { display: flex; flex-direction: column-reverse; border-left: 2px solid var(--deep); padding-left: 18px; }
.stats__item dd { margin: 0; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); font-weight: 860; font-stretch: 125%; line-height: 1; color: var(--deep); letter-spacing: -.03em; }
.stats__item dt { margin-top: 8px; color: var(--deep); font-weight: 560; }

/* ---------- 15. Voices ---------- */
.voices { background: var(--paper); }
.voices__nav { display: flex; gap: 10px; }
.voices__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px);
	gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
	margin-inline: calc(50% - 50vw);
	padding: 4px max(var(--gutter), calc(50vw - var(--wide) / 2)) 20px;
	scroll-padding-inline: max(var(--gutter), calc(50vw - var(--wide) / 2));
	scrollbar-width: thin; scrollbar-color: var(--rose-rule) transparent;
}
.voice {
	scroll-snap-align: start;
	margin: 0; display: flex; flex-direction: column;
	padding: 28px 28px 24px;
	background: var(--sheet);
	border: 1px solid var(--line);
	border-radius: var(--r-tile);
}
.voice__quote { margin: 0 0 24px; font-size: 1.08rem; line-height: 1.6; color: var(--text); }
.voice__quote p:first-child::before { content: '\201C'; display: block; font-size: 3.4rem; line-height: .7; height: .45em; color: var(--rose-print); font-weight: 800; }
.voice__quote p:last-child { margin-bottom: 0; }
.voice__who { margin-top: auto; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
.voice__init, .voice__photo { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; }
.voice__init { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-stretch: 120%; font-size: 1.1rem; }
.voice__photo { object-fit: cover; }
.voice__name { font-weight: 700; color: var(--deep); }
.voice__role { font-size: .88rem; color: var(--muted); }

/* ---------- 16. Admissions + enquiry form ---------- */
.admit { background: var(--ink); color: #fff; overflow: hidden; }
.admit .sec-title { color: #fff; }
.admit .sec-lead { color: rgba(255, 255, 255, .82); margin-bottom: 2em; }
.admit__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .admit__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps__item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 26px; }
.steps__item:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 1.5px; background: rgba(255, 255, 255, .3); }
.steps__num {
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: #fff; color: var(--ink);
	font-weight: 820; font-stretch: 120%; font-size: 1.05rem;
}
.steps__title { color: #fff; font-size: 1.15rem; margin: 9px 0 .3em; }
.steps__text { margin: 0; color: rgba(255, 255, 255, .8); font-size: .98rem; }

.sheet {
	background: var(--sheet); color: var(--text);
	border-radius: var(--r-sheet);
	box-shadow: var(--shadow-sheet);
}
.enq { position: relative; padding: 0 0 4px; }
.enq__head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
	padding: 18px clamp(18px, 3vw, 30px) 14px;
	border-bottom: 1.5px solid var(--rose-print);
}
.enq__title { margin: 0; font-size: 1.3rem; color: var(--deep); }
.enq__meta { font-size: .82rem; color: var(--rose); font-weight: 600; }
.enq__grid { display: grid; gap: 14px; padding: 20px clamp(18px, 3vw, 30px) 6px; }
@media (min-width: 620px) { .enq__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { position: relative; display: flex; flex-direction: column; }
.field label, .choice legend {
	font-size: .78rem; font-weight: 640; color: var(--rose);
	letter-spacing: .01em; margin-bottom: 6px;
}
.field .req { color: var(--rose); }
.field input, .field textarea, .field select {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1.5px solid var(--rose-rule);
	border-radius: 4px;
	background: #fff;
	color: var(--deep);
	font-size: 1rem;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA0BD; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(36, 51, 168, .14); outline: none; background: #FCFDFF; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--rose); background: var(--rose-wash); }
.field__error { font-size: .8rem; color: var(--rose); margin-top: 5px; }

.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.opt { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .94rem; color: var(--deep); transition: border-color .2s, background-color .2s; }
.opt:hover { border-color: var(--rose-rule); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__bubble {
	position: relative;
	display: grid; place-items: center;
	width: 26px; height: 26px; border-radius: 50%;
	border: 1.5px solid var(--rose-print);
	color: var(--rose-print);
	font-size: .7rem; font-weight: 700;
	flex: none;
}
.opt__bubble::after {
	content: ''; position: absolute; inset: 2px; border-radius: 50%;
	background: var(--ink);
	transform: scale(0); transition: transform .28s cubic-bezier(.3, 1.6, .5, 1);
}
.opt input:checked + .opt__bubble { border-color: var(--ink); }
.opt input:checked + .opt__bubble::after { transform: scale(1); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--ink-soft); }
.opt input:focus-visible + .opt__bubble { outline: 3px solid var(--hl); outline-offset: 2px; box-shadow: 0 0 0 5px var(--deep); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.enq__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq__foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 14px clamp(18px, 3vw, 30px) 22px; }
.enq__alt { margin: 0; font-size: .9rem; color: var(--muted); }
.enq__status:empty { display: none; }
.enq__status { margin: 0 clamp(18px, 3vw, 30px) 22px; padding: 14px 16px; border-radius: 8px; font-size: .95rem; }
.enq__status.is-ok { background: #E8F6EE; color: #11603A; border: 1px solid #B7E2C8; }
.enq__status.is-err { background: var(--rose-wash); color: var(--rose); border: 1px solid var(--rose-rule); }
.enq.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.enq.is-sent .enq__grid, .enq.is-sent .enq__foot { display: none; }
.enq.is-sent .enq__status { margin-top: 22px; }

/* ---------- 17. Posts ---------- */
.latest { background: var(--paper); }
.post-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-tile); overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.post-card:hover { transform: translateY(-3px); border-color: #C6CBE4; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-soft); }
.post-card__media img, .post-card__media .pattern-art { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; font-size: .82rem; color: var(--rose); font-weight: 600; }
.post-card__meta span + span { color: var(--muted); font-weight: 500; }
.post-card__title { font-size: 1.2rem; line-height: 1.25; margin: 0 0 .5em; }
.post-card__title a { color: var(--deep); text-decoration: none; }
.post-card__title a::after { content: ''; position: absolute; inset: 0; }
.post-card__title a:hover { color: var(--ink); }
.post-card__excerpt { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- 18. Visit ---------- */
.visit { background: var(--sheet); border-top: 1px solid var(--line); }
.visit__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
@media (min-width: 980px) { .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.visit .sec-lead { margin-bottom: 1.6em; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; line-height: 1.5; }
.contact-list .svl-icon { color: var(--ink); margin-top: 2px; }
.contact-list strong { display: block; color: var(--deep); font-size: .95rem; margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-weight: 560; }
.contact-list a:hover { text-decoration: underline; }
.map-frame { position: relative; height: 100%; min-height: 360px; border-radius: var(--r-tile); overflow: hidden; border: 1px solid var(--line); background: #EEF0FB radial-gradient(circle at 13px 13px, transparent 0 6.4px, #D3D8F3 6.4px 7.7px, transparent 7.7px) 0 0 / 26px 26px; }
.map-frame > .route-sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: var(--shadow-sheet); }
.map-frame__load:active { transform: translate(-50%, calc(-50% + 1px)); }
.map-frame.is-loaded > .route-sketch, .map-frame.is-loaded .map-frame__load { display: none; }
.map-frame__load { top: auto; bottom: 22px; transform: translateX(-50%); }
.map-frame__load:active { transform: translate(-50%, 1px); }

/* ---------- 19. Closing band, footer, mobile action bar ---------- */
.cta-band { background: var(--hl); color: var(--deep); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.cta-band__grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 980px) { .cta-band__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.cta-band__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem); font-weight: 860; font-stretch: 125%; line-height: .98; letter-spacing: -.03em; margin: 0 0 .3em; color: var(--deep); max-width: 14ch; }
.cta-band__text { font-size: var(--fs-lead); margin: 0; max-width: 46ch; }
.nowrap { white-space: nowrap; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 980px) { .cta-band .btn-row { justify-content: flex-end; } }
.cta-band .btn--line { --btn-fg: var(--deep); --dot: var(--deep); }
.cta-band .btn--line:hover { --btn-bg: rgba(14, 21, 80, .08); }
.cta-band .btn--ink { --btn-bg: var(--deep); --btn-bd: var(--deep); }
.cta-band::after {
	/* A row of half-filled bubbles along the bottom edge. */
	content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 18px;
	background: radial-gradient(circle at 9px 9px, transparent 0 6.5px, rgba(14, 21, 80, .22) 6.5px 8px, transparent 8px) 0 0 / 26px 18px repeat-x;
	pointer-events: none;
}

.site-footer { background: var(--deep); color: var(--on-dark-muted); font-size: .95rem; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--hl); text-decoration: underline; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer__contact { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; } .footer__contact { grid-column: auto; } }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__full { color: var(--on-dark-muted); }
.footer__about { margin: 18px 0 20px; max-width: 38ch; line-height: 1.6; }
.footer__heading { color: #fff; font-size: 1rem; font-stretch: 108%; margin-bottom: 14px; }
.footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__contact .contact-list .svl-icon { color: var(--hl); }
.footer__contact .contact-list strong { color: #fff; }
.footer__contact .contact-list a { color: var(--on-dark); }
.social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); color: #fff; }
.social a:hover { border-color: var(--hl); color: var(--hl); }
.social .svl-icon { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.footer__kn { color: var(--on-dark); }

.action-bar {
	position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40;
	display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px;
	padding: 6px;
	background: rgba(14, 21, 80, .96);
	border-radius: 999px;
	box-shadow: 0 16px 32px -12px rgba(14, 21, 80, .55);
	transform: translateY(140%);
	transition: transform .35s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
	display: flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 46px; border-radius: 999px;
	color: #fff; text-decoration: none; font-weight: 640; font-size: .92rem;
}
.action-bar a:last-child { background: var(--hl); color: var(--deep); }
.action-bar .svl-icon { width: 19px; height: 19px; }
@media (min-width: 900px) { .action-bar { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 76px; } }

.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 40;
	display: none; align-items: center; gap: 10px;
	padding: 10px 18px 10px 12px;
	background: var(--deep); color: #fff; border-radius: 999px;
	text-decoration: none; font-weight: 620; font-size: .92rem;
	box-shadow: 0 16px 32px -14px rgba(14, 21, 80, .6);
	opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease);
}
.wa-float .svl-icon { width: 24px; height: 24px; color: #4ADE80; }
.wa-float:hover { color: #fff; background: var(--ink); text-decoration: none; }
.wa-float.is-visible { opacity: 1; transform: none; }
@media (min-width: 900px) { .wa-float { display: inline-flex; } }

/* ---------- 20. Inner page header ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .page-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.page-hero__title { font-size: clamp(2.3rem, 1.5rem + 3.3vw, 4.1rem); font-weight: 820; font-stretch: 125%; line-height: 1; letter-spacing: -.028em; margin: 0 0 .35em; max-width: 16ch; }
.page-hero__lead { font-size: var(--fs-lead); color: var(--muted); max-width: 58ch; margin: 0; }
.page-hero__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; }
.page-hero__sheet { max-width: 520px; width: 100%; justify-self: end; }
@media (max-width: 979px) { .page-hero__sheet { justify-self: stretch; max-width: none; } .page-hero__sheet .omr__field { height: 150px; } }

.crumbs { margin-bottom: 18px; font-size: .86rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; border: 1.2px solid var(--rose-print); margin: 0 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- 21. Page content & blocks ---------- */
.entry-content {
	--content: min(var(--measure), 100% - 2 * var(--gutter));
	display: grid;
	/* Content is left-aligned inside the wide column, like the rest of the site. */
	grid-template-columns:
		[full-start] minmax(var(--gutter), 1fr)
		[wide-start content-start] var(--content) [content-end]
		minmax(0, calc(var(--wide) - var(--measure))) [wide-end]
		minmax(var(--gutter), 1fr) [full-end];
	padding-block: clamp(48px, 6vw, 88px);
}
.entry-content > * { grid-column: content; margin-block: 0; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content > .alignwide { grid-column: wide; }
.entry-content > .alignfull { grid-column: full; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > .svl-sc--founder:last-child,
.entry-content > .svl-sc--admissions:last-child,
.entry-content > .svl-sc--visit:last-child,
.entry-content > .svl-sc--day:last-child,
.entry-content > .svl-sc--facilities:last-child,
.entry-content > .svl-sc--reasons:last-child,
.entry-content > .svl-sc--testimonials:last-child,
.entry-content > .svl-sc--posts:last-child,
.entry-content > .alignfull:last-child { margin-bottom: calc(-1 * clamp(48px, 6vw, 88px)); }
.entry-content > .alignfull:first-child { margin-top: calc(-1 * clamp(48px, 6vw, 88px)); }

.entry-content > h2, .entry-content > .wp-block-heading:is(h2) { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); margin-top: 1.9em; line-height: 1.08; font-stretch: 116%; letter-spacing: -.018em; }
.entry-content > h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); margin-top: 1.6em; }
.entry-content > h2 + *, .entry-content > h3 + * { margin-top: .6em; }
.entry-content > p, .entry-content li { font-size: 1.0625rem; }
.entry-content > p.svl-lead, .entry-content > .is-style-svl-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--deep); }
.entry-content > ul, .entry-content > ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content li::marker { color: var(--rose-print); }
.entry-content a:not(.btn):not(.wp-block-button__link) { text-decoration-color: var(--rose-rule); text-decoration-thickness: 2px; }
.entry-content a:not(.btn):not(.wp-block-button__link):hover { text-decoration-color: var(--ink); }

/* Sections inside content: groups that carry the svl-block class or block styles. */
.entry-content > .svl-block,
.entry-content > .wp-block-group.alignwide,
.entry-content > .svl-sc.alignwide { margin-top: clamp(56px, 7vw, 104px); }
.entry-content > .svl-sc.alignfull,
.entry-content > .wp-block-group.alignfull { margin-top: clamp(56px, 7vw, 104px); }
.entry-content > .svl-sc.alignfull + .svl-sc.alignfull { margin-top: 0; }
.wp-block-group.svl-block > h2:first-child, .svl-block > .wp-block-heading:first-child { margin-top: 0; font-size: clamp(1.85rem, 1.25rem + 2vw, 2.75rem); font-stretch: 118%; letter-spacing: -.02em; line-height: 1.05; max-width: 22ch; }
.wp-block-group.svl-block > * + * { margin-top: 1em; }
.wp-block-group.svl-block > h2 + * { margin-top: .6em; }
.wp-block-group.svl-block > :is(p, ul, ol, .wp-block-buttons, .wp-block-details, .wp-block-group.is-style-svl-note) { max-width: 760px; }

/* Lead intro under the hero. */
.entry-content > .wp-block-paragraph.svl-intro, .entry-content > p.svl-intro { font-size: var(--fs-lead); color: var(--deep); line-height: 1.55; }

/* Block style: answer sheet */
.wp-block-group.is-style-svl-sheet {
	background: var(--sheet);
	border-radius: var(--r-sheet);
	box-shadow: var(--shadow-sheet);
	padding: clamp(24px, 4vw, 48px);
	border-top: 4px solid var(--ink);
}
.wp-block-group.is-style-svl-sheet > * { margin-block: 0; }
.wp-block-group.is-style-svl-sheet > * + * { margin-top: 1em; }

/* Block style: ruled notebook */
.wp-block-group.is-style-svl-notebook {
	--rule: 2.1rem;
	padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px);
	background:
		linear-gradient(90deg, transparent clamp(32px, 5vw, 72px), var(--rose-print) clamp(32px, 5vw, 72px) calc(clamp(32px, 5vw, 72px) + 1.5px), transparent 0),
		repeating-linear-gradient(to bottom, transparent 0 calc(var(--rule) - 1px), #CFD6F2 calc(var(--rule) - 1px) var(--rule)),
		var(--sheet);
	border-radius: var(--r-sheet);
	box-shadow: var(--shadow-sheet);
	line-height: var(--rule);
}
.wp-block-group.is-style-svl-notebook > * { margin-block: 0; }
.wp-block-group.is-style-svl-notebook > * + * { margin-top: var(--rule); }
.wp-block-group.is-style-svl-notebook h2, .wp-block-group.is-style-svl-notebook h3 { line-height: var(--rule); }

/* Block style: blue-black band */
.wp-block-group.is-style-svl-dark {
	background: var(--deep); color: var(--on-dark);
	padding: clamp(56px, 7vw, 104px) max(var(--gutter), calc((100% - var(--wide)) / 2));
}
.wp-block-group.is-style-svl-dark:not(.alignfull) { border-radius: var(--r-tile); padding: clamp(28px, 5vw, 64px); }
.wp-block-group.is-style-svl-dark h2, .wp-block-group.is-style-svl-dark h3 { color: #fff; }
.wp-block-group.is-style-svl-dark a:not(.wp-block-button__link) { color: var(--hl); }
.wp-block-group.is-style-svl-dark > * { margin-block: 0; max-width: 760px; }
.wp-block-group.is-style-svl-dark > * + * { margin-top: 1em; }
.wp-block-group.is-style-svl-dark .wp-block-button__link { background: var(--hl); color: var(--deep); border-color: var(--hl); }

/* Block style: highlighted note */
.wp-block-group.is-style-svl-note {
	padding: 20px 24px 20px 26px;
	background: linear-gradient(100deg, rgba(255, 225, 77, .55), rgba(255, 225, 77, .32));
	border-radius: 4px 14px 14px 4px;
	border-left: 4px solid var(--deep);
	color: var(--deep);
}
.wp-block-group.is-style-svl-note > * { margin-block: 0; }
.wp-block-group.is-style-svl-note > * + * { margin-top: .6em; }

/* Lists */
.wp-block-list.is-style-svl-bubbles { list-style: none; padding-left: 0; }
.wp-block-list.is-style-svl-bubbles > li { position: relative; padding-left: 38px; }
.wp-block-list.is-style-svl-bubbles > li + li { margin-top: .7em; }
.wp-block-list.is-style-svl-bubbles > li::before {
	content: ''; position: absolute; left: 0; top: .22em;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--ink);
	box-shadow: inset 0 0 0 2px var(--sheet), 0 0 0 1.5px var(--ink);
}

.wp-block-list.is-style-svl-steps { list-style: none; padding-left: 0; counter-reset: s; }
.wp-block-list.is-style-svl-steps > li { position: relative; counter-increment: s; padding: 2px 0 22px 64px; min-height: 44px; }
.wp-block-list.is-style-svl-steps > li + li { margin-top: 0; }
.wp-block-list.is-style-svl-steps > li::before {
	content: counter(s);
	position: absolute; left: 0; top: 0;
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--ink); color: #fff;
	font-weight: 820; font-stretch: 120%;
}
.wp-block-list.is-style-svl-steps > li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 1.5px; background: var(--rose-rule); }
.wp-block-list.is-style-svl-steps > li strong:first-child { display: block; color: var(--deep); font-size: 1.1rem; font-stretch: 106%; margin-bottom: 2px; }

/* Columns */
.wp-block-columns { gap: clamp(24px, 4vw, 48px); margin-bottom: 0; }
.wp-block-columns.is-style-svl-ruled > .wp-block-column { border-top: 1.5px solid var(--deep); padding-top: 18px; }
.wp-block-column > * { margin-block: 0; }
.wp-block-column > * + * { margin-top: .8em; }
.wp-block-column > h3 { font-size: 1.2rem; }

/* Quotes */
.entry-content .wp-block-quote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--rose-print); }
.entry-content .wp-block-quote p { font-size: 1.15rem; color: var(--deep); }
.entry-content .wp-block-quote cite { display: block; margin-top: .6em; font-style: normal; font-size: .92rem; color: var(--muted); }
.entry-content .wp-block-quote.is-style-svl-pull { border: 0; padding: 0; }
.entry-content .wp-block-quote.is-style-svl-pull p { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.25; font-weight: 640; font-stretch: 110%; letter-spacing: -.012em; }

/* Details (FAQ) */
.entry-content .wp-block-details {
	border-bottom: 1px solid var(--line);
	padding: 0;
	margin-top: 0;
}
.entry-content > .wp-block-details:first-of-type, .entry-content h2 + .wp-block-details, .svl-faq h2 + .wp-block-details { border-top: 1.5px solid var(--deep); }
.entry-content .wp-block-details summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 20px 56px 20px 0;
	font-weight: 660; font-stretch: 104%;
	font-size: 1.08rem; color: var(--deep);
	line-height: 1.4;
}
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after {
	content: '';
	position: absolute; right: 4px; top: 50%;
	width: 28px; height: 28px; margin-top: -14px;
	border-radius: 50%;
	border: 1.5px solid var(--rose-print);
	box-shadow: inset 0 0 0 0 var(--ink);
	transition: box-shadow .3s var(--ease), border-color .25s;
}
.entry-content .wp-block-details[open] summary::after { border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 14px var(--ink); }
.entry-content .wp-block-details summary:hover { color: var(--ink); }
.entry-content .wp-block-details > :not(summary) { margin: 0 0 1em; padding-right: 56px; color: var(--text); }
.entry-content .wp-block-details > :last-child { padding-bottom: 8px; }
.svl-faq > * { margin-block: 0; }
.svl-faq > h2 { margin-top: 0; margin-bottom: .6em; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); font-stretch: 116%; letter-spacing: -.015em; }
.entry-content > .svl-faq + .svl-faq { margin-top: clamp(48px, 6vw, 80px); }

/* Buttons block */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button__link {
	display: inline-flex; align-items: center; gap: .6em;
	min-height: 48px; padding: .7em 1.35em;
	border: 1.5px solid var(--ink); border-radius: 999px;
	background: var(--ink); color: #fff;
	font-weight: 640; font-stretch: 106%; font-size: 1rem; line-height: 1.1;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.wp-block-button__link:hover { background: var(--ink-hover); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink-soft); }

/* Tables, images, gallery, separators */
.entry-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-table thead th { color: var(--rose); font-size: .85rem; border-bottom: 1.5px solid var(--rose-print); }
.entry-content .wp-block-image img { border-radius: var(--r-tile); }
.entry-content .wp-block-image figcaption, .entry-content .wp-element-caption { font-size: .88rem; color: var(--muted); margin-top: .6em; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery img { border-radius: 12px; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.page-banner { margin: 0; }
.page-banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-tile); }

.empty-note {
	padding: 28px 30px; border: 1.5px dashed var(--rose-rule); border-radius: var(--r-tile);
	background: var(--sheet); color: var(--muted);
}
.empty-note p { margin: 0; }

/* Shortcode wrappers in page content keep their own section spacing. */
.svl-sc > .sec:first-child { margin-top: 0; }
.svl-sc--matrix, .svl-sc--tracks, .svl-sc--steps, .svl-sc--faculty, .svl-sc--achievers, .svl-sc--contact_list { margin-top: 2em; }
.svl-sc--tracks .tracks { margin-top: 0; }
.svl-sc--steps .steps__item:not(:last-child)::before { background: var(--rose-rule); }
.svl-sc--steps .steps__num { background: var(--ink); color: #fff; }
.svl-sc--steps .steps__title { color: var(--deep); }
.svl-sc--steps .steps__text { color: var(--muted); }

/* ---------- 22. Single post ---------- */
.article-head { padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); }
.article-head__inner { max-width: 880px; }
.article-head .page-hero__title { max-width: 22ch; font-size: clamp(2.1rem, 1.4rem + 2.7vw, 3.6rem); }
.article-media { margin: 0 auto; width: min(var(--wide), 100% - 2 * var(--gutter)); }
.article-media img, .article-media .pattern-art { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; border-radius: var(--r-tile); }
.single-post .entry-content { padding-top: clamp(36px, 5vw, 64px); }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.share__label { font-weight: 640; color: var(--deep); margin-right: 6px; }
.related { background: var(--sheet); border-top: 1px solid var(--line); }

/* ---------- 23. Program detail ---------- */
.facts { display: grid; gap: 0; margin: 0; border-top: 1.5px solid var(--deep); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1040px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts__item { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .82rem; color: var(--rose); font-weight: 640; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--deep); font-weight: 620; font-stretch: 104%; font-size: 1.05rem; line-height: 1.4; }

/* ---------- 24. People & achievers ---------- */
.people { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden; background: var(--ink-soft); margin-bottom: 14px; }
.person__photo img, .person__photo .pattern-art { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 1.15rem; margin: 0 0 .15em; }
.person__subject { margin: 0; color: var(--ink); font-weight: 620; }
.person__meta { margin: .2em 0 0; color: var(--muted); font-size: .92rem; }
.person__bio { margin-top: .6em; font-size: .95rem; color: var(--muted); }
.person__bio p { margin: 0; }

.achievers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.achiever { padding: 18px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-tile); text-align: center; }
.achiever__photo { width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); display: grid; place-items: center; background: var(--ink-soft); }
.achiever__photo img { width: 100%; height: 100%; object-fit: cover; }
.achiever__init { font-weight: 860; font-stretch: 125%; font-size: 2rem; color: var(--ink); }
.achiever__score { margin: 0; font-weight: 860; font-stretch: 122%; font-size: 1.5rem; color: var(--rose); line-height: 1.1; }
.achiever__name { font-size: 1.05rem; margin: .3em 0 .1em; }
.achiever__exam { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- 25. Archives, search, 404, pagination ---------- */
.archive-body { padding-block: clamp(48px, 6vw, 88px); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px;
	border-radius: 999px; border: 1.5px solid var(--line); background: var(--sheet);
	color: var(--deep); text-decoration: none; font-weight: 620;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); }

.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type="search"] {
	flex: 1; min-height: 50px; padding: 0 18px;
	border: 1.5px solid var(--rose-rule); border-radius: 999px; background: #fff;
}
.search-form input[type="search"]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(36, 51, 168, .14); }
.search-results-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.search-results-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-results-list h2 { font-size: 1.3rem; margin: 0 0 .3em; }
.search-results-list h2 a { color: var(--deep); text-decoration: none; }
.search-results-list p { margin: 0; color: var(--muted); }
.nothing { max-width: 640px; }
.nothing .btn-row { margin-top: 24px; }

/* ---------- 26. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(14, 21, 80, .92); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 8px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }

/* ---------- 27. Reduced motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html { scroll-behavior: auto; }
}
@media print {
	.announce, .site-header, .cta-band, .action-bar, .wa-float, .omr, .map-frame, .share { display: none !important; }
	body { background: #fff; color: #000; }
	.sec, .entry-content { padding-block: 16px; }
	a { color: #000; }
}
