/*
 * Adaptiva English Studio — theme stylesheet
 * Theme by The Free Website Guys
 *
 * Color tokens are emitted as CSS custom properties on :root via
 * wp_add_inline_style() (functions.php), sourced from the Customizer with
 * theme_default() fallbacks. The hex values below match the source design's
 * OKLCH tokens (see inc/colors.php — theme_oklch_to_hex()).
 */

:root {
	--color-background: #fcfbff;
	--color-foreground: #1c152f;
	--color-card: #ffffff;
	--color-primary: #6141ac;
	--color-primary-foreground: #fcfbff;
	--color-secondary: #f0eefc;
	--color-muted-foreground: #645f78;
	--color-accent: #fcc50e;
	--color-accent-foreground: #231b3b;
	--color-border: #e0deeb;
	--color-brand-navy-deep: #442382;
	--logo-height: 64px;

	--font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
	--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-2xl: 1.25rem;
	--radius-3xl: 1.5rem;

	--shadow-soft: 0 10px 30px -12px color-mix(in srgb, var(--color-primary) 22%, transparent);
	--shadow-elegant: 0 20px 60px -20px color-mix(in srgb, var(--color-primary) 35%, transparent);

	--btn-radius: 0.5rem;
	--btn-height: 2.25rem;
	--btn-padding: 0.5rem 1rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--header-height: 80px;
	--admin-bar-offset: 0px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after {
	box-sizing: border-box;
	border-color: var(--color-border);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	overflow-x: hidden;
}

body.no-scroll {
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: inherit;
	font-size: inherit;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	letter-spacing: -0.015em;
	font-weight: 800;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }
img.cover-img,
img[data-theme-setting-img] {
	max-width: none;
}

[hidden] {
	display: none !important;
}

input, textarea, select, button {
	font-family: inherit;
	font-size: inherit;
}

.theme-icon { width: 1em; height: 1em; flex-shrink: 0; }

.theme-container {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
}
.theme-container--narrow { max-width: 48rem; }
@media (min-width: 640px) {
	.theme-container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
	.theme-container { padding: 0 2rem; }
}

a[href], button:not(:disabled), [role="button"], label[for], .theme-nav-link, .site-footer__cta, .theme-cta-pill, .contact-strip__link, .contact-strip__cta {
	cursor: pointer;
}
button:disabled, a:not([href]) {
	cursor: not-allowed;
}

body.admin-bar {
	--admin-bar-offset: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--admin-bar-offset: 46px;
	}
}

.scroll-mt-anchor { scroll-margin-top: calc(5rem + var(--admin-bar-offset)); }
@media (min-width: 640px) {
	.scroll-mt-anchor { scroll-margin-top: calc(6rem + var(--admin-bar-offset)); }
}

.theme-eyebrow {
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-accent);
	margin: 0;
}

.section-intro { max-width: 42rem; margin: 0 0 3rem; }
.section-intro--wide { max-width: 42rem; }
.section-intro__desc {
	margin-top: 1rem;
	color: var(--color-muted-foreground);
}
.section-intro__desc--light { color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); }

.section-heading {
	margin-top: 0.75rem;
	font-weight: 800;
	color: var(--color-foreground);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	border: none;
	padding: 0.55rem 1.1rem;
	line-height: 1.2;
}
.theme-btn .theme-icon { width: 1rem; height: 1rem; }
.theme-btn-lg { padding: 0.75rem 1.5rem; font-size: 0.9375rem; height: 2.5rem; }
.theme-btn-block { width: 100%; }
.theme-btn-pill { border-radius: 9999px; }

.theme-btn-primary { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-primary:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black); }

.theme-btn-accent { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn-accent:hover { background-color: color-mix(in srgb, var(--color-accent) 90%, black); }

.theme-btn-outline-light {
	background-color: color-mix(in srgb, white 10%, transparent);
	border: 1px solid color-mix(in srgb, white 30%, transparent);
	color: #fff;
}
.theme-btn-outline-light:hover { background-color: color-mix(in srgb, white 20%, transparent); }

.theme-btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.theme-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.5rem;
	border: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	position: relative;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.theme-icon-btn .theme-icon { width: 1.25rem; height: 1.25rem; }
.theme-icon-btn:hover { background-color: color-mix(in srgb, var(--color-foreground) 8%, transparent); }

.theme-cta-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	border-radius: 9999px;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	box-shadow: 0 10px 25px -8px rgba(0,0,0,0.35);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.theme-cta-pill:hover { background-color: color-mix(in srgb, var(--color-accent) 90%, black); box-shadow: 0 14px 30px -8px rgba(0,0,0,0.4); }

/* ==========================================================================
   Header
   ========================================================================== */

.theme-mobile-overlay {
	position: fixed;
	inset: 0;
	top: calc(5rem + var(--admin-bar-offset));
	z-index: 40;
	background-color: rgba(0,0,0,0.4);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
body.mobile-menu-open .theme-mobile-overlay { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) { .theme-mobile-overlay { display: none; } }
@media (min-width: 640px) {
	.theme-mobile-overlay,
	.theme-mobile-menu {
		top: calc(6rem + var(--admin-bar-offset));
	}
}

.site-header {
	position: fixed;
	inset-inline: 0;
	top: var(--admin-bar-offset);
	z-index: 50;
	background-color: transparent;
	transition: background-color 0.3s ease-out, backdrop-filter 0.3s ease-out, box-shadow 0.3s ease-out;
}
.site-header.is-solid,
body.mobile-menu-open .site-header {
	background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 0 var(--color-border);
}

.site-header__inner {
	max-width: 80rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	height: 5rem;
	padding: 0 1rem;
}
@media (min-width: 640px) {
	.site-header__inner { height: 6rem; padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
	.site-header__inner { padding: 0 2rem; }
}

.site-header__brand {
	display: flex;
	min-width: 0;
	align-items: center;
	flex-shrink: 0;
	gap: 0.6rem;
}
.site-logo-img {
	height: min(var(--logo-height), 3.5rem);
	width: min(var(--logo-height), 3.5rem);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 1px 2px rgba(0,0,0,0.08);
	box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
	display: block;
	flex-shrink: 0;
	transition: height 0.3s ease, width 0.3s ease;
}
@media (min-width: 640px) {
	.site-logo-img {
		height: min(var(--logo-height), 4rem);
		width: min(var(--logo-height), 4rem);
	}
}
.site-logo-text {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.1rem;
	color: var(--color-foreground);
}
.site-header:not(.is-solid) .site-logo-text { color: #fff; }
.site-header__brand-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	color: var(--color-foreground);
}
.site-header:not(.is-solid) .site-header__brand-text { color: #fff; }

.theme-nav-list--desktop {
	display: none;
	margin-left: auto;
	align-items: center;
	gap: 0.25rem;
}
@media (min-width: 1024px) {
	.theme-nav-list--desktop { display: flex; }
}
.theme-nav-list__items,
.theme-nav-list--fallback:not(.theme-nav-list--desktop) { display: flex; align-items: center; gap: 0.25rem; margin: 0; }
.theme-nav-list--desktop.theme-nav-list--fallback { display: none; margin-left: auto; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) {
	.theme-nav-list--desktop.theme-nav-list--fallback { display: flex; }
}
.theme-nav-list__items li { display: flex; }
.theme-nav-list__items a,
.theme-nav-list--fallback .theme-nav-link {
	display: inline-block;
	white-space: nowrap;
	border-radius: 0.375rem;
	padding: 0.5rem 0.625rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: color 0.2s ease;
}
.site-header:not(.is-solid) .theme-nav-list__items a,
.site-header:not(.is-solid) .theme-nav-list--fallback .theme-nav-link { color: rgba(255,255,255,0.85); }
.theme-nav-list__items a:hover,
.theme-nav-list--fallback .theme-nav-link:hover { color: var(--color-foreground); }
.site-header:not(.is-solid) .theme-nav-list__items a:hover,
.site-header:not(.is-solid) .theme-nav-list--fallback .theme-nav-link:hover { color: #fff; }

.site-header__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}
@media (min-width: 1024px) {
	.site-header__actions { margin-left: 0; }
}

.site-header:not(.is-solid) .theme-icon-btn { color: #fff; }
.site-header:not(.is-solid) .theme-icon-btn:hover { background-color: rgba(255,255,255,0.1); }

.theme-cart-btn { position: relative; }
.theme-cart-count {
	position: absolute;
	top: -0.15rem;
	right: -0.15rem;
	display: grid;
	place-items: center;
	height: 1rem;
	min-width: 1rem;
	padding: 0 0.25rem;
	border-radius: 9999px;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	font-size: 0.625rem;
	font-weight: 800;
}
.theme-cart-count:empty { display: none; }

.site-header__book { display: none; margin-left: 0.375rem; }
@media (min-width: 640px) { .site-header__book { display: inline-flex; } }

.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle__icon { position: relative; display: inline-flex; width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center; }
.theme-mobile-toggle__icon .theme-icon { position: absolute; transition: transform 0.3s ease, opacity 0.3s ease; }
.theme-mobile-toggle__close { transform: rotate(-90deg) scale(0.5); opacity: 0; }
body.mobile-menu-open .theme-mobile-toggle__menu { transform: rotate(90deg) scale(0.5); opacity: 0; }
body.mobile-menu-open .theme-mobile-toggle__close { transform: rotate(0deg) scale(1); opacity: 1; }

.theme-mobile-menu {
	position: fixed;
	inset-inline: 0;
	top: calc(5rem + var(--admin-bar-offset));
	z-index: 40;
	overflow: hidden;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	background-color: color-mix(in srgb, var(--color-background) 80%, transparent);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.25);
	max-height: 0;
	opacity: 0;
	transform: translateY(-0.5rem);
	transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}
@media (min-width: 1024px) { .theme-mobile-menu { display: none; } }
body.mobile-menu-open .theme-mobile-menu {
	max-height: 80vh;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.theme-mobile-menu__nav { max-width: 80rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; }
@media (min-width: 640px) { .theme-mobile-menu__nav { padding: 1rem 1.5rem; } }
.theme-mobile-menu__list, .theme-mobile-menu__nav > .theme-nav-list--fallback { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-mobile-menu__list a,
.theme-mobile-menu__nav .theme-nav-link {
	display: block;
	border-radius: 0.5rem;
	padding: 0.875rem 1rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-foreground);
	transition: background-color 0.3s ease-out, transform 0.3s ease-out, opacity 0.3s ease-out;
	transform: translateY(0.5rem);
	opacity: 0;
}
body.mobile-menu-open .theme-mobile-menu__list a,
body.mobile-menu-open .theme-mobile-menu__nav .theme-nav-link,
body.mobile-menu-open .theme-mobile-menu__book {
	transform: translateY(0);
	opacity: 1;
}
.theme-mobile-menu__list a:hover,
.theme-mobile-menu__nav .theme-nav-link:hover { background-color: var(--color-secondary); }
.theme-mobile-menu__book {
	display: none;
	margin-top: 0.5rem;
	transition: background-color 0.3s ease-out, transform 0.3s ease-out, opacity 0.3s ease-out;
	transform: translateY(0.5rem);
	opacity: 0;
}
@media (max-width: 639px) { .theme-mobile-menu__book { display: inline-flex; } }

/* Mobile menu only (< lg) — match Lovable Navbar mobile panel */
@media (max-width: 1023px) {
	.theme-mobile-menu {
		transform-origin: top center;
	}

	.theme-mobile-menu__nav > .theme-nav-list--fallback {
		width: 100%;
		margin: 0;
		padding: 0;
		border: none;
		background: transparent;
	}

	.theme-mobile-menu__list li {
		display: block;
		width: 100%;
	}

	.theme-mobile-menu__list a,
	.theme-mobile-menu__nav .theme-nav-link {
		width: 100%;
		line-height: 1.5;
		text-decoration: none;
		white-space: normal;
	}

	.theme-mobile-menu__nav .theme-nav-link {
		padding: 0.875rem 1rem;
		font-size: 1rem;
		border-radius: 0.5rem;
		color: var(--color-foreground);
		background-color: transparent;
	}

	.site-header:not(.is-solid) .theme-mobile-menu__nav .theme-nav-link {
		color: var(--color-foreground);
	}

	.theme-mobile-menu__book {
		width: 100%;
		justify-content: center;
		min-height: 2.75rem;
	}
}

/* Language picker */
.theme-lang-picker { position: relative; flex-shrink: 0; }
.theme-lang-picker__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	background: transparent;
	border: none;
	border-radius: 0.375rem;
	padding: 0.375rem 0.625rem;
	min-height: 2.25rem;
	cursor: pointer;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.theme-lang-picker__trigger .theme-icon { width: 1rem; height: 1rem; }
.site-header:not(.is-solid) .theme-lang-picker__trigger { color: rgba(255,255,255,0.85); }
.theme-lang-picker__trigger:hover { background-color: color-mix(in srgb, var(--color-foreground) 8%, transparent); color: var(--color-foreground); }
.site-header:not(.is-solid) .theme-lang-picker__trigger:hover { background-color: rgba(255,255,255,0.1); color: #fff; }
.theme-lang-picker__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 0.5rem);
	width: 11rem;
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	box-shadow: var(--shadow-elegant);
	padding: 0.25rem;
	z-index: 60;
	opacity: 0;
	transform: scale(0.96) translateY(-0.25rem);
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.theme-lang-picker__menu[hidden] { display: none !important; }
.theme-lang-picker.is-open .theme-lang-picker__menu:not([hidden]) {
	opacity: 1;
	transform: scale(1) translateY(0);
	pointer-events: auto;
}
.theme-lang-picker__label { padding: 0.375rem 0.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--color-foreground); margin: 0; }
.theme-lang-picker__item {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	border: none;
	background: transparent;
	border-radius: 0.25rem;
	padding: 0.4rem 0.5rem;
	font-size: 0.875rem;
	color: var(--color-foreground);
	cursor: pointer;
	text-align: left;
}
.theme-lang-picker__item:hover { background-color: var(--color-secondary); }
.theme-lang-check { width: 0.9rem; height: 0.9rem; color: var(--color-accent); opacity: 0; }
.theme-lang-picker__item.is-selected .theme-lang-check { opacity: 1; }

/* Home vs inner page top padding for header offset */
body.theme-no-hero .site-main,
body.theme-no-hero .theme-generic-content,
body.theme-no-hero .theme-404 { padding-top: calc(var(--header-height) + var(--admin-bar-offset)); }
.theme-no-hero-main { padding-bottom: 4rem; }
.theme-generic-content { padding-top: 6rem; padding-bottom: 4rem; }
.theme-404 { padding-top: 8rem; padding-bottom: 6rem; text-align: center; }
.theme-404__code { font-size: 4.5rem; font-weight: 800; }
.theme-404__title { margin-top: 1rem; font-size: 1.25rem; font-weight: 700; }
.theme-404__desc { margin-top: 0.5rem; color: var(--color-muted-foreground); }
.theme-404__link { margin-top: 1.5rem; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	overflow: clip;
	padding-top: 6rem;
	padding-bottom: 4rem;
}
@media (min-width: 640px) { .hero-section { padding-top: 7rem; } }

.hero-section__video {
	position: absolute;
	inset: 0;
	z-index: -3;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-section__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-brand-navy-deep) 86%, transparent) 0%, color-mix(in srgb, #1a1030 82%, transparent) 60%, color-mix(in srgb, var(--color-primary) 82%, transparent) 100%);
}
.hero-section__radial {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.4;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--color-accent) 28%, transparent), transparent 45%),
		radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--color-primary) 30%, transparent), transparent 50%);
}

.hero-section__content {
	position: relative;
	z-index: 1;
	max-width: 56rem;
	margin: 0 auto;
	min-height: calc(100vh - 6rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 1rem;
	text-align: center;
	color: var(--color-primary-foreground);
}
@media (min-width: 640px) { .hero-section__content { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .hero-section__content { padding: 0 2rem; } }

.hero-section__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid rgba(255,255,255,0.2);
	background-color: rgba(255,255,255,0.1);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	backdrop-filter: blur(6px);
	animation: theme-fade-in-up 0.6s ease both;
}
.hero-section__badge .theme-icon { color: var(--color-accent); width: 0.875rem; height: 0.875rem; }

.hero-section__title {
	margin-top: 1.25rem;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.05;
	animation: theme-fade-in-up 0.7s ease 0.05s both;
}
@media (min-width: 640px) { .hero-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 3.75rem; } }
.hero-section__title-accent { display: block; color: var(--color-accent); }

.hero-section__subheading {
	margin: 1.5rem auto 0;
	max-width: 36rem;
	font-size: 1rem;
	color: rgba(255,255,255,0.8);
	animation: theme-fade-in-up 0.7s ease 0.1s both;
}
@media (min-width: 640px) { .hero-section__subheading { font-size: 1.125rem; } }

.hero-section__ctas {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	animation: theme-fade-in-up 0.7s ease 0.15s both;
}

.hero-section__notice {
	margin: 3rem auto 0;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid rgba(255,255,255,0.2);
	background-color: rgba(255,255,255,0.1);
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	color: rgba(255,255,255,0.85);
	backdrop-filter: blur(6px);
	animation: theme-fade-in-up 0.7s ease 0.2s both;
}
.hero-section__notice-dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background-color: var(--color-accent); }

/* ==========================================================================
   Generic section spacing
   ========================================================================== */

.about-section, .services-section, .approach-section, .store-section,
.testimonials-section, .faq-section, .workwithus-section {
	padding: 5rem 0;
}
@media (min-width: 640px) {
	.about-section, .services-section, .approach-section, .store-section,
	.testimonials-section, .faq-section, .workwithus-section { padding: 7rem 0; }
}
.about-section, .approach-section, .testimonials-section { background-color: var(--color-background); }
.services-section, .store-section, .workwithus-section { background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.faq-section { background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); }

/* About */
.about-section__grid {
	display: grid;
	align-items: stretch;
	gap: 3rem;
}
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section__image { overflow: hidden; border-radius: var(--radius-2xl); box-shadow: var(--shadow-soft); }
.about-section__image img { width: 100%; height: 100%; object-fit: cover; }
.about-section__copy { display: flex; flex-direction: column; }
.about-section__heading { font-size: 1.875rem; }
@media (min-width: 640px) { .about-section__heading { font-size: 2.25rem; } }
.about-section__subtitle { margin-top: 1rem; color: var(--color-muted-foreground); }
.about-section__body { margin-top: 1.5rem; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 640px) { .about-section__body { font-size: 1.125rem; } }
.about-section__badges { margin-top: 2rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .about-section__badges { grid-template-columns: 1fr 1fr; } }
.about-badge {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border-radius: var(--radius-xl);
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	padding: 0.75rem 1rem;
	box-shadow: var(--shadow-soft);
}
.about-badge__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	color: var(--color-primary);
}
.about-badge__label { font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); }

/* Services */
.services-section__heading, .approach-section__heading, .testimonials-section__heading,
.faq-section__heading, .workwithus-section__heading, .store-section__heading {
	font-size: 1.875rem;
}
@media (min-width: 640px) {
	.services-section__heading, .approach-section__heading, .testimonials-section__heading,
	.faq-section__heading, .workwithus-section__heading, .store-section__heading { font-size: 2.25rem; }
}
.services-grid { margin-top: 3rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius-2xl);
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-elegant); }
.service-card__image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card__image-wrap img { transform: scale(1.05); }
.service-card__icon {
	position: absolute;
	left: 1rem;
	top: 1rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.75rem;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	box-shadow: 0 10px 20px -8px rgba(0,0,0,0.35);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-card__icon { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.service-card__body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
.service-card__title { font-size: 1.125rem; font-weight: 800; }
.service-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); }
.services-section__footnote { margin-top: 2rem; font-size: 0.875rem; font-style: italic; color: var(--color-muted-foreground); }

/* Teaching philosophy */
.approach-grid { margin-top: 3rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .approach-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.approach-card { overflow: hidden; border-radius: var(--radius-2xl); border: 1px solid var(--color-border); background-color: var(--color-card); box-shadow: var(--shadow-soft); margin: 0; }
.approach-card__image-wrap { aspect-ratio: 16 / 11; width: 100%; overflow: hidden; }
.approach-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.approach-card:hover .approach-card__image-wrap img { transform: scale(1.05); }
.approach-card__body { padding: 1.25rem; }
.approach-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; margin: 0; }
.approach-card__caption { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-muted-foreground); }

/* Testimonials */
.testimonials-grid { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-radius: var(--radius-2xl);
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	margin: 0;
}
.testimonial-card__quote-icon { width: 1.5rem; height: 1.5rem; color: var(--color-accent); }
.testimonial-card__quote { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin: 0; }
.testimonial-card__stars { display: flex; gap: 0.125rem; color: var(--color-accent); }
.theme-icon--star { width: 1rem; height: 1rem; fill: currentColor; }
.testimonial-card__footer { margin-top: auto; }
.testimonial-card__name { font-weight: 800; margin: 0; }
.testimonial-card__role { margin-top: 0.125rem; font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   Store
   ========================================================================== */

.store-format-switcher { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.store-format-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.store-format-btn:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); color: var(--color-foreground); }
.store-format-btn.is-active {
	border-color: var(--color-accent);
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	box-shadow: var(--shadow-soft);
}
.store-format-blurb { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); }

.packages-grid { margin-top: 2rem; display: grid; align-items: stretch; gap: 1.25rem; grid-template-columns: 1fr; }
.packages-grid[hidden] { display: none !important; }
@media (min-width: 640px) { .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .packages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.package-card {
	position: relative;
	display: flex;
	height: 100%;
	flex-direction: column;
	border-radius: var(--radius-2xl);
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .package-card { padding: 1.75rem; } }
.package-card--highlight { border-color: var(--color-accent); box-shadow: var(--shadow-elegant); }
.package-card__badge {
	position: absolute;
	top: -0.75rem;
	left: 1.5rem;
	border-radius: 9999px;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 800;
}
.package-card__title { font-size: 1.125rem; font-weight: 800; margin: 0; }
.package-card__meta { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted-foreground); }
.package-card__price-row { margin-top: 1.25rem; display: flex; align-items: baseline; gap: 0.5rem; }
.package-card__price { font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; }
.package-card__price-suffix { font-size: 0.75rem; color: var(--color-muted-foreground); }
.package-card__per-student { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.package-card__features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.package-card__features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.package-card__features .theme-icon { margin-top: 0.15rem; width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-accent); }
.package-card__cta { margin-top: auto; padding-top: 1.5rem; }

.store-section__disclaimer { margin-top: 2rem; text-align: center; font-size: 0.875rem; line-height: 1.6; color: var(--color-muted-foreground); }
.store-section__disclaimer-bold { font-weight: 600; color: var(--color-foreground); }

/* CTA band (store + work-with-us) */
.theme-cta-band {
	position: relative;
	margin-top: 2rem;
	overflow: hidden;
	border-radius: var(--radius-3xl);
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 1.75rem;
}
@media (min-width: 640px) { .theme-cta-band { padding: 2.25rem; } }
.theme-cta-band__glow { position: absolute; pointer-events: none; width: 13rem; height: 13rem; border-radius: 9999px; filter: blur(48px); }
.theme-cta-band__glow--top { right: -4rem; top: -4rem; background-color: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.theme-cta-band__glow--bottom { bottom: -5rem; left: -2.5rem; background-color: color-mix(in srgb, var(--color-accent) 15%, transparent); }
.theme-cta-band__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
}
@media (min-width: 768px) { .theme-cta-band__content { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; } }
.theme-cta-band__content--split { display: grid; gap: 2rem; text-align: left; }
@media (min-width: 768px) { .theme-cta-band__content--split { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.theme-cta-band__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
@media (min-width: 640px) { .theme-cta-band__title { font-size: 1.5rem; } }
.theme-cta-band__desc { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 75%, transparent); }
.theme-cta-band__list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 85%, transparent); }
.theme-cta-band__list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.theme-cta-band__list .theme-icon { margin-top: 0.15rem; width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-accent); }
.theme-cta-band__action { display: flex; justify-content: flex-start; }
@media (min-width: 768px) { .theme-cta-band__action { justify-content: flex-end; } }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.theme-accordion { margin-top: 2.5rem; }
.theme-accordion__item { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: transparent;
	border: none;
	padding: 1rem 0;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 800;
	color: var(--color-foreground);
	text-align: left;
	cursor: pointer;
}
.theme-accordion__trigger:hover span { text-decoration: underline; }
.theme-accordion__chevron { color: var(--color-muted-foreground); transition: transform 0.2s ease; flex-shrink: 0; }
.theme-accordion__trigger[aria-expanded="true"] .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__content {
	overflow: hidden;
	height: 0;
	transition: height 0.25s ease;
}
.theme-accordion__content-inner { padding: 0 0 1rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   Work with us
   ========================================================================== */

.workwithus-grid { margin-top: 3rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .workwithus-grid { grid-template-columns: 1fr 1fr; } }
.workwithus-card { border-radius: var(--radius-2xl); border: 1px solid var(--color-border); background-color: var(--color-card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .workwithus-card { padding: 2rem; } }
.workwithus-card__title { font-size: 1.25rem; font-weight: 800; }
.workwithus-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.workwithus-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.workwithus-list__icon { display: grid; place-items: center; flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; }
.workwithus-list__icon--accent { background-color: color-mix(in srgb, var(--color-accent) 20%, transparent); color: var(--color-accent-foreground); }
.workwithus-list__icon--primary { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.workwithus-list li span:last-child { padding-top: 0.35rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

/* ==========================================================================
   Book & connect
   ========================================================================== */

.booking-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}
.booking-section__contact-anchor { display: block; scroll-margin-top: 6rem; }
.booking-section__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to bottom right, color-mix(in srgb, var(--color-primary) 92%, transparent), color-mix(in srgb, var(--color-primary) 85%, transparent), color-mix(in srgb, var(--color-primary) 95%, transparent));
}
.booking-section__pattern { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; mix-blend-mode: screen; }
.booking-section__radial {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--color-accent) 30%, transparent), transparent 55%);
}
.booking-section__inner {
	padding-top: 5rem;
	padding-bottom: 5rem;
	padding-left: 1rem;
	padding-right: 1rem;
	color: var(--color-primary-foreground);
}

@media (min-width: 640px) {
	.booking-section__inner {
		padding-top: 6rem;
		padding-bottom: 6rem;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.booking-section__inner {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.theme-eyebrow-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid rgba(255,255,255,0.2);
	background-color: rgba(255,255,255,0.1);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-accent);
	backdrop-filter: blur(6px);
	margin: 0;
}
.theme-eyebrow-pill__dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background-color: var(--color-accent); }
.booking-section__heading { margin-top: 1.25rem; font-size: 2.25rem; line-height: 1.05; color: var(--color-primary-foreground); }
@media (min-width: 640px) { .booking-section__heading { font-size: 3rem; } }
.booking-section__heading-accent { font-style: italic; color: var(--color-accent); }

.booking-steps { margin-top: 3rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .booking-steps { grid-template-columns: 1fr 1fr; } }
.booking-step {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-3xl);
	border: 1px solid rgba(255,255,255,0.2);
	background-color: rgba(255,255,255,0.1);
	padding: 1.75rem;
	backdrop-filter: blur(16px);
}
@media (min-width: 640px) { .booking-step { padding: 2.25rem; } }
.booking-step__header { display: flex; align-items: center; gap: 0.75rem; }
.booking-step__number {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 1rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 800;
	background-color: rgba(255,255,255,0.2);
	color: var(--color-primary-foreground);
}
.booking-step__number--accent { background-color: var(--color-accent); color: var(--color-accent-foreground); box-shadow: 0 10px 20px -8px rgba(0,0,0,0.4); }
.booking-step__badge { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.7); margin: 0; }
.booking-step__title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.booking-step__desc { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.8); }
.booking-step__callout { margin-top: 1.25rem; border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.15); background-color: rgba(255,255,255,0.05); padding: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.booking-step__callout-label { font-weight: 600; color: var(--color-accent); }
.booking-step__footer { margin-top: auto; padding-top: 1.75rem; }
.booking-step__footer .theme-btn { height: 3.25rem; font-size: 1rem; font-weight: 800; box-shadow: var(--shadow-elegant); }
.booking-step__note { margin-top: 0.75rem; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.6); }

.contact-strip {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	border-radius: var(--radius-3xl);
	border: 1px solid rgba(255,255,255,0.15);
	background-color: rgba(255,255,255,0.1);
	padding: 1.75rem;
	backdrop-filter: blur(10px);
}
@media (min-width: 640px) { .contact-strip { padding: 2.25rem; } }
.contact-strip__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.contact-strip__desc { margin-top: 0.5rem; max-width: 36rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
@media (min-width: 640px) { .contact-strip__desc { font-size: 1rem; } }
.contact-strip__actions { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
@media (min-width: 640px) { .contact-strip__actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.contact-strip__cta { flex-shrink: 0; height: 3.25rem; padding: 0 1.75rem; font-size: 1rem; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5); }
.contact-strip__links { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.875rem; }
.contact-strip__link {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	border-radius: 9999px;
	border: 1px solid rgba(255,255,255,0.2);
	background-color: rgba(255,255,255,0.1);
	padding: 0.625rem 1rem;
	font-weight: 500;
	color: var(--color-primary-foreground);
	backdrop-filter: blur(10px);
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.contact-strip__link:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); background-color: rgba(255,255,255,0.15); }
.contact-strip__link-icon { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 9999px; background-color: color-mix(in srgb, var(--color-accent) 20%, transparent); color: var(--color-accent); transition: background-color 0.2s ease, color 0.2s ease; }
.contact-strip__link:hover .contact-strip__link-icon { background-color: var(--color-accent); color: var(--color-accent-foreground); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid rgba(255,255,255,0.1); background-color: var(--color-primary); color: var(--color-primary-foreground); }
.site-footer__inner { max-width: 80rem; margin: 0 auto; padding: 4rem 1rem; }
@media (min-width: 640px) { .site-footer__inner { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .site-footer__inner { padding: 4rem 2rem; } }
.site-footer__grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.site-footer__brand { display: inline-flex; align-items: center; }
.site-logo-text--footer { color: #fff; font-size: 1.25rem; }
.site-footer .site-logo-img { box-shadow: none; outline: 1px solid rgba(255,255,255,0.2); outline-offset: 0; height: var(--logo-height); }
.site-footer__bio { margin-top: 1.25rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
.site-footer__socials { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.site-footer__social-btn {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	border: 1px solid rgba(255,255,255,0.15);
	color: rgba(255,255,255,0.8);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.site-footer__social-btn:hover { border-color: var(--color-accent); background-color: var(--color-accent); color: var(--color-accent-foreground); }
.site-footer__col-title { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-accent); }
.site-footer__list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a { font-size: 0.875rem; color: rgba(255,255,255,0.75); transition: color 0.2s ease; }
.site-footer__list a:hover { color: #fff; }
.site-footer__contact-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.site-footer__contact-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.site-footer__contact-list li a { word-break: break-all; }
.site-footer__contact-list li a:hover { color: #fff; }
.site-footer__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.375rem; border-radius: 9999px; background-color: var(--color-accent); color: var(--color-accent-foreground); padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; transition: opacity 0.2s ease; }
.site-footer__cta:hover { opacity: 0.9; }
.site-footer__bottom { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__bottom a { font-weight: 500; color: var(--color-accent); text-underline-offset: 4px; }
.site-footer__bottom a:hover { text-decoration: underline; }

/* ==========================================================================
   Cart drawer, checkout & contact dialogs
   ========================================================================== */

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 55;
	background-color: rgba(0,0,0,0.8);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed;
	inset-block: 0;
	right: 0;
	z-index: 56;
	width: 100%;
	max-width: 26rem;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
	pointer-events: none;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); pointer-events: auto; }
.theme-drawer__panel { display: flex; flex-direction: column; height: 100%; background-color: var(--color-background); box-shadow: -10px 0 40px -10px rgba(0,0,0,0.3); position: relative; }
.theme-drawer__close { position: absolute; right: 1rem; top: 1rem; background: transparent; border: none; border-radius: 0.25rem; opacity: 0.7; cursor: pointer; padding: 0.25rem; color: var(--color-foreground); }
.theme-drawer__close:hover { opacity: 1; background-color: var(--color-secondary); }
.theme-drawer__header { padding: 1.5rem; padding-right: 3rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.theme-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-drawer__subtitle { margin-top: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1rem; }
.theme-drawer__empty { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 4rem 0; text-align: center; }
.theme-drawer__empty-icon { width: 2.5rem; height: 2.5rem; color: var(--color-muted-foreground); }
.theme-drawer__empty p { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-list { display: flex; flex-direction: column; gap: 1rem; padding: 0.5rem 0; }
.theme-cart-item { border-radius: var(--radius-xl); border: 1px solid var(--color-border); background-color: var(--color-card); padding: 1rem; box-shadow: var(--shadow-soft); }
.theme-cart-item__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.theme-cart-item__label { font-weight: 600; }
.theme-cart-item__meta { margin-top: 0.125rem; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-item__price { font-family: var(--font-display); font-weight: 800; }
.theme-cart-item__controls { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.theme-qty-wrapper { display: inline-flex; align-items: center; border-radius: 0.5rem; border: 1px solid var(--color-border); }
.theme-qty-btn { display: grid; place-items: center; width: 2rem; height: 2rem; background: transparent; border: none; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); cursor: pointer; }
.theme-qty-btn:hover { color: var(--color-foreground); }
.theme-qty-value { width: 2rem; text-align: center; font-size: 0.875rem; font-weight: 600; }
.theme-cart-item__remove { display: inline-flex; align-items: center; gap: 0.375rem; background: transparent; border: none; font-size: 0.75rem; font-weight: 500; color: var(--color-muted-foreground); cursor: pointer; }
.theme-cart-item__remove:hover { color: #d92d20; }
.theme-drawer__footer { display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--color-border); background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1.25rem; }
.theme-drawer__total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.theme-drawer__total-label { font-size: 0.875rem; font-weight: 500; color: var(--color-muted-foreground); white-space: nowrap; }
.theme-drawer__total-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; letter-spacing: -0.015em; }
.theme-drawer__checkout-btn { height: 3.25rem; border-radius: var(--radius-xl); font-size: 1rem; font-weight: 800; box-shadow: 0 10px 25px -8px color-mix(in srgb, var(--color-accent) 25%, transparent); }
.theme-drawer__secure-note { text-align: center; font-size: 0.75rem; color: var(--color-muted-foreground); }

/* Dialogs (checkout / contact) */
.theme-dialog { position: fixed; inset: 0; z-index: 70; display: none; }
.theme-dialog.is-open { display: block; }
.theme-dialog__overlay { position: absolute; inset: 0; background-color: rgba(0,0,0,0.8); opacity: 0; transition: opacity 0.2s ease; }
.theme-dialog.is-open .theme-dialog__overlay { opacity: 1; }
.theme-dialog__content {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	width: calc(100% - 2rem);
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 0.75rem;
	border: 1px solid var(--color-border);
	background-color: var(--color-background);
	padding: 1.5rem;
	box-shadow: var(--shadow-elegant);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.theme-dialog.is-open .theme-dialog__content { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.theme-dialog__content--contact { padding: 0; max-width: 34rem; }
.theme-dialog__banner { border-bottom: 1px solid var(--color-border); background: linear-gradient(to bottom right, color-mix(in srgb, var(--color-primary) 5%, transparent), var(--color-background), color-mix(in srgb, var(--color-accent) 5%, transparent)); padding: 1.5rem; }
@media (min-width: 640px) { .theme-dialog__banner { padding: 1.5rem 2rem; } }
.theme-dialog__content--contact form { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .theme-dialog__content--contact form { padding: 1.5rem 2rem; } }
.theme-dialog__close { position: absolute; right: 1rem; top: 1rem; background: transparent; border: none; opacity: 0.7; cursor: pointer; color: var(--color-foreground); padding: 0.25rem; border-radius: 0.25rem; z-index: 2; }
.theme-dialog__close:hover { opacity: 1; }
.theme-dialog__header { text-align: left; display: flex; flex-direction: column; gap: 0.375rem; }
.theme-dialog__title { font-size: 1.25rem; font-weight: 800; }
.theme-dialog__desc { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-dialog__content--checkout form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }

.theme-checkout-summary { border-radius: var(--radius-xl); border: 1px solid var(--color-border); background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1rem; }
.theme-checkout-summary__list { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.theme-checkout-summary__row { display: flex; justify-content: space-between; gap: 1rem; }
.theme-checkout-summary__row span:first-child { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-checkout-summary__row span:last-child { font-weight: 600; }
.theme-checkout-summary__total-row { margin-top: 0.75rem; display: flex; justify-content: space-between; border-top: 1px solid var(--color-border); padding-top: 0.75rem; font-size: 0.875rem; font-weight: 700; }
.theme-checkout-summary__total-row span:last-child { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; }

.theme-form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.theme-form-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-form-grid--2 { grid-template-columns: 1fr 1fr; } }
.theme-form-field--span2 { grid-column: 1 / -1; }
.theme-form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.theme-form-field label, .theme-form-label { font-size: 0.875rem; font-weight: 500; line-height: 1; }
.theme-form-label--sm { font-size: 0.75rem; font-weight: 500; color: var(--color-muted-foreground); }
.theme-form-field input, .theme-form-field textarea, .theme-classmate-input {
	display: flex;
	width: 100%;
	height: 2.25rem;
	border-radius: 0.375rem;
	border: 1px solid var(--color-border);
	background-color: transparent;
	padding: 0.25rem 0.75rem;
	font-size: 0.9375rem;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.theme-form-field textarea { height: auto; min-height: 3.75rem; padding: 0.5rem 0.75rem; }
.theme-form-field input:focus, .theme-form-field textarea:focus, .theme-classmate-input:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 1px var(--color-accent);
}
.theme-form-field input::placeholder, .theme-form-field textarea::placeholder { color: var(--color-muted-foreground); }
.theme-form-field input[aria-invalid="true"], .theme-classmate-input[aria-invalid="true"] { border-color: #d92d20; }
.theme-form-error { font-size: 0.75rem; color: #d92d20; margin: 0; min-height: 0; }
.theme-form-hint { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-form-note { border-radius: var(--radius-xl); border: 1px solid var(--color-border); background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-form-footnote { text-align: center; font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.theme-checkout-classmates { display: flex; flex-direction: column; gap: 0.75rem; }

.theme-payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.theme-payment-method {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: var(--radius-xl);
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	padding: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.theme-payment-method .theme-icon { color: var(--color-accent); flex-shrink: 0; }
.theme-payment-method:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); }
.theme-payment-method.is-active { border-color: var(--color-accent); background-color: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-foreground); }

.theme-checkout-submit { height: 3rem; font-size: 1rem; font-weight: 800; }
.theme-checkout-submit .theme-icon { width: 1rem; height: 1rem; }

.theme-checkout-success { padding: 1.5rem 0; text-align: center; }
.theme-checkout-success__icon { width: 3rem; height: 3rem; color: var(--color-accent); margin: 0 auto; }
.theme-checkout-success .theme-dialog__title { margin-top: 1rem; font-size: 1.5rem; }
.theme-checkout-success__desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-checkout-receipt { margin-top: 1.5rem; border-radius: var(--radius-xl); border: 1px solid var(--color-border); background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1rem; text-align: left; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-checkout-receipt ul { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.875rem; }
.theme-checkout-receipt li { display: flex; justify-content: space-between; gap: 1rem; }
.theme-checkout-receipt__total { display: flex; justify-content: space-between; border-top: 1px solid var(--color-border); padding-top: 0.75rem; font-size: 0.875rem; }
.theme-checkout-receipt__total span:last-child { font-family: var(--font-display); font-size: 1rem; font-weight: 800; }
.theme-checkout-receipt__classmates { border-top: 1px solid var(--color-border); padding-top: 0.75rem; }
.theme-checkout-receipt__classmates p { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted-foreground); }

.theme-toast-region { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; display: flex; flex-direction: column; gap: 0.5rem; max-width: 22rem; }
.theme-toast {
	border-radius: 0.75rem;
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-elegant);
	padding: 0.875rem 1rem;
	font-size: 0.875rem;
	animation: theme-toast-in 0.25s ease both;
}
.theme-toast--success { border-color: color-mix(in srgb, var(--color-accent) 50%, var(--color-border)); }
.theme-toast--error { border-color: #d92d20; }
.theme-toast__title { font-weight: 700; }
.theme-toast__desc { margin-top: 0.125rem; color: var(--color-muted-foreground); }
.theme-toast.is-leaving { animation: theme-toast-out 0.2s ease both; }

/* ==========================================================================
   Animations & motion
   ========================================================================== */

@keyframes theme-fade-in-up {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes theme-toast-in {
	from { opacity: 0; transform: translateY(0.5rem) scale(0.95); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes theme-toast-out {
	from { opacity: 1; transform: translateY(0) scale(1); }
	to { opacity: 0; transform: translateY(0.5rem) scale(0.95); }
}

.reveal-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Preview fallback (Section 2.1 rule 3 & 5) — reveal content is never hidden
   in the Customizer preview iframe, where IntersectionObserver may not fire. */
body.is-customizer .reveal-item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .hero-section__badge, .hero-section__title, .hero-section__subheading,
	.hero-section__ctas, .hero-section__notice {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.theme-mobile-menu, .theme-mobile-toggle__icon .theme-icon, #theme-cart-drawer,
	#theme-cart-overlay, .theme-dialog__overlay, .theme-dialog__content {
		transition: none !important;
	}
}
