/* ==========================================================================
   NAV
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 48px;
	background: rgba(8, 9, 7, 0.65);
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
	padding: 14px 48px;
	background: rgba(8, 9, 7, 0.92);
	box-shadow: 0 1px 0 var(--border);
}
/* Push fixed header below WP admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link img {
	height: 36px; width: auto; display: block;
	filter: brightness(0) invert(1); /* the source logo is black-on-transparent; site is dark end-to-end now */
}
.site-logo__text { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--text-dark); }
.site-logo__city {
	font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--text-light);
	padding-left: 10px; border-left: 1px solid var(--border-dark);
}
@media (max-width: 1024px) { .site-logo__city { display: none; } }

.primary-nav { display: flex; align-items: center; }
.primary-nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.primary-nav__list > li { position: relative; }
.primary-nav__list a {
	font-size: 0.85rem; font-weight: 500; color: var(--text-body);
	transition: color 0.3s; position: relative;
}
.primary-nav__list a::after {
	content: ''; position: absolute; bottom: -3px; left: 0;
	width: 100%; height: 1.5px; background: var(--accent);
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.4s var(--ease);
}
.primary-nav__list a:hover { color: var(--text-dark); }
.primary-nav__list a:hover::after { transform: scaleX(1); }
.primary-nav__list .current-menu-item > a { color: var(--text-dark); }
.primary-nav__list .current-menu-item > a::after { width: 100%; }

/* Dropdown */
.primary-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	padding-top: 12px; /* fills gap so hover isn't lost on mouse travel */
	min-width: 180px;
	list-style: none;
	z-index: 200;
}
.primary-nav__list .sub-menu::before {
	content: '';
	display: block;
	position: absolute;
	top: 12px; left: 0; right: 0; bottom: 0;
	background: rgba(11, 12, 10, 0.98);
	backdrop-filter: blur(20px);
	border: 1px solid var(--border);
	box-shadow: 0 8px 32px rgba(0,0,0,0.35);
	z-index: -1;
}
.primary-nav__list .menu-item-has-children:hover .sub-menu,
.primary-nav__list .menu-item-has-children:focus-within .sub-menu { display: block; }
.primary-nav__list .sub-menu li { padding: 0; }
.primary-nav__list .sub-menu a {
	display: block;
	padding: 10px 20px;
	font-size: 0.85rem;
	white-space: nowrap;
}
.primary-nav__list .sub-menu a::after { display: none; }
.primary-nav__list .sub-menu a:hover { color: var(--accent); background: rgba(255,255,255,0.04); }

.header__cta .btn-fill {
	font-size: 0.78rem; padding: 10px 24px;
}

.hamburger {
	display: none; flex-direction: column; align-items: center; justify-content: center;
	gap: 5px; min-width: 44px; min-height: 44px; padding: 8px; z-index: 110;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-dark); transition: transform 0.3s, opacity 0.3s; }
.hamburger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav — full-screen overlay.
   Layout: close button top-right (flex row), then links centered in remaining space */
.mobile-nav {
	position: fixed; inset: 0; z-index: 105;
	background: rgba(8, 9, 7, 0.98);
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	display: flex; flex-direction: column;
	align-items: center;
	overflow-y: auto; -webkit-overflow-scrolling: touch;
	opacity: 0; visibility: hidden;
	transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }

/* Close row — full-width flex row so button stays right-aligned without absolute */
.mobile-nav__close-row {
	width: 100%; display: flex; justify-content: flex-end;
	padding: 20px 20px 0; flex-shrink: 0;
}
.mobile-nav__close {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1.5px solid rgba(237,234,228,0.2); background: transparent;
	display: flex; align-items: center; justify-content: center;
	color: var(--text-dark); cursor: pointer;
	transition: border-color 0.3s, color 0.3s;
}
.mobile-nav__close:hover { border-color: var(--accent); color: var(--accent); }

/* Nav list — grows to fill remaining space, centers links vertically */
.mobile-nav__list {
	flex: 1; display: flex; flex-direction: column;
	align-items: center; justify-content: flex-start;
	gap: 0; list-style: none; margin: 0; padding: 56px 32px 16px; width: 100%;
}
.mobile-nav__list li { text-align: center; width: 100%; }
.mobile-nav__list > li > a {
	font-family: var(--font-heading); font-weight: 600;
	font-size: clamp(1.4rem, 5.5vw, 1.9rem);
	color: var(--text-dark); transition: color 0.3s;
	display: block; padding: 8px 0; line-height: 1.2;
}
.mobile-nav__list > li > a:hover { color: var(--accent); }

/* Parent item that has no real page — render as a section label, not a link */
.mobile-nav__list .menu-item-has-children > a {
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-light);
	padding: 20px 0 4px;
	pointer-events: none;
	cursor: default;
}

/* Sub-menu: deliberately smaller + a different (body) font than top-level
   links, so children read as grouped under their label instead of as peers
   of the top-level pages around them. */
.mobile-nav__list .sub-menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
}
.mobile-nav__list .sub-menu li { width: 100%; }
.mobile-nav__list .sub-menu a {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-body);
	display: block;
	padding: 8px 0;
	line-height: 1.3;
	transition: color 0.3s;
}
.mobile-nav__list .sub-menu a:hover { color: var(--accent); }

.mobile-nav__cta {
	flex-shrink: 0; margin: 0 0 48px;
	font-size: 0.82rem; font-family: var(--font-body);
	font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 14px 32px; border: 1.5px solid var(--accent); color: var(--accent);
}

/* ==========================================================================
   GLOBAL CHROME — cursor, scroll progress, selection, scrollbar, noise
   ========================================================================== */
::selection { background: var(--accent); color: var(--text-on-dark); }

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #34322B; }

/* Fixed noise texture over the whole page — decorative only, never intercepts input */
body::before {
	content: '';
	position: fixed; inset: 0; z-index: 1;
	pointer-events: none;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
	position: fixed; top: 0; left: 0; height: 2px; width: 100%;
	background: var(--accent); z-index: 200; pointer-events: none;
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.1s linear;
}

/* Custom cursor — desktop with a real pointer only; native cursor stays everywhere else */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
	.cursor-dot, .cursor-ring {
		display: block; position: fixed; top: 0; left: 0; z-index: 300;
		pointer-events: none; border-radius: 50%;
		transform: translate(-50%, -50%);
	}
	.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
	.cursor-ring {
		width: 32px; height: 32px; border: 1px solid var(--border-dark);
		transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
	}
	.cursor-ring.is-active { width: 52px; height: 52px; border-color: var(--accent); }
	body, a, button { cursor: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cursor-dot, .cursor-ring, .scroll-progress { display: none !important; }
	body, a, button { cursor: auto; }
}

[data-drag-rail] { cursor: grab; -webkit-user-select: none; user-select: none; }
[data-drag-rail].is-dragging { cursor: grabbing; scroll-behavior: auto; }

/* ==========================================================================
   PRELOADER — homepage only
   ========================================================================== */
.preloader {
	position: fixed; inset: 0; z-index: 100000; background: var(--bg-dark);
	display: flex; align-items: flex-end; justify-content: space-between;
	padding: clamp(20px,4vw,52px);
	transition: transform 0.65s cubic-bezier(.76,0,.24,1);
}
.preloader.is-done { transform: translateY(-101%); }
.preloader__logo {
	width: clamp(210px,34vw,520px); height: auto; display: block;
}
.preloader__count {
	font-family: var(--font-heading); font-size: clamp(40px,9vw,140px);
	line-height: 0.8; color: #22211C;
}
.preloader__bar {
	position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
	background: var(--accent); transform: scaleX(0); transform-origin: left;
	transition: transform 0.1s linear;
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
	.preloader { display: none !important; }
}

/* ==========================================================================
   HERO — full-bleed
   ========================================================================== */
.hero {
	position: relative; min-height: 100svh;
	display: flex; flex-direction: column; justify-content: flex-end;
	overflow: hidden; background: var(--bg-dark);
}
.hero__bg { position: absolute; inset: -12% 0; }
.hero__bg > img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(.35) contrast(1.12) brightness(.62);
}
.hero__bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, var(--bg-dark) 2%, rgba(8,9,7,.35) 55%, rgba(8,9,7,.8) 100%);
}

/* Hero background — 3-way rotation (stairs photo, then two framed triptychs), no interaction, no JS.
   Respects the global prefers-reduced-motion kill switch in style.css (freezes on slide 1, the stairs photo). */
.hero__slide { position: absolute; inset: 0; opacity: 0; animation: heroSlideCycle 18s linear infinite; }
.hero__slide--1 { opacity: 1; animation-delay: 0s; }
.hero__slide--2 { animation-delay: -12s; }
.hero__slide--3 { animation-delay: -6s; }
@keyframes heroSlideCycle {
	0%   { opacity: 0; }
	8%   { opacity: 1; }
	25%  { opacity: 1; }
	33%  { opacity: 0; }
	100% { opacity: 0; }
}
.hero__slide--stairs img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(.35) contrast(1.12) brightness(.62);
}
.hero__collage-wrap { position: absolute; inset: 0; padding: 18px; }
.hero__collage {
	position: absolute; inset: 18px;
	display: flex; gap: 5px;
	border: 2px solid var(--accent);
}
.hero__collage .panel { position: relative; flex: 1; overflow: hidden; box-shadow: inset 0 0 46px rgba(0,0,0,.5); }
.hero__collage .panel + .panel { border-left: 1px solid rgba(var(--accent-rgb), .55); }
.hero__collage .panel img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(.35) contrast(1.12) brightness(.62);
}
@media (max-width: 768px) {
	.hero__collage-wrap { padding: 0; }
	.hero__collage {
		inset: 0;
		border: none;
		gap: 0;
	}
	.hero__collage .panel {
		display: none;
		box-shadow: none;
	}
	.hero__collage .panel:nth-child(2) {
		display: block;
		width: 100%;
		height: 100%;
	}
	.hero__collage .panel + .panel {
		border-left: none;
	}
	.hero__bg::after {
		background: linear-gradient(to top, var(--bg-dark) 8%, rgba(8,9,7,.45) 55%, rgba(8,9,7,.75) 100%);
	}
}

.hero__cue {
	position: absolute; left: clamp(16px,3vw,44px); bottom: clamp(36px,7vh,90px);
	display: none; align-items: center; gap: 12px;
	writing-mode: vertical-rl; font-size: 10px; letter-spacing: 0.34em;
	text-transform: uppercase; color: var(--text-light);
}
.hero__cue-line {
	height: 60px; width: 1px; background: var(--accent);
	animation: heroCue 2.8s ease-in-out infinite;
}
@media (min-width: 1025px) { .hero__cue { display: flex; } }
@keyframes heroCue {
	0%, 100% { transform: scaleY(0); transform-origin: top; }
	45%      { transform: scaleY(1); transform-origin: top; }
	55%      { transform: scaleY(1); transform-origin: bottom; }
}

.hero__inner {
	position: relative; width: 100%; max-width: 1680px; margin: 0 auto;
	padding: 0 clamp(16px,3vw,44px) clamp(34px,6vh,76px) clamp(16px,6vw,110px);
}
.hero__eyebrow {
	display: flex; align-items: center; gap: 14px; margin-bottom: clamp(16px,3vh,32px);
	font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--text-body);
}
.hero__eyebrow::before { content: ''; width: 46px; height: 1px; background: var(--accent); }

.hero__heading {
	font-family: var(--font-heading); font-weight: 300;
	font-size: clamp(44px, 8.4vw, 148px); line-height: 1;
	letter-spacing: -0.025em; margin: 0; text-wrap: balance;
}
.hero__heading em { font-style: italic; color: var(--accent); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__line span {
	display: block; transform: translateY(105%);
	transition: transform 0.9s var(--ease);
}
.hero__line:nth-child(1) span { transition-delay: 0.35s; }
.hero__line:nth-child(2) span { transition-delay: 0.47s; }
.hero__line:nth-child(3) span { transition-delay: 0.59s; }
body.is-loaded .hero__line span { transform: none; }

.hero__foot {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 30px; margin-top: clamp(24px,4vh,52px);
}
.hero__sub {
	margin: 0; max-width: 44ch; font-size: clamp(14.5px,1.1vw,17px);
	line-height: 1.7; color: var(--text-body);
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   SECTION DIVIDER
   ========================================================================== */
.section-divider {
	display: flex; align-items: center;
	padding: 16px var(--container-pad);
}
.section-divider__line { flex: 1; height: 1px; background: var(--border); }
.section-divider__dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--accent); margin: 0 24px; opacity: 0.5;
}

/* ==========================================================================
   FEATURES — .feature__title/.feature__desc are shared with .approach__pillar
   (page-membership.php, page-packages.php) — keep even though the homepage
   no longer uses the numbered .features__grid container that used to wrap them.
   ========================================================================== */
.feature__title {
	font-family: var(--font-heading); font-weight: 600;
	font-size: var(--heading-md); margin-bottom: 14px;
}
.feature__desc { font-size: 0.92rem; color: var(--text-body); line-height: 1.7; }

/* ==========================================================================
   TRAINER
   ========================================================================== */
.trainer__grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 80px; align-items: center;
}
.trainer__image-wrap { position: relative; }
.trainer__image-wrap::before {
	content: ''; position: absolute;
	top: 24px; left: 24px; right: -12px; bottom: -12px;
	background: var(--accent); opacity: 0.08;
}
.trainer__image-wrap img {
	position: relative; width: 100%; height: 540px;
	object-fit: cover; object-position: top;
}
.trainer__role {
	font-size: 0.8rem; font-weight: 600; color: var(--accent-text);
	letter-spacing: 0.06em;
	margin-top: 8px; margin-bottom: 28px;
}
.trainer__bio {
	font-size: 1.05rem; color: var(--text-body); line-height: 1.85; margin-bottom: 32px;
}
.trainer__quote {
	font-family: var(--font-heading); font-size: 1.4rem; font-style: italic;
	color: var(--text-dark); line-height: 1.5;
	padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.trainer__creds {
	display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.trainer__cred-tag {
	font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
	text-transform: uppercase; color: var(--text-body);
	border: 1px solid var(--border); padding: 6px 14px;
}

/* ==========================================================================
   APPROACH / METHODOLOGY
   ========================================================================== */
.approach__pillars {
	display: flex; flex-direction: column; gap: 40px;
}
.approach__pillar {
	padding: 28px 0;
	border-top: 1px solid var(--border);
	background: transparent;
}
.approach__pillar .feature__title {
	margin-bottom: 8px;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	grid-template-rows: 260px 260px;
	gap: 10px; margin-top: 64px;
}
.gallery__item { overflow: hidden; position: relative; background: #121310; }
.gallery__item:first-child { grid-row: span 2; }
.gallery__item img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(.35) brightness(.75);
	transition: transform 0.9s var(--ease), filter 0.7s ease;
}
.gallery__item:hover img { transform: scale(1.04); filter: grayscale(0) brightness(1); }
.gallery__item::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(8,9,7,.75), transparent 55%);
	pointer-events: none;
}
.gallery__item__label {
	position: absolute; bottom: 0; left: 0; right: 0;
	padding: 14px 18px;
	font-size: 0.78rem; font-weight: 500; color: var(--text-on-dark);
	opacity: .85; transform: translateY(2px); transition: opacity 0.4s, transform 0.4s;
}
.gallery__item:hover .gallery__item__label { opacity: 1; transform: none; }

/* ==========================================================================
   MARQUEE — homepage service ticker
   ========================================================================== */
.marquee {
	border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark);
	padding: clamp(13px,1.5vw,20px) 0; overflow: hidden; background: var(--bg-warm);
}
.marquee__track {
	display: flex; width: max-content;
	animation: marqueeScroll 30s linear infinite;
	font-family: var(--font-heading); font-size: clamp(19px,2.4vw,34px);
	white-space: nowrap; color: #CFCABF;
}
.marquee__set {
	display: flex; align-items: center; gap: clamp(22px,3vw,46px);
	padding-right: clamp(22px,3vw,46px);
}
.marquee__set span:not(.marquee__dot) { display: inline-block; }
.marquee__dot { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   PHILOSOPHY + STATS — (01)
   ========================================================================== */
.philosophy { padding: clamp(72px,13vw,190px) 0; }
.philosophy__statement {
	margin: 0; max-width: 62ch; font-family: var(--font-heading); font-weight: 300;
	font-size: clamp(20px,2.6vw,34px); line-height: 1.4; letter-spacing: -0.01em;
}
.stat-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
	gap: clamp(20px,3vw,44px); margin-top: clamp(48px,8vw,110px);
	border-top: 1px solid var(--border); padding-top: clamp(28px,4vw,52px);
}
.stat-grid__num {
	font-family: var(--font-heading); font-size: clamp(42px,5.4vw,86px); line-height: 1;
}
.stat-grid__num span { color: var(--accent); }
.stat-grid__label {
	margin: 8px 0 0; font-size: 11px; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--text-light);
}

/* ==========================================================================
   TRAINING FORMATS — (02) horizontal scroll-jack rail
   ========================================================================== */
.train-rail { position: relative; background: var(--bg-warm); }
.train-rail__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.train-rail__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
	padding: clamp(78px,9vh,120px) clamp(16px,3vw,44px) clamp(16px,2vh,28px);
}
.train-rail__track {
	display: flex; gap: clamp(14px,1.6vw,26px); padding: 0 clamp(16px,3vw,44px);
	will-change: transform; align-items: stretch; flex: 1; padding-bottom: clamp(30px,6vh,70px);
}
/* Mobile / reduced-motion / no-JS fallback: a normal horizontally-scrollable strip, no scroll-jack */
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
	.train-rail { height: auto !important; }
	.train-rail__sticky { position: static; height: auto; overflow: visible; }
	.train-rail__track { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.train-card {
	position: relative; flex: 0 0 clamp(260px,32vw,460px); overflow: hidden; background: #121310;
}
.train-card img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(.3) brightness(.55);
	transition: transform 1.3s var(--ease), filter 0.8s ease;
}
.train-card:hover img { transform: scale(1.07); filter: grayscale(0) brightness(.72); }
.train-card::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(8,9,7,.92), transparent 62%);
}
.train-card__body {
	position: relative; height: 100%; display: flex; flex-direction: column;
	justify-content: space-between; padding: clamp(20px,2.2vw,34px);
}
.train-card__num { font-size: 10.5px; letter-spacing: 0.3em; color: var(--accent); }
.train-card__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(26px,2.6vw,44px); margin: 0 0 10px; }
.train-card__desc { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-body); max-width: 32ch; }
.train-card--cta {
	background: var(--accent); color: var(--bg-dark);
	padding: clamp(22px,2.4vw,38px); display: flex; flex-direction: column; justify-content: space-between;
}
.train-card--cta .train-card__num { color: var(--bg-dark); }
.train-card--cta .train-card__title { color: var(--bg-dark); }
.train-card--cta .train-card__desc { color: #14100C; margin-bottom: 24px; }

/* ==========================================================================
   RECOVERY — (03)
   ========================================================================== */
.recovery { padding: clamp(72px,12vw,180px) 0; }
.recovery__head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 22px; margin-bottom: clamp(30px,5vw,64px);
}
.recovery__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
	gap: clamp(12px,1.4vw,22px);
}
.recovery-tile {
	position: relative; overflow: hidden; min-height: clamp(320px,36vw,520px);
	display: flex; align-items: flex-end;
}
.recovery-tile img {
	position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover;
	filter: grayscale(.4) brightness(.6);
}
.recovery-tile::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(8,9,7,.94), transparent 66%);
}
.recovery-tile__body { position: relative; padding: clamp(20px,2.2vw,34px); }
.recovery-tile__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(24px,2.3vw,38px); margin: 0 0 10px; }
.recovery-tile__desc { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-body); max-width: 30ch; }
.protocol-card {
	border: 1px solid var(--border-dark); min-height: clamp(320px,36vw,520px);
	padding: clamp(22px,2.4vw,38px); display: flex; flex-direction: column; justify-content: space-between;
	transition: background 0.6s ease, border-color 0.6s ease;
}
.protocol-card:hover { background: #101109; border-color: rgba(var(--accent-rgb),.5); }
.protocol-card__label { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.protocol-card__step { border-top: 1px solid var(--border-dark); padding-top: 14px; }
.protocol-card__step h4 { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 400; font-size: clamp(19px,1.7vw,26px); }
.protocol-card__step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-light); }

/* ==========================================================================
   OUR SPACE — (04) drag-scroll strip
   ========================================================================== */
.space-strip { padding: clamp(60px,9vw,130px) 0 clamp(72px,11vw,160px); background: var(--bg-warm); overflow: hidden; }
.space-strip__head {
	max-width: 1680px; margin: 0 auto clamp(26px,4vw,48px); padding: 0 clamp(16px,3vw,44px);
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px;
}
.space-strip__track {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px,1.4vw,20px); max-width: 1680px; margin: 0 auto;
	padding: 0 clamp(16px,3vw,44px) 22px;
}
.space-strip figure { margin: 0; }
.space-strip figure div { overflow: hidden; }
.space-strip img {
	width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
	filter: grayscale(.35) brightness(.72);
	transition: transform 1.2s var(--ease), filter 0.7s ease;
}
.space-strip figure:hover img { transform: scale(1.06); filter: grayscale(0) brightness(.9); }
.space-strip figcaption { margin-top: 12px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-light); }

/* ==========================================================================
   PACKAGES — (05) table-row links
   ========================================================================== */
.pkg-rows { border-top: 1px solid var(--border); }
.pkg-row {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
	gap: clamp(12px,2.6vw,44px); align-items: center;
	padding: clamp(22px,3.2vw,46px) clamp(4px,1.4vw,20px);
	border-bottom: 1px solid var(--border);
	transition: padding-left 0.6s var(--ease), background 0.6s ease;
}
.pkg-row:hover { padding-left: clamp(16px,3vw,44px); background: var(--bg-deep); }
.pkg-row__name { display: flex; align-items: baseline; gap: 16px; }
.pkg-row__num { font-size: 10.5px; letter-spacing: 0.3em; color: var(--accent); }
.pkg-row__title { font-family: var(--font-heading); font-size: clamp(28px,3.6vw,58px); line-height: 1; }
.pkg-row__desc { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-body); }
.pkg-row__meta { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-light); }
.pkg-row__link { justify-self: start; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.pkg-follow {
	position: fixed; top: 0; left: 0; width: clamp(200px,20vw,320px); aspect-ratio: 4/5;
	object-fit: cover; pointer-events: none; z-index: 60; opacity: 0;
	transform: translate3d(-999px,-999px,0) scale(.85);
	transition: opacity 0.5s ease, transform 0.5s var(--ease);
}
@media (max-width: 1024px) { .pkg-follow { display: none; } }

/* ==========================================================================
   REVIEWS — (06) user-scrollable card row
   ========================================================================== */
.review-slider { padding: clamp(64px,10vw,150px) 0; background: var(--bg-warm); border-top: 1px solid var(--border-dark); text-align: center; }
.review-slider__inner { max-width: 1680px; margin: 0 auto; padding: 0 clamp(16px,3vw,44px); }
.review-slider__track {
	display: flex; gap: clamp(16px,2vw,28px); overflow-x: auto; scroll-snap-type: x proximity;
	padding: 4px 4px clamp(20px,3vw,32px); text-align: left;
	scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.review-slider__slide {
	margin: 0; flex: 0 0 clamp(260px,32vw,400px); scroll-snap-align: start;
	padding: clamp(24px,2.6vw,36px) clamp(20px,2.2vw,28px); background: var(--bg-deep); border: 1px solid var(--border-dark);
}
.review-slider__quote {
	margin: 0 0 20px; font-family: var(--font-heading); font-weight: 300;
	font-size: clamp(17px,1.6vw,21px); line-height: 1.45; font-style: italic;
}
.review-slider__author { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); }

/* ==========================================================================
   CONTACT — homepage-only heading block above the shared site footer
   ========================================================================== */
.home-contact { position: relative; overflow: hidden; padding: clamp(80px,13vw,200px) 0 clamp(46px,7vw,110px); }
.home-contact__grid {
	position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
	gap: clamp(34px,5vw,90px); align-items: end;
}
.home-contact__heading {
	font-family: var(--font-heading); font-weight: 300;
	font-size: clamp(40px,7vw,120px); line-height: .96; letter-spacing: -0.025em; margin: 0 0 22px;
}
.home-contact__sub { margin: 0 0 30px; font-size: clamp(14.5px,1.1vw,17px); line-height: 1.7; color: var(--text-body); max-width: 40ch; }
.home-contact__meta { display: grid; gap: clamp(18px,2.4vw,30px); }
.home-contact__meta-label { margin: 0 0 8px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-light); }
.home-contact__meta-value { margin: 0; font-size: 14.5px; line-height: 1.9; color: #CFCABF; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
	padding: var(--section-py) 0; text-align: center;
	background: var(--accent); color: var(--ink-on-brass);
}
.cta-banner__heading {
	font-family: var(--font-heading); font-weight: 300;
	font-size: var(--heading-xl); color: var(--ink-on-brass); margin-bottom: 16px;
}
.cta-banner__sub {
	font-size: 1.05rem; color: var(--ink-on-brass); opacity: 0.75; margin-bottom: 40px;
}
.cta-banner__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-solid { background: var(--ink-on-brass); color: var(--text-on-dark); border-color: var(--ink-on-brass); }
.cta-banner .btn-solid:hover { background: var(--bg-dark); border-color: var(--bg-dark); }
.cta-banner .btn-outline { border-color: var(--ink-on-brass); color: var(--ink-on-brass); }
.cta-banner .btn-outline:hover { background: var(--ink-on-brass); color: var(--text-on-dark); }
.section--dark .btn-fill { border-color: var(--accent); color: var(--text-on-dark); }
.section--dark .btn-fill:hover { color: var(--bg-dark); }
.section--dark .btn-outline {
	border-color: var(--border-dark); color: var(--text-on-dark-muted);
}
.section--dark .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   BLOG PREVIEW
   ========================================================================== */
.blog-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 24px; margin-top: 56px;
}
.blog-card {
	background: var(--bg-cream); border: 1px solid var(--border);
	display: flex; flex-direction: column;
	transition: border-color 0.3s, transform 0.3s var(--ease);
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.blog-card__image-link { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card__image { transform: scale(1.04); }
.blog-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date {
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
	text-transform: uppercase; color: var(--text-light); margin-bottom: 10px;
}
.blog-card__title {
	font-family: var(--font-heading); font-weight: 600;
	font-size: 1.2rem; line-height: 1.35; margin-bottom: 12px;
}
.blog-card__title a { color: var(--text-dark); transition: color 0.3s; }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; flex: 1; }

/* blog card read-more link */
.blog-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-card__link {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 0.82rem; font-weight: 600; color: var(--accent);
	letter-spacing: 0.04em; margin-top: auto; padding-top: 16px;
	transition: gap 0.3s var(--ease);
}
.blog-card__link:hover { gap: 10px; }

/* category pill */
.blog-cat-tag {
	display: inline-block;
	font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--accent);
	background: rgba(183,101,75,.08); border: 1px solid rgba(183,101,75,.2);
	padding: 3px 10px; border-radius: 100px;
	transition: background 0.3s;
}
.blog-cat-tag:hover { background: rgba(183,101,75,.16); }
.blog-cat-tag--sm { font-size: 0.65rem; padding: 2px 8px; }

/* ==========================================================================
   BLOG FEATURED POST
   ========================================================================== */
.blog-featured {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 0; border: 1px solid var(--border);
	text-decoration: none;
	transition: border-color 0.3s, box-shadow 0.3s;
	overflow: hidden;
}
.blog-featured:hover { border-color: var(--accent); box-shadow: 0 16px 48px rgba(26,24,20,.07); }
.blog-featured__image-wrap { overflow: hidden; aspect-ratio: 4/3; }
.blog-featured__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-featured:hover .blog-featured__image { transform: scale(1.04); }
.blog-featured__body {
	padding: 48px 52px; display: flex; flex-direction: column;
	justify-content: center; background: var(--bg-warm);
}
.blog-featured__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.blog-featured__title {
	font-family: var(--font-heading); font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 600; line-height: 1.2; color: var(--text-dark); margin-bottom: 16px;
}
.blog-featured__excerpt { font-size: 0.95rem; color: var(--text-body); line-height: 1.75; margin-bottom: 28px; flex: 1; }
.blog-featured__cta {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--accent);
	transition: gap 0.3s var(--ease);
}
.blog-featured:hover .blog-featured__cta { gap: 12px; }

/* ==========================================================================
   BLOG PAGINATION
   ========================================================================== */
.blog-pagination { margin-top: 64px; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.blog-pagination .page-numbers {
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border: 1px solid var(--border);
	font-size: 0.85rem; font-weight: 500; color: var(--text-body);
	transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
	border-color: var(--accent); color: var(--accent); background: rgba(183,101,75,.06);
}
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next { width: auto; padding: 0 16px; font-size: 0.8rem; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { padding: 160px 0 80px; background: var(--bg-warm); text-align: center; }
.page-hero__heading {
	font-family: var(--font-heading); font-weight: 600;
	font-size: var(--heading-xl); line-height: 1.1; margin-bottom: 20px;
}
.page-hero__sub {
	font-size: 1.05rem; color: var(--text-body);
	max-width: 600px; margin: 0 auto; line-height: 1.75;
}

/* Photo variant — the 6 redesigned service/content pages use a full-bleed
   image breadcrumb hero instead of the plain text hero above. */
.page-hero--photo {
	position: relative; min-height: 74svh; display: flex; align-items: flex-end;
	overflow: hidden; padding: 0; background: var(--bg-dark); text-align: left;
}
.page-hero--photo .page-hero__bg { position: absolute; inset: -12% 0; }
.page-hero--photo .page-hero__bg img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(.35) contrast(1.1) brightness(.58);
}
.page-hero--photo .page-hero__bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, var(--bg-dark) 2%, rgba(8,9,7,.42) 60%, rgba(8,9,7,.82) 100%);
}
.page-hero--photo .container {
	position: relative; padding-top: clamp(90px,12vh,150px); padding-bottom: clamp(34px,6vh,72px);
}
.page-hero__crumb {
	margin: 0 0 16px; font-size: 10.5px; letter-spacing: 0.34em;
	text-transform: uppercase; color: var(--text-light);
}
.page-hero__crumb a { color: var(--text-light); }
.page-hero__crumb a:hover { color: var(--accent); }
.page-hero--photo .page-hero__heading {
	font-family: var(--font-heading); font-weight: 300;
	font-size: clamp(46px,9vw,150px); line-height: 1; letter-spacing: -0.03em;
	margin: 0 0 22px;
}
.page-hero--photo .page-hero__heading em { font-style: italic; color: var(--accent); }
.page-hero--photo .page-hero__sub {
	margin: 0; max-width: 48ch; font-size: clamp(15px,1.15vw,18px);
	line-height: 1.7; color: var(--text-body); text-align: left;
}

/* ==========================================================================
   PACKAGES PAGE
   ========================================================================== */
.modes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.modes__grid > .js-reveal { display: flex; }
.modes__grid > .js-reveal > .mode-card { flex: 1; }
.mode-card {
	padding: 44px 36px; background: var(--bg-cream); border: 1.5px solid var(--border);
	display: flex; flex-direction: column;
	transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
	position: relative;
}
.mode-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,24,20,0.06); }
.mode-card--featured {
	border-color: var(--accent); background: var(--bg-dark); color: var(--text-on-dark);
}
.mode-card--featured:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(26,24,20,0.15); }
.mode-card__badge {
	position: absolute; top: -1px; right: 28px;
	background: var(--accent); color: var(--ink-on-brass);
	font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
	text-transform: uppercase; padding: 6px 14px;
}
.mode-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.7rem; margin-bottom: 12px; }
.mode-card__desc { font-size: 0.95rem; line-height: 1.75; margin-bottom: 24px; color: var(--text-body); }
.mode-card--featured .mode-card__desc { color: var(--text-on-dark-muted); }
.mode-card__features { list-style: none; margin-bottom: 28px; flex: 1; }
.mode-card__features li {
	font-size: 0.88rem; padding: 9px 0; border-bottom: 1px solid var(--border);
	display: flex; align-items: center; gap: 10px;
}
.mode-card--featured .mode-card__features li { border-color: var(--border-dark); color: var(--text-on-dark-muted); }
.mode-card__features li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.mode-card__cta { margin-top: auto; }
.mode-card__cta .btn-fill,
.mode-card__cta .btn-solid { width: 100%; justify-content: center; }

.services-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.services-strip > .js-reveal { display: flex; }
.services-strip > .js-reveal > .svc-card { flex: 1; }
.svc-card {
	padding: 36px 28px; text-align: center;
	background: var(--bg-cream); border: 1px solid var(--border);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
	display: flex; flex-direction: column; align-items: center;
}
.svc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; margin-bottom: 10px; }
.svc-card__desc { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }
.svc-card__tag {
	display: inline-block; margin-top: auto; font-size: 0.7rem; font-weight: 700;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
	padding: 5px 12px; border: 1px solid var(--accent); border-radius: 100px;
}

.matrix-wrap { margin-top: 56px; }
.matrix { width: 100%; border-collapse: collapse; text-align: center; }
.matrix th {
	font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--text-light);
	padding: 16px 12px; border-bottom: 2px solid var(--border);
}
.matrix th:first-child { text-align: left; }
.matrix td {
	padding: 16px 12px; border-bottom: 1px solid var(--border);
	font-size: 0.9rem; color: var(--text-body);
}
.matrix td:first-child { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--text-dark); text-align: left; }
.matrix .check { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.matrix tr:hover td { background: rgba(196, 115, 79, 0.03); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; text-align: center; }
.stat__num { font-family: var(--font-heading); font-weight: 600; font-size: 2.4rem; color: var(--accent); margin-bottom: 8px; }
.stat__label { font-size: 0.88rem; color: var(--text-body); line-height: 1.5; }

.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.step__number { font-family: var(--font-heading); font-weight: 600; font-size: 3rem; color: var(--accent); opacity: 0.2; line-height: 1; margin-bottom: 12px; }
.step__title { font-family: var(--font-heading); font-weight: 600; font-size: var(--heading-md); margin-bottom: 10px; }
.step__desc { font-size: 0.92rem; color: var(--text-body); line-height: 1.7; }

.join-form {
	max-width: 600px; margin: 56px auto 0;
	background: var(--bg-warm); padding: 48px;
}
.join-form__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.4rem; margin-bottom: 8px; text-align: center; }
.join-form__sub { font-size: 0.95rem; color: var(--text-body); text-align: center; margin-bottom: 32px; line-height: 1.6; }

/* Inline mode explainer — shown just before the mode/service selects */
.mode-guide {
    margin-bottom: 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-cream);
}
.mode-guide summary {
    font-family: var(--font-body);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent-text);
    padding: 11px 16px;
    cursor: pointer;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    user-select: none;
}
.mode-guide summary::-webkit-details-marker { display: none; }
.mode-guide summary::after { content: '+'; font-size: 1rem; font-weight: 300; transition: none; }
.mode-guide[open] summary::after { content: '−'; }
.mode-guide__list { margin: 0; padding: 0 16px 12px; list-style: none; }
.mode-guide__list li {
    font-size: 0.85rem; line-height: 1.65;
    color: var(--text-body); padding: 8px 0;
}
.mode-guide__list li + li { border-top: 1px solid var(--border); }
.mode-guide__list strong { color: var(--text-dark); }
/* Honeypot — visually hidden from humans, visible to bots */
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
	opacity: 0;
}

.form-group { margin-bottom: 18px; position: relative; }
.form-group label {
	display: block; font-size: 10.5px; font-weight: 500;
	letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--text-light); margin-bottom: 9px;
}
.form-required { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%; padding: 12px 0;
	font-family: var(--font-body); font-size: 1rem;
	color: var(--text-dark); background: transparent;
	border: 0; border-bottom: 1.5px solid var(--border); border-radius: 0;
	outline: none; transition: border-color 0.4s ease;
	-webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Validation error state */
.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
	border-bottom-color: var(--error);
}
.form-group.is-invalid input:focus,
.form-group.is-invalid select:focus,
.form-group.is-invalid textarea:focus {
	border-bottom-color: var(--error);
}
.field-error {
	display: block;
	font-size: 0.72rem; font-weight: 500;
	color: var(--error-text);
	margin-top: 5px;
	opacity: 0; transform: translateY(-4px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
	pointer-events: none;
}
.form-group.is-invalid .field-error { opacity: 1; transform: none; }

/* Submit button states */
.btn-form-loading {
	opacity: 0.75;
	pointer-events: none;
	cursor: not-allowed;
}
.btn-form-loading .btn-label { visibility: hidden; }
.btn-form-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.form-spinner {
	display: none;
	width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
}
.btn-form-loading .form-spinner { display: block; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Form-level error banner */
.form-error-banner {
	background: rgba(var(--error-rgb),0.08);
	border: 1px solid rgba(var(--error-rgb),0.25);
	color: var(--error-text);
	font-size: 0.85rem;
	padding: 12px 16px;
	margin-bottom: 18px;
	opacity: 0; transform: translateY(-6px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.form-error-banner.is-visible { opacity: 1; transform: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { text-align: center; padding: 48px 0; }
.form-success h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.6rem; margin-bottom: 12px; }
.form-success p { color: var(--text-body); }

/* AJAX inline success — replaces form content */
.form-ajax-success {
	text-align: center;
	padding: 48px 0;
	animation: fadeSlideIn 0.5s var(--ease) forwards;
}
.form-ajax-success__icon {
	width: 48px; height: 48px;
	border: 1.5px solid var(--accent-text);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 24px;
	color: var(--accent-text);
}
.form-ajax-success__title {
	font-family: var(--font-heading);
	font-size: 1.7rem; font-weight: 600;
	margin-bottom: 10px;
}
.form-ajax-success__sub { color: var(--text-body); font-size: 0.95rem; }
@keyframes fadeSlideIn {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story__text p { font-size: 1.05rem; color: var(--text-body); line-height: 1.85; margin-bottom: 24px; }
.story__image { position: relative; overflow: hidden; background: #121310; }
.story__image img {
	width: 100%; height: 500px; object-fit: cover; display: block;
	filter: grayscale(.25) brightness(.8);
	transition: transform 1.1s var(--ease), filter 0.8s ease;
}
.story__image:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1); }
.story__image::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(8,9,7,.85), transparent 55%);
	pointer-events: none;
}
.story__image__caption {
	position: absolute; left: 24px; bottom: 22px; z-index: 1;
	font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-dark);
}
@media (max-width: 768px) {
	.story__image img { height: 280px; }
}

/* STORY SECTION — MOTION ENHANCEMENTS */
.story__grid .section-label::before {
	transform-origin: left center;
}
.story__grid .js-reveal.is-visible .section-label::before {
	animation: story-rule-in 0.5s var(--ease) 0.15s both;
}
@keyframes story-rule-in {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

.story__grid .js-reveal-left .story__image {
	filter: blur(4px);
	transition: filter 0.9s var(--ease);
}
.story__grid .js-reveal-left.is-visible .story__image {
	filter: none;
}

.story__grid .story__image__caption {
	opacity: 0; transform: translateY(12px);
	transition: opacity 0.6s var(--ease) 0.6s, transform 0.6s var(--ease) 0.6s;
}
.story__grid .js-reveal-left.is-visible .story__image__caption {
	opacity: 1; transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.story__grid .js-reveal.is-visible .section-label::before { animation: none !important; }
	.story__grid .js-reveal-left .story__image,
	.story__grid .js-reveal-left.is-visible .story__image { filter: none; transition: none; }
	.story__grid .story__image__caption,
	.story__grid .js-reveal-left.is-visible .story__image__caption { opacity: 1; transform: none; transition: none; }
}

.trainer-about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.trainer-about__image { overflow: hidden; background: var(--bg-warm); }
.trainer-about__image img { width: 100%; height: 520px; object-fit: cover; object-position: top; }
.trainer-about__role {
	font-size: 0.8rem; font-weight: 600; color: var(--accent);
	letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; margin-bottom: 24px;
}
.trainer-about__bio { font-size: 1.05rem; color: var(--text-body); line-height: 1.85; margin-bottom: 24px; }
.trainer-about__certs { list-style: disc; padding-left: 20px; }
.trainer-about__certs li { font-size: 0.92rem; color: var(--text-body); margin-bottom: 8px; line-height: 1.6; }

/* Team bios — editorial alternating layout, full bio behind a toggle */
.team__list { display: flex; flex-direction: column; gap: 96px; margin-top: 56px; }
.team-card {
	display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center;
}
.team-card--reverse { grid-template-columns: 1.15fr 0.85fr; }
.team-card--reverse .team-card__photo { order: 2; }
.team-card--reverse .team-card__body { order: 1; }

.team-card__photo { position: relative; overflow: hidden; background: #121310; border-bottom: 2px solid var(--accent); }
.team-card__photo img {
	position: relative; width: 100%; height: 460px;
	object-fit: cover; object-position: top; display: block;
	filter: grayscale(.3) brightness(.85);
	transition: transform 1s var(--ease), filter 0.7s ease;
}
.team-card__photo:hover img { transform: scale(1.04); filter: grayscale(0) brightness(1); }

.team-card__kicker {
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--accent-text); margin-bottom: 10px;
}
.team-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 2rem; line-height: 1.15; color: var(--text-dark); margin-bottom: 6px; }
.team-card__role { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }
.team-card__degree { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; margin-bottom: 24px; }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.team-card__toggle {
	display: inline-flex; align-items: center; gap: 10px; background: none; border: none; padding: 0;
	cursor: pointer; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	font-family: var(--font-body); color: var(--accent-text); transition: gap 0.3s var(--ease);
}
.team-card__toggle:hover { gap: 16px; }
.team-card__toggle-icon {
	width: 26px; height: 26px; flex-shrink: 0; border: 1.5px solid var(--border);
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 0.85rem; color: var(--text-light); transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.team-card--open .team-card__toggle-icon { border-color: var(--accent); color: var(--accent); transform: rotate(45deg); }
.team-card__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.team-card--open .team-card__panel { grid-template-rows: 1fr; }
.team-card__panel-inner { overflow: hidden; min-height: 0; }
.team-card__panel-inner p { font-size: 1rem; color: var(--text-body); line-height: 1.85; margin-bottom: 20px; max-width: 60ch; }
.team-card__panel-inner p:first-child { padding-top: 28px; }
.team-card__certs-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark); margin: 8px 0 16px; }
.team-card__certs { list-style: none; padding: 0; margin: 0; max-width: 60ch; }
.team-card__certs li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--text-body); line-height: 1.7; margin-bottom: 14px; }
.team-card__certs li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 10px; height: 1.5px; background: var(--accent); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: start; margin-top: 48px; }
.faq__intro { position: sticky; top: 140px; }
.faq__intro-text { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; max-width: 32ch; }
.faq__intro-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--accent-text); }
.faq__intro-link span { display: inline-block; transition: transform 0.3s var(--ease); }
.faq__intro-link:hover span { transform: translateX(4px); }

.faq__list { max-width: 760px; }
.faq-item { display: grid; grid-template-columns: 40px 1fr; gap: 20px; border-bottom: 1px solid var(--border); }
.faq-item__num {
	padding-top: 26px; font-family: var(--font-heading); font-style: italic; font-size: 1.15rem;
	color: var(--text-light); transition: color 0.4s var(--ease);
}
.faq-item--open .faq-item__num { color: var(--accent-text); }

.faq-item__body { position: relative; }
.faq-item__body::after {
	content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
	background: var(--accent); transform: scaleX(0); transform-origin: left;
	transition: transform 0.4s var(--ease);
}
.faq-item--open .faq-item__body::after { transform: scaleX(1); }

.faq-item__q {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	width: 100%; text-align: left; padding: 24px 0; cursor: pointer;
	font-family: var(--font-body); font-size: 1.05rem; font-weight: 600;
	color: var(--text-dark); transition: color 0.3s; user-select: none;
}
.faq-item__q:hover { color: var(--accent); }

.faq-item__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after {
	content: ''; position: absolute; top: 50%; left: 50%; background: var(--text-light);
	transition: background 0.3s, transform 0.4s var(--ease);
}
.faq-item__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item__q:hover .faq-item__icon::before,
.faq-item__q:hover .faq-item__icon::after { background: var(--accent); }
.faq-item--open .faq-item__icon::before,
.faq-item--open .faq-item__icon::after { background: var(--accent-text); }
.faq-item--open .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item--open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a p {
	font-size: 0.95rem; color: var(--text-body); line-height: 1.8; min-height: 0; overflow: hidden;
	padding-bottom: 28px; max-width: 64ch;
	opacity: 0; transform: translateY(-6px);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.faq-item--open .faq-item__a p { opacity: 1; transform: none; transition-delay: 0.1s; }

@media (max-width: 768px) {
	.faq__grid { grid-template-columns: 1fr; gap: 32px; }
	.faq__intro { position: static; }
}

/* ==========================================================================
   IN-STUDIO PAGE
   ========================================================================== */
.space-intro p { font-size: 1.05rem; color: var(--text-body); line-height: 1.85; margin-bottom: 20px; max-width: 700px; }
.studio-split { display: grid; grid-template-columns: 55fr 45fr; gap: 72px; align-items: center; }
.studio-split__image { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-warm); }
.studio-split__image img { width: 100%; height: 520px; object-fit: cover; object-position: center; display: block; }
@media (max-width: 900px) {
	.studio-split { grid-template-columns: 1fr; gap: 32px; }
	.studio-split__image img { height: 280px; }
}
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.equip-card {
	padding: 32px 28px; background: var(--bg-cream); border: 1px solid var(--border);
	transition: border-color 0.3s; position: relative;
}
.equip-card:hover { border-color: var(--accent); }
.equip-card__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; margin-bottom: 12px; }
.equip-card__desc { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }
.equip-card__tag {
	display: inline-block; margin-top: 16px; font-size: 0.68rem; font-weight: 700;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}

/* Full-bleed image break — respects the image's natural aspect ratio. */
.page-img-break {
	width: 100%;
	overflow: hidden;
	background: var(--bg-warm);
	line-height: 0;
}
.page-img-break img {
	display: block;
	width: 100%;
	aspect-ratio: 21/9;
	object-fit: cover;
	object-position: center 40%;
	filter: grayscale(.3) brightness(.7);
}

/* Studio photo grid — editorial mosaic (feature tiles anchor the eye, the rest
   read as a compact contact-sheet strip) + shared lightbox (data-lightbox).
   Row height is fixed so tiles compose by span, not by each photo's own
   aspect ratio — this is what keeps 18 photos from reading as a giant
   uniform equipment-catalog wall. */
.studio-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
	grid-auto-rows: 150px;
	gap: clamp(6px,.8vw,10px); grid-auto-flow: dense; margin-top: 56px;
}
.studio-grid figure {
	margin: 0; overflow: hidden; position: relative; cursor: pointer;
	content-visibility: auto;
	contain-intrinsic-size: 150px;
}
.studio-grid figure.is-wide { grid-column: span 2; }
.studio-grid figure.is-feature { grid-column: span 2; grid-row: span 2; }
.studio-grid img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	filter: grayscale(.35) brightness(.72);
	transition: transform 1.2s var(--ease), filter 0.7s ease;
}
.studio-grid figure:hover img { transform: scale(1.06); filter: grayscale(0) brightness(.95); }

/* Dressing-room carousel */
.dressing-hd {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}
.dressing-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	padding-bottom: 6px;
}
.dressing-nav__count {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.45);
	min-width: 52px;
	text-align: right;
}
.dressing-nav__count strong { color: #fff; font-weight: 600; }
.dressing-nav__btn {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: transparent;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
}
.dressing-nav__btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
	transform: scale(1.04);
}
.dressing-nav__btn:disabled { opacity: 0.28; cursor: default; }
.dressing-wrap {
	overflow: hidden;
	position: relative;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.dressing-track {
	display: flex;
	gap: 10px;
	will-change: transform;
}
.dressing-slide {
	flex: 0 0 calc(100% / 3.2);
	height: 290px;
	overflow: hidden;
	border-radius: 6px;
	cursor: pointer;
	position: relative;
}
.dressing-slide img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.7s var(--ease);
}
.dressing-slide:hover img { transform: scale(1.04); }
.dressing-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 22px;
}
.dressing-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(255, 255, 255, 0.22);
	cursor: pointer;
	transition: background 0.25s, transform 0.25s;
}
.dressing-dot:hover {
	background: rgba(255, 255, 255, 0.5);
}
.dressing-dot.is-active {
	background: var(--accent, #c5a059);
	transform: scale(1.4);
}
/* Lightbox */
.lightbox-overlay {
	position: fixed; inset: 0; z-index: 500;
	background: rgba(10, 9, 8, 0.96);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
	max-width: 90vw; max-height: 85vh; object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
	will-change: transform;
}
.lightbox-close {
	position: absolute; top: 22px; right: 28px; z-index: 510;
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	font-size: 1.35rem; color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%; cursor: pointer;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: color 0.2s, background 0.2s, transform 0.2s;
}
.lightbox-close:hover { color: #fff; background: rgba(255, 255, 255, 0.18); transform: scale(1.05); }
.lightbox-prev, .lightbox-next {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 510;
	width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
	font-size: 1.5rem; color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%; cursor: pointer;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: color 0.2s, background 0.2s, transform 0.2s;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { color: #fff; background: rgba(255, 255, 255, 0.18); transform: translateY(-50%) scale(1.06); }

/* ==========================================================================
   PILATES / SERVICE PAGE
   ========================================================================== */
.service-intro { max-width: 720px; }
.service-intro p { font-size: 1.1rem; color: var(--text-body); line-height: 1.85; margin-bottom: 24px; }
.levels-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 1px;
	background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
	margin-top: 56px;
}
.level-card {
	padding: clamp(24px,2.8vw,44px) clamp(18px,2vw,32px); background: var(--bg-dark);
	position: relative; transition: background 0.6s ease;
}
.level-card:hover { background: #111209; }
.level-card__num {
	font-size: 10.5px; letter-spacing: 0.3em; color: var(--accent);
	font-family: var(--font-body); font-weight: 400; opacity: 1;
}
.level-card__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(24px,2.2vw,36px); margin: clamp(34px,5vw,80px) 0 12px; }
.level-card__desc { font-size: 14.5px; color: var(--text-body); line-height: 1.7; max-width: 34ch; }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: clamp(20px,2.6vw,42px); margin-top: 56px; }
.benefit-item {
	display: block; padding-top: 20px; border-top: 1px solid var(--border);
}
.benefit-item__icon { display: block; color: var(--accent); font-size: 13px; margin-bottom: 10px; }
.benefit-item__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(21px,1.9vw,28px); margin-bottom: 8px; }
.benefit-item__desc { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
/* Info cards — same hairline divider-grid language as .levels-grid */
.contact-cards {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1px;
	background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.contact-card {
	background: var(--bg-dark); padding: clamp(24px,2.6vw,40px) clamp(18px,2vw,30px);
	display: block; transition: background 0.6s ease;
}
a.contact-card:hover { background: #0E0F0C; }
.contact-card__label {
	margin: 0 0 clamp(30px,4vw,64px); font-size: 10.5px; letter-spacing: 0.3em;
	text-transform: uppercase; color: var(--accent);
}
.contact-card__value { margin: 0 0 8px; font-family: var(--font-heading); font-size: clamp(22px,2vw,32px); line-height: 1.15; color: var(--text-dark); word-break: break-word; }
.contact-card__meta { margin: 0; font-size: 14px; color: var(--text-body); }
.contact-card__meta em { font-style: normal; color: var(--accent-hover); }
.hours-grid { display: grid; gap: 16px; }
.hours-grid__row { padding-top: 14px; border-top: 1px solid var(--border-dark); }
.hours-grid__row:first-child { padding-top: 0; border-top: 0; }
.hours-grid__day { display: block; font-size: 12px; letter-spacing: 0.02em; color: var(--text-light); margin-bottom: 6px; }
.hours-grid__times { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; }
.hours-grid__times span { font-family: var(--font-heading); font-size: 19px; line-height: 1.3; color: var(--text-dark); }
.hours-grid__times .hours-grid__closed { color: var(--text-body); font-family: var(--font-body); font-size: 14px; }

.contact-quick-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.contact-quick-links .btn-outline svg { width: 15px; height: 15px; flex-shrink: 0; }

.contact-form-panel {
	border: 1px solid var(--border-dark); background: var(--bg-dark);
	padding: clamp(28px,3.2vw,44px);
}

/* Map + floating address card */
.map-frame { position: relative; border: 1px solid var(--border-dark); overflow: hidden; }
.map-frame iframe { width: 100%; height: 520px; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.map-frame__card {
	position: absolute; left: clamp(14px,2vw,28px); bottom: clamp(14px,2vw,28px);
	background: rgba(8,9,7,.92); border: 1px solid var(--border-dark);
	padding: clamp(16px,1.8vw,24px); max-width: 320px;
}
.map-frame__card p:first-child { margin: 0 0 6px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.map-frame__card p:nth-child(2) { margin: 0 0 14px; font-family: var(--font-heading); font-size: clamp(19px,1.7vw,25px); line-height: 1.2; }

/* ==========================================================================
   FOOTER CTA STRIP
   ========================================================================== */
.footer-cta { padding: 64px 0; }
.footer-cta__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px; flex-wrap: wrap;
}
.footer-cta__heading {
	font-size: var(--heading-lg); font-weight: 300; margin: 0;
}
.footer-cta__meta {
	display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.footer-cta__hours {
	display: flex; flex-direction: column; gap: 4px;
	font-size: 0.82rem; color: var(--text-on-dark-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { padding: 72px 0 36px; background: var(--bg-deep); color: var(--text-on-dark); }
.footer__grid {
	display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
	gap: 48px; margin-bottom: 56px;
}
.footer__logo { margin-bottom: 16px; }
.footer__logo img, .footer__logo .custom-logo {
	height: 32px; width: auto;
	filter: brightness(0) invert(1); opacity: 0.85;
}
.footer__logo .site-logo__text { color: var(--text-on-dark); opacity: 0.85; font-size: 1rem; }
.footer__tagline { font-size: 0.9rem; color: var(--text-on-dark-muted); margin-bottom: 20px; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
	width: 44px; height: 44px; border: 1px solid var(--border-dark);
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: var(--text-on-dark-muted); transition: border-color 0.3s, color 0.3s;
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__social svg { width: 16px; height: 16px; }
.footer__col-title {
	font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.15em; color: var(--text-on-dark); margin-bottom: 20px;
}
.footer__col a, .footer__col p {
	display: block; font-size: 0.88rem; color: var(--text-on-dark-muted);
	margin-bottom: 10px; transition: color 0.3s; line-height: 1.5;
}
.footer__col a:hover { color: var(--accent); }
.footer__wordmark {
	font-family: var(--font-heading); font-weight: 300;
	font-size: clamp(3rem, 12vw, 9rem); line-height: 1;
	color: var(--text-on-dark); opacity: 0.05;
	text-align: center; margin-bottom: 40px; white-space: nowrap; overflow: hidden;
}
.footer__bottom {
	display: flex; justify-content: space-between; align-items: center;
	padding-top: 28px; border-top: 1px solid var(--border-dark);
}
.footer__bottom p { font-size: 0.78rem; color: var(--text-on-dark-muted); }
.footer__legal { display: flex; gap: 20px; align-items: center; }
.footer__legal a,
.footer__legal button {
	font-size: 0.78rem;
	color: var(--text-on-dark-muted);
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font-family: inherit;
	transition: color 0.3s;
}
.footer__legal a:hover,
.footer__legal button:hover { color: var(--text-on-dark); }

/* ==========================================================================
   LEGAL PAGES (Terms & Privacy)
   ========================================================================== */

.legal-prose {
	max-width: 760px;
	margin: 0 auto;
	padding: 60px 0 80px;
}
.legal-prose .legal-last-updated {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-bottom: 48px;
	display: block;
}
.legal-prose h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 600;
	color: var(--text-dark);
	margin: 48px 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border-light);
}
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose h3 {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 28px 0 10px;
}
.legal-prose p {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--text-body);
	margin-bottom: 14px;
}
.legal-prose ul {
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
}
.legal-prose ul li {
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--text-body);
	padding-left: 20px;
	position: relative;
	margin-bottom: 6px;
}
.legal-prose ul li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 600;
}
.legal-prose strong { color: var(--text-dark); font-weight: 600; }
.legal-prose a { color: var(--accent-text); text-decoration: underline; }
.legal-prose a:hover { color: var(--accent); }
.legal-prose .legal-contact-box {
	background: var(--bg-warm);
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 20px 24px;
	margin-top: 20px;
}
.legal-prose .legal-contact-box p { margin-bottom: 4px; font-size: 0.9rem; }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

/* Cover image — full-bleed, pushed below the fixed header (76px = 20px pad + 36px logo + 20px pad) */
.post-cover { width: 100%; height: 500px; overflow: hidden; background: var(--bg-warm); margin-top: 76px; }
.post-cover__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Article header — narrow editorial column below the cover */
.post-header { background: var(--bg-warm); padding: 52px 0 44px; border-bottom: 1px solid var(--border); }
.post-header__inner { max-width: 720px; margin: 0 auto; padding: 0 var(--container-pad); }
.post-header__eyebrow {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	margin-bottom: 20px;
}
.post-header__date { font-size: 0.78rem; color: var(--text-light); }
.post-header__read-time {
	font-size: 0.78rem; color: var(--text-light);
	padding-left: 16px; border-left: 1px solid var(--border);
}
.post-header__title {
	font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.2;
	font-family: var(--font-heading); color: var(--text-dark);
}

/* Post body */
.post-body { max-width: 720px; margin: 0 auto; padding: 56px 0 16px; }
.post-body p, .post-body li {
	font-size: 1.0625rem; line-height: 1.85; color: var(--text-body); margin-bottom: 1.25rem;
}
.post-body h2, .post-body h3, .post-body h4 { margin-top: 2.25rem; margin-bottom: 0.75rem; color: var(--text-dark); }
.post-body h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.post-body h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.post-body h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }
.post-body img {
	display: block; max-width: 100%; height: auto;
	width: 100%; margin: 2rem 0; border-radius: 8px;
}
.post-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body blockquote {
	border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
	padding: 24px 0;
	margin: 2.5rem 0; font-family: var(--font-heading); font-size: 1.2rem;
	font-style: italic; color: var(--text-dark); line-height: 1.65;
}
.post-body blockquote cite { display: block; font-size: 0.82rem; font-style: normal; color: var(--text-light); margin-top: 8px; }
.post-body blockquote a { color: var(--accent); font-size: 0.78rem; font-style: normal; font-family: var(--font-body); }

/* Post footer */
.post-footer {
	max-width: 720px; margin: 0 auto;
	padding: 40px 0 80px; border-top: 1px solid var(--border);
}
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.post-tag {
	font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--text-body);
	border: 1px solid var(--border); padding: 4px 12px; border-radius: 100px;
	transition: border-color 0.3s, color 0.3s;
}
.post-tag:hover { border-color: var(--accent); color: var(--accent); }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav .nav-previous a,
.post-nav .nav-next a {
	display: flex; flex-direction: column; gap: 6px;
	border: 1px solid var(--border); padding: 20px 24px;
	transition: border-color 0.3s;
}
.post-nav .nav-previous a:hover,
.post-nav .nav-next a:hover { border-color: var(--accent); }
.post-nav .nav-next { text-align: right; }
.post-nav__label {
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--accent);
}
.post-nav__title { font-size: 0.9rem; color: var(--text-dark); line-height: 1.4; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	:root { --container-pad: 24px; --section-py: 80px; }
	.section + .section { padding-top: 44px; }
	.site-header { padding: 16px 24px; }
	.site-header.is-scrolled { padding: 12px 24px; }
	.primary-nav, .header__cta { display: none; }
	.hamburger { display: flex; }
	.studio-grid { grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); grid-auto-rows: 100px; }

	.hero__inner { padding-left: clamp(16px,3vw,44px); }

	.trainer__grid { grid-template-columns: 1fr; gap: 48px; }
	.trainer__image-wrap::before { display: none; }
	.trainer__image-wrap img { height: 420px; }

	.gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.gallery__item:first-child { grid-row: span 1; }
	.gallery__item { height: 220px; }

	.footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

	.modes__grid, .services-strip { grid-template-columns: 1fr; }
	.stats-row { grid-template-columns: repeat(2, 1fr); }
	.process-steps { grid-template-columns: 1fr; }

	/* Story — single column: hide decorative overflow effects */
	.story__grid, .trainer-about__grid { grid-template-columns: 1fr; gap: 40px; }
	.story__image { overflow: hidden; }
	.story__image::after { display: none; }
	.story__inset { display: none; }
	.story__image img { height: 360px; }
	.trainer-about__image img { height: 360px; }

	.team__list { gap: 64px; }
	.team-card, .team-card--reverse { grid-template-columns: 1fr; gap: 32px; }
	.team-card--reverse .team-card__photo, .team-card--reverse .team-card__body { order: initial; }
	.team-card__photo::before { display: none; }
	.team-card__photo img { height: 360px; }
	.team-card__name { font-size: 1.65rem; }

	.studio-slide { flex: 0 0 calc(100% / 2.15); height: 250px; }
	.dressing-slide { flex: 0 0 calc(100% / 2.15); height: 250px; }
	.equipment-grid { grid-template-columns: 1fr 1fr; }

	.levels-grid { grid-template-columns: 1fr; }
	.benefits-grid { grid-template-columns: 1fr; }

	.contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.join-form { padding: 32px; }
	.terms-grid { grid-template-columns: 1fr; }
	.services-detail-grid { grid-template-columns: 1fr 1fr; }
	.recovery-grid { grid-template-columns: 1fr; }
	.blog-featured { grid-template-columns: 1fr; }
	.blog-featured__body { padding: 32px; }
	.blog-grid { grid-template-columns: 1fr 1fr; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.post-cover { height: 300px; margin-top: 68px; }
	.post-header { padding: 36px 0 32px; }
}

/* Landscape mobile — revert hero to side-by-side when height is constrained */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1024px) {
	.hero { flex-direction: row; min-height: 100svh; }
	.hero__image { order: 0; min-height: unset; max-height: unset; }
	.hero__image::after { display: none; }
	.hero__text { padding: 80px 48px 60px 48px; }
	.hero__scroll { padding-left: 48px; }

	/* Trainer Preview — the stacked mobile layout puts a 420px-tall image
	   above the text, which alone exceeds the whole viewport height here */
	.trainer__grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
	.trainer__image-wrap::before { display: block; }
	.trainer__image-wrap img { height: 320px; }
}

/* ==========================================================================
   TERMS & CONDITIONS
   ========================================================================== */
.terms-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 48px;
}
.terms-grid > .js-reveal { display: flex; }
.terms-grid > .js-reveal > .terms-group { flex: 1; }
.terms-group {
	background: var(--bg-cream);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px 32px;
}
.terms-group__title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 16px;
}
.terms-group__intro {
	font-size: 0.9rem;
	color: var(--text-body);
	margin: 0 0 12px;
}
.terms-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.terms-list li {
	font-size: 0.9rem;
	color: var(--text-body);
	line-height: 1.6;
	padding-left: 18px;
	position: relative;
}
.terms-list li::before {
	content: '–';
	position: absolute;
	left: 0;
	color: var(--accent);
}
.packages-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 8px;
}
.package-chip {
	background: var(--accent);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 100px;
	letter-spacing: 0.03em;
}

/* ==========================================================================
   SERVICES DETAIL CARDS
   ========================================================================== */
.services-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
	counter-reset: svc-counter;
}
.svc-detail-card {
	counter-increment: svc-counter;
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent);
	border-radius: 0 0 8px 8px;
	padding: 32px 26px 36px;
	background: var(--bg-cream);
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
/* Ghost watermark number */
.svc-detail-card::before {
	content: counter(svc-counter, decimal-leading-zero);
	position: absolute;
	top: -16px;
	right: 10px;
	font-family: var(--font-heading);
	font-size: 6rem;
	font-weight: 600;
	color: var(--accent);
	opacity: 0.07;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}
.svc-detail-card:hover {
	box-shadow: 0 12px 48px rgba(26, 24, 20, 0.08);
	transform: translateY(-4px);
}
.svc-detail-card__title {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 14px;
	line-height: 1.3;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}
.svc-detail-card__ratio {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.svc-detail-card__ratio::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 1.5px;
	background: var(--accent);
	flex-shrink: 0;
}
.svc-detail-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.svc-detail-card__list li {
	font-size: 0.875rem;
	color: var(--text-body);
	line-height: 1.5;
	padding-left: 14px;
	position: relative;
}
.svc-detail-card__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0.5;
}

/* ==========================================================================
   RECOVERY CARDS
   ========================================================================== */
.recovery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 40px;
	max-width: 840px;
}
.recovery-card {
	background: #0E0F0C;
	border: 1px solid var(--border);
	border-top: 2px solid var(--accent);
	border-radius: 12px;
	padding: 32px 28px;
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.recovery-card:hover {
	border-color: rgba(var(--accent-rgb), 0.45);
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.recovery-card__title {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--text-on-dark);
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}
.recovery-card__durations {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.recovery-card__durations span {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--accent);
	background: rgba(var(--accent-rgb), 0.1);
	border: 1px solid rgba(var(--accent-rgb), 0.3);
	padding: 4px 12px;
	border-radius: 100px;
	letter-spacing: 0.02em;
}
.recovery-card__desc {
	font-size: 0.92rem;
	color: var(--text-body);
	line-height: 1.7;
	margin: 0;
}
@media (max-width: 768px) {
	.recovery-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 28px;
	}
	.recovery-card {
		padding: 24px 20px;
	}
	.recovery-card__title {
		font-size: 1.25rem;
		margin-bottom: 12px;
	}
}

@media (max-width: 640px) {
	.hero__heading { font-size: clamp(2.2rem, 10vw, 3.5rem); }
	.hero__sub { font-size: 0.97rem; }
	.hero__buttons { flex-direction: column; align-items: stretch; }
	.hero__buttons a { justify-content: center; min-height: 44px; }
	/* 4 equal grid columns are too cramped on phones — revert to a swipeable row */
	.space-strip__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; max-width: none; }
	.space-strip figure { flex: 0 0 68vw; scroll-snap-align: start; }

	.about__stats { flex-direction: column; margin-top: 40px; padding-top: 36px; }
	.about__stat { padding-right: 0; margin-right: 0 !important; border-right: none !important; }
	.about__stat:not(:last-child) { padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
	.services__grid { grid-template-columns: 1fr; }
	.gallery__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
	.reviews__grid { grid-template-columns: 1fr; }
	.review { padding-bottom: 32px; border-bottom: 1px solid var(--border); }
	.review:last-child { padding-bottom: 0; border-bottom: none; }
	.gallery__item { height: 200px; }
	.team-card__photo img { height: 300px; }
	.team-card__name { font-size: 1.4rem; }
	.blog-grid { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; }
	.footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
	.cta-banner__buttons { flex-direction: column; align-items: center; }
	.studio-hd { align-items: flex-start; flex-direction: column; gap: 14px; }
	.studio-slide { flex: 0 0 calc(100% / 1.15); height: 220px; }
	.dressing-hd { align-items: flex-start; flex-direction: column; gap: 14px; }
	.dressing-slide { flex: 0 0 calc(100% / 1.15); height: 220px; }
	.lightbox-img { max-width: 95vw; max-height: 80vh; }
	.lightbox-prev { left: 10px; width: 42px; height: 42px; font-size: 1.25rem; }
	.lightbox-next { right: 10px; width: 42px; height: 42px; font-size: 1.25rem; }
	.lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
	.equipment-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.stats-row { grid-template-columns: 1fr; }
	.join-form { padding: 24px; }
	.modes__grid .mode-card--featured { order: -1; }
	.page-hero { padding: 120px 0 60px; }
	.blog-grid { grid-template-columns: 1fr; }
	.blog-featured__body { padding: 24px; }
	.services-detail-grid { grid-template-columns: 1fr; }

	/* Mobile nav font scaling */
	.mobile-nav__list > li > a { font-size: 1.6rem; }

	/* Studio split — already goes to 1-col at 900px; just tighten spacing */
	.studio-split { gap: 24px; }

	/* Page image break — reasonable cap on small screens */
	.page-img-break img { max-height: 55vw; }

	/* Matrix table — compress to fit without horizontal scroll */
	.matrix-wrap { margin-top: 32px; }
	.matrix th { padding: 10px 8px; font-size: 0.6rem; letter-spacing: 0.05em; }
	.matrix td { padding: 12px 8px; }
	.matrix td:first-child { font-size: 0.9rem; }
	.matrix .check { font-size: 1rem; }

	/* Terms cards — tighter padding, no corner radius clash */
	.terms-group { padding: 20px 18px; border-radius: 8px; }
	.terms-group__title { font-size: 1rem; margin-bottom: 12px; }
	.terms-list li { font-size: 0.85rem; }
	.packages-row { gap: 8px; }
	.package-chip { font-size: 0.8rem; padding: 5px 12px; }

	/* Service detail cards — tighter on mobile */
	.svc-detail-card { padding: 24px 20px 28px; }
	.svc-detail-card:hover { transform: none; box-shadow: none; }
	.svc-detail-card__title { font-size: 1rem; padding-bottom: 12px; margin-bottom: 10px; }
	.svc-detail-card__list li { font-size: 0.85rem; }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */

#tk-consent-banner {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	z-index: 9999;
	background: #1a1814;
	border-top: 1px solid rgba(196,115,79,0.2);
	padding: 20px 32px;
	transform: translateY(100%);
	transition: transform 0.38s var(--ease);
	box-shadow: 0 -8px 48px rgba(26,24,20,0.4);
}
#tk-consent-banner.is-visible { transform: translateY(0); }
#tk-consent-banner[hidden] { display: none; }

.tk-consent__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 32px;
}
.tk-consent__icon {
	flex-shrink: 0;
	width: 36px; height: 36px;
	color: var(--accent);
	opacity: 0.85;
}
.tk-consent__body {
	flex: 1;
	min-width: 0;
}
.tk-consent__title {
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
	margin: 0 0 3px;
}
.tk-consent__text {
	font-family: var(--font-body);
	font-size: 0.88rem;
	color: rgba(255,255,255,0.65);
	line-height: 1.55;
	margin: 0;
}
.tk-consent__text a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}
.tk-consent__text a:hover { color: #d98a68; }

.tk-consent__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.tk-consent__decline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: 3px;
	background: transparent;
	color: rgba(255,255,255,0.55);
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.tk-consent__decline:hover {
	border-color: rgba(255,255,255,0.4);
	color: rgba(255,255,255,0.85);
}
.tk-consent__decline:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
.tk-consent__accept {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border: none;
	border-radius: 3px;
	background: #9e5235;
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.15s ease;
}
.tk-consent__accept:hover { background: #8a4629; }
.tk-consent__accept:active { transform: scale(0.97); }
.tk-consent__accept:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Floating reopen button */
#tk-consent-reopen {
	position: fixed;
	bottom: 24px; left: 24px;
	z-index: 9998;
	width: 44px; height: 44px;
	border: 1px solid rgba(196,115,79,0.25);
	border-radius: 50%;
	background: #1a1814;
	color: rgba(255,255,255,0.5);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(26,24,20,0.35);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
#tk-consent-reopen:hover {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
	transform: scale(1.08);
}
#tk-consent-reopen:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
#tk-consent-reopen[hidden] { display: none; }

/* Tablet: tighten up */
@media (max-width: 900px) {
	#tk-consent-banner { padding: 18px 24px; }
	.tk-consent__icon { display: none; }
	.tk-consent__inner { gap: 20px; }
}

/* Mobile: stack layout */
@media (max-width: 600px) {
	#tk-consent-banner { padding: 20px 16px 24px; }
	.tk-consent__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}
	.tk-consent__icon { display: none; }
	.tk-consent__title { margin-bottom: 4px; }
	.tk-consent__text { font-size: 0.84rem; }
	.tk-consent__actions {
		flex-direction: row;
		width: 100%;
		gap: 8px;
	}
	.tk-consent__decline,
	.tk-consent__accept {
		flex: 1;
		padding: 11px 16px;
		font-size: 0.85rem;
	}
	#tk-consent-reopen { bottom: 16px; left: 16px; }
}

/* =========================================================
   404 Error Page
   ========================================================= */
.error-404 {
	display: flex;
	align-items: center;
	min-height: calc(80vh - 80px);
	padding-top: 80px;
	padding-bottom: 80px;
}
.error-404__inner {
	max-width: 560px;
}
.error-404__code {
	font-family: var(--font-display);
	font-size: clamp(7rem, 18vw, 14rem);
	font-weight: 500;
	line-height: 0.85;
	color: var(--accent);
	opacity: 0.18;
	margin: 0 0 -0.15em -0.04em;
	letter-spacing: -0.03em;
	pointer-events: none;
	user-select: none;
}
.error-404__heading {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--text-dark);
	margin: 0 0 20px;
}
.error-404__sub {
	font-size: 1rem;
	color: var(--text-muted);
	margin: 0 0 40px;
	line-height: 1.65;
}
.error-404__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
@media (max-width: 480px) {
	.error-404__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.error-404__actions .btn-fill,
	.error-404__actions .btn-outline {
		justify-content: center;
		text-align: center;
	}
}
