/* =========================================================
   MATCHPOINT — tennis club theme
   ========================================================= */

:root {
	/* Brand palette (logo): forest green #173A22 + cream #FBF5EA, tennis-ball lime as the spark */
	--brand: #173A22;
	--ink: #0E2316;        /* deep forest — dark sections */
	--ink-2: #0A1B11;      /* footer */
	--ink-3: #173A22;      /* raised dark surfaces = brand green */
	--paper: #FBF5EA;      /* brand cream */
	--paper-2: #F0E7D5;
	--ball: #D8F24A;       /* tennis-ball lime */
	--court: #2E7D4F;      /* accent green that reads on cream */
	--error: #C2412D;
	--white: #fff;
	--muted: #87958B;
	--line-d: rgba(251, 245, 234, .14);
	--line-l: rgba(14, 35, 22, .14);
	/* context accent: lime on dark, court green on light (switched per section below) */
	--clay: var(--ball);
	--clay-d: #C4E03A;
	--on-clay: var(--ink);

	--f-display: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif;
	--f-body: 'Manrope', system-ui, sans-serif;

	--pad: clamp(16px, 4vw, 64px);
	--maxw: 1560px;
	--radius: 18px;
	--ease: cubic-bezier(.65, .05, 0, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* ≤600px the admin bar scrolls away with the page: sit below it, then snap to top once scrolled */
@media (max-width: 600px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-header.is-scrolled { top: 0; }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--ink);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
::selection { background: var(--ball); color: var(--ink); }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: 860px; }

.section-dark { background: var(--ink); color: var(--white); --clay: var(--ball); --clay-d: #C4E03A; --on-clay: var(--ink); }
.section-light, .lead-form, .method { background: var(--paper); color: var(--ink); --clay: var(--court); --clay-d: #256840; --on-clay: #fff; }
.muted { color: var(--muted); }

/* ---------- Typography ---------- */
.display {
	font-family: var(--f-display);
	font-weight: 800;
	text-transform: uppercase;
	line-height: .9;
	letter-spacing: -.01em;
}
.display em,
.hero__title em,
.page-hero__title em {
	font-style: italic;
	color: var(--clay);
}
.display--lg { font-size: clamp(32px, 3.4vw, 52px); }
.display--xl { font-size: clamp(44px, 6vw, 96px); }
.display--xxl { font-size: clamp(56px, 9vw, 150px); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.eyebrow .num { color: var(--clay); font-family: var(--f-display); font-size: 16px; letter-spacing: .04em; }
.eyebrow__dot {
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--ball);
	box-shadow: 0 0 0 4px rgba(216, 242, 74, .2);
}
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; opacity: .85; max-width: 520px; }

/* line reveal wrappers */
/* side padding keeps glyph overhangs (T, S, italics) from being shaved by the reveal mask */
.line { display: block; overflow: hidden; padding: 0 .12em .04em; margin: 0 -.12em -.04em; }
.line__in { display: block; will-change: transform; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--white);
	--fg: var(--ink);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 26px;
	border-radius: 100px;
	background: var(--bg);
	color: var(--fg);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .02em;
	overflow: hidden;
	isolation: isolate;
	transition: color .5s var(--ease);
	white-space: nowrap;
}
.btn::before {
	content: '';
	position: absolute; inset: 0;
	background: var(--ink);
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .55s var(--ease);
	z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--white); }
.btn svg { width: 20px; height: 20px; transition: transform .45s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--clay { --bg: var(--clay); --fg: var(--on-clay); }
.btn--clay::before { background: var(--white); }
.btn--clay:hover { color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(251, 245, 234, .5); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-l); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 20px 32px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .08em;
	position: relative; padding-bottom: 6px;
}
.link-arrow::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: currentColor; transform-origin: right; transform: scaleX(.3);
	transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-btn { text-decoration: underline; text-underline-offset: 4px; opacity: .7; font-size: 14px; margin-top: 8px; }

.chip {
	display: inline-flex; align-items: center;
	padding: 6px 14px; border-radius: 100px;
	background: var(--ball); color: var(--ink);
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.chip--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; opacity: .8; transition: all .3s; }
.chip--line:hover, .chip--line.is-active { background: var(--ink); color: var(--paper); opacity: 1; box-shadow: none; }

/* ---------- Preloader ---------- */
.preloader {
	position: fixed; inset: 0; z-index: 1000;
	background: var(--ink); color: #fff;
	display: grid; place-items: center;
	animation: plSafety .5s 5s forwards; /* safety net if JS fails */
}
.js-done .preloader { display: none; }
@keyframes plSafety { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__ball {
	width: 64px; height: 64px; border-radius: 50%;
	background: var(--ball);
	position: relative; overflow: hidden;
	animation: plBounce .7s cubic-bezier(.5, 0, .5, 1) infinite alternate;
	box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .12);
}
.preloader__ball::before, .preloader__ball::after {
	content: ''; position: absolute; width: 64px; height: 64px; border-radius: 50%;
	border: 3px solid #fff; top: 0;
}
.preloader__ball::before { left: -44px; }
.preloader__ball::after { right: -44px; }
@keyframes plBounce { from { transform: translateY(-40px); } to { transform: translateY(0) scale(1.05, .95); } }
.preloader__name { width: clamp(240px, 52vw, 620px); }
.preloader__name img { width: 100%; height: auto; display: block; }
.preloader__count { font-family: var(--f-display); font-size: 18px; letter-spacing: .2em; color: var(--muted); }
.preloader__count span::after { content: '%'; }

/* ---------- Cursor ---------- */
/* GSAP moves .cursor (x/y); size changes only scale the inner dot → GPU-only, no layout */
.cursor {
	position: fixed; left: 0; top: 0; z-index: 999;
	width: 0; height: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity .3s;
	will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor__dot {
	position: absolute; left: -48px; top: -48px; width: 96px; height: 96px;
	border-radius: 50%; background: var(--ball);
	transform: scale(.15);
	transition: transform .45s var(--ease);
	will-change: transform;
}
.cursor.is-hover .cursor__dot { transform: scale(.58); }
.cursor.is-label .cursor__dot { transform: scale(1); }
.cursor__label {
	position: absolute; left: 0; top: 0; white-space: nowrap;
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink);
	opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .3s, transform .45s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	color: #fff;
	transition: transform .6s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.site-header__inner {
	max-width: var(--maxw); margin: 0 auto;
	height: var(--header-h);
	padding: 0 var(--pad);
	display: flex; align-items: center; gap: 32px;
}
.site-header.is-scrolled {
	background: rgba(10, 27, 17, .94);
	box-shadow: 0 1px 0 var(--line-d);
}
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { background: transparent; box-shadow: none; transform: none; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; position: relative; z-index: 2; }
.logo__img { max-height: 46px; width: auto; }
.logo__img--brand { height: 46px; max-height: none; width: auto; display: block; transition: opacity .3s; }
.logo:hover .logo__img--brand { opacity: .85; }

.nav-desktop { margin: 0 auto; }
.nav-desktop__list, .nav-desktop .menu { display: flex; gap: 6px; }
.nav-desktop a {
	display: block; padding: 8px 14px; border-radius: 100px;
	font-size: 14px; font-weight: 600; letter-spacing: .02em;
	position: relative; overflow: hidden;
	transition: background .3s;
}
.nav-desktop a:hover { background: rgba(251, 245, 234, .1); }

.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; position: relative; z-index: 2; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.header-phone svg { width: 18px; height: 18px; color: var(--ball); }

.burger {
	width: 48px; height: 48px; border-radius: 50%;
	display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	box-shadow: inset 0 0 0 1.5px rgba(251, 245, 234, .35);
	transition: background .3s;
}
.burger span { width: 18px; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.burger:hover { background: rgba(251, 245, 234, .1); }
body.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1180px) {
	.nav-desktop { display: none; }
	.burger { display: flex; }
}
@media (max-width: 720px) {
	:root { --header-h: 70px; }
	.header-phone span { display: none; }
	.header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(251, 245, 234, .35); }
	.header-cta { display: none; }
	.logo__img--brand { height: 38px; }
}

/* ---------- Fullscreen menu ---------- */
.menu-overlay {
	position: fixed; inset: 0; z-index: 90;
	color: #fff;
	visibility: hidden;
	pointer-events: none;
}
.menu-overlay.is-open { visibility: visible; pointer-events: auto; }
.menu-overlay__bg {
	position: absolute; inset: 0; background: var(--ink);
	clip-path: circle(0% at calc(100% - 60px) 42px);
	transition: clip-path .9s var(--ease);
}
.menu-overlay.is-open .menu-overlay__bg { clip-path: circle(150% at calc(100% - 60px) 42px); }
.menu-overlay__inner {
	position: relative; height: 100%;
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
	padding-top: var(--header-h); padding-bottom: 40px;
	overflow-y: auto;
}
.menu-big a, .menu-overlay__nav .menu a {
	display: block;
	font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(48px, 8vw, 120px); line-height: .95;
	transition: color .3s, transform .5s var(--ease);
}
.menu-big li, .menu-overlay__nav .menu li { overflow: hidden; }
.menu-big a:hover, .menu-overlay__nav .menu a:hover { color: var(--clay); transform: translateX(16px); font-style: italic; }
.menu-overlay__side { display: grid; gap: 14px; align-content: center; justify-items: start; }
.menu-overlay__phone { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); }
.menu-overlay__side .btn { margin-top: 16px; }
@media (max-width: 820px) {
	.menu-overlay__inner { grid-template-columns: 1fr; align-content: start; padding-top: calc(var(--header-h) + 30px); }
}

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease); }
.socials svg { width: 20px; height: 20px; }
.socials--icons a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; }
.socials--pills a {
	padding: 10px 16px 10px 12px; border-radius: 100px;
	box-shadow: inset 0 0 0 1px rgba(251, 245, 234, .25);
	font-size: 14px; font-weight: 600;
}
.section-light .socials--pills a { box-shadow: inset 0 0 0 1px var(--line-l); }
.socials a:hover { background: var(--ball); color: var(--ink); box-shadow: none; transform: translateY(-3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
	position: relative;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	overflow: hidden;
	padding: calc(var(--header-h) + 40px) 0 clamp(40px, 7vh, 80px);
}
.hero__media, .page-hero__media { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero__media img, .hero__media video, .page-hero__media img {
	width: 100%; height: 115%; object-fit: cover; object-position: center 30%;
	will-change: transform;
}
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 27, 17, .55) 0%, rgba(10, 27, 17, 0) 30%),
		linear-gradient(0deg, rgba(10, 27, 17, .92) 0%, rgba(10, 27, 17, .35) 45%, rgba(10, 27, 17, .1) 100%),
		radial-gradient(ellipse at 80% 100%, rgba(216, 242, 74, .12), transparent 55%);
}
.hero__court {
	position: absolute; inset: 12% 0 0 0; width: 100%; height: 88%;
	fill: none; stroke: rgba(251, 245, 234, .28); stroke-width: 1.2;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}
.hero__court path { vector-effect: non-scaling-stroke; }
.hero__court .hero__net { stroke: rgba(216, 242, 74, .5); stroke-dasharray: 4 6; }

.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 24px; }
.hero__title {
	font-family: var(--f-display);
	font-weight: 900;
	text-transform: uppercase;
	font-size: clamp(64px, 13vw, 240px);
	line-height: .84;
	letter-spacing: -.015em;
	margin-left: -.04em;
}
.hero__title em { -webkit-text-stroke: 0; }
.hero__title .line:nth-child(2) { padding-left: calc(clamp(0px, 8vw, 160px) + .12em); }
.hero__bottom {
	display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
	margin-top: clamp(28px, 4vw, 48px);
}
.hero__text { max-width: 440px; font-size: clamp(16px, 1.3vw, 19px); opacity: .85; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__scroll {
	position: absolute; right: var(--pad); top: 50%; z-index: 2;
	writing-mode: vertical-rl;
	display: flex; align-items: center; gap: 14px;
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; opacity: .8;
}
.hero__scroll-ball {
	width: 12px; height: 12px; border-radius: 50%; background: var(--ball);
	animation: scrollBall 1.6s var(--ease) infinite;
}
@keyframes scrollBall { 0%, 100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }
@media (max-width: 720px) {
	.hero__scroll { display: none; }
	.hero__title .line:nth-child(2) { padding-left: .12em; }
	.hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
	background: var(--ball); color: var(--ink);
	overflow: hidden;
	padding: 22px 0;
	transform: rotate(-1.6deg) scale(1.04);
	/* the tilt lifts the right end by ~1.45vw: pull the next section up under it so no hero shows through */
	margin: -18px 0 calc(-14px - 1.6vw);
	position: relative; z-index: 3;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
	font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase;
	font-size: clamp(28px, 3.6vw, 56px); line-height: 1; padding: 0 28px; white-space: nowrap;
}
.marquee__ball {
	width: 26px; height: 26px; border-radius: 50%; background: var(--ball); flex: none; position: relative; overflow: hidden;
}
.marquee__ball::before { content: ''; position: absolute; inset: 0 0 0 -60%; border-radius: 50%; border: 2px solid #fff; }
html:not(.has-gsap) .marquee__track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
section { position: relative; }
.about, .method, .news, .locations, .page-body, .related { padding: clamp(80px, 12vw, 180px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 72px); display: grid; gap: 18px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head .display { margin-top: 14px; }

/* ---------- About ---------- */
.about { padding-top: clamp(110px, 14vw, 200px); }
.about__statement {
	font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
	font-size: clamp(34px, 5.2vw, 88px); line-height: .98; letter-spacing: -.005em;
	max-width: 1400px;
}
.about__statement .fill-word { opacity: .14; }
.about__grid {
	display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 90px);
	margin-top: clamp(50px, 8vw, 120px); align-items: start;
}
.about__img { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.about__img img { width: 100%; height: 120%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 3.3; }
.about__img--small { aspect-ratio: 4 / 3; margin-top: 40px; width: 78%; margin-left: auto; }
.about__side { padding-top: clamp(0px, 6vw, 90px); display: grid; gap: 26px; justify-items: start; }
.about__text { font-size: clamp(17px, 1.4vw, 20px); color: #3B4A40; max-width: 480px; }

.stats {
	display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr);
	margin-top: clamp(60px, 9vw, 130px);
	border-top: 1px solid var(--line-l);
}
.stat { padding: 30px 24px 0 0; display: grid; gap: 8px; border-right: 1px solid var(--line-l); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 7vw, 120px); line-height: .9; display: flex; }
.stat__num em { color: var(--clay); font-style: normal; font-size: .5em; margin-left: 4px; }
.stat__label { font-size: 15px; color: #55635A; max-width: 200px; }

@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__side { padding-top: 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line-l); padding-bottom: 24px; }
}

/* ---------- Programs ---------- */
.programs { overflow: hidden; }
.programs__pin { padding: calc(var(--header-h) + 10px) 0 40px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.programs__head .display--xxl { font-size: clamp(52px, min(8vw, 13vh), 130px); }
.programs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 56px); }
.programs__head .display { margin-top: 14px; }
.programs__head-side { max-width: 360px; display: grid; gap: 18px; }
.programs__head-side p { opacity: .7; }
.programs__progress { height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.programs__progress span { position: absolute; inset: 0; background: var(--ball); transform-origin: left; transform: scaleX(0); }
.programs__count { font-family: var(--f-display); font-size: 18px; letter-spacing: .1em; opacity: .7; }
.programs__count b { color: var(--ball); opacity: 1; }

.programs__viewport { overflow: visible; }
.programs__track {
	display: flex; gap: clamp(14px, 1.6vw, 24px);
	padding: 0 var(--pad);
	width: max-content;
}
.program-card {
	position: relative;
	container-type: inline-size;
	width: clamp(300px, 27vw, 440px);
	height: clamp(380px, calc(100vh - 360px), 620px);
	border-radius: var(--radius);
	overflow: hidden;
	color: #fff;
	flex: none;
	background: var(--ink-3);
	isolation: isolate;
}
/* hover zoom lives on the wrapper; the img itself is driven by GSAP while scrolling */
.program-card__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; transition: transform 1.2s var(--ease-out); will-change: transform; }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.program-card:hover .program-card__media { transform: scale(1.1); }
.program-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 27, 17, .95) 0%, rgba(10, 27, 17, .3) 50%, rgba(10, 27, 17, .15) 100%); transition: background .6s; }
.program-card:hover .program-card__shade { background: linear-gradient(0deg, rgba(23, 58, 34, .97) 0%, rgba(23, 58, 34, .45) 55%, rgba(10, 27, 17, .1) 100%); }
.program-card__top { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; }
.program-card__num { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.program-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: grid; gap: 12px; }
.program-card__title { font-size: clamp(34px, 3vw, 50px); max-width: 90%; }
@supports (font-size: 1cqi) { .program-card__title { font-size: min(clamp(30px, 3vw, 50px), 13cqi); } }
.program-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.program-card__meta span { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: rgba(251, 245, 234, .18); }
.program-card__excerpt {
	font-size: 15px; opacity: 0; max-height: 0; overflow: hidden;
	transition: opacity .5s, max-height .7s var(--ease);
}
.program-card:hover .program-card__excerpt { opacity: .95; max-height: 120px; }
.program-card__go {
	position: absolute; right: 22px; bottom: 26px;
	width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink);
	display: grid; place-items: center;
	transform: scale(0) rotate(-45deg); transition: transform .6s var(--ease);
}
.program-card__go svg { width: 22px; height: 22px; }
.program-card:hover .program-card__go { transform: scale(1) rotate(0); }

.program-card--cta {
	background: var(--ball); color: var(--ink);
	display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: 30px;
}
.program-card--cta .program-card__num { position: absolute; top: 18px; left: 26px; font-size: 120px; line-height: 1; opacity: .12; }
.program-card__cta-title { font-size: clamp(40px, 3.6vw, 60px); }
.program-card__cta-text { font-size: 16px; max-width: 300px; }
.program-card--cta .btn { align-self: flex-start; }
.program-card--cta:hover .btn::before { transform: translateY(0); }
.program-card--cta:hover .btn { color: var(--ink); }

.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.program-grid .program-card { width: auto; height: 560px; }

@media (max-width: 899px) {
	.programs__pin { min-height: 0; }
	.programs__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.programs__viewport::-webkit-scrollbar { display: none; }
	.program-card { scroll-snap-align: start; width: 80vw; height: 480px; }
	.program-card__excerpt { opacity: .9; max-height: 120px; }
	.program-card__go { transform: scale(1); width: 46px; height: 46px; }
	.program-grid .program-card { height: 480px; }
}

/* ---------- Method ---------- */
.method { background: var(--paper-2); }
.method__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.method__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 18px; justify-items: start; }
.method__ball { position: relative; width: 180px; height: 180px; margin-top: 30px; }
.method__ball svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.method__ball text { font-family: var(--f-body); font-size: 15px; font-weight: 700; letter-spacing: .2em; fill: var(--ink); }
.method__ball > span {
	position: absolute; inset: 50px; border-radius: 50%; background: var(--ball); overflow: hidden;
}
.method__ball > span::before, .method__ball > span::after { content: ''; position: absolute; width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--paper-2); top: 0; }
.method__ball > span::before { left: -56px; }
.method__ball > span::after { right: -56px; }
@keyframes spin { to { transform: rotate(360deg); } }

.method__list { border-top: 1px solid var(--line-l); }
.method__item {
	display: grid; grid-template-columns: 70px 1fr 40px; gap: 20px; align-items: start;
	padding: 34px 0; border-bottom: 1px solid var(--line-l);
	position: relative;
}
.method__item::before {
	content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: var(--ink);
	transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; border-radius: 12px;
}
.method__item > * { position: relative; z-index: 1; transition: color .4s, transform .6s var(--ease); }
.method__item:hover > * { transform: translateX(20px); }
.method__item:hover > .method__plus { transform: translateX(-20px) rotate(135deg); }
.method__item:hover::before { transform: scaleY(1); }
.method__item:hover > * { color: #fff; }
.method__num { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--clay) !important; padding-top: 6px; }
.method__item h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 42px); line-height: 1; margin-bottom: 10px; }
.method__item p { color: #506057; max-width: 520px; }
.method__item:hover p { color: rgba(251, 245, 234, .75); }
.method__plus { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-l); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.method__plus svg { width: 18px; }
.method__item:hover .method__plus { background: var(--ball); color: var(--ink); box-shadow: none; }
@media (max-width: 900px) {
	.method__grid { grid-template-columns: 1fr; }
	.method__head { position: static; }
	.method__ball { width: 140px; height: 140px; }
	.method__ball > span { inset: 38px; }
	.method__item { grid-template-columns: 48px 1fr; }
	.method__plus { display: none; }
}

/* ---------- Band ---------- */
.band { height: clamp(420px, 80vh, 820px); overflow: hidden; display: flex; align-items: center; }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 130%; object-fit: cover; margin-top: -15%; }
.band__media::after { content: ''; position: absolute; inset: 0; background: rgba(10, 27, 17, .55); }
.band__rows { position: relative; z-index: 1; width: 100%; display: grid; gap: 0; }
.band__row {
	display: flex; align-items: center; gap: 40px; white-space: nowrap; width: max-content;
	font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(80px, 15vw, 260px); line-height: .92;
}
.band__row i { width: .32em; height: .32em; border-radius: 50%; background: var(--ball); flex: none; }
.band__row--outline { color: transparent; -webkit-text-stroke: 2px #fff; font-style: italic; margin-left: -30vw; }
.band__row--outline i { background: var(--clay); }

/* ---------- Locations ---------- */
.loc-list { border-top: 1px solid var(--line-d); position: relative; }
.loc-row {
	position: relative;
	display: grid; grid-template-columns: 80px 1.3fr 1fr 64px; align-items: center; gap: 24px;
	padding: clamp(26px, 3vw, 44px) 0;
	border-bottom: 1px solid var(--line-d);
	transition: color .4s;
	isolation: isolate;
}
.loc-row::before {
	content: ''; position: absolute; inset: 0; background: var(--clay); z-index: -1;
	transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.loc-row:hover::before { transform: scaleY(1); }
.loc-row > * { transition: transform .6s var(--ease); }
.loc-row:hover > :not(.loc-row__go) { transform: translateX(24px); }
.loc-row__num { font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--ball); }
.loc-row:hover { color: var(--ink); }
.loc-row:hover .loc-row__num { color: var(--ink); }
.loc-row__name { font-size: clamp(40px, 5.4vw, 96px); }
.loc-row:hover .loc-row__name { font-style: italic; }
.loc-row__info { display: grid; gap: 8px; font-size: 15px; opacity: .8; }
.loc-row__info span { display: flex; align-items: center; gap: 10px; }
.loc-row__info svg { width: 18px; height: 18px; flex: none; color: var(--ball); }
.loc-row:hover .loc-row__info svg { color: var(--ink); }
.loc-row__go { width: 64px; height: 64px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); display: grid; place-items: center; transition: all .5s var(--ease); }
.loc-row__go svg { width: 24px; }
.loc-row:hover .loc-row__go { background: var(--ink); color: var(--ball); transform: translateX(-24px) rotate(45deg); box-shadow: none; }
.loc-row__thumb { display: none; }

.loc-float {
	position: fixed; left: 0; top: 0; z-index: 50;
	width: 340px; height: 420px; margin: -210px 0 0 -170px;
	pointer-events: none;
	border-radius: var(--radius); overflow: hidden;
	opacity: 0; transform: scale(.4);
	will-change: transform, opacity;
}
.loc-float__inner { width: 100%; height: 100%; }
.loc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 899px) {
	.loc-float { display: none; }
	.loc-row { grid-template-columns: 1fr auto; gap: 14px; }
	.loc-row__num { display: none; }
	.loc-row__name { grid-column: 1 / -1; }
	.loc-row__thumb { display: block; grid-column: 1 / -1; grid-row: 1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
	.loc-row__go { width: 48px; height: 48px; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); }
.news-grid--home { grid-template-columns: 1.4fr 1fr 1fr; }
.news-grid .news-card--big { grid-row: span 1; }
.news-grid:not(.news-grid--home):not(.news-grid--3) .news-card--big { grid-column: span 2; }
.news-card__link { display: grid; gap: 20px; height: 100%; align-content: start; }
.news-card__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.news-card--big .news-card__media { aspect-ratio: 4 / 3.2; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.news-card:hover .news-card__media img { transform: scale(1.08); }
.news-card__body { display: grid; gap: 12px; }
.news-card__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.news-card__meta .chip--line { font-size: 11px; padding: 4px 10px; color: var(--ink); }
.news-card__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2vw, 32px); line-height: 1; transition: color .3s; }
.news-card--big .news-card__title { font-size: clamp(30px, 3vw, 48px); }
.news-card:hover .news-card__title { color: var(--clay); }
.news-card__excerpt { color: #506057; }
.news-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.news-card__more svg { width: 18px; transition: transform .5s var(--ease); }
.news-card:hover .news-card__more svg { transform: translateX(6px); }
.section-dark .news-card__excerpt { color: rgba(251,245,234,.7); }
.section-dark .news-card__meta .chip--line { color: #fff; }
@media (max-width: 960px) {
	.news-grid, .news-grid--home { grid-template-columns: 1fr 1fr; }
	.news-grid--home .news-card--big, .news-grid:not(.news-grid--home) .news-card--big { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
	.news-grid, .news-grid--home { grid-template-columns: 1fr; }
	/* "span 2" would create an implicit 2nd column in a 1-column grid */
	.news-grid .news-card--big,
	.news-grid:not(.news-grid--home):not(.news-grid--3) .news-card--big { grid-column: 1 / -1; }
}

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-chips .chip { font-size: 13px; padding: 9px 18px; }

.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 48px; height: 48px; padding: 0 14px; border-radius: 100px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-l); font-weight: 700; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); color: #fff; box-shadow: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   LEAD FORM
   ========================================================= */
.cta-form { padding: clamp(90px, 12vw, 180px) 0; overflow: hidden; }
.cta-form__glow {
	position: absolute; width: 900px; height: 900px; border-radius: 50%;
	right: -300px; top: -200px;
	background: radial-gradient(circle, rgba(46, 125, 79, .55), transparent 65%);
	filter: blur(40px); pointer-events: none;
}
.cta-form__ball {
	position: absolute; width: clamp(160px, 18vw, 300px); aspect-ratio: 1; border-radius: 50%;
	left: -60px; bottom: -60px; background: var(--ball); opacity: .9; overflow: hidden;
	box-shadow: inset -20px -24px 0 rgba(0, 0, 0, .1);
}
.cta-form__ball::before, .cta-form__ball::after { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 6px solid var(--ink); top: 0; }
.cta-form__ball::before { left: -72%; }
.cta-form__ball::after { right: -72%; }

.cta-form__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.cta-form__intro { display: grid; gap: 26px; justify-items: start; position: sticky; top: calc(var(--header-h) + 30px); }
.cta-form__contacts { display: grid; gap: 18px; justify-items: start; margin-top: 10px; }
.cta-form__phone { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4vw, 64px); line-height: 1; transition: color .3s; }
.cta-form__phone:hover { color: var(--ball); }
.cta-form__meta { display: grid; gap: 8px; opacity: .8; }
.cta-form__meta span { display: flex; align-items: center; gap: 10px; }
.cta-form__meta svg { width: 18px; color: var(--ball); }

.lead-form {
	position: relative;
	background: var(--white); color: var(--ink);
	border-radius: 28px;
	padding: clamp(24px, 3vw, 44px);
	display: grid; gap: 18px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
	overflow: hidden;
}
.lead-form__tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-radius: 100px; padding: 5px; margin-bottom: 8px; }
.lead-form__tabs button { position: relative; z-index: 1; padding: 12px 8px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: color .4s; }
.lead-form__tabs button.is-active { color: #fff; }
.lead-form__ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); background: var(--ink); border-radius: 100px; transition: transform .55s var(--ease); }
.lead-form[data-mode="callback"] .lead-form__ind { transform: translateX(100%); }
.lead-form[data-mode="question"] .lead-form__ind { transform: translateX(200%); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea {
	width: 100%;
	font: inherit; font-size: 16px; color: var(--ink);
	background: var(--paper);
	border: 1.5px solid transparent;
	border-radius: 14px;
	padding: 26px 18px 10px;
	outline: none;
	transition: border-color .3s, background .3s;
	appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { padding-right: 44px; cursor: pointer; }
.field--select::after { content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-30%) rotate(45deg); pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field label {
	position: absolute; left: 19px; top: 18px;
	font-size: 16px; color: var(--muted);
	pointer-events: none;
	transform-origin: left top;
	transition: transform .3s var(--ease), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.is-static { transform: translateY(-9px) scale(.75); color: var(--ink); font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__err { display: block; font-size: 13px; color: var(--error); margin-top: 4px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-show][hidden] { display: none !important; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #55635A; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check__box { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-l); flex: none; position: relative; transition: background .3s; }
.check input:checked + .check__box { background: var(--ink); box-shadow: none; }
.check input:checked + .check__box::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--ball); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible + .check__box { outline: 2px solid var(--clay); outline-offset: 2px; }

.lead-form__status { font-size: 14px; color: var(--error); min-height: 1em; text-align: center; }
.lead-form.is-loading button[type="submit"] { pointer-events: none; opacity: .7; }

.lead-form__success {
	position: absolute; inset: 0; background: var(--white);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px;
	padding: 40px;
	opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.lead-form.is-sent .lead-form__success { opacity: 1; visibility: visible; }
.lead-form__success .display { font-size: clamp(40px, 4vw, 64px); }
.lead-form__success p { max-width: 360px; color: #55635A; }
.lead-form__success .socials--pills a { box-shadow: inset 0 0 0 1px var(--line-l); }
.lead-form__success-ball { width: 96px; height: 96px; border-radius: 50%; background: var(--ball); display: grid; place-items: center; }
.lead-form__success-ball svg { width: 60px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lead-form__success-ball circle { stroke: none; }
.lead-form__success-ball path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.lead-form.is-sent .lead-form__success-ball path { animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
	.cta-form__grid { grid-template-columns: 1fr; }
	.cta-form__intro { position: static; }
}
@media (max-width: 560px) {
	.field-row { grid-template-columns: 1fr; }
	.lead-form__tabs button { font-size: 12px; padding: 11px 4px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink-2); color: #fff; padding-top: clamp(70px, 9vw, 120px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.footer-col { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer-col .eyebrow { color: var(--muted); margin-bottom: 6px; }
.footer-logo { display: block; width: min(250px, 100%); }
.footer-logo img { width: 100%; height: auto; display: block; }
.footer-menu { display: grid; gap: 8px; }
.footer-menu a { font-weight: 600; opacity: .85; transition: color .3s, opacity .3s; }
.footer-menu a:hover { color: var(--ball); opacity: 1; }
.footer-menu--sub { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.footer-menu--sub a { font-weight: 500; font-size: 14px; opacity: .6; }
.footer-locations { display: grid; gap: 16px; }
.footer-locations a { display: grid; gap: 2px; }
.footer-locations strong { font-weight: 700; transition: color .3s; }
.footer-locations span { font-size: 14px; opacity: .6; }
.footer-locations a:hover strong { color: var(--ball); }
.footer-phone { font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1; }
.footer-mail { opacity: .8; margin-bottom: 8px; }
.footer-giant {
	display: flex; justify-content: space-between;
	font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
	/* fallback sizing by character count; JS fits it exactly to the width */
	font-size: min(330px, calc((100vw - 48px) / (var(--chars, 10) * .5))); line-height: .78;
	white-space: nowrap;
	letter-spacing: -.01em;
	padding-top: 40px;
	color: transparent; -webkit-text-stroke: 1.5px rgba(251, 245, 234, .22);
	user-select: none;
	overflow: hidden;
}
.footer-giant span { display: inline-block; transition: color .4s, -webkit-text-stroke-color .4s; }
.footer-giant span:hover { color: var(--clay); -webkit-text-stroke-color: var(--clay); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0 30px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-d); }
.footer-bottom a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #fff; }
.to-top svg { width: 18px; transform: rotate(-90deg); transition: transform .4s var(--ease); }
.to-top:hover svg { transform: rotate(-90deg) translateX(4px); }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero {
	position: relative; min-height: 78vh; min-height: 78svh;
	display: flex; align-items: flex-end; overflow: hidden;
	padding: calc(var(--header-h) + 60px) 0 clamp(40px, 6vw, 80px);
}
.page-hero__content { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: start; }
.page-hero__title {
	font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(48px, 8.5vw, 150px); line-height: .88; letter-spacing: -.01em; max-width: 1300px;
}
.page-hero__text { max-width: 560px; font-size: clamp(16px, 1.4vw, 20px); opacity: .85; }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-weight: 600; }
.hero-fact { display: inline-flex; align-items: center; gap: 10px; }
.hero-fact svg { width: 20px; color: var(--ball); }
.page-hero__back { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.page-hero__back svg { width: 18px; transform: rotate(180deg); transition: transform .4s var(--ease); }
.page-hero__back:hover svg { transform: rotate(180deg) translateX(5px); }

.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.detail-card {
	position: sticky; top: calc(var(--header-h) + 30px);
	background: var(--white); border-radius: 24px; padding: 34px;
	display: grid; gap: 18px;
	box-shadow: 0 30px 60px rgba(10, 27, 17, .08);
}
.facts { display: grid; }
.facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-l); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { font-weight: 700; text-align: right; }
.detail-card__price { display: grid; gap: 4px; font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.detail-card__price span { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: .04em; }
.detail-card__note { text-align: center; font-size: 14px; color: var(--muted); }
.detail-sub { margin: 60px 0 26px; }
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.feature-list li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-l); font-size: 18px; font-weight: 600; }
.feature-list__ball { width: 14px; height: 14px; border-radius: 50%; background: var(--clay); flex: none; }
.map-frame { margin-top: 50px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
@media (max-width: 960px) {
	.detail-grid { grid-template-columns: 1fr; }
	.detail-card { position: static; }
}

/* prose (editor content) */
.prose { font-size: 18px; line-height: 1.75; color: #24332A; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--ink); margin-top: 1.6em; }
.prose h2 { font-size: clamp(32px, 3vw, 46px); }
.prose h3 { font-size: clamp(26px, 2.2vw, 34px); }
.prose a { color: var(--clay-d); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose img, .prose figure { border-radius: var(--radius); overflow: hidden; }
.prose blockquote { margin: 1.6em 0; padding-left: 26px; border-left: 4px solid var(--clay); font-family: var(--f-display); font-size: 30px; line-height: 1.1; text-transform: uppercase; font-weight: 700; }
.article-lead { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; font-weight: 600; margin-bottom: 40px; }
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line-l); }
.article-share a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-l); transition: all .3s; }
.article-share a:hover { background: var(--ink); color: #fff; }
.article-share svg { width: 20px; }
.related { padding-top: 0; }
.section-dark.related { padding-top: clamp(80px, 10vw, 140px); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound__inner { display: grid; justify-items: center; gap: 26px; padding-top: var(--header-h); }
.notfound__title { display: flex; align-items: center; gap: 2vw; font-family: var(--f-display); font-weight: 900; font-size: clamp(140px, 28vw, 420px); line-height: .8; }
.notfound__ball { width: .7em; height: .7em; border-radius: 50%; background: var(--ball); position: relative; overflow: hidden; animation: plBounce .6s cubic-bezier(.5, 0, .5, 1) infinite alternate; }
.notfound__ball::before, .notfound__ball::after { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; border: .03em solid var(--ink); top: 0; }
.notfound__ball::before { left: -72%; }
.notfound__ball::after { right: -72%; }

/* reduced motion */
/* =========================================================
   BUILDER SECTIONS (blocks/*.php)
   ========================================================= */
.sec { position: relative; padding: clamp(80px, 12vw, 180px) 0; }
.header-solid .site-main { padding-top: var(--header-h); }
.header-solid .site-header { background: rgba(10, 27, 17, .94); box-shadow: 0 1px 0 var(--line-d); }
.about__text p + p, .split__text p + p, .faq__answer p + p { margin-top: 1em; }
.section-dark .prose { color: rgba(251, 245, 234, .82); }
.section-dark .prose h2, .section-dark .prose h3 { color: #fff; }
.section-dark .btn--line { --fg: #fff; box-shadow: inset 0 0 0 1.5px var(--line-d); }
.section-head .lead { margin: 0; }

/* Photo + text */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split--right .split__img { order: 2; }
.split__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.section-dark .split__img { background: var(--ink-3); }
.split__img img { width: 100%; height: 120%; object-fit: cover; }
.split__body { display: grid; gap: 26px; justify-items: start; }
.split__text { font-size: clamp(17px, 1.4vw, 20px); max-width: 540px; opacity: .85; }
@media (max-width: 900px) {
	.split__grid { grid-template-columns: 1fr; }
	.split--right .split__img { order: 0; }
	.split__img { aspect-ratio: 4 / 3; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); transition: transform .6s var(--ease); }
.section-dark .card { background: var(--ink-3); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
a.card:hover { transform: translateY(-6px); }
a.card:hover .card__media img { transform: scale(1.06); }
.card__num { padding: 28px 28px 0; font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--clay); }
.card__body { position: relative; flex: 1; display: grid; align-content: start; gap: 10px; padding: 24px 28px 30px; }
.card__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; padding-right: 44px; }
.card__text { color: #506057; }
.section-dark .card__text { color: rgba(251, 245, 234, .7); }
.card__go { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--clay); color: var(--on-clay); transition: transform .5s var(--ease); }
.card__go svg { width: 18px; }
a.card:hover .card__go { transform: rotate(45deg); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.person__photo { aspect-ratio: 3 / 4; margin-bottom: 20px; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.section-light .person__photo { background: var(--paper-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.2vw, 34px); line-height: 1; }
.person__role { margin-top: 8px; color: var(--clay); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.person__bio { margin-top: 10px; max-width: 360px; opacity: .75; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.quote { position: relative; margin: 0; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--paper-2); }
.section-dark .quote { background: var(--ink-3); }
.quote__mark { height: 44px; font-family: var(--f-display); font-weight: 900; font-size: 110px; line-height: .75; color: var(--clay); }
.quote blockquote { flex: 1; margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; font-weight: 700; }
.quote figcaption em { display: block; font-style: normal; font-size: 14px; opacity: .65; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.price { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-l); }
.section-dark .price { background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-d); }
.price--featured { background: var(--ink); color: #fff; box-shadow: none; --clay: var(--ball); --clay-d: #C4E03A; --on-clay: var(--ink); }
.section-dark .price--featured { background: var(--ball); color: var(--ink); box-shadow: none; --clay: var(--ink); --on-clay: #fff; }
.price__name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; }
.price__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price__amount b { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 5vw, 84px); line-height: .9; }
.price__amount span { opacity: .6; }
.price__list { flex: 1; display: grid; align-content: start; gap: 10px; }
.price__list li { position: relative; padding-left: 28px; }
.price__list li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 13px; height: 7px; border-left: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(-45deg); }
.prices__note { margin-top: 28px; font-size: 14px; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; max-width: 560px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq .section-head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line-l); }
.faq__item { border-bottom: 1px solid var(--line-l); }
.section-dark .faq__list, .section-dark .faq__item { border-color: var(--line-d); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2vw, 32px); line-height: 1.05; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-l); transition: transform .5s var(--ease), background .3s, color .3s; }
.section-dark .faq__item summary i { box-shadow: inset 0 0 0 1px var(--line-d); }
.faq__item summary i svg { width: 18px; }
.faq__item summary:hover i, .faq__item[open] summary i { background: var(--clay); color: var(--on-clay); box-shadow: none; }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__answer { max-width: 680px; padding: 0 64px 28px 0; opacity: .8; }
@media (max-width: 900px) {
	.faq { grid-template-columns: 1fr; }
	.faq__head { position: static; }
	.faq__answer { padding-right: 0; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 18vw, 300px); grid-auto-flow: dense; gap: clamp(10px, 1.2vw, 18px); }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.section-light .gallery__item { background: var(--paper-2); }
.gallery__item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 100px; background: rgba(10, 27, 17, .72); color: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; } }

/* Call to action */
.cta-banner { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 240px) 0; text-align: center; }
.cta-banner__media { position: absolute; inset: 0; overflow: hidden; }
.cta-banner__media img { width: 100%; height: 130%; margin-top: -15%; object-fit: cover; }
.cta-banner--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 27, 17, .78), rgba(10, 27, 17, .55) 50%, rgba(10, 27, 17, .85)); }
.cta-banner__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 26px; }
.cta-banner .lead { margin: 0 auto; }
.cta-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
