/* ==========================================================================
   StudyInKorea.pk
   Palette: the deep blues of Korean university crests on cool porcelain
   white, with one gold accent reserved for actions, and photographs of
   Korean campuses and cities. IBM Plex Sans for headings (institutional,
   clear at every size), Open Sans for reading.
   ========================================================================== */

@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/ibm-plex-sans.woff2") format("woff2");
	font-weight: 500 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Open Sans";
	src: url("../fonts/open-sans.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Colour */
	--c-paper: #f4f6f8;
	--c-surface: #ffffff;
	--c-blue-50: #edf1f6;
	--c-blue-100: #e1e8f0;
	--c-blue-200: #cbd5e1;
	--c-blue-400: #8796ab;
	--c-blue: #3a5277;
	--c-blue-700: #263a59;
	--c-blue-900: #14223a;
	--c-ink: #0c1628;
	--c-muted: #4d5a6c;
	--c-celadon: #4f8f80;
	--c-celadon-100: #e2f0eb;
	--c-accent: #f2b33d;
	--c-accent-600: #d99a1f;
	--c-accent-100: #fcefd2;
	--c-error: #a8261d;
	--c-success: #2c6a4d;
	--c-focus: #1d5fd1;

	/* Type */
	--f-display: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--f-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-md: 1.25rem;
	--fs-lead: 1.125rem;
	--fs-lg: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
	--fs-xl: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
	--fs-hero: clamp(2.375rem, 1.5rem + 3.4vw, 4.25rem);
	--lh-tight: 1.05;
	--lh-snug: 1.25;
	--lh-body: 1.6;

	/* Space (4px base) */
	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.5rem;
	--s-6: 2rem;
	--s-7: 3rem;
	--s-8: 4rem;
	--s-9: 6rem;
	--section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
	--gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
	--wrap: 87.5rem; /* 1400px */

	/* Shape & motion */
	--r-sm: 6px;
	--r-md: 12px;
	--r-lg: 20px;
	--r-pill: 999px;
	--shadow-lift: 0 1px 2px rgb(12 22 40 / 0.06), 0 8px 24px -12px rgb(12 22 40 / 0.25);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--t-fast: 160ms;
	--t-med: 320ms;
	--header-h: 4.25rem;
}

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

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

body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: var(--lh-snug); text-wrap: balance; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: text-decoration-color var(--t-fast), color var(--t-fast); }
a:hover { text-decoration-color: currentColor; }

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

.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 {
	position: absolute; left: var(--s-4); top: -100px; z-index: 100;
	padding: var(--s-3) var(--s-4);
	background: var(--c-ink); color: #fff; border-radius: var(--r-sm);
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
	min-height: 3rem; padding: 0.7rem 1.35rem;
	border: 1.5px solid transparent; border-radius: var(--r-pill);
	font: 600 var(--fs-sm)/1.2 var(--f-body); letter-spacing: 0.01em;
	text-decoration: none; text-align: center; cursor: pointer;
	transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-accent); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-accent-600); box-shadow: var(--shadow-lift); }
.btn--ghost { border-color: currentColor; color: var(--c-ink); background: transparent; }
.btn--ghost:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn--whatsapp { background: #1f7a4d; color: #fff; }
.btn--whatsapp:hover { background: #17633e; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; }
.btn--lg { min-height: 3.375rem; padding: 0.85rem 1.6rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn--icon { width: 3rem; padding: 0; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--c-ink);
	border-bottom: 1px solid transparent;
	transition: border-color var(--t-med), background-color var(--t-med);
}
.site-header.is-scrolled { border-bottom-color: rgb(255 255 255 / 0.1); }
.site-header :focus-visible, .proof :focus-visible { outline-color: var(--c-accent); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; color: #fff; }
.brand__logo { display: block; height: 2.5rem; width: auto; }
.brand__word { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand__tld { color: var(--c-blue-400); font-weight: 500; }

.nav-toggle {
	display: inline-flex; align-items: center; gap: var(--s-2);
	min-height: 2.75rem; padding: 0 var(--s-4);
	border: 1.5px solid rgb(255 255 255 / 0.25); border-radius: var(--r-pill);
	background: transparent; color: #fff;
	font: 600 var(--fs-sm) var(--f-body); cursor: pointer;
}
.no-js .nav-toggle { display: none; }

.site-nav { display: none; }
.no-js .site-nav { display: block; width: 100%; padding-bottom: var(--s-3); }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .site-nav__list { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }

.site-nav__link { display: block; padding: var(--s-2) 0; color: #c3ccd9; text-decoration: none; font-weight: 500; }
.site-nav__link:hover { color: #fff; }
.site-nav__link.is-active { color: #fff; box-shadow: inset 0 -2px 0 var(--c-accent); }

/* Mobile menu panel */
@media (max-width: 63.99rem) {
	.js .site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
		display: block;
		padding: var(--s-4) var(--gutter) var(--s-6);
		background: var(--c-ink);
		border-bottom: 1px solid rgb(255 255 255 / 0.1);
		box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.5);
		transform: translateY(-0.75rem); opacity: 0; visibility: hidden;
		transition: transform var(--t-med) var(--ease), opacity var(--t-med), visibility 0s linear var(--t-med);
	}
	.admin-bar.js .site-nav { top: calc(var(--header-h) + 46px); }
	.js .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
	.js .site-nav__list { display: grid; }
	.js .site-nav__link { padding: var(--s-3) 0; font-size: var(--fs-md); border-bottom: 1px solid rgb(255 255 255 / 0.1); }
	.js .site-nav__link.is-active { box-shadow: none; color: var(--c-accent); }
	.site-nav__cta { margin-top: var(--s-5); width: 100%; min-height: 3.25rem; font-size: var(--fs-base); }
	.no-js .site-nav__cta { width: auto; }
}

@media (min-width: 64rem) {
	.nav-toggle { display: none; }
	.site-nav, .no-js .site-nav { display: flex; align-items: center; gap: var(--s-5); width: auto; padding: 0; }
	.site-nav__list { display: flex; gap: var(--s-5); }
	.site-nav__link { font-size: 1rem; padding: var(--s-2) 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section__head { max-width: 44rem; margin-bottom: var(--s-7); }
.section__title {
	font-family: var(--f-display);
	font-size: var(--fs-xl);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.section__intro { margin-top: var(--s-4); font-size: var(--fs-lead); color: var(--c-muted); line-height: var(--lh-body); }
.section__intro a { color: var(--c-ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate;
	display: flex; align-items: flex-end;
	padding-block: clamp(3.5rem, 1.5rem + 8vw, 7.5rem) clamp(2.5rem, 1rem + 4vw, 4.5rem);
	color: #fff;
	/* No photo (Ali 2026-11-20): deep blue with a faint grid and a gold glow, Korea's own look. */
	background:
		radial-gradient(60rem 30rem at 85% 10%, rgb(242 179 61 / 0.16), transparent 60%),
		radial-gradient(50rem 30rem at 0% 100%, rgb(79 143 128 / 0.18), transparent 60%),
		linear-gradient(180deg, var(--c-blue-900) 0%, var(--c-ink) 100%);
	overflow: hidden;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.hero__grid { display: grid; gap: var(--s-6); align-items: end; }
.hero__kicker {
	display: inline-flex; align-items: center; gap: var(--s-2);
	margin-bottom: var(--s-4); padding: 0.3rem 0.85rem 0.3rem 0.6rem;
	border-radius: var(--r-pill); background: rgb(255 255 255 / 0.14);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border: 1px solid rgb(255 255 255 / 0.22);
	font-size: var(--fs-sm); font-weight: 600; color: #fff;
}
.hero__kicker::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgb(242 179 61 / 0.3); }
.hero__title {
	font-family: var(--f-display);
	font-size: var(--fs-hero);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.015em;
	max-width: 18ch;
	text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}
.hero__lead { margin-top: var(--s-4); max-width: 38rem; font-size: var(--fs-lead); line-height: var(--lh-body); color: rgb(255 255 255 / 0.88); }
.hero__lead a { color: #fff; font-weight: 600; text-decoration-color: var(--c-accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero__actions .btn { flex: 1 1 15rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); font-size: var(--fs-sm); color: rgb(255 255 255 / 0.85); }
.hero__trust li { display: inline-flex; align-items: center; }
.hero__trust li::before { content: ""; flex: none; width: 5px; height: 5px; margin-right: var(--s-2); border-radius: 50%; background: var(--c-accent); }
@media (max-width: 47.99rem) {
	.hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-4); font-size: var(--fs-xs); }
}

.hero__card {
	display: grid; gap: var(--s-1);
	padding: var(--s-4) var(--s-5);
	border-radius: var(--r-md);
	background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.22);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	font-size: var(--fs-sm); color: rgb(255 255 255 / 0.85);
}
.hero__card-label { margin: 0; font-size: var(--fs-xs); color: rgb(255 255 255 / 0.7); }
.hero__name { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; color: #fff; text-decoration: none; line-height: 1.2; }
.hero__name:hover { text-decoration: underline; text-decoration-color: var(--c-accent); }
.hero__card-role { margin: 0; }
.hero__card a:not(.hero__name) { color: #fff; }
.hero__card-link { margin-top: var(--s-2); font-weight: 600; }

@media (max-width: 23.99rem) {
	.hero__title { font-size: 2.05rem; }
	.hero__lead { font-size: 1rem; }
	.hero__kicker { margin-bottom: var(--s-3); }
}
@media (min-width: 48rem) {
}
@media (min-width: 64rem) {
	.hero__grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: var(--s-8); }
	.hero__actions .btn { flex: 0 0 auto; }
}

.img-placeholder {
	width: 100%; height: auto; object-fit: cover;
	border-radius: 999px 999px var(--r-md) var(--r-md);
}

.img-placeholder {
	display: grid; place-items: center; padding: var(--s-6);
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, rgb(58 82 119 / 0.06) 14px 15px),
		var(--c-blue-100);
	color: var(--c-blue); font-size: var(--fs-sm); font-weight: 600; text-align: center;
}

.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { background: var(--c-blue-50); box-shadow: var(--shadow-lift); }

/* ---------- Reasons & fit ---------- */
.reasons { display: grid; gap: var(--s-5) var(--s-6); counter-reset: none; }
.reasons__item { padding-top: var(--s-4); border-top: 2px solid var(--c-blue); }
.reasons__title { margin-bottom: var(--s-2); font-size: var(--fs-md); }
.reasons__item p { color: var(--c-muted); }
@media (min-width: 40rem) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .reasons { grid-template-columns: repeat(5, 1fr); } }

.fit { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
.fit__col { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); }
.fit__col--yes { background: var(--c-blue-700); color: #fff; }
.fit__col--no { background: var(--c-surface); border: 1px solid var(--c-blue-200); }
.fit__title { margin-bottom: var(--s-5); font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 600; }
.fit__note { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--c-blue-100); font-size: var(--fs-sm); color: var(--c-muted); }
.fit__note a { color: var(--c-ink); font-weight: 600; }
@media (min-width: 56rem) { .fit { grid-template-columns: 1fr 1fr; } .fit__col { padding: var(--s-7); } }

.ticks li, .dashes li { position: relative; padding-left: 1.85rem; margin-bottom: var(--s-3); }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.3em;
	width: 1.15rem; height: 1.15rem; border-radius: 50%;
	background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%230c1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.dashes li::before { content: ""; position: absolute; left: 0.2rem; top: 0.8em; width: 0.8rem; height: 2px; background: var(--c-blue-400); }
.ticks--cols { columns: 1; column-gap: var(--s-7); }
.ticks--cols li { break-inside: avoid; }
@media (min-width: 48rem) { .ticks--cols { columns: 2; } }

/* ---------- Universities ---------- */
.cities { background: var(--c-surface); border-top: 1px solid var(--c-blue-200); }
.cities__grid { display: grid; gap: var(--s-5); }
.city {
	height: 100%; display: flex; flex-direction: column;
	padding: var(--s-5); border: 1px solid var(--c-blue-200); border-top: 3px solid var(--c-accent);
	border-radius: var(--r-md); background: var(--c-paper);
	transition: border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.city:hover { border-color: var(--c-blue-400); border-top-color: var(--c-accent); transform: translateY(-2px); }
.city__body { display: flex; flex-direction: column; flex: 1; }
.city__link { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-4); font-weight: 600; color: var(--c-ink); text-decoration: none; }
.city__link .icon { width: 1.1rem; height: 1.1rem; color: var(--c-accent-600); transition: transform var(--t-fast) var(--ease); }
.city__link:hover .icon { transform: translateX(4px); }
.city__name { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; }
.city__unis { margin: var(--s-1) 0 var(--s-2); color: var(--c-ink); }
.city__office { font-size: var(--fs-sm); color: var(--c-muted); }
.cities__foot { margin-top: var(--s-6); color: var(--c-muted); }
.cities__foot a { color: var(--c-ink); font-weight: 600; }
@media (min-width: 40rem) { .cities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cities__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }

/* ---------- Intake calendar (signature) ---------- */
.calendar { background: var(--c-paper); border-block: 1px solid var(--c-blue-200); }
.cal { --label: 17rem; --cal-gap: var(--s-6); position: relative; }
.cal__months { display: none; }
.cal__phases { display: grid; gap: var(--s-4); }
.cal__phase {
	display: grid; gap: var(--s-3);
	padding: var(--s-5); border: 1px solid var(--c-blue-200); border-radius: var(--r-md);
	background: var(--c-paper);
	transition: border-color var(--t-fast), background-color var(--t-fast);
}
.cal__phase.is-current { border-color: var(--c-accent); background: var(--c-surface); box-shadow: inset 4px 0 0 var(--c-accent); }
.cal__title { font-size: var(--fs-md); }
.cal__when { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--c-blue); }
.cal__phase.is-current .cal__when::after { content: " · now"; color: var(--c-accent-600); }

.cal__track {
	position: relative;
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px;
	height: 0.75rem;
}
/* The 12 month cells behind the bar */
.cal__track::before {
	content: ""; position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, var(--c-blue-100) 0 calc(100% / 12 - 2px), transparent calc(100% / 12 - 2px) calc(100% / 12));
	border-radius: 3px;
}
.cal__bar {
	position: relative; grid-column: var(--s) / var(--e); grid-row: 1;
	border-radius: 3px; background: var(--c-blue);
	transform-origin: left center;
	transition: transform 900ms var(--ease);
}
.cal__phase.is-current .cal__bar { background: var(--c-accent); }
.cal__body { font-size: var(--fs-sm); color: var(--c-muted); }
.cal__body p { margin-bottom: var(--s-2); }
.cal__example { padding-left: var(--s-3); border-left: 2px solid var(--c-blue-200); color: var(--c-blue-900); }

.js .cal:not(.is-drawn) .cal__bar { transform: scaleX(0); }
.js .cal.is-drawn .cal__phase:nth-child(2) .cal__bar { transition-delay: 120ms; }
.js .cal.is-drawn .cal__phase:nth-child(3) .cal__bar { transition-delay: 240ms; }
.js .cal.is-drawn .cal__phase:nth-child(4) .cal__bar { transition-delay: 360ms; }
.js .cal.is-drawn .cal__phase:nth-child(5) .cal__bar { transition-delay: 480ms; }
.js .cal.is-drawn .cal__phase:nth-child(6) .cal__bar { transition-delay: 600ms; }
.js .cal.is-drawn .cal__phase:nth-child(7) .cal__bar { transition-delay: 720ms; }

.calendar__foot { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--c-muted); max-width: 44rem; }
.calendar__foot a { color: var(--c-ink); font-weight: 600; }

@media (min-width: 64rem) {
	.cal__months {
		display: grid; grid-template-columns: repeat(12, 1fr);
		margin-left: calc(var(--label) + var(--cal-gap));
		padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-blue-200);
		font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); text-align: center;
	}
	.cal__months li.is-now { color: var(--c-ink); }
	.cal__months li.is-now::after { content: ""; display: block; width: 6px; height: 6px; margin: 4px auto 0; border-radius: 50%; background: var(--c-accent-600); }

	/* Vertical "today" band through every row */
	.cal::before {
		content: ""; position: absolute; top: 0; bottom: 0;
		left: calc(var(--label) + var(--cal-gap) + (100% - var(--label) - var(--cal-gap)) / 12 * (var(--now) - 1));
		width: calc((100% - var(--label) - var(--cal-gap)) / 12);
		background: rgb(242 179 61 / 0.1);
		border-inline: 1px dashed rgb(217 154 31 / 0.45);
		pointer-events: none;
	}

	.cal__phases { gap: 0; }
	.cal__phase {
		grid-template-columns: var(--label) 1fr; column-gap: var(--cal-gap); row-gap: var(--s-2);
		padding: var(--s-5) 0; border: 0; border-bottom: 1px solid var(--c-blue-100); border-radius: 0;
		background: transparent;
	}
	.cal__phase.is-current { box-shadow: none; background: transparent; }
	.cal__label { grid-row: 1 / span 2; }
	.cal__track { grid-column: 2; height: 1.1rem; margin-top: 0.3rem; }
	.cal__track::before { opacity: 0.6; }
	.cal__body { grid-column: 2; max-width: 52rem; }
	.cal__phase:hover .cal__bar { filter: brightness(1.12); }
}

/* ---------- Services ---------- */
.services__grid { display: grid; gap: var(--s-6) var(--s-6); }
.service { position: relative; padding-top: var(--s-5); border-top: 1px solid var(--c-blue-200); }
.service::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 3px; background: var(--c-accent); transition: width var(--t-med) var(--ease); }
.service:hover::before { width: 5rem; }
.service__title { margin-bottom: var(--s-2); font-size: var(--fs-md); }
.service p { color: var(--c-muted); }
@media (min-width: 40rem) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .services__grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--s-7); } }

.docs { margin-top: var(--s-8); padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-blue-200); }
.docs__intro { margin-bottom: var(--s-5); max-width: 40rem; }
.docs__title { font-family: var(--f-display); font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.docs__intro p { color: var(--c-muted); }
.docs__tabs { display: flex; gap: var(--s-1); margin-bottom: var(--s-5); padding: var(--s-1); border-radius: var(--r-pill); background: var(--c-blue-50); overflow-x: auto; scrollbar-width: none; }
.docs__tabs[hidden] { display: none; }
.docs__tab {
	flex: 1 0 auto; min-height: 2.75rem; padding: 0 var(--s-4);
	border: 0; border-radius: var(--r-pill); background: transparent;
	font: 600 var(--fs-sm) var(--f-body); color: var(--c-muted); cursor: pointer; white-space: nowrap;
	transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.docs__tab:hover { color: var(--c-ink); }
.docs__tab[aria-selected="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: 0 1px 3px rgb(12 22 40 / 0.15); }
.docs__panel { border-radius: var(--r-sm); }
.docs__panel + .docs__panel { margin-top: var(--s-6); }
.docs__panel-title { margin-bottom: var(--s-4); font-size: var(--fs-md); }
.js .docs.is-tabbed .docs__panel + .docs__panel { margin-top: 0; }
.js .docs.is-tabbed .docs__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.docs__panel[hidden] { display: none; }
.docs__panel.is-entering { animation: fade-in var(--t-med) var(--ease); }
@media (min-width: 48rem) { .docs { padding: var(--s-7); } .docs__tabs:not([hidden]) { display: inline-flex; } }

/* ---------- Process stepper ---------- */
.process { background: var(--c-blue-50); }
.stepper__panels { display: grid; gap: var(--s-4); }
.step {
	padding: var(--s-6) var(--s-5);
	border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-blue-200);
}
.step__count { margin-bottom: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--c-blue); }
.step__title { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--s-3); }
.step__text { color: var(--c-muted); max-width: 40rem; }
.step__points { margin: var(--s-5) 0; }
.step[hidden] { display: none; }
.step.is-entering { animation: fade-in var(--t-med) var(--ease); }
.stepper__nav[hidden] { display: none; }
.stepper__nav { display: flex; gap: var(--s-2); margin-bottom: var(--s-4); overflow-x: auto; scrollbar-width: none; padding-bottom: var(--s-1); }
.stepper__tab {
	flex: none; display: flex; align-items: center; gap: var(--s-3);
	padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2);
	border: 1px solid var(--c-blue-200); border-radius: var(--r-pill); background: var(--c-surface);
	font: 600 var(--fs-sm) var(--f-body); color: var(--c-muted); text-align: left; cursor: pointer;
	transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.stepper__num {
	display: grid; place-items: center; flex: none; width: 2rem; height: 2rem;
	border-radius: 50%; background: var(--c-blue-100); color: var(--c-blue-700);
	font-family: var(--f-display); font-weight: 700;
	transition: background-color var(--t-fast), color var(--t-fast);
}
.stepper__tab:hover { color: var(--c-ink); border-color: var(--c-blue-400); }
.stepper__tab.is-done .stepper__num { background: var(--c-blue); color: #fff; }
.stepper__tab[aria-selected="true"] { background: var(--c-blue-900); border-color: var(--c-blue-900); color: #fff; }
.stepper__tab[aria-selected="true"] .stepper__num { background: var(--c-accent); color: var(--c-ink); }
/* Mobile: only the number pills scroll; the active one shows its label */
@media (max-width: 47.99rem) {
	.stepper__tab:not([aria-selected="true"]) .stepper__label { display: none; }
	.stepper__tab:not([aria-selected="true"]) { padding-right: var(--s-2); }
}
@media (min-width: 64rem) {
	.stepper.is-tabbed { display: grid; grid-template-columns: 20rem minmax(0, 1fr); gap: var(--s-7); align-items: start; }
	.stepper__nav { flex-direction: column; margin: 0; overflow: visible; }
	.stepper__tab { width: 100%; border-radius: var(--r-md); padding: var(--s-3) var(--s-4) var(--s-3) var(--s-3); }
	.step { padding: var(--s-8) var(--s-7); min-height: 100%; }
	.stepper.is-tabbed .step { min-height: 26rem; }
}

/* ---------- Situation picker ---------- */
.picker { padding-bottom: calc(var(--section-y) * 0.6); }
.picker__chips[hidden] { display: none; }
.picker__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.chip {
	min-height: 2.75rem; padding: 0.5rem 1.1rem;
	border: 1.5px solid var(--c-blue-200); border-radius: var(--r-pill); background: var(--c-surface);
	font: 600 var(--fs-sm)/1.25 var(--f-body); color: var(--c-blue-900); text-align: left; cursor: pointer;
	transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--c-blue); }
.chip[aria-selected="true"] { background: var(--c-blue-900); border-color: var(--c-blue-900); color: #fff; }
.picker__panel {
	padding: var(--s-6) var(--s-5); border-radius: var(--r-lg);
	background: var(--c-surface); border: 1px solid var(--c-blue-200);
}
.picker__panel + .picker__panel { margin-top: var(--s-4); }
.picker__panel[hidden] { display: none; }
.picker__panel.is-entering { animation: fade-in var(--t-med) var(--ease); }
.picker__situation { margin-bottom: var(--s-1); font-size: var(--fs-sm); font-weight: 600; color: var(--c-blue); }
.js .picker__box.is-tabbed .picker__situation { display: none; }
.js .picker__box.is-tabbed .picker__panel + .picker__panel { margin-top: 0; }
.picker__title { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--s-4); }
.picker__facts { margin-bottom: var(--s-5); max-width: 46rem; }
@media (min-width: 48rem) {
	.picker__panel { padding: var(--s-7); }
	.picker__facts { columns: 2; column-gap: var(--s-7); max-width: none; }
	.picker__facts li { break-inside: avoid; }
}

/* ---------- Free vs full guidance ---------- */
.section__head--center { margin-inline: auto; text-align: center; }
.plans { display: grid; gap: var(--s-4); max-width: 60rem; margin-inline: auto; }
.plan {
	display: flex; flex-direction: column;
	padding: var(--s-6) var(--s-5); border-radius: var(--r-lg);
	background: var(--c-surface); border: 1px solid var(--c-blue-200);
}
.plan--full { background: var(--c-blue-900); border-color: var(--c-blue-900); color: #e8edf4; }
.plan__name { font-family: var(--f-display); font-size: var(--fs-xl); font-weight: 700; line-height: 1.1; }
.plan--full .plan__name { color: #fff; }
.plan__desc { margin-top: var(--s-2); color: var(--c-muted); }
.plan--full .plan__desc { color: #a8b4c5; }
.plan__price { margin: var(--s-5) 0; padding-bottom: var(--s-5); border-bottom: 1px solid var(--c-blue-100); font-family: var(--f-display); font-size: var(--fs-md); font-weight: 700; }
.plan--full .plan__price { border-color: rgb(255 255 255 / 0.12); color: var(--c-accent); }
.plan__list { flex: 1; margin-bottom: var(--s-6); }
.plan__list li { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-2) 0; }
.plan__list .icon { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; color: var(--c-blue); }
.plan--full .plan__list .icon { color: var(--c-accent); }
.plan__list li.is-out { color: #6b7686; }
.plan__dash { flex: none; width: 1.15rem; height: 2px; margin-top: 0.75rem; background: var(--c-blue-200); }
@media (min-width: 48rem) { .plans { grid-template-columns: 1fr 1fr; } .plan { padding: var(--s-7); } }

/* Consultant / agency note under the plans */
.partners {
	display: grid; gap: var(--s-4); align-items: center;
	max-width: 60rem; margin: var(--s-6) auto 0; padding: var(--s-5);
	border: 1px dashed var(--c-blue-400); border-radius: var(--r-lg);
}
.partners__title { font-family: var(--f-display); font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--s-1); }
.partners p { color: var(--c-muted); }
@media (min-width: 48rem) { .partners { grid-template-columns: 1fr auto; gap: var(--s-6); padding: var(--s-5) var(--s-6); } }

/* ---------- FAQ ---------- */
.faq { background: var(--c-surface); border-top: 1px solid var(--c-blue-200); }
.faq__grid { display: grid; gap: var(--s-5); }
.faq__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--c-blue-200); }
.faq__item { border-bottom: 1px solid var(--c-blue-200); }
.faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
	padding: var(--s-5) 0; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q-text { font-size: var(--fs-md); font-weight: 600; transition: color var(--t-fast); }
.faq__q:hover .faq__q-text { color: var(--c-blue); }
.faq__icon {
	display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem;
	border-radius: 50%; border: 1.5px solid var(--c-blue-200);
	transition: transform var(--t-med) var(--ease), background-color var(--t-fast), border-color var(--t-fast);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--c-accent); border-color: var(--c-accent); }
.faq__a { padding: 0 var(--s-7) var(--s-5) 0; color: var(--c-muted); overflow: hidden; }
.faq__a p { max-width: 42rem; }
@media (min-width: 64rem) {
	.faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-9); align-items: start; }
	.faq__head { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
}

/* ---------- Consultation ---------- */
.consultation { background: var(--c-blue-100); }
.consultation__grid { display: grid; gap: var(--s-7); }
.consultation__info .section__intro { margin-bottom: var(--s-6); }
.consultation__sub { margin: var(--s-6) 0 var(--s-4); font-size: var(--fs-md); }
.contact-list { display: grid; gap: var(--s-2); }
.contact-list a {
	display: flex; align-items: center; gap: var(--s-3);
	min-height: 3rem; padding: var(--s-2) var(--s-4);
	border-radius: var(--r-md); background: rgb(255 255 255 / 0.6);
	font-weight: 600; text-decoration: none;
	transition: background-color var(--t-fast);
}
.contact-list a:hover { background: var(--c-surface); }
.contact-list .icon { color: var(--c-blue); }

.lead-form { padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--shadow-lift); }
.lead-form__title { margin-bottom: var(--s-5); font-family: var(--f-display); font-size: var(--fs-lg); }
.field { margin-bottom: var(--s-4); }
.field-row { display: grid; gap: 0 var(--s-4); }
.field__label { display: block; margin-bottom: var(--s-2); font-size: var(--fs-sm); font-weight: 600; }
.field__optional { font-weight: 400; color: var(--c-muted); }
.field__control {
	width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--c-blue-200); border-radius: var(--r-sm);
	background: var(--c-surface); color: var(--c-ink);
	font: inherit; font-size: 1rem;
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
select.field__control {
	appearance: none; padding-right: 2.5rem;
	background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233a5277' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 0.75rem center / 1.1rem no-repeat;
}
textarea.field__control { min-height: 7rem; resize: vertical; }
.field__control::placeholder { color: #848fa0; }
.field__control:hover { border-color: var(--c-blue-400); }
.field__control:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgb(29 95 209 / 0.35); }
.field__control[aria-invalid="true"] { border-color: var(--c-error); }
.field__control[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgb(168 38 29 / 0.25); }
.field__hint { margin: var(--s-1) 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.field__error { margin: var(--s-1) 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--c-error); }
.field__error::before { content: "! "; }
.form-status { margin-bottom: var(--s-5); padding: var(--s-4); border-radius: var(--r-sm); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--sent { background: #e3f1ea; color: var(--c-success); border: 1px solid #b9dccb; }
.form-status--invalid, .form-status--expired, .form-status--limited, .form-status--failed { background: #fbe9e7; color: var(--c-error); border: 1px solid #f0c4bf; }
.form-status:focus { outline: none; }
.lead-form__privacy { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }
.lead-form.is-sent .field, .lead-form.is-sent .field-row, .lead-form.is-sent [data-submit], .lead-form.is-sent .lead-form__privacy { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } .lead-form { padding: var(--s-7); } }
@media (min-width: 64rem) { .consultation__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-9); align-items: start; } }

/* ---------- Free guides (home; same band as StudyInItaly, Korea colours) ---------- */
.guides-band { background: var(--c-blue-900); color: #dfe6ef; }
.guides-band .section__title { color: #fff; }
.guides-band .section__intro { color: #c3ccd9; margin-top: 0; }
.guides-band__by { margin-top: var(--s-4); font-size: var(--fs-sm); color: #93a0b3; }
.guides-band__top { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.guides-band__cards { display: grid; gap: var(--s-3); }
.guide-card {
	position: relative; display: flex; flex-direction: column;
	padding: var(--s-5); border-radius: var(--r-md);
	background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.12);
	transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.guide-card:hover { background: rgb(255 255 255 / 0.09); border-color: rgb(242 179 61 / 0.55); transform: translateY(-2px); }
.guide-card__num { margin-bottom: var(--s-3); font-family: var(--f-display); font-size: var(--fs-sm); font-weight: 700; color: #93a0b3; }
.guide-card__title { font-family: var(--f-display); font-size: var(--fs-md); font-weight: 700; line-height: 1.2; color: #fff; }
.guide-card__title a { color: inherit; text-decoration: none; }
.guide-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-card__text { margin: var(--s-2) 0 var(--s-4); font-size: var(--fs-sm); color: #b9c3d1; }
.guide-card__go { margin-top: auto; color: var(--c-accent); }
.guide-card__go .icon { width: 1.2rem; height: 1.2rem; transition: transform var(--t-fast) var(--ease); }
.guide-card:hover .guide-card__go .icon { transform: translateX(4px); }
.guide-card--lead { background: var(--c-accent); border-color: var(--c-accent); }
.guide-card--lead:hover { background: #f5c159; border-color: #f5c159; }
.guide-card--lead .guide-card__num,
.guide-card--lead .guide-card__title,
.guide-card--lead .guide-card__text,
.guide-card--lead .guide-card__go { color: var(--c-ink); }
@media (min-width: 40rem) {
	.guides-band__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.guide-card--lead { grid-column: span 2; }
}
@media (min-width: 64rem) {
	.guides-band__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-9); align-items: end; }
	.guides-band__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
	.guide-card--lead .guide-card__title { font-size: var(--fs-lg); }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s-8) var(--s-6); background: var(--c-ink); color: #c3ccd9; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.site-footer__about { grid-column: 1 / -1; }
.site-footer__logo { margin-bottom: var(--s-4); }
.site-footer__logo .brand__logo { height: 3rem; }
.site-footer .brand__tld { color: var(--c-blue-400); }
.site-footer__about { max-width: 30rem; }
.site-footer__title { margin-bottom: var(--s-3); font-size: 1rem; color: #fff; }
.site-footer__col li { margin-bottom: var(--s-2); }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__base { display: grid; gap: var(--s-2); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--fs-xs); color: #93a0b3; }
@media (min-width: 48rem) {
	.site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.site-footer__about { grid-column: 1 / -1; }
	.site-footer__base { grid-template-columns: auto 1fr; gap: var(--s-6); }
	.site-footer__base p:last-child { text-align: right; }
}
.sik-landing .site-footer { padding-bottom: calc(var(--s-6) + 4.5rem); }
@media (min-width: 64rem) {
	.sik-landing .site-footer { padding-bottom: var(--s-6); }
	/* Same footer as StudyInItaly and Destiny: columns spread over the full 1400px, the last one ends at the right edge. */
	.site-footer__grid { display: flex; justify-content: space-between; gap: var(--s-8); }
	.site-footer__about { flex: 0 1 30rem; }
	.site-footer__col { flex: 0 0 auto; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
	position: fixed; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); z-index: 40;
	display: flex; gap: var(--s-2); padding: var(--s-2);
	border-radius: var(--r-pill); background: rgb(12 22 40 / 0.92);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.45);
	transform: translateY(calc(100% + 1.5rem));
	transition: transform var(--t-med) var(--ease);
}
.sticky-cta .btn--primary { flex: 1; }
.sticky-cta__channel { padding-inline: 1rem; gap: 0.4rem; }

.sticky-cta.is-visible { transform: none; }
.sticky-cta[hidden] { display: none; }
@media (min-width: 64rem) { .sticky-cta { display: none !important; } }

/* ---------- Key facts strip ---------- */
.facts { background: var(--c-ink); }
.facts__list { display: grid; }
.facts__item { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-3); padding: var(--s-5) 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.facts__item:last-child { border-bottom: 0; }
.facts__item p { color: #c3ccd9; }
.facts__figure { display: block; margin-bottom: var(--s-1); font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; color: #fff; line-height: 1.1; }
.facts__source { font-size: var(--fs-sm); font-weight: 600; color: #fff; text-decoration-color: var(--c-accent); }
.facts :focus-visible, .guides-band :focus-visible { outline-color: var(--c-accent); }
@media (min-width: 40rem) {
	.facts__list { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-6); }
	.facts__item:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 64rem) {
	.facts__list { grid-template-columns: repeat(4, 1fr); }
	.facts__item { padding: var(--s-6) var(--s-5); border-bottom: 0; border-left: 1px solid rgb(255 255 255 / 0.1); }
	.facts__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Shared bits: heading with photo, sub-titles, notes, tables ---------- */
.split-head { display: grid; gap: var(--s-6); align-items: end; margin-bottom: var(--s-7); }
.split-head .section__head { margin-bottom: 0; }
@media (min-width: 64rem) {
	.split-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-9); }
	.split-head--solo { grid-template-columns: minmax(0, 1fr); }
}
.sub-title { margin-bottom: var(--s-4); font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; }
.note { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); max-width: 46rem; }
.section__foot { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--c-muted); max-width: 46rem; }
.section__foot a, .note a { color: var(--c-ink); font-weight: 600; }

.data-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border: 1px solid var(--c-blue-200); border-radius: var(--r-md); overflow: hidden; font-size: var(--fs-sm); }
.data-table th, .data-table td { padding: var(--s-3) var(--s-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-blue-100); }
.data-table thead th { background: var(--c-blue-50); font-family: var(--f-display); font-weight: 700; color: var(--c-blue-700); }
.data-table tbody th { font-weight: 600; width: 45%; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- GKS ---------- */
.gks { background: var(--c-surface); border-top: 1px solid var(--c-blue-200); }
.tracks { display: grid; gap: var(--s-4); }
.track { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--c-paper); border: 1px solid var(--c-blue-200); }
.track:first-child { background: var(--c-blue-900); border-color: var(--c-blue-900); color: #e8edf4; }
.track__name { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--s-2); }
.track:first-child .track__name { color: #fff; }
.track__how { color: var(--c-muted); }
.track:first-child .track__how { color: #c3ccd9; }
.track__facts { display: grid; gap: var(--s-3); margin: var(--s-5) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--c-blue-200); }
.track:first-child .track__facts { border-color: rgb(255 255 255 / 0.14); }
.track__facts div { display: grid; gap: 0.1rem; }
.track__facts dt { font-size: var(--fs-xs); font-weight: 700; color: var(--c-blue); }
.track:first-child .track__facts dt { color: var(--c-accent); }
.track__facts dd { margin: 0; font-size: var(--fs-sm); }
@media (min-width: 48rem) { .tracks { grid-template-columns: 1fr 1fr; } .track { padding: var(--s-7); } }

.gks__grid { display: grid; gap: var(--s-7); margin-top: var(--s-8); }
@media (min-width: 64rem) { .gks__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-9); } }

/* ---------- Costs & visa ---------- */
.costs { background: var(--c-blue-50); }
.costs__grid { display: grid; gap: var(--s-7); align-items: start; }
.visa-card { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--c-blue-900); color: #e8edf4; }
.visa-card__title { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; color: #fff; margin-bottom: var(--s-2); }
.visa-card__intro { color: #c3ccd9; margin-bottom: var(--s-5); }
.visa-card__source { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid rgb(255 255 255 / 0.14); font-size: var(--fs-sm); }
.visa-card a { color: #fff; font-weight: 600; text-decoration-color: var(--c-accent); }
.visa-card :focus-visible { outline-color: var(--c-accent); }
@media (min-width: 64rem) { .costs__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-9); } .visa-card { padding: var(--s-7); } }

/* ---------- Work ---------- */
.service__source { display: inline-block; margin-top: var(--s-3); font-size: var(--fs-sm); font-weight: 600; color: var(--c-blue); }

/* ---------- Routes picker extras ---------- */
.picker__who { margin: calc(-1 * var(--s-2)) 0 var(--s-5); color: var(--c-muted); max-width: 46rem; }
.picker__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.picker__help { font-size: var(--fs-sm); font-weight: 600; color: var(--c-blue); }

/* ---------- WhatsApp join (main free offer) ---------- */
.join { background: var(--c-blue-900); color: #e8edf4; }
.join .section__title { color: #fff; }
.join .section__intro { color: #c3ccd9; }
.join :focus-visible { outline-color: var(--c-accent); }
.join__grid { display: grid; gap: var(--s-7); align-items: center; }
.join__list { margin-top: var(--s-6); }
.join__list li { color: #e8edf4; }
.join__cards { display: grid; gap: var(--s-3); }
.join-card {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-4);
	padding: var(--s-5); border-radius: var(--r-lg);
	background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14);
	color: #fff; text-decoration: none;
	transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.join-card:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(242 179 61 / 0.6); transform: translateY(-2px); }
.join-card--channel { background: #fff; color: var(--c-ink); border-color: #fff; }
.join-card--channel:hover { background: #fff; border-color: var(--c-accent); }
.join-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #1f7a4d; color: #fff; }
.join-card__body { display: grid; gap: 0.15rem; }
.join-card__title { font-family: var(--f-display); font-size: var(--fs-md); font-weight: 700; }
.join-card__text { font-size: var(--fs-sm); color: #c3ccd9; }
.join-card--channel .join-card__text { color: var(--c-muted); }
.join-card__cta { padding: 0.45rem 1rem; border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-ink); font-size: var(--fs-sm); font-weight: 700; }
.join-card:not(.join-card--channel) .join-card__cta { background: transparent; border: 1.5px solid rgb(255 255 255 / 0.5); color: #fff; }
.join__fine { margin-top: var(--s-2); font-size: var(--fs-xs); color: #a8b4c5; }
.join__admin { padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: var(--c-accent-100); color: var(--c-ink); font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 29.99rem) {
	.join-card { grid-template-columns: auto 1fr; }
	.join-card__cta { grid-column: 2; justify-self: start; }
}
@media (min-width: 64rem) { .join__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-9); } }

.help__fine { margin: var(--s-5) auto 0; max-width: 40rem; text-align: center; font-size: var(--fs-sm); color: var(--c-muted); }
.plan--full .plan__desc a { color: #fff; }

/* ---------- Generic content pages ---------- */
.content-page { padding-block: var(--s-8); }
.entry { padding-block: var(--s-6); border-bottom: 1px solid var(--c-blue-200); }
.entry__title { font-family: var(--f-display); font-size: var(--fs-xl); line-height: 1.1; }
.entry__title a { text-decoration: none; }
.entry__meta { margin-top: var(--s-2); color: var(--c-muted); font-size: var(--fs-sm); }
.entry__content { margin-top: var(--s-5); }
.entry__content > * + * { margin-top: var(--s-4); }
.entry__content h2 { font-size: var(--fs-lg); margin-top: var(--s-7); }
.entry__content ul { list-style: disc; padding-left: 1.25rem; }
.entry__content ol { list-style: decimal; padding-left: 1.25rem; }
.entry__content img { border-radius: var(--r-md); }

/* ---------- Reveal (one subtle entrance for section heads) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js .reveal { opacity: 1; transform: none; }
	.js .cal:not(.is-drawn) .cal__bar { transform: none; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .sticky-cta, .lead-form, .hero__actions { display: none !important; }
	body { background: #fff; }
}

/* Smallest phones: keep all document tabs in view */
@media (max-width: 23.99rem) { .docs__tab { padding: 0 var(--s-3); font-size: var(--fs-xs); } }

/* ---------- Guide pages (page.php) ---------- */
.guide-hero { padding-block: var(--s-8); background: var(--c-blue-900); color: #e6ecf5; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-sm); color: #b8c6da; }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: rgb(255 255 255 / 0.35); }
.crumbs a { color: #fff; text-decoration-color: rgb(255 255 255 / 0.35); }
.crumbs a:hover { text-decoration-color: var(--c-accent); }
.guide-hero__title { margin-top: var(--s-4); max-width: 52rem; font-family: var(--f-display); font-size: var(--fs-xl); line-height: 1.1; color: #fff; }
.guide-hero__lead { margin-top: var(--s-4); max-width: 46rem; font-size: var(--fs-lead); line-height: var(--lh-body); color: rgb(255 255 255 / 0.88); }
.guide-hero__meta { margin-top: var(--s-4); font-size: var(--fs-sm); color: #b8c6da; }
.guide { display: grid; gap: var(--s-8); padding-block: var(--s-8) var(--section-y); }
@media (min-width: 64rem) {
	.guide { grid-template-columns: minmax(0, 46rem) minmax(16rem, 20rem); justify-content: space-between; gap: var(--s-9); }
}
.guide__aside { order: -1; }
@media (min-width: 64rem) { .guide__aside { order: 0; } .guide__sticky { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.toc { padding: var(--s-5); border: 1px solid var(--c-blue-200); border-radius: var(--r-md); background: var(--c-surface); }
.toc__title { font-family: var(--f-display); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-blue-700); }
.toc__list { margin-top: var(--s-3); counter-reset: toc; }
.toc__list li { counter-increment: toc; display: flex; gap: var(--s-2); padding-block: 0.3rem; font-size: var(--fs-sm); line-height: 1.35; }
.toc__list li::before { content: counter(toc); flex: none; width: 1.25rem; color: var(--c-blue-400); font-variant-numeric: tabular-nums; }
.toc__list a { color: var(--c-ink); text-decoration: none; }
.toc__list a:hover { color: var(--c-blue); text-decoration: underline; }
@media (max-width: 63.99rem) { .toc__list { columns: 1; } }
.aside-card { margin-top: var(--s-5); padding: var(--s-5); border-radius: var(--r-md); background: var(--c-blue-50); border: 1px solid var(--c-blue-100); }
.aside-card__title { font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
.aside-card__text { margin: var(--s-2) 0 var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); }
@media (max-width: 63.99rem) { .aside-card { display: none; } }

/* Long-form text */
.prose { font-size: var(--fs-base); line-height: var(--lh-body); color: var(--c-ink); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-8); font-family: var(--f-display); font-size: var(--fs-lg); line-height: var(--lh-snug); scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
.prose h3 { margin-top: var(--s-6); font-family: var(--f-display); font-size: var(--fs-md); line-height: var(--lh-snug); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-3); }
.prose a { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose a:hover { color: var(--c-blue-700); }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--c-blue); }
.prose strong { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--c-surface); border: 1px solid var(--c-blue-200); }
.prose th, .prose td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-blue-100); }
.prose thead th { background: var(--c-blue-50); font-family: var(--f-display); color: var(--c-blue-700); }
.prose .wp-block-table { overflow-x: auto; }
.prose .callout { padding: var(--s-4) var(--s-5); border-left: 3px solid var(--c-accent); background: var(--c-accent-100); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose .faq-q { margin-top: var(--s-6); font-family: var(--f-display); font-size: var(--fs-base); font-weight: 700; }
.prose .sources { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--c-blue-200); font-size: var(--fs-sm); color: var(--c-muted); }
.prose .sources li { overflow-wrap: anywhere; }
@media (max-width: 47.99rem) { .crumbs li[aria-current] { display: none; } }
@media (max-width: 63.99rem) { .guide { grid-template-columns: minmax(0, 1fr); } }
.prose .email-template { padding: var(--s-5); border: 1px solid var(--c-blue-200); border-left: 3px solid var(--c-blue); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-surface); font-size: var(--fs-sm); }
.prose .email-template p + p { margin-top: var(--s-3); }
.guide-hero__author { color: #fff; font-weight: 600; }
.prose .callout > * + * { margin-top: var(--s-2); }
.faq__more { margin-top: var(--s-2); font-weight: 600; }
.section__guide { margin-top: var(--s-4); font-weight: 600; }
.section__guide a { color: inherit; text-underline-offset: 3px; }
.prose p, .prose li, .prose td { overflow-wrap: break-word; }

/* HTML sitemap (templates/sitemap.php) */
.site-index { display: grid; gap: var(--s-8); padding-block: var(--s-8) var(--section-y); }
@media (min-width: 48rem) { .site-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .site-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-index__section h2 { font-family: var(--f-display); font-size: var(--fs-lg); line-height: 1.2; }
.site-index__section h2 a { color: inherit; text-decoration: none; }
.site-index__section h2 a:hover { text-decoration: underline; }
.site-index__section ul { margin-top: var(--s-3); list-style: none; padding: 0; }
.site-index__section li { padding-block: var(--s-1); overflow-wrap: anywhere; }
.site-index__depth-2 { padding-left: var(--s-4); font-size: var(--fs-sm); }
.site-index__depth-3 { padding-left: var(--s-7); font-size: var(--fs-sm); }

/* Tables on phones (Ali 2026-11-18, BRAIN rule 11; ported 2026-11-20 from StudyInItaly main.css, which copies
   Destiny's "Tables on phones"). Desktop: dark heading row, a line round every cell, text left. Phones: a table
   with 3+ columns (class "sik-stack" from inc/tables.php) becomes one card per row: first cell = card title, then
   "column heading | value". No sideways scroll; the HTML stays a real table. Each cell is laid out as a two-cell
   CSS table (label, then everything else in the cell), so links and text in a cell stay on one line.
   Test: scripts/test-phone-tables.cjs. */
.prose th, .prose td { border: 1px solid var(--c-blue-100); }
.prose thead th { background: var(--c-ink); border-color: rgb(255 255 255 / 0.14); font-weight: 700; color: #fff; }
.prose thead th a { color: #fff; }
@media (max-width: 47.99rem) {
	/* Only a 3+ column table that cannot stack (merged cells, no heading row) keeps the sideways scroll. */
	.prose table:not(.sik-stack):has(tr > :nth-child(3)) { min-width: 34rem; }
	table.sik-stack,
	table.sik-stack tbody,
	table.sik-stack tr { display: block; width: 100%; }
	.prose table.sik-stack, table.sik-stack { min-width: 0; border: 0; border-radius: 0; background: none; }
	table.sik-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	table.sik-stack tbody > tr { margin-bottom: var(--s-3); border: 1px solid var(--c-blue-200); border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
	table.sik-stack tbody > tr:last-child { margin-bottom: 0; }
	table.sik-stack tbody > tr > * { position: static; display: table; table-layout: fixed; border-collapse: separate; border-spacing: 0; width: 100%; padding: 0.6rem 0.85rem; border: 0; border-top: 1px solid var(--c-blue-100); text-align: left; overflow-wrap: anywhere; }
	table.sik-stack tbody > tr > *::before { content: attr(data-label); display: table-cell; width: 40%; padding-right: var(--s-3); font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 700; color: var(--c-muted); }
	table.sik-stack tbody > tr > :not([data-label]) { display: block; }
	table.sik-stack tbody > tr > :not([data-label])::before { display: none; }
	table.sik-stack tbody > tr > :first-child { display: block; border-top: 0; background: var(--c-blue-50); font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
	table.sik-stack tbody > tr > :first-child::before { display: none; }
}

/* ---------- About + author box (from StudyInItaly, no photo: Ali 2026-11-20) ---------- */
.author-box { margin-top: var(--s-8); padding: var(--s-6); background: var(--c-blue-50); border: 1px solid var(--c-blue-100); border-left: 3px solid var(--c-accent); border-radius: var(--r-md); }
.author-box__body > * + *, .prose .author-box__body > * + * { margin-top: var(--s-2); }
.author-box__kicker { font-family: var(--f-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-blue); }
.author-box__name, .prose .author-box__name { margin-top: var(--s-1); font-family: var(--f-display); font-size: var(--fs-md); line-height: 1.2; }
.author-box__name a, .prose .author-box__name a { color: var(--c-ink); text-decoration: none; }
.author-box__name a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); }
.author-box__bio { font-size: var(--fs-sm); color: var(--c-muted); }
.author-box__more { font-size: var(--fs-sm); font-weight: 600; }
.author-box__more a { color: var(--c-ink); }
@media (max-width: 47.99rem) { .author-box { padding: var(--s-5); } }
a.guide-hero__author { text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 3px; }

.about-hero__grid { display: grid; gap: var(--s-6); align-items: end; }
.about-facts { padding: var(--s-5); border-radius: var(--r-md); background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.12); }
.about-facts ul { display: grid; gap: var(--s-3); }
.about-facts li { display: flex; gap: var(--s-3); align-items: flex-start; color: #fff; line-height: 1.45; }
.about-facts .icon { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 2px; color: var(--c-accent); }
.about-body { padding-block: var(--s-8); }
.about-body__text { max-width: 46rem; }
.about-author { background: var(--c-blue-50); border-top: 1px solid var(--c-blue-100); }
.author-profile > * + * { margin-top: var(--s-3); }
.author-profile > p:not(.author-box__kicker) { max-width: 44rem; line-height: var(--lh-body); }
.author-profile__role { font-family: var(--f-display); font-size: var(--fs-md); font-weight: 600; color: var(--c-blue); }
@media (min-width: 64rem) {
	.about-hero__grid { grid-template-columns: minmax(0, 1fr) 24rem; gap: var(--s-8); }
}

/* === Tool page standard (Ali 2026-11-19, BRAIN rule 12): the SAME tool page on every WordPress site.
   Shared part = ~/brain/knowledge/tool-page-standard.css, copied word for word; only the variable rule below
   (the site's colours) and the site's own tool widgets after the shared part differ per site. */
.tool-std { --tool-line: var(--c-blue-200); --tool-soft: var(--c-surface); --tool-link: var(--c-blue-700); --tool-panel: var(--c-blue-900); --tool-panel-ink: #fff; --tool-panel-muted: #c3ccd9; --tool-panel-line: rgb(255 255 255 / 0.16); --tool-hi: var(--c-accent); --tool-hi-ink: var(--c-ink); --tool-btn: var(--c-accent); --tool-btn-ink: var(--c-ink); }
/* -- shared part (tool-page-standard.css) -- */
.tool-std__head { padding-block: var(--s-6) var(--s-6); }
.tool-std__crumbs ol { margin-bottom: var(--s-4); }
.tool-std__title { margin: 0; max-width: 60rem; font-family: var(--f-display); font-size: var(--fs-xl); line-height: 1.1; color: var(--c-ink); }
.tool-std__lede { margin: var(--s-4) 0 0; max-width: 46rem; font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--c-muted); }
.tool-std__tool { padding-bottom: var(--s-8); }
.tool-std__body { display: grid; gap: var(--s-7); padding-bottom: var(--section-y); }
.tool-std__text { min-width: 0; max-width: 48rem; }
.tool-std__text > :first-child { margin-top: 0; }
.tool-std__more { padding: var(--s-5); border: 1px solid var(--tool-line); background: var(--tool-soft); }
.tool-std__more-title { margin: 0 0 var(--s-2); font-family: var(--f-display); font-size: var(--fs-md); font-weight: 700; color: var(--c-ink); }
.tool-std__more ul { margin: 0; padding: 0; list-style: none; }
.tool-std__more li + li { border-top: 1px solid var(--tool-line); }
.tool-std__more a { display: grid; gap: var(--s-1); padding-block: var(--s-3); color: inherit; text-decoration: none; }
.tool-std__more strong { color: var(--c-ink); }
.tool-std__more a:hover strong { text-decoration: underline; }
.tool-std__more span { font-size: var(--fs-sm); color: var(--c-muted); }
.tool-std__all { display: inline-block; margin-top: var(--s-3); font-weight: 700; color: var(--tool-link); }
@media (min-width: 64rem) {
	.tool-std__body { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; gap: var(--s-8); }
	.tool-std__body--solo { grid-template-columns: minmax(0, 1fr); }
}
/* -- end of shared part -- */
/* StudyInKorea's own: breadcrumb on the light head, and the eligibility checker keeps its own card
   (multi-step tool, as Destiny's checker), not stretched to the full 1400px. */
.tool-std__crumbs ol { color: var(--c-muted); }
.tool-std__crumbs li + li::before { color: var(--c-blue-400); }
.tool-std__crumbs a { color: var(--c-ink); text-decoration-color: var(--c-blue-200); }
.tool-std__crumbs a:hover { text-decoration-color: var(--c-accent-600); }
.tool-std .sik-elig { max-width: 52rem; }
