:root {
	--bg: #f7f5f2;
	--bg-elevated: #ffffff;
	--ink: #141210;
	--ink-muted: rgba(20, 18, 16, 0.62);
	--line: rgba(20, 18, 16, 0.08);
	--line-strong: rgba(20, 18, 16, 0.14);
	--accent: #8b7355;
	--accent-soft: rgba(139, 115, 85, 0.12);
	--deep: #0e0d0c;
	--deep-soft: #1c1a18;
	--glow-warm: rgba(212, 168, 120, 0.35);
	--glow-cool: rgba(160, 180, 200, 0.2);
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 22px;
	--shadow-sm: 0 8px 30px rgba(14, 13, 12, 0.06);
	--shadow-md: 0 20px 60px rgba(14, 13, 12, 0.08);
	--shadow-lg: 0 32px 90px rgba(14, 13, 12, 0.12);
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-serif: "Cormorant Garamond", "Times New Roman", serif;
	--font-script: "Playfair Display", "Times New Roman", serif;
	--container: 1180px;
	--narrow: 720px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	position: relative;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	font-weight: 400;
	color: var(--ink-muted);
	background: var(--bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

address {
	font-style: normal;
}

h1,
h2,
h3 {
	color: var(--ink);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.08;
}

h2,
h3 {
	font-family: var(--font-serif);
}

p {
	margin: 0 0 1rem;
	white-space: pre-line;
}

figure {
	margin: 0;
}

button {
	font: inherit;
	color: inherit;
}

.white-space-fix {
	white-space: pre-line;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--deep);
	color: #fff;
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.container {
	width: min(100% - clamp(2rem, 6vw, 5rem), var(--container));
	max-width: 1380px;
	margin-inline: auto;
}

/* First focus target for “back to top”; must sit at document start (not on sticky header). */
.site-start {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	pointer-events: none;
}

.narrow {
	max-width: var(--narrow);
	margin-inline: auto;
}

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: blur(18px) saturate(1.2);
	border-bottom: 1px solid var(--line);
	transition:
		box-shadow 0.35s var(--ease),
		background 0.35s var(--ease);
}

.header.is-scrolled {
	box-shadow: var(--shadow-sm);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.1rem 0;
}

.logo {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--ink);
	transition: opacity 0.25s var(--ease);
}

.logo:hover {
	opacity: 0.72;
}

.nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.25rem;
}

.nav__link {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-muted);
	position: relative;
	display: inline-block;
	padding: 0.65rem 1rem;
	border-radius: var(--radius-sm);
	transition:
		color 0.25s var(--ease),
		background 0.2s ease;
}

.nav__link::after {
	content: "";
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 0.45rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
	opacity: 0.5;
}

.nav__link:hover {
	color: var(--ink);
}

.nav__link:hover::after {
	transform: scaleX(1);
}

.nav__link--cta {
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: var(--bg-elevated);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

.nav__link--cta::after {
	display: none;
}

.nav__link--cta:hover {
	border-color: var(--ink);
	box-shadow: var(--shadow-md);
}

.lang {
	display: inline-flex;
	padding: 4px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--bg-elevated);
	box-shadow: var(--shadow-sm);
	gap: 2px;
}

.lang__btn {
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	color: var(--ink-muted);
	transition:
		background 0.25s var(--ease),
		color 0.25s var(--ease),
		transform 0.2s ease;
}

.lang__btn[aria-pressed="true"] {
	background: var(--deep);
	color: #f7f5f2;
}

.lang__btn:hover {
	color: var(--ink);
}

.lang__btn[aria-pressed="true"]:hover {
	color: #fff;
}

.lang__btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: var(--bg-elevated);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.menu-toggle:hover {
	border-color: var(--line-strong);
	box-shadow: var(--shadow-sm);
}

.menu-toggle__bar {
	width: 18px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition:
		transform 0.3s var(--ease),
		opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child {
	transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
	border-top: 1px solid var(--line);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	backdrop-filter: blur(12px);
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav__inner {
	display: flex;
	flex-direction: column;
	padding: 1rem 0 1.25rem;
	gap: 0.25rem;
}

.mobile-nav__inner a {
	font-size: 0.9375rem;
	font-weight: 500;
	padding: 0.65rem 0;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
	text-align: center;
}

/* Hero */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 12vw, 8rem) clamp(1rem, 4vw, 2rem)
		clamp(4rem, 10vw, 6rem);
	overflow: clip;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__gradient {
	position: absolute;
	inset: -20% -10%;
	background:
		radial-gradient(
			ellipse 70% 55% at 20% 20%,
			var(--glow-warm),
			transparent 55%
		),
		radial-gradient(
			ellipse 60% 50% at 85% 30%,
			var(--glow-cool),
			transparent 50%
		),
		linear-gradient(165deg, #ebe6df 0%, #f7f5f2 38%, #e8e4dc 100%);
	animation: hero-shift 22s ease-in-out infinite alternate;
}

.hero__grain {
	position: absolute;
	inset: 0;
	opacity: 0.07;
	mix-blend-mode: multiply;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes hero-shift {
	0% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	100% {
		transform: translate3d(-2%, 1%, 0) scale(1.03);
	}
}

.hero__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, min(500px, 42vw));
	align-items: center;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	width: 100%;
}

.hero__content {
	position: relative;
	text-align: left;
	max-width: 38rem;
	justify-self: start;
}

.hero__portrait {
	margin: 0;
	width: 100%;
	max-width: 500px;
	justify-self: end;
}

.hero__portrait-frame {
	position: relative;
	box-sizing: border-box;
	width: min(100%, 500px);
	aspect-ratio: 500 / 650;
	max-height: 650px;
	margin-inline: auto;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, transparent 45%),
		linear-gradient(210deg, #ddd5cc 0%, #c4bbb0 40%, #e0d9d1 100%);
	overflow: hidden;
}

.hero__portrait-frame:has(.hero__portrait-img) {
	background: #e8e4df;
}

.hero__portrait-img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: var(--radius-lg);
	object-fit: cover;
}

.eyebrow {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 1.75rem;
}

.hero__title {
	font-family: var(--font-serif);
	font-size: clamp(2.75rem, 8vw, 5.25rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	margin: 0 0 1.5rem;
	line-height: 0.98;
	text-wrap: balance;
}

.hero__subtitle {
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	font-weight: 400;
	color: var(--ink-muted);
	max-width: 36rem;
	margin: 0 0 2.75rem;
	line-height: 1.55;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: flex-start;
}

.quote-script {
	font-family: var(--font-script);
	font-style: italic;
	font-size: 1.15em;
	font-weight: 400;
	letter-spacing: 0.01em;
}

.hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	width: 1px;
	height: 48px;
	background: linear-gradient(180deg, transparent, rgba(20, 18, 16, 0.25));
	transform: translateX(-50%);
	opacity: 0.6;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 1.75rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid transparent;
	cursor: pointer;
	transition:
		transform 0.3s var(--ease),
		box-shadow 0.3s var(--ease),
		background 0.3s var(--ease),
		border-color 0.3s var(--ease),
		color 0.3s var(--ease);
}

.btn--primary {
	background: var(--deep);
	color: #f7f5f2;
	box-shadow: var(--shadow-md);
}

.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn--ghost {
	background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
	border-color: var(--line-strong);
	color: var(--ink);
	backdrop-filter: blur(8px);
}

.btn--ghost:hover {
	border-color: var(--ink);
	background: var(--bg-elevated);
}

.btn--outline {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn--outline:hover {
	border-color: var(--ink);
	background: var(--bg-elevated);
}

.btn--light {
	background: #f7f5f2;
	color: var(--deep);
	box-shadow: var(--shadow-sm);
}

.btn--light:hover {
	transform: translateY(-2px);
}

.btn--block {
	width: 100%;
	min-height: 56px;
}

/* Sections */
.section {
	padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section__kicker {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 1.25rem;
}

.section__title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	margin: 0 0 1.5rem;
}

.section__lead {
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.6vw, 1.75rem);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.45;
	margin-bottom: 1.25rem;
}

.section__body {
	font-size: 1.0625rem;
	max-width: 52ch;
}

.section__head {
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section__head--center {
	text-align: center;
	max-width: 40rem;
	margin-inline: auto;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section__headrow {
	/* display: grid; */
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: end;
}

.section__intro {
	margin: 0;
	font-size: 1.0625rem;
	max-width: 46ch;
}

.section__intro--short {
	max-width: 38ch;
	margin-top: 0.5rem;
}

.section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.about {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.about__grid {
	max-width: var(--narrow);
	margin-inline: auto;
}

.about .section__lead {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-family: var(--font-sans);
	color: var(--accent);
	margin-bottom: 1.75rem;
}

.about .section__body {
	max-width: 60ch;
	line-height: 1.75;
}

.courses {
	background: var(--bg);
}

.benefits {
	background: linear-gradient(
		180deg,
		#efede8 0%,
		var(--bg) 45%,
		var(--bg) 100%
	);
}

.gallery {
	border-block: 1px solid var(--line);
}

/* Cards grid */
.grid-courses {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.card {
	background: var(--bg-elevated);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: clamp(1.75rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-sm);
	transition:
		transform 0.4s var(--ease),
		box-shadow 0.4s var(--ease),
		border-color 0.3s ease;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.card__index {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--ink-muted);
	margin-bottom: 1.25rem;
}

.card__title {
	font-size: 1.35rem;
	margin: 0 0 0.75rem;
}

.card__text {
	margin: 0;
	font-size: 0.98rem;
	color: var(--ink-muted);
}

/* Benefits */
.grid-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.benefit {
	padding: clamp(1.75rem, 3vw, 2.25rem);
	border-radius: var(--radius-md);
	background: var(--bg-elevated);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition:
		transform 0.35s var(--ease),
		box-shadow 0.35s var(--ease);
}

.benefit:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.benefit__icon {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	margin-bottom: 1.25rem;
	background:
		radial-gradient(circle at 30% 30%, var(--glow-warm), transparent 65%),
		linear-gradient(145deg, var(--accent-soft), transparent);
	border: 1px solid var(--line);
}

.benefit__icon--b {
	background:
		radial-gradient(
			circle at 70% 30%,
			rgba(160, 180, 200, 0.35),
			transparent 60%
		),
		linear-gradient(145deg, rgba(139, 115, 85, 0.08), transparent);
}

.benefit__icon--c {
	background:
		radial-gradient(circle at 50% 80%, var(--glow-warm), transparent 55%),
		linear-gradient(145deg, rgba(20, 18, 16, 0.06), transparent);
}

.benefit__icon--d {
	background:
		radial-gradient(
			circle at 20% 70%,
			rgba(139, 115, 85, 0.25),
			transparent 60%
		),
		linear-gradient(145deg, rgba(160, 180, 200, 0.15), transparent);
}

.benefit__title {
	font-size: 1.2rem;
	margin: 0 0 0.5rem;
}

.benefit__text {
	margin: 0;
	font-size: 0.95rem;
	color: var(--ink-muted);
}

/* Gallery */
.gallery__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 140px;
	gap: 1rem;
}

.gallery__cell {
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}

.gallery__cell:nth-child(1) {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery__cell--tall {
	grid-column: span 2;
	grid-row: span 3;
}

.gallery__cell:nth-child(3) {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery__cell:nth-child(4) {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery__cell--wide {
	grid-column: span 4;
	grid-row: span 2;
}

.gallery__ph {
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: linear-gradient(135deg, #e3ded6 0%, #cfc7bc 40%, #d9d3ca 100%);
	transition:
		transform 0.8s var(--ease),
		filter 0.5s ease;
}

.gallery__ph--b {
	background: linear-gradient(200deg, #d4c4b0 0%, #e8e2da 50%, #c8bba8 100%);
}

.gallery__ph--c {
	background: linear-gradient(160deg, #c5ccd4 0%, #e5e1dc 55%, #b8c0c9 100%);
}

.gallery__ph--d {
	background: linear-gradient(120deg, #dcd6cf 0%, #bfb4a7 100%);
}

.gallery__ph--e {
	background: linear-gradient(90deg, #e0dbd4 0%, #c9bfb3 45%, #d8d0c6 100%);
}

.gallery__cell:hover .gallery__ph {
	transform: scale(1.04);
	filter: saturate(1.05);
}

/* Testimonials */
.testimonials {
	background: var(--deep);
	color: rgba(247, 245, 242, 0.72);
	position: relative;
	overflow: clip;
}

.testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			ellipse 80% 60% at 100% 0%,
			rgba(139, 115, 85, 0.2),
			transparent 55%
		),
		radial-gradient(
			ellipse 60% 50% at 0% 100%,
			rgba(255, 255, 255, 0.06),
			transparent 50%
		);
	pointer-events: none;
}

.testimonials .section__kicker {
	color: rgba(247, 245, 242, 0.55);
}

.testimonials .section__title {
	color: #f7f5f2;
}

.testimonial__controls {
	display: flex;
	gap: 0.5rem;
}

.icon-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(247, 245, 242, 0.18);
	background: rgba(247, 245, 242, 0.04);
	cursor: pointer;
	position: relative;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s var(--ease);
}

.icon-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 10px;
	height: 10px;
	border-left: 2px solid #f7f5f2;
	border-bottom: 2px solid #f7f5f2;
	transform: rotate(45deg) translateX(1px);
	opacity: 0.85;
}

.icon-btn--next::before {
	transform: rotate(-135deg) translateX(-1px);
}

.icon-btn:hover {
	background: rgba(247, 245, 242, 0.1);
	border-color: rgba(247, 245, 242, 0.35);
	transform: translateY(-2px);
}

.testimonial__viewport {
	position: relative;
	z-index: 1;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(247, 245, 242, 0.12);
	background: rgba(247, 245, 242, 0.03);
	box-shadow: var(--shadow-lg);
}

.testimonial__track {
	position: relative;
}

.testimonial__slide {
	padding: clamp(2rem, 5vw, 3rem);
	padding-bottom: 0;
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s var(--ease);
}

.testimonial__slide.is-active {
	position: relative;
	inset: auto;
	opacity: 1;
	pointer-events: auto;
}

.testimonial__quote {
	font-family: var(--font-serif);
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	font-weight: 400;
	font-style: italic;
	color: rgba(247, 245, 242, 0.95);
	line-height: 1.45;
	margin: 0 0 1.5rem;
	/* max-width: 52ch; */
}

.testimonial__author {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(247, 245, 242, 0.45);
}

.testimonial__dots {
	display: flex;
	gap: 0.5rem;
	padding: 1rem clamp(2rem, 5vw, 3rem) clamp(1.5rem, 3vw, 2rem);
}

.testimonial__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(247, 245, 242, 0.22);
	cursor: pointer;
	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.testimonial__dot[aria-selected="true"] {
	background: #f7f5f2;
	transform: scale(1.15);
}

/* Join CTA */
.join__panel {
	border-radius: var(--radius-lg);
	padding: clamp(2.5rem, 6vw, 4rem);
	background: linear-gradient(125deg, #1c1a18 0%, #2a2622 55%, #3d342c 100%);
	color: rgba(247, 245, 242, 0.78);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	border: 1px solid rgba(247, 245, 242, 0.1);
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: hidden;
}

.join__panel::after {
	content: "";
	position: absolute;
	right: -20%;
	top: -40%;
	width: 55%;
	height: 140%;
	background: radial-gradient(
		circle,
		rgba(212, 168, 120, 0.18),
		transparent 60%
	);
	pointer-events: none;
}

.join__copy {
	position: relative;
	z-index: 1;
	max-width: 36rem;
}

.join__title {
	font-size: clamp(1.85rem, 3.5vw, 2.75rem);
	color: #f7f5f2;
	margin: 0 0 0.75rem;
}

.join__text {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.join__panel .btn {
	position: relative;
	z-index: 1;
}

/* Contact */
.contact {
	position: relative;
	overflow: hidden;
}

#contact-map {
	position: absolute;
	inset: 0;
	z-index: 0;
	filter: sepia(0.55) saturate(0.6) brightness(1.08) hue-rotate(5deg);
	opacity: 0.55;
}

.contact__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		135deg,
		rgba(247, 245, 242, 0.82) 0%,
		rgba(235, 230, 223, 0.72) 50%,
		rgba(247, 245, 242, 0.78) 100%
	);
	pointer-events: none;
}

.contact__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.contact__address p {
	margin-bottom: 0.65rem;
	font-size: 1.02rem;
}

.contact__link {
	border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
	transition:
		border-color 0.2s ease,
		color 0.2s ease;
}

.contact__link:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.contact__actions {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	position: sticky;
	top: 7rem;
}

/* Footer */
.footer {
	padding: 2rem 0 2.5rem;
	border-top: 1px solid var(--line);
	background: var(--bg-elevated);
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.footer__copy {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--ink-muted);
}

.footer__top {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid transparent;
	transition:
		border-color 0.2s ease,
		opacity 0.2s ease;
}

.footer__top:hover {
	border-color: var(--ink);
}

/* Reveal */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.7s var(--ease),
		transform 0.7s var(--ease);
	transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.hero__gradient,
	.reveal {
		animation: none !important;
		transition: none !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}

	.card:hover,
	.benefit:hover,
	.btn--primary:hover,
	.btn--ghost:hover,
	.btn--light:hover,
	.gallery__cell:hover .gallery__ph,
	.icon-btn:hover {
		transform: none;
	}

	.testimonial__slide {
		transition: none;
	}
}

/* Responsive */
@media (max-width: 1024px) {
	.hero__layout {
		grid-template-columns: 1fr;
		gap: clamp(2rem, 5vw, 3rem);
	}

	.hero__content {
		max-width: 40rem;
		text-align: center;
		justify-self: center;
	}

	.hero__subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__actions {
		justify-content: center;
	}

	.hero__portrait {
		justify-self: center;
		max-width: min(500px, 88vw);
	}

	.hero__portrait-frame {
		--portrait-h: min(650px, 58svh);
		width: min(500px, 100%, calc(var(--portrait-h) * 500 / 650));
		height: var(--portrait-h);
		max-height: none;
		aspect-ratio: 500 / 650;
	}

	.grid-courses,
	.grid-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 160px;
	}

	.gallery__cell:nth-child(1),
	.gallery__cell--tall,
	.gallery__cell:nth-child(3),
	.gallery__cell:nth-child(4),
	.gallery__cell--wide {
		grid-column: auto;
		grid-row: auto;
	}

	.gallery__cell--wide {
		grid-column: span 2;
	}
}

@media (max-width: 880px) {
	.nav {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.header__inner {
		flex-wrap: wrap;
	}

	.lang {
		margin-left: auto;
	}

	.section__headrow {
		grid-template-columns: 1fr;
	}

	.contact__grid {
		grid-template-columns: 1fr;
	}

	.contact__actions {
		position: static;
		width: 100%;
	}
}

@media (max-width: 640px) {
	/* .container {
    width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--container));
  } */

	.grid-courses,
	.grid-benefits {
		grid-template-columns: 1fr;
	}

	.hero__scroll {
		display: none;
	}

	.hero__portrait {
		max-width: min(420px, 100%);
	}

	.hero__portrait-frame {
		--portrait-h: min(520px, 46svh);
		width: min(420px, 100%, calc(var(--portrait-h) * 500 / 650));
		height: var(--portrait-h);
		max-height: none;
		aspect-ratio: 500 / 650;
	}

	.gallery__grid {
		grid-auto-rows: 140px;
	}

	.gallery__cell--wide {
		grid-column: span 2;
	}
}
