/* ==========================================================================
   DeSIFMA theme — main stylesheet
   Palette from the 2026–27 admissions brochure.
   ========================================================================== */

:root {
	--brand: #7a0532;
	--brand-deep: #4a021e;
	--accent: #e8295f;
	--gold: #f5b83d;
	--mauve: #8e6787;
	--teal: #2e7c7a;
	--coral: #d0614f;

	--bg: #0d090b;
	--bg-2: #150d11;
	--surface: #1d1418;
	--line: rgba(255, 255, 255, .1);
	--text: #f7eff1;
	--muted: #bba9af;

	--paper: #f7f1ea;
	--paper-2: #efe5db;
	--ink: #1d1216;
	--ink-muted: #6b5960;
	--ink-line: rgba(29, 18, 22, .12);

	--font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 22px;
	--radius-sm: 12px;
	--sec-pad: clamp(72px, 10vw, 140px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

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

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: 15px 26px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: var(--btn-bg);
	font-weight: 700; font-size: 15px; letter-spacing: .01em;
	text-decoration: none; cursor: pointer;
	transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
	position: relative; isolation: isolate; overflow: hidden;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { --btn-bg: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(232, 41, 95, .7); }
.btn-primary::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(232, 41, 95, .9); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.btn-play { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -10px; border-radius: 50%; background: #fff; color: var(--brand); }
.btn-play .icon { width: 12px; height: 12px; fill: currentColor; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--brand); font-size: 13.5px; font-weight: 600; position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-offer { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.topbar-phone .icon { width: 14px; height: 14px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255, 59, 59, .7); animation: rec 1.6s infinite; flex: none; display: inline-block; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(13, 9, 11, .82);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--line);
	transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.is-landing .site-header { position: fixed; left: 0; right: 0; top: var(--topbar-h, 40px); background: transparent; border-color: transparent; backdrop-filter: none; }
.is-landing .site-header.is-stuck { top: 0; background: rgba(13, 9, 11, .85); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.is-landing:not(:has(.topbar)) .site-header { top: 0; }
.admin-bar.is-landing .site-header { top: calc(32px + var(--topbar-h, 40px)); }
.admin-bar.is-landing .site-header.is-stuck, .admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img, .custom-logo { width: auto; height: 48px; max-width: none; flex: none; }
.brand, .custom-logo-link { flex: none; }
.custom-logo-link { display: inline-flex; }

.primary-nav { display: flex; align-items: center; gap: 20px; }
.nav-cta { white-space: nowrap; }
.primary-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a {
	display: block; padding: 8px 14px; border-radius: 999px;
	font-size: 15px; font-weight: 600; text-decoration: none; color: rgba(247, 239, 241, .82);
	transition: color .25s, background .25s;
}
.primary-nav .menu a:hover, .primary-nav .menu .is-current > a, .primary-nav .current-menu-item > a { color: #fff; background: rgba(255,255,255,.08); }
.primary-nav .menu li { position: relative; }
.primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; place-items: center; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: var(--sec-pad); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sec-head.is-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.sec-title { font-size: clamp(36px, 5.2vw, 68px); }
.sec-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 620px; }
.sec-head.is-center .sec-lead { margin-inline: auto; }
.mini-h { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: 19px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pill-list li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }

/* Light sections */
.about, .program, .leadership { background: var(--paper); color: var(--ink); }
.about .sec-lead, .program .sec-lead, .leadership .sec-lead, .about p, .program p { color: var(--ink-muted); }
.about .lead { color: var(--ink); }
.about .eyebrow, .program .eyebrow, .leadership .eyebrow { color: var(--brand); }
.about .pill-list li, .program .pill-list li { border-color: var(--ink-line); background: #fff; }
.program .mini-h, .leadership .mini-h { color: var(--ink-muted); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: 100svh;
	display: flex; align-items: center;
	padding: calc(var(--header-h) + 80px) 0 110px;
	background: radial-gradient(120% 90% at 85% 10%, #3a0a1d 0%, var(--bg) 55%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow { position: absolute; width: 60vw; height: 60vw; right: -15vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(232, 41, 95, .35), transparent 60%); filter: blur(30px); animation: drift 14s ease-in-out infinite alternate; }
.hero-beam { position: absolute; left: -10%; bottom: -30%; width: 70%; height: 120%; background: conic-gradient(from 200deg at 0% 100%, transparent 0deg, rgba(245, 184, 61, .12) 18deg, transparent 36deg); transform-origin: 0% 100%; animation: beam 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-6vw, 6vw) scale(1.1); } }
@keyframes beam { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }

.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 16px 8px 12px; margin-bottom: 26px;
	border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04);
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero-title { font-size: clamp(50px, 6.4vw, 100px); line-height: .92; letter-spacing: -.045em; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > * { display: inline-block; }
.hero-title em {
	font-style: normal;
	background: linear-gradient(92deg, var(--accent) 0%, var(--gold) 55%, var(--accent) 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-text { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; font-weight: 600; color: rgba(247,239,241,.85); }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--gold); width: 18px; height: 18px; }

/* Intro animation */
[data-anim] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero-title [data-anim], .hero-title .line { opacity: 1; transform: none; }
.hero-title .line > * { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready [data-anim] { opacity: 1; transform: none; }
.is-ready .hero-title .line > * { transform: none; }
.is-ready [data-anim="2"] > * { transition-delay: .15s; }
.is-ready [data-anim="3"] > * { transition-delay: .3s; }
.is-ready [data-anim="4"] { transition-delay: .45s; }
.is-ready [data-anim="5"] { transition-delay: .6s; }
.is-ready [data-anim="6"] { transition-delay: .75s; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.frame { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); background: var(--surface); }
.frame img, .about-media img, .course-media img, .numbered-img img, .strip-frame img, .leader-img img {
	width: 100%; height: 100% !important; max-width: none !important; object-fit: cover;
}
.frame-main { inset: 6% 4% 22% 12%; z-index: 2; clip-path: inset(0 100% 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease) .2s; }
.frame-side { width: 38%; aspect-ratio: 3 / 4; left: 0; bottom: 0; z-index: 3; border: 6px solid var(--bg); clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.2s var(--ease) .6s; }
.frame-small { width: 30%; aspect-ratio: 1; right: 0; bottom: 4%; z-index: 3; border: 6px solid var(--bg); clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.2s var(--ease) .8s; }
.is-ready .frame-main, .is-ready .frame-side, .is-ready .frame-small { clip-path: inset(0 0 0 0 round var(--radius)); }
.frame-main img { transform: scale(1.15); transition: transform 2.4s var(--ease) .2s; }
.is-ready .frame-main img { transform: scale(1.02); }

.vf-corners i { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255,255,255,.9); }
.vf-corners i:nth-child(1) { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.vf-corners i:nth-child(2) { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.vf-corners i:nth-child(3) { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.vf-corners i:nth-child(4) { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.vf-hud { position: absolute; z-index: 1; inset: 22px 52px auto; display: flex; justify-content: space-between; gap: 10px; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.vf-rec { display: inline-flex; align-items: center; gap: 6px; }
.vf-foot { position: absolute; left: 52px; right: 52px; bottom: 22px; z-index: 1; display: flex; justify-content: space-between; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-shadow: 0 1px 6px rgba(0,0,0,.6); opacity: .85; }
.vf-foot i { font-style: normal; display: inline-flex; gap: 3px; align-items: center; }
.vf-foot i::after { content: ""; width: 22px; height: 8px; border: 1px solid currentColor; border-radius: 2px; background: linear-gradient(90deg, currentColor 70%, transparent 70%); }
.frame-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 75%, rgba(0,0,0,.35)); pointer-events: none; }

.offer-sticker {
	position: absolute; z-index: 4; top: -2%; left: -2%;
	width: clamp(120px, 12vw, 160px); aspect-ratio: 1;
	display: grid; place-items: center;
	border-radius: 50%; background: var(--gold); color: var(--ink);
	text-decoration: none; box-shadow: 0 20px 40px -15px rgba(0,0,0,.6);
	transform: scale(0) rotate(-40deg); transition: transform 1s cubic-bezier(.3, 1.6, .5, 1) 1.1s;
}
.is-ready .offer-sticker { transform: none; }
.offer-sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.offer-sticker text { font: 800 12.5px var(--font-body); letter-spacing: .14em; fill: currentColor; }
.offer-core { display: grid; text-align: center; line-height: 1; }
.offer-core strong { font: 800 clamp(26px, 2.6vw, 36px) var(--font-display); letter-spacing: -.04em; }
.offer-core small { font-weight: 800; font-size: 12px; letter-spacing: .2em; }
.offer-sticker:hover svg { animation-duration: 5s; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); overflow: hidden; padding: 6px 0; position: relative; z-index: 2; }
.mq-row { overflow: hidden; display: flex; }
.mq-row + .mq-row { border-top: 1px solid rgba(255,255,255,.12); }
.mq-track { display: flex; align-items: center; flex: none; gap: 28px; padding-block: 14px; animation: marquee 38s linear infinite; padding-right: 28px; }
.mq-row.is-reverse .mq-track { animation-direction: reverse; animation-duration: 46s; }
.mq-row.is-reverse .mq-item { -webkit-text-stroke: 1px rgba(255,255,255,.7); color: transparent; }
.mq-item { font: 800 clamp(26px, 3.6vw, 46px)/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; text-transform: uppercase; }
.mq-sep { color: var(--gold); font-size: 22px; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding: 0 5% 22% 0; }
.about-media figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.about-img-1 { aspect-ratio: 3 / 2; }
.about-img-2 { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 8px solid var(--paper); box-shadow: 0 30px 60px -25px rgba(29, 18, 22, .45); }
.about-tag {
	position: absolute; left: 22px; bottom: calc(18% + 22px);
	display: inline-flex; align-items: center; gap: 8px; margin: 0;
	padding: 10px 16px; border-radius: 999px; background: var(--brand); color: #fff;
	font-size: 14px; font-weight: 700;
}
.heritage { display: flex; align-items: center; gap: 18px; margin: 26px 0 0; padding: 16px 20px 16px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--ink-line); }
.heritage img { flex: none; width: 72px; height: 72px; object-fit: contain; }
.about .heritage p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.about-copy .sec-title { font-size: clamp(34px, 4.2vw, 56px); }
.about .pill-list { margin-top: 28px; }

/* ---------- Star visits album (dark, neon) ---------- */
.celebs { background: var(--paper); color: var(--text); padding-top: 0; }
.album-book {
	position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--radius) + 6px);
	background:
		radial-gradient(60% 50% at 0% 0%, rgba(255, 45, 117, .22), transparent 70%),
		radial-gradient(50% 45% at 100% 100%, rgba(45, 226, 230, .16), transparent 70%),
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 22px 22px,
		#0b0709;
	box-shadow: inset 0 0 0 1px rgba(255, 45, 117, .35), 0 0 60px -20px rgba(255, 45, 117, .45), 0 40px 80px -50px rgba(0, 0, 0, .8);
}
.album-book::before { /* neon strip along the top */
	content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 2px;
	background: linear-gradient(90deg, transparent, #ff2d75, #2de2e6, #b46bff, transparent);
	box-shadow: 0 0 18px 2px rgba(255, 45, 117, .6);
}
.celebs .eyebrow { color: #ff2d75; text-shadow: 0 0 12px rgba(255, 45, 117, .7); }
.celebs .sec-title { color: #fff; }
.celebs .sec-lead { color: var(--muted); }
.album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); align-items: start; }
.polaroid {
	--n: #ff2d75;
	position: relative; margin: 0; padding: 10px 10px 0; border-radius: 6px;
	background: linear-gradient(180deg, #1a1216, #110b0e);
	border: 1px solid color-mix(in srgb, var(--n) 55%, transparent);
	box-shadow: 0 0 22px -8px var(--n), 0 18px 30px -18px rgba(0, 0, 0, .8);
	transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.polaroid[data-reveal] { transform: translateY(40px) rotate(var(--r, 0deg)); }
.polaroid[data-reveal].is-visible { transform: rotate(var(--r, 0deg)); }
.polaroid::before { /* neon tape */
	content: ""; position: absolute; z-index: 2; top: -6px; left: 50%; width: 70px; height: 10px; border-radius: 6px;
	transform: translateX(-50%) rotate(calc(var(--r, 0deg) * -1.6));
	background: var(--n); box-shadow: 0 0 10px var(--n), 0 0 22px var(--n);
}
.polaroid:hover, .polaroid:focus-within {
	transform: rotate(0deg) translateY(-6px) scale(1.03); z-index: 3; border-color: var(--n);
	box-shadow: 0 0 0 1px var(--n), 0 0 36px -4px var(--n), 0 30px 50px -20px rgba(0, 0, 0, .9);
}
.polaroid-shot { display: block; width: 100%; padding: 0; border: 0; border-radius: 3px; background: #000; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.polaroid-shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.03); transition: transform .8s var(--ease); }
.polaroid:hover .polaroid-shot img { transform: scale(1.05); }
.polaroid figcaption { padding: 8px 4px 12px; font: 700 21px/1.1 "Caveat", cursive; color: #fff; text-align: center; text-shadow: 0 0 10px color-mix(in srgb, var(--n) 80%, transparent); }
.polaroid figcaption small { display: block; margin-top: 4px; font: 700 11px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--n); text-shadow: none; }
.polaroid.is-feature { grid-column: span 2; grid-row: span 2; padding: 14px 14px 0; }
.polaroid.is-feature::before { width: 120px; height: 12px; top: -7px; }
.polaroid.is-feature::after { /* star pin */
	content: "\2605"; position: absolute; top: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: 22px;
	box-shadow: 0 0 0 3px rgba(245, 184, 61, .3), 0 0 24px rgba(245, 184, 61, .8);
}
.polaroid.is-feature .polaroid-shot { aspect-ratio: 4 / 4.6; }
.polaroid.is-feature .polaroid-shot img { object-position: 50% 20%; }
.polaroid.is-feature figcaption { font-size: 36px; padding: 12px 6px 18px; }
.polaroid.is-feature figcaption small { font-size: 12px; }
.polaroid.is-more { display: none; }
.album-book.is-open .polaroid.is-more { display: block; }
.album-more-wrap { margin: clamp(32px, 4vw, 48px) 0 0; text-align: center; }
.album-book.is-open .album-more-wrap { display: none; }
.album-more {
	color: #fff; background: rgba(255, 45, 117, .08); border: 1px solid #ff2d75;
	box-shadow: 0 0 18px -2px rgba(255, 45, 117, .7), inset 0 0 12px rgba(255, 45, 117, .25);
}
.album-more:hover { background: #ff2d75; box-shadow: 0 0 30px rgba(255, 45, 117, .9); }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: -46px; margin: 0; text-align: center; color: #fff; font: 700 26px/1.2 "Caveat", cursive; }
.lightbox-caption:empty { display: none; }
.celebs .lightbox img { max-height: calc(90vh - 60px); }
@media (prefers-reduced-motion: no-preference) {
	.polaroid.is-feature { animation: neon-pulse 3.2s ease-in-out infinite; }
}
@keyframes neon-pulse {
	0%, 100% { box-shadow: 0 0 22px -8px var(--n), 0 18px 30px -18px rgba(0, 0, 0, .8); }
	50% { box-shadow: 0 0 40px -4px var(--n), 0 18px 30px -18px rgba(0, 0, 0, .8); }
}

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(32px, 4vw, 52px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { margin: 0 0 6px; font: 800 clamp(48px, 6vw, 84px)/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.45)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; max-width: 200px; }

/* ---------- Courses ---------- */
.courses { background: var(--bg); }
.courses-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.courses-head .sec-head { margin-bottom: 0; }
.filter { display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); }
.filter button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: .3s var(--ease); }
.filter button.is-active { background: var(--text); color: var(--ink); }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course-card {
	--c: var(--brand);
	position: relative; display: flex; flex-direction: column;
	border-radius: var(--radius); overflow: hidden;
	background: var(--surface); border: 1px solid var(--line);
	transform-style: preserve-3d;
	transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), opacity .5s, scale .5s;
}
.course-card:hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 30px 60px -30px var(--c); }
.course-card.is-hidden { display: none; }
.course-media { margin: 0; aspect-ratio: 4 / 3.2; overflow: hidden; position: relative; }
.course-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface)); }
.course-media img { filter: grayscale(.6) contrast(1.05); transform: scale(1.1); transition: transform 1s var(--ease), filter .6s; }
.course-card:hover .course-media img { filter: none; transform: scale(1.18); }
.course-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 24px 24px; margin-top: -28px; z-index: 1; }
.course-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.course-no { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--c); font: 800 17px var(--font-display); box-shadow: 0 10px 24px -8px var(--c); }
.course-dur { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.course-dur .icon { width: 15px; height: 15px; }
.course-title { font-size: 25px; margin-bottom: 10px; letter-spacing: -.02em; }
.course-text { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.course-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: #fff; }
.course-link .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); color: var(--c); filter: brightness(1.4); }
.course-card:hover .course-link .icon { transform: translateX(5px); }

/* ---------- Mentors ---------- */
.mentors { background: #fff; color: var(--ink); overflow: hidden; border-top: 1px solid var(--ink-line); }
.mentors .eyebrow { color: var(--brand); }
.mentors .sec-lead { color: var(--ink-muted); }
.mentor { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.mentor + .mentor { margin-top: clamp(64px, 9vw, 120px); }
.mentor:nth-child(even) .mentor-visual { order: 2; }
.mentor-visual { position: relative; margin: 0; }
.mentor-visual img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.mentor.is-visible .mentor-visual img { transform: scale(1.02); }
.mentor-visual::before {
	content: ""; position: absolute; inset: 8% 6% 18% 12%; z-index: -1;
	border-radius: 50%; background: radial-gradient(circle, rgba(232, 41, 95, .18), transparent 70%); filter: blur(20px);
}
.mentor-stat { position: relative; z-index: 1; margin: -.45em 0 0 6%; display: flex; align-items: flex-end; gap: 12px; font-size: clamp(72px, 10vw, 140px); }
.mentor-stat .num { font: 800 1em/.8 var(--font-display); letter-spacing: -.06em; color: var(--ink); }
.mentor-stat .num sup { font-size: .45em; color: var(--accent); vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
.mentor-stat .lbl { max-width: 130px; padding-bottom: 6px; font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.mentor-copy .mentor-role { display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mentor-name { font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -.035em; margin-bottom: 18px; }
.mentor-bio { font-size: 17.5px; color: var(--ink-muted); margin-bottom: 0; }
.mentor-bio::first-letter { font: 800 3.2em/.8 var(--font-display); float: left; margin: .08em .1em 0 0; color: var(--brand); }

/* ---------- Programme slate ---------- */
.program-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.eligibility { margin-top: 8px; }
.slate { position: relative; border-radius: var(--radius); background: var(--ink); color: var(--text); box-shadow: 0 50px 80px -40px rgba(29, 18, 22, .6); overflow: hidden; }
.slate-clapper { height: 54px; background: repeating-linear-gradient(-55deg, #fff 0 26px, var(--ink) 26px 52px); transform-origin: 0 100%; border-bottom: 6px solid var(--ink); }
.slate.is-visible .slate-clapper { animation: clap 1.1s var(--ease) .3s both; }
@keyframes clap { 0% { transform: rotate(-14deg); } 55% { transform: rotate(0); } 70% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
.slate-body { padding: clamp(24px, 3vw, 40px); }
.slate .slate-title { color: var(--text); }
.slate-title { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px dashed rgba(255,255,255,.2); font: 800 22px var(--font-display); letter-spacing: -.01em; }
.slate-title span:last-child { font: 600 13px ui-monospace, Menlo, monospace; color: var(--gold); align-self: center; letter-spacing: .08em; }
.slate-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 28px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); overflow: hidden; }
.slate-grid > div { padding: 16px 18px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.slate-grid > div:nth-child(2n) { border-right: 0; }
.slate-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.slate-grid dt { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.slate-grid dd { margin: 0; font-weight: 700; font-size: 16.5px; }
.slate .mini-h { color: var(--muted); }
.shifts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shifts li { padding: 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); display: grid; gap: 2px; }
.shifts span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.shifts strong { font-size: 15px; }
.slate-note { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--brand); font-weight: 600; font-size: 14.5px; color: #fff !important; }

/* ---------- Features: numbered ---------- */
.features.is-numbered { background: var(--bg-2); }
.numbered-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.numbered-aside { position: sticky; top: 120px; }
.numbered-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.numbered-list { list-style: none; counter-reset: n; margin: 0; padding: 0; }
.numbered-list li {
	counter-increment: n; display: flex; align-items: baseline; gap: 22px;
	padding: 22px 0; border-bottom: 1px solid var(--line);
	font: 600 clamp(19px, 2vw, 25px)/1.3 var(--font-display); letter-spacing: -.01em;
	transition: padding .4s var(--ease), color .3s;
}
.numbered-list li:first-child { border-top: 1px solid var(--line); }
.numbered-list li::before { content: counter(n, decimal-leading-zero); flex: none; width: 34px; font: 700 13px var(--font-body); letter-spacing: .1em; color: var(--accent); }
.numbered-list li:hover { padding-left: 14px; color: var(--gold); }

/* ---------- Features: tiles ---------- */
.features.is-tiles { overflow: hidden; isolation: isolate; }
.features-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; background-attachment: fixed; }
.features-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,9,11,.94), rgba(74,2,30,.82) 50%, rgba(13,9,11,.96)); }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
	position: relative; min-height: 150px; padding: 26px 26px 28px;
	display: flex; flex-direction: column; justify-content: flex-end;
	border-radius: var(--radius); border: 1px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.05); backdrop-filter: blur(10px);
	font: 700 20px/1.25 var(--font-display); letter-spacing: -.01em;
	transition: background .4s, transform .5s var(--ease), border-color .4s;
}
.tile:hover { background: rgba(232, 41, 95, .18); border-color: rgba(232, 41, 95, .5); transform: translateY(-4px); }
.tile-no { position: absolute; top: 20px; right: 22px; font: 700 13px var(--font-body); letter-spacing: .1em; color: var(--gold); }

/* Tiles with a photo that wipes up on hover (always shown on touch screens). */
.tile.has-photo { isolation: isolate; overflow: hidden; min-height: 190px; }
.tile-photo {
	position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
	clip-path: inset(100% 0 0 0); transition: clip-path .75s var(--ease);
}
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.2s var(--ease); }
.tile-photo::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(13, 9, 11, 0) 25%, rgba(13, 9, 11, .55) 60%, rgba(13, 9, 11, .92));
	box-shadow: inset 0 0 0 1px rgba(232, 41, 95, .6);
	border-radius: inherit;
}
.tile-text { position: relative; transition: transform .5s var(--ease); }
.tile.has-photo:hover { background: rgba(13, 9, 11, .4); border-color: rgba(232, 41, 95, .7); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(232, 41, 95, .7); }
.tile.has-photo:hover .tile-photo { clip-path: inset(0 0 0 0); }
.tile.has-photo:hover .tile-photo img { transform: scale(1); }
.tile.has-photo:hover .tile-text { transform: translateY(-2px); text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.tile.has-photo .tile-no { transition: background .4s, color .4s, padding .4s; border-radius: 999px; }
.tile.has-photo:hover .tile-no { padding: 4px 10px; background: var(--gold); color: var(--ink); top: 16px; right: 16px; }
@media (hover: none) {
	.tile.has-photo .tile-photo { clip-path: none; }
	.tile.has-photo .tile-photo img { transform: none; }
	.tile.has-photo .tile-text { text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
}

/* ---------- Features: hover list with a floating photo card ---------- */
.features.is-list { background: var(--bg); }
.hl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hl-row {
	position: relative; isolation: isolate;
	display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 24px;
	padding: clamp(18px, 2.4vw, 30px) clamp(12px, 2vw, 28px);
	border-bottom: 1px solid var(--line);
}
.hl-row::before {
	content: ""; position: absolute; inset: 8px 0; z-index: -1; border-radius: 20px;
	background: linear-gradient(90deg, rgba(232, 41, 95, .24), rgba(245, 184, 61, .1) 55%, rgba(255, 255, 255, 0));
	opacity: 0; transform: scaleX(.97); transform-origin: left; transition: opacity .45s, transform .6s var(--ease);
}
.hl-no { font: 700 14px var(--font-body); letter-spacing: .12em; color: var(--accent); transition: color .4s; }
.hl-title {
	justify-self: start; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer;
	font: 600 clamp(22px, 2.9vw, 40px)/1.15 var(--font-display); letter-spacing: -.02em;
	transition: transform .6s var(--ease), color .4s;
}
.hl-title::after { content: ""; position: absolute; inset: 0; } /* whole row opens the photo */
.hl-tag {
	padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line);
	font: 800 12px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
	opacity: 0; transform: translateX(12px); transition: opacity .4s, transform .5s var(--ease);
}
.hl-go {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--text);
	border: 1px solid var(--line); transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.hl-go .icon { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.hl-thumb { display: none; }
.hl-row:hover::before, .hl-row:focus-within::before { opacity: 1; transform: none; }
.hl-row:hover .hl-title, .hl-row:focus-within .hl-title { transform: translateX(14px); color: #fff; }
.hl-row:hover .hl-no { color: var(--gold); }
.hl-row:hover .hl-tag, .hl-row:focus-within .hl-tag { opacity: 1; transform: none; }
.hl-row:hover .hl-go, .hl-row:focus-within .hl-go { background: var(--accent); border-color: var(--accent); }
.hl-row:hover .hl-go .icon, .hl-row:focus-within .hl-go .icon { transform: rotate(-45deg); }
.hl-title:focus-visible { outline: none; }
.hl-row:has(.hl-title:focus-visible) { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 20px; }

.hl-float {
	position: fixed; left: 0; top: 0; z-index: 45; width: clamp(260px, 26vw, 380px); aspect-ratio: 4 / 3;
	pointer-events: none; will-change: transform;
}
.hl-float-in {
	width: 100%; height: 100%; border-radius: 22px; overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12);
	opacity: 0; transform: scale(.6) rotate(var(--tilt, 0deg)); transition: opacity .35s, transform .5s var(--ease);
}
.hl-float.is-on .hl-float-in { opacity: 1; transform: scale(1) rotate(var(--tilt, 0deg)); }
.hl-float img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.hl-float img.is-swapping { opacity: .2; }
.features .lightbox img { max-height: calc(90vh - 60px); }
@media (hover: none) {
	.hl-float { display: none; }
	.hl-row { grid-template-columns: 40px 1fr 96px; }
	.hl-tag, .hl-go { display: none; }
	.hl-thumb { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 12px; }
}
@media (max-width: 640px) {
	.hl-row { grid-template-columns: 34px 1fr 84px; gap: 14px; padding: 16px 4px; }
	.hl-title { font-size: 18px; }
	.hl-tag, .hl-go { display: none; }
	.hl-thumb { display: block; width: 84px; height: 64px; object-fit: cover; border-radius: 10px; }
}

/* ---------- Gallery film strip ---------- */
.gallery { background: var(--bg); overflow: hidden; }
.filmstrip {
	position: relative; padding: 26px 0; background: #050304;
	transform: rotate(-2deg) scale(1.04);
}
.filmstrip::before, .filmstrip::after {
	content: ""; position: absolute; left: 0; right: 0; height: 12px;
	background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,.85) 14px 30px, transparent 30px 44px);
	border-radius: 2px; opacity: .85;
}
.filmstrip::before { top: 7px; }
.filmstrip::after { bottom: 7px; }
.strip-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.filmstrip:hover .strip-track { animation-play-state: paused; }
.strip-frame { flex: none; width: clamp(240px, 26vw, 380px); aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.strip-frame img { filter: sepia(.25) saturate(.9); transition: filter .5s, transform .8s var(--ease); }
.strip-frame:hover img { filter: none; transform: scale(1.06); }
.lightbox { max-width: min(92vw, 1200px); max-height: 90vh; padding: 0; border: 0; border-radius: var(--radius-sm); background: #000; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 3, 4, .9); backdrop-filter: blur(6px); }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* ---------- Leadership ---------- */
.leadership-grid { display: block; }
.leadership .sec-head { margin-inline: auto; text-align: center; max-width: 980px; }
.leadership .sec-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.leader figcaption { text-align: center; }
.leader { margin: 0; }
.leader-img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--brand-deep); }
.leader-img img { filter: grayscale(1); transition: filter .6s, transform .9s var(--ease); }
.leader:hover .leader-img img { filter: none; transform: scale(1.05); }
.leader figcaption { display: grid; padding-top: 14px; }
.leader strong { font: 800 21px var(--font-display); letter-spacing: -.01em; }
.leader span { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Enquiry ---------- */
.enquiry { overflow: hidden; isolation: isolate; background: var(--brand-deep); }
.enquiry-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.enquiry-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(74, 2, 30, .97) 30%, rgba(122, 5, 50, .86)); }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.enquiry .eyebrow { color: var(--gold); }
.enquiry .sec-lead { color: rgba(255,255,255,.78); }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-cards a {
	display: flex; align-items: center; gap: 14px; height: 100%;
	padding: 16px 18px; border-radius: var(--radius-sm);
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
	text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.35;
	transition: background .3s, transform .4s var(--ease);
}
.contact-cards a:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.contact-cards .icon { width: 22px; height: 22px; color: var(--gold); }
.contact-cards small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.enquiry-form { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); }
.field { position: relative; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 24px 16px 10px; border-radius: var(--radius-sm);
	border: 1.5px solid var(--ink-line); background: #fff; color: var(--ink);
	font-size: 16px; transition: border-color .25s, box-shadow .25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field.is-select select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1216' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--ink-muted); pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(122, 5, 50, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.is-select label { top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.enquiry-form .btn { margin-top: 6px; }
.form-fine { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-muted); }
.form-note { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; }
.form-note.is-success { background: #e1f3ea; color: #135c3a; }
.form-note.is-error { background: #fde6ea; color: #8a1030; }

/* ---------- Footer ---------- */
.site-footer { background: #070506; padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.footer-big { margin: 0; font: 800 clamp(44px, 8vw, 116px)/.95 var(--font-display); letter-spacing: -.05em; }
.footer-big em { font-style: normal; color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px; padding-block: 56px; }
.footer-brand p { color: var(--muted); max-width: 360px; margin: 20px 0; font-size: 15px; }
.footer-h { font: 700 13px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-line { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.footer-line .icon { margin-top: 4px; color: var(--accent); }
.footer-line a { text-decoration: none; }
.footer-line a:hover, .footer-menu a:hover { color: var(--gold); }
.footer-menu, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15.5px; }
.footer-menu a, .site-footer .menu a { text-decoration: none; color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-map-wrap { padding-bottom: 56px; }
.footer-map { position: relative; height: clamp(300px, 34vw, 400px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.footer-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) invert(.92) hue-rotate(180deg) contrast(.9) brightness(.95); transition: filter .6s var(--ease); }
.footer-map:hover iframe { filter: none; }
.footer-map-card { position: absolute; left: 20px; bottom: 20px; max-width: 320px; padding: 20px 22px; border-radius: var(--radius-sm); background: rgba(13, 9, 11, .88); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.footer-map-label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-map-label .icon { width: 16px; height: 16px; }
.footer-map-addr { margin: 0 0 14px; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.footer-credit a { color: var(--text); font-weight: 700; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .3s; }
.footer-credit a:hover { color: #fff; background-size: 100% 1.5px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-base p { margin: 0; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 70;
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
	transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Generic pages ---------- */
.page-hero { padding: clamp(72px, 10vw, 140px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(90% 120% at 90% 0%, #3a0a1d, var(--bg) 60%); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.04em; }
.page-hero.is-404 { min-height: 70vh; display: flex; align-items: center; }
.content-area { padding-block: clamp(48px, 7vw, 96px); }
.entry { max-width: 820px; font-size: 18px; }
.entry a { color: var(--accent); }
.entry h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; }
.entry h3 { font-size: 24px; margin-top: 1.4em; }
.entry img, .entry-thumb { border-radius: var(--radius-sm); }
.entry-thumb { margin-bottom: 32px; }
.entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: 600 22px/1.4 var(--font-display); }
.entry .alignwide { margin-inline: calc(-1 * min(10vw, 160px)); max-width: none; }
.entry .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 22px 24px 26px; }
.post-card-body p { color: var(--muted); font-size: 15px; }
.post-meta { font-size: 13px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: 8px; }
.post-card-title { font-size: 22px; }
.post-card-title a { text-decoration: none; }
.nav-links { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.nav-links .page-numbers, .nav-links a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--accent); border-color: var(--accent); }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.search-form .search-submit { padding: 12px 20px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.full-width-content { overflow-x: clip; }

/* ==========================================================================
   Course pages
   ========================================================================== */
.course-card.has-link { cursor: pointer; }
.course-stretch { text-decoration: none; color: inherit; }
.course-stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.course-stretch:focus-visible { outline: none; }
.course-card:has(.course-stretch:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

.course-hero {
	--c: var(--brand);
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(92svh, 860px);
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: calc(var(--header-h) + 120px);
	background: var(--bg);
}
.course-hero-bg { position: absolute; inset: 0; z-index: -1; }
.course-hero-bg img { width: 100%; height: 120% !important; max-width: none !important; object-fit: cover; margin-top: -10%; filter: grayscale(.35) contrast(1.05); }
.course-hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(13,9,11,.96) 0%, rgba(13,9,11,.78) 45%, rgba(13,9,11,.35) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 40%),
		radial-gradient(70% 90% at 90% 20%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%);
}
.course-hero-inner { position: relative; padding-bottom: clamp(40px, 6vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13.5px; font-weight: 600; color: rgba(247,239,241,.65); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.course-hero-no {
	position: absolute; right: var(--gutter); top: -40px; margin: 0;
	font: 800 clamp(120px, 18vw, 260px)/.8 var(--font-display); letter-spacing: -.06em;
	color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22);
	pointer-events: none;
}
.course-hero-no small { font-size: .28em; -webkit-text-stroke: 0; color: rgba(255,255,255,.45); letter-spacing: 0; margin-left: 8px; }
.course-hero-title { font-size: clamp(48px, 8vw, 118px); line-height: .9; letter-spacing: -.045em; margin-bottom: 24px; max-width: 13ch; }
.course-hero-title .line { display: inline-block; overflow: hidden; padding: 0 .18em .08em 0; vertical-align: top; opacity: 1; transform: none; }
.course-hero-title .line > * { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .course-hero-title .line > * { transform: none; }
.course-hero-title em { font-style: normal; background: linear-gradient(92deg, var(--accent), var(--gold), var(--accent)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.course-hero:not(.is-archive) .course-hero-title .line:last-child > * { color: color-mix(in srgb, var(--c) 45%, #fff); }
.course-tagline { font: 600 clamp(19px, 2vw, 26px)/1.35 var(--font-display); color: rgba(247,239,241,.85); max-width: 640px; margin-bottom: 32px; letter-spacing: -.01em; }
.course-hero .hero-actions { margin-bottom: 0; }
.no-js .course-hero-title .line > * { transform: none; }

.spec-strip { position: relative; border-top: 1px solid var(--line); background: rgba(13,9,11,.7); backdrop-filter: blur(10px); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-grid > div { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.spec-grid > div:first-child { border-left: 0; padding-left: 0; }
.spec-grid small { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.spec-grid strong { font-size: 16.5px; }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); align-items: start; padding-block: clamp(64px, 8vw, 110px); }
.course-block + .course-block { margin-top: clamp(64px, 8vw, 104px); }
.block-title { font-size: clamp(30px, 3.6vw, 48px); max-width: 18ch; margin-bottom: 36px; }
.course-overview-text { max-width: none; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.course-overview-text > p:first-child { font: 600 clamp(22px, 2.3vw, 30px)/1.35 var(--font-display); letter-spacing: -.015em; color: #fff; }
.course-overview-text p { color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 38px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 9px; top: 6px; width: 2px; height: calc((100% - 12px) * var(--progress, 0)); background: linear-gradient(var(--c), var(--accent)); transition: height .2s linear; }
.tl-item { position: relative; padding: 0 0 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -38px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: border-color .4s, background .4s, box-shadow .4s; z-index: 1; }
.tl-item.is-visible .tl-dot { border-color: var(--c); background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent); }
.tl-when { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tl-when span { color: var(--muted); }
.tl-title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; }
.tl-text { color: var(--muted); max-width: 60ch; margin: 0; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature {
	position: relative; padding: 28px 26px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); overflow: hidden;
	transition: border-color .4s, transform .5s var(--ease);
}
.feature::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); opacity: .5; transition: opacity .5s, transform .8s var(--ease); }
.feature:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; transform: scale(1.3); }
.feature-no { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--c); font: 800 15px var(--font-display); }
.feature h3 { font-size: 22px; margin-bottom: 8px; position: relative; }
.feature p { color: var(--muted); margin: 0; font-size: 15.5px; position: relative; }

.kit { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kit li {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
	font-weight: 600; font-size: 15px;
	opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s;
	transition-delay: calc(var(--d, 0) * 70ms);
}
.kit.is-visible li { opacity: 1; transform: none; }
.kit li:hover { border-color: var(--c); }
.kit .icon { color: var(--c); filter: brightness(1.4); width: 18px; height: 18px; }
.kit[data-reveal] { opacity: 1; transform: none; }

.final-cut { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, #000), var(--brand-deep)); }
.final-cut .slate-clapper { height: 40px; background: repeating-linear-gradient(-55deg, #fff 0 22px, #111 22px 44px); }
.final-cut.is-visible .slate-clapper { animation: clap 1.1s var(--ease) .2s both; transform-origin: 0 100%; }
.final-cut-body { padding: clamp(28px, 4vw, 48px); }
.final-cut .eyebrow { color: var(--gold); }
.final-cut-text { font: 700 clamp(22px, 2.6vw, 34px)/1.25 var(--font-display); letter-spacing: -.02em; margin-bottom: 22px; }
.final-cut-note { display: flex; gap: 10px; align-items: center; margin: 0; font-weight: 600; color: rgba(255,255,255,.8); }
.final-cut-note .icon { color: var(--gold); fill: currentColor; }

.careers { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.careers li {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 4px; border-bottom: 1px solid var(--line);
	font: 700 clamp(20px, 2.4vw, 32px)/1.2 var(--font-display); letter-spacing: -.02em;
	transition: padding .4s var(--ease), color .3s;
}
.careers li:first-child { border-top: 1px solid var(--line); }
.careers li .icon { flex: none; width: 28px; height: 28px; color: var(--c); filter: brightness(1.4); transition: transform .4s var(--ease); }
.careers li:hover { padding-left: 16px; color: var(--gold); }
.careers li:hover .icon { transform: translateX(6px) rotate(-45deg); }

.course-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(320px, 40vw, 520px); }
.course-mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.course-mosaic figure:first-child { grid-row: span 2; }
.course-mosaic img { width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform 1s var(--ease); }
.course-mosaic figure:hover img { transform: scale(1.06); }

.course-aside { position: sticky; top: 110px; }
.course-card-sticky { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.course-card-sticky .slate-clapper { height: 34px; background: repeating-linear-gradient(-55deg, #fff 0 18px, var(--c) 18px 36px); border-bottom-width: 4px; }
.aside-media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.aside-media img { width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; }
.course-card-sticky .slate-body { padding: 22px 22px 24px; }
.course-card-sticky .slate-title { font-size: 20px; margin-bottom: 8px; padding-bottom: 12px; }
.aside-specs { margin: 0 0 20px; }
.aside-specs > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 14.5px; }
.aside-specs dt { color: var(--muted); }
.aside-specs dd { margin: 0; font-weight: 700; text-align: right; }
.aside-call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; transition: border-color .3s; }
.aside-call:hover { border-color: rgba(255,255,255,.4); }
.aside-call .icon { width: 16px; height: 16px; color: var(--gold); }
.aside-offer { margin: 14px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--gold); }

.more-courses { background: var(--bg-2); border-top: 1px solid var(--line); }
.course-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1100px) {
	.course-layout { grid-template-columns: 1fr; }
	.course-aside { position: static; max-width: 520px; }
	.course-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.album-grid { grid-template-columns: repeat(3, 1fr); }
	.polaroid.is-feature { grid-column: span 3; grid-row: auto; max-width: 520px; justify-self: center; width: 100%; }
	.spec-grid { grid-template-columns: 1fr 1fr; }
	.spec-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.spec-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.course-hero-no { top: -10px; }
}
@media (max-width: 640px) {
	.course-hero { padding-top: calc(var(--header-h) + 90px); min-height: 0; }
	.course-hero-no { font-size: 110px; top: -30px; opacity: .6; }
	.feature-grid { grid-template-columns: 1fr; }
	.course-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px; height: auto; }
	.course-mosaic figure:first-child { grid-column: span 2; grid-row: auto; }
	.course-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
	.course-rail .course-card { flex: 0 0 84%; scroll-snap-align: center; }
	.spec-grid > div { padding: 16px 12px; }
	.spec-grid > div:nth-child(odd) { padding-left: 0; }
}

/* ---------- Announcements ---------- */
.topbar-offer.is-notice { flex-wrap: wrap; row-gap: 2px; }
.topbar-link { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 12.5px; text-decoration: none; white-space: nowrap; }
.topbar-link .icon { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.topbar-link:hover .icon { transform: translateX(3px); }

.announce { width: min(92vw, 820px); max-width: none; max-height: 92vh; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.announce::backdrop { background: rgba(5, 3, 4, .78); backdrop-filter: blur(6px); }
.announce[open] { animation: announce-in .7s var(--ease) both; }
.announce[open]::backdrop { animation: fade-in .4s ease both; }
.announce.is-closing { animation: announce-out .3s ease both; }
@keyframes announce-in { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes announce-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.announce-card {
	position: relative; display: grid; grid-template-columns: 1fr;
	border-radius: var(--radius); overflow: hidden;
	background: radial-gradient(120% 120% at 100% 0%, #3a0a1d, var(--surface) 60%);
	border: 1px solid var(--line); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8);
	max-height: 92vh;
}
.announce.has-media .announce-card { grid-template-columns: .9fr 1.1fr; }
.announce-clapper { grid-column: 1 / -1; height: 30px; background: repeating-linear-gradient(-55deg, #fff 0 18px, var(--brand) 18px 36px); transform-origin: 0 100%; }
.announce[open] .announce-clapper { animation: clap 1s var(--ease) .35s both; }
.announce-media { margin: 0; min-height: 100%; position: relative; }
.announce-media img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; }
.announce-body { padding: clamp(26px, 4vw, 44px); overflow-y: auto; }
.announce .eyebrow { color: var(--gold); margin-bottom: 12px; }
.announce-title { font-size: clamp(30px, 4vw, 46px); line-height: 1; margin-bottom: 16px; }
.announce-text { color: var(--muted); font-size: 16.5px; }
.announce-text p:last-child { margin-bottom: 0; }
.announce-text a { color: var(--gold); }
.announce-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.announce-later { border: 0; background: none; padding: 6px 2px; color: var(--muted); font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.announce-later:hover { color: #fff; }
.announce-x { position: absolute; top: 42px; right: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(13,9,11,.6); backdrop-filter: blur(6px); color: #fff; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.announce-x:hover { transform: rotate(90deg); background: var(--accent); }
.announce-x .icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
	.announce.has-media .announce-card { grid-template-columns: 1fr; }
	.announce-media { min-height: 0; aspect-ratio: 16 / 9; }
	.announce-actions .btn { flex: 1 1 100%; }
	.announce-later { margin-inline: auto; }
	.topbar-link { font-size: 11.5px; }
	.topbar-offer.is-notice .rec-dot { display: none; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js [data-anim] { opacity: 1; transform: none; }
.no-js .hero-title .line > *, .no-js .frame, .no-js .offer-sticker { transform: none; clip-path: none; }

/* Elementor editor: show everything immediately */
.elementor-editor-active [data-reveal], .elementor-editor-active [data-anim] { opacity: 1; transform: none; }
.elementor-editor-active .frame, .elementor-editor-active .offer-sticker, .elementor-editor-active .hero-title .line > * { clip-path: none; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.course-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1200px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: grid; }
	.primary-nav {
		position: fixed; inset: 0; z-index: -1;
		flex-direction: column; justify-content: safe center; gap: 28px;
		padding: calc(var(--header-h) + var(--topbar-h, 0px) + 12px) 20px 32px; overflow-y: auto; overscroll-behavior: contain;
		background: rgba(13, 9, 11, .97); backdrop-filter: blur(14px);
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.nav-open .primary-nav { opacity: 1; visibility: visible; }
	.site-header.is-stuck .primary-nav { padding-top: calc(var(--header-h) + 12px); }
	.nav-open { overflow: hidden; }
	.primary-nav .menu { flex-direction: column; align-items: center; gap: 6px; }
	.primary-nav .menu a { font: 800 clamp(24px, 4.4vh, 34px) var(--font-display); letter-spacing: -.02em; padding: 4px 16px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; text-align: center; }
	.primary-nav .sub-menu a { font-size: 20px; }
	body.nav-open .site-header, body.nav-open .site-header.is-stuck { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

}

@media (max-width: 960px) {
	.hero { padding-top: calc(var(--header-h) + 72px); min-height: auto; }
	.hero-grid, .about-grid, .program-grid, .numbered-grid, .leadership-grid, .enquiry-grid { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
	.mentor { grid-template-columns: 1fr; }
	.mentor:nth-child(even) .mentor-visual { order: 0; }
	.mentor-visual { max-width: 520px; }
	.numbered-aside { position: static; }
	.numbered-img { aspect-ratio: 16 / 9; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.tile-grid { grid-template-columns: repeat(2, 1fr); }
	.features-bg { background-attachment: scroll; }
	.scroll-cue { display: none; }
}

@media (max-width: 640px) {
	.album-book { padding: 28px 16px 32px; }
	.album-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
	.polaroid { padding: 6px 6px 0; }
	.polaroid::before { width: 48px; height: 8px; top: -5px; }
	.polaroid figcaption { font-size: 17px; padding: 6px 2px 9px; }
	.polaroid.is-feature { grid-column: span 2; padding: 10px 10px 0; }
	.polaroid.is-feature figcaption { font-size: 28px; }
	.polaroid.is-feature::after { top: 18px; right: 18px; width: 38px; height: 38px; font-size: 18px; }
	.lightbox-caption { font-size: 21px; }
	body { font-size: 16px; }
	.topbar-offer { font-size: 12.5px; }
	.topbar-phone span, .topbar-phone { font-size: 0; gap: 0; }
	.topbar-phone .icon { width: 18px; height: 18px; }
	.brand img, .custom-logo { height: 38px; }
	.course-grid, .tile-grid, .contact-cards, .field-row, .post-grid, .footer-grid, .leaders { grid-template-columns: 1fr; }
	.leaders { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; gap: 28px; }
	.course-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
	.course-grid::-webkit-scrollbar { display: none; }
	.course-card { flex: 0 0 84%; scroll-snap-align: center; }
	.course-card.is-hidden { display: none; }
	.tile { min-height: 0; padding: 18px 56px 18px 20px; font-size: 17px; }
	.tile-no { top: 50%; transform: translateY(-50%); }
	.tile.has-photo { min-height: 170px; padding: 20px; }
	.tile.has-photo .tile-no { top: 16px; right: 16px; transform: none; }
	.tile-grid { gap: 10px; }
	.leader strong { font-size: 17px; }
	.shifts { grid-template-columns: 1fr; }
	.slate-grid { grid-template-columns: 1fr; }
	.slate-grid > div { border-right: 0; }
	.slate-grid > div:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); }
	.hero-actions .btn { flex: 1 1 auto; }
	.offer-sticker { width: 104px; }
	.offer-sticker text { font-size: 14px; }
	.vf-hud { inset: 18px 44px auto; font-size: 10.5px; }
	.vf-foot { left: 44px; right: 44px; bottom: 18px; font-size: 9.5px; }
	.filter { width: 100%; }
	.filter button { flex: 1; padding: 10px 8px; }
	.about-tag { left: 12px; font-size: 13px; }
	.heritage img { width: 56px; height: 56px; }
	.footer-map { height: 420px; }
	.footer-map-card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.footer-map-wrap { padding-bottom: 40px; }
	.wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.mq-track, .strip-track { animation: none !important; }
}
