/**
 * RJ4 Medspa — Page components (2026-07-14 experiential redesign)
 *
 * Hero slider, editorial splits, benefits band, treatment menu rows,
 * booking band, page heroes, and inner-page components — per the updated
 * docs/11-ui-components.md. All values from tokens.css.
 */

/* =========================================================
   Homepage hero — full-viewport crossfade slider (docs/11 §3)
   ========================================================= */

/* The sticky header stays in flow; the hero pulls up behind it so the
   transparent header floats over the imagery (89px = header + hairline). */
.has-hero .hero-slider {
	margin-top: -89px;
}

.hero-slider {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--color-ink);
	text-align: center;
}

.hero-slider__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1400ms var(--ease-default);
}

.hero-slider__slide.is-active {
	opacity: 1;
	animation: rj4-drift var(--duration-drift) var(--ease-drift) forwards;
}

@keyframes rj4-drift {
	from { transform: scale(1); }
	to   { transform: scale(1.06); }
}

.hero-slider::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--glaze);
	pointer-events: none;
}

.hero-slider__content {
	position: relative;
	z-index: 10;
	max-width: 880px;
	padding-inline: var(--gutter);
	padding-top: 120px; /* clears the fixed transparent header */
	opacity: 1;
	visibility: visible;
}

.hero-slider__content .eyebrow {
	color: rgba(255, 255, 255, 0.8);
}

/* Typography set explicitly here (not inherited from the h1 rule) because
   slides 2+ use <p class="hero-slider__title"> — without this they fell back
   to body size/family. Hero display scale is larger than section titles. */
.hero-slider__title {
	font-family: var(--font-serif);
	font-size: clamp(3rem, 2rem + 5.2vw, 5.75rem);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.01em;
	color: var(--color-white);
	margin: 0 auto var(--space-md);
	max-width: 16ch;
	text-wrap: balance;
}

.hero-slider__subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--text-body-lg);
	max-width: 56ch;
	margin: 0 auto var(--space-lg);
}

.hero-slider__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
}

.hero-proof {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: var(--space-md) auto 0;
	padding: 0;
	max-width: 760px;
}

.hero-proof li {
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(35, 38, 31, 0.34);
	color: rgba(255, 255, 255, 0.88);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
}

/* PREV / NEXT — thin rule + label, per reference */
.hero-slider__nav {
	position: absolute;
	z-index: 4;
	top: 50%;
	transform: translateY(-50%);
	display: none;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--font-sans);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	cursor: pointer;
	padding: var(--space-sm);
	transition: color var(--duration-fast) var(--ease-default);
}

.hero-slider__nav:hover {
	color: var(--color-white);
}

.hero-slider__nav::before {
	content: '';
	width: 40px;
	height: 1px;
	background: currentColor;
}

.hero-slider__nav--next::before {
	order: 2;
}

.hero-slider__nav--prev { left: var(--space-md); }
.hero-slider__nav--next { right: var(--space-md); }

@media (min-width: 1024px) {
	.hero-slider__nav {
		display: inline-flex;
	}
}

/* Scroll cue */
.hero-slider__cue {
	position: absolute;
	z-index: 4;
	bottom: var(--space-md);
	left: 50%;
	width: 1px;
	height: 56px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
	animation: rj4-cue 2.4s var(--ease-default) infinite;
}

@keyframes rj4-cue {
	0%   { transform: scaleY(0); transform-origin: top; }
	45%  { transform: scaleY(1); transform-origin: top; }
	55%  { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   Page hero (inner pages)
   ========================================================= */

.page-hero {
	background-color: var(--color-section-alt-bg);
	padding-block: var(--space-2xl) var(--space-xl);
	border-bottom: 1px solid var(--color-hairline);
}

.page-hero__title {
	margin-bottom: var(--space-xs);
	max-width: 18ch;
}

.page-hero__subtitle {
	max-width: 62ch;
	font-size: var(--text-body-lg);
	margin-bottom: 0;
}

/* =========================================================
   Breadcrumb
   ========================================================= */

.breadcrumb {
	margin-bottom: var(--space-md);
}

.breadcrumb ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin: 0;
	padding: 0;
	font-size: var(--text-label);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.breadcrumb li:not(:last-child)::after {
	content: '—';
	margin-left: var(--space-xs);
	color: var(--color-muted);
}

.breadcrumb span[aria-current] {
	color: var(--color-muted);
}

/* =========================================================
   Section helpers
   ========================================================= */

.section-narrow {
	max-width: 780px;
}

.section-head {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	margin-bottom: var(--space-xl);
}

.section-intro {
	max-width: 62ch;
	margin-inline: auto;
	text-align: center;
	font-size: var(--text-body-lg);
	margin-bottom: 0;
}

.section-cta {
	text-align: center;
	margin: var(--space-xl) 0 0;
}

/* =========================================================
   Decision guidance blocks
   ========================================================= */

.decision-panel {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
	padding: var(--space-lg) 0;
	border-top: 1px solid var(--color-hairline);
	border-bottom: 1px solid var(--color-hairline);
}

.decision-panel h2 {
	max-width: 16ch;
	margin-bottom: var(--space-xs);
}

.decision-panel p {
	max-width: 62ch;
	margin-bottom: 0;
	font-size: var(--text-body-lg);
}

.decision-panel__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-sm);
}

.decision-panel--detail {
	margin-bottom: var(--space-lg);
}

.decision-panel--detail h2 {
	font-size: var(--text-h3);
	max-width: none;
}

.decision-panel__note {
	margin-top: var(--space-sm);
	color: var(--color-heading);
}

.decision-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
	margin: var(--space-md) 0 0;
}

.decision-list div {
	padding-top: var(--space-sm);
	border-top: 1px solid var(--color-hairline);
}

.decision-list dt {
	margin-bottom: 4px;
	color: var(--color-muted);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
}

.decision-list dd {
	margin: 0;
	color: var(--color-heading);
}

@media (min-width: 900px) {
	.decision-panel {
		grid-template-columns: 7fr 5fr;
		align-items: center;
	}

	.decision-panel__actions {
		justify-content: flex-end;
	}

	.decision-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* =========================================================
   Fit Split ("Who This Is For vs. Who This Is NOT For")
   ========================================================= */

.fit-split-section {
	padding: var(--space-3xl) 0;
	background-color: var(--color-cream);
}

.fit-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	margin-top: var(--space-xl);
}

@media (min-width: 900px) {
	.fit-split {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-2xl);
	}
}

.fit-split__card {
	background: var(--color-white);
	border: 1px solid var(--color-hairline);
	border-radius: var(--radius-card);
	padding: var(--space-xl);
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 20px rgba(18, 26, 17, 0.04);
	transition: transform var(--duration-hover) var(--ease-drift), box-shadow var(--duration-hover) var(--ease-drift);
}

.fit-split__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}

.fit-split__card--for {
	border-top: 3px solid var(--color-sage-green);
}

.fit-split__card--not {
	border-top: 3px solid var(--color-taupe);
	background: rgba(255, 255, 255, 0.85);
}

.fit-split__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: var(--radius-full);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	width: fit-content;
	margin-bottom: var(--space-md);
}

.fit-split__badge--for {
	background-color: var(--color-sand);
	color: var(--color-ink-green);
}

.fit-split__badge--not {
	background-color: rgba(18, 26, 17, 0.06);
	color: var(--color-charcoal-muted);
}

.fit-split__title {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	line-height: 1.35;
	color: var(--color-charcoal);
	margin: 0 0 var(--space-md);
	font-weight: 400;
}

.fit-split__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.fit-split__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--space-sm);
	padding: 10px 0;
	border-bottom: 1px solid var(--color-hairline);
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--color-charcoal);
}

.fit-split__list li:last-child {
	border-bottom: none;
}

.fit-split__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	margin-top: 2px;
}

.fit-split__icon--check {
	background-color: var(--color-sage-tint);
	color: var(--color-ink-green);
}

.fit-split__icon--cross {
	background-color: rgba(18, 26, 17, 0.08);
	color: var(--color-charcoal-muted);
}

.fit-split__footer {
	text-align: center;
	margin-top: var(--space-2xl);
	padding-top: var(--space-xl);
	border-top: 1px solid var(--color-hairline);
}

.fit-split__footer p {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	color: var(--color-charcoal);
	margin: 0 0 var(--space-md);
}

.fit-split__actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
}

/* =========================================================
   Proof Pillars Grid ("Why Choose Us" Upgrade)
   ========================================================= */

.pillars-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
	margin-top: var(--space-xl);
}

@media (min-width: 700px) {
	.pillars-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.pillars-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-xl);
	}
}

.pillar-card {
	background: var(--color-white);
	border: 1px solid var(--color-hairline);
	border-radius: var(--radius-card);
	padding: var(--space-xl);
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0 4px 18px rgba(18, 26, 17, 0.03);
	transition: transform var(--duration-hover) var(--ease-drift), box-shadow var(--duration-hover) var(--ease-drift);
}

.pillar-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.pillar-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--space-xl);
	right: var(--space-xl);
	height: 2px;
	background: var(--color-sage-green);
	opacity: 0;
	transition: opacity var(--duration-hover) var(--ease-drift);
}

.pillar-card:hover::before {
	opacity: 1;
}

.pillar-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--space-md);
}

.pillar-card__num {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--color-deep-olive);
	letter-spacing: 0.05em;
}

.pillar-card__badge {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--color-charcoal-muted);
	background: var(--color-cream);
	padding: 3px 8px;
	border-radius: var(--radius-sm);
}

.pillar-card__title {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	line-height: 1.35;
	color: var(--color-charcoal);
	margin: 0 0 var(--space-sm);
	font-weight: 400;
}

.pillar-card__body {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--color-charcoal-muted);
	margin: 0;
}

.pathway-grid,
.first-visit-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

@media (min-width: 700px) {
	.pathway-grid,
	.first-visit-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.pathway-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.first-visit-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.pathway-card,
.first-visit-step {
	background: var(--color-white);
	border: 1px solid var(--color-hairline);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
}

.pathway-card h3,
.first-visit-step h3 {
	font-size: var(--text-h4);
	margin-bottom: var(--space-xs);
}

.pathway-card p,
.first-visit-step p {
	font-size: var(--text-caption);
	line-height: 1.7;
}

.pathway-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: var(--space-sm) 0 0;
	padding: 0;
}

.pathway-card__links a {
	display: inline-flex;
	padding: 7px 10px;
	border: 1px solid var(--color-hairline);
	color: var(--color-heading);
	background: var(--color-ivory);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition:
		background-color var(--duration-fast) var(--ease-default),
		color var(--duration-fast) var(--ease-default),
		border-color var(--duration-fast) var(--ease-default),
		transform var(--duration-fast) var(--ease-default);
}

.pathway-card__links a:hover {
	background: var(--color-deep-olive);
	border-color: var(--color-deep-olive);
	color: var(--color-white);
}

.pathway-card__links a:active {
	transform: scale(0.97);
}

.first-visit-step span {
	display: block;
	margin-bottom: var(--space-sm);
	color: var(--color-deep-olive);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
}

/* Small centered rule with dot — reference divider */
.rule-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: var(--space-md) auto 0;
	border: none;
}

.rule-dot::before,
.rule-dot::after {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--color-hairline);
}

.rule-dot span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-sage-green);
}

/* =========================================================
   Editorial split rows (docs/11 §4 redesign)
   ========================================================= */

.editorial {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
}

@media (min-width: 900px) {
	.editorial {
		grid-template-columns: 1fr 1fr;
	}

	.editorial--flip .editorial__media { order: 2; }
	.editorial--flip .editorial__body  { order: 1; }
}

.editorial__media {
	position: relative;
	min-height: 320px;
	overflow: hidden;
}

.editorial__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1200ms var(--ease-drift);
}

.editorial:hover .editorial__media img {
	transform: scale(1.035);
}

.editorial__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--space-2xl) var(--gutter);
	background: var(--color-section-alt-bg);
}

@media (min-width: 1200px) {
	.editorial__body {
		padding: var(--space-3xl) var(--space-2xl);
	}
}

.editorial__body h2,
.editorial__body h3 {
	font-size: var(--text-h2);
	max-width: 14ch;
}

.editorial__body p {
	max-width: 46ch;
	margin-bottom: var(--space-md);
}

/* =========================================================
   Benefits band — dark glazed photo + translucent cards
   ========================================================= */

.benefits-band {
	position: relative;
	background-size: cover;
	background-position: center;
	padding-block: var(--space-3xl);
	color: var(--color-white);
}

.benefits-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--glaze-flat);
}

.benefits-band__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 1024px) {
	.benefits-band__inner {
		grid-template-columns: 5fr 7fr;
		align-items: center;
	}
}

.benefits-band .eyebrow {
	color: rgba(255, 255, 255, 0.7);
}

.benefits-band__title {
	color: var(--color-white);
	margin-bottom: var(--space-md);
}

.benefits-band__lede {
	color: rgba(255, 255, 255, 0.85);
	max-width: 46ch;
}

.benefits-band__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
}

@media (min-width: 640px) {
	.benefits-band__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.benefit-card {
	/* Slightly deeper tint stands in for the former backdrop-filter (dropped —
	   backdrop-filter re-samples the page every frame and measurably hurt the
	   mobile performance score). */
	background: rgba(27, 29, 24, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.14);
	padding: var(--space-lg) var(--space-md);
}

.benefit-card__icon {
	width: 34px;
	height: 34px;
	margin-bottom: var(--space-sm);
	color: rgba(255, 255, 255, 0.85);
}

.benefit-card h3 {
	color: var(--color-white);
	font-size: 1.5rem;
	margin-bottom: var(--space-xs);
}

.benefit-card p {
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--text-caption);
	line-height: 1.7;
	margin: 0;
}

/* =========================================================
   Treatment menu rows — the signature list device (docs/11 §5)
   ========================================================= */

.menu-list {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--space-2xl);
}

@media (min-width: 900px) {
	.menu-list--two-col {
		grid-template-columns: 1fr 1fr;
	}
}

.menu-row {
	padding: var(--space-md) 0;
	border-top: 1px solid var(--color-hairline);
}

.menu-row__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-md);
}

.menu-row__title {
	font-family: var(--font-serif);
	font-size: var(--text-h3);
	font-weight: 500;
	margin: 0;
}

.menu-row__title a {
	color: var(--color-heading);
}

.menu-row__title a:hover {
	color: var(--color-sage-green);
}

.menu-row__price {
	font-family: var(--font-sans);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-heading);
	white-space: nowrap;
	flex-shrink: 0;
}

.menu-row__desc {
	margin: 6px 0 0;
	font-size: var(--text-caption);
	max-width: 52ch;
}

.menu-row__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.menu-row__tags span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 5px 9px;
	border: 1px solid var(--color-hairline);
	background: var(--color-ivory);
	color: var(--color-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.menu-row__meta {
	display: inline-block;
	margin-top: 8px;
	font-size: var(--text-label);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-muted);
}

/* Group heading inside full menus */
.menu-group {
	margin-bottom: var(--space-xl);
}

.menu-group__title {
	font-size: var(--text-h2);
	margin-bottom: var(--space-md);
}

.menu-group__sub {
	font-family: var(--font-sans);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-muted);
	margin: var(--space-lg) 0 var(--space-xs);
}

.menu-group__note {
	max-width: 62ch;
	margin-top: calc(-1 * var(--space-sm));
	margin-bottom: var(--space-md);
	color: var(--color-heading);
	font-size: var(--text-body-lg);
}

.menu-group--clinical {
	padding: var(--space-lg);
	border: 1px solid var(--color-hairline);
	background: var(--color-section-alt-bg);
}

/* =========================================================
   Booking band — photo + dark panel + hours (docs/11 §12 adjunct)
   ========================================================= */

.booking-band {
	position: relative;
	background-size: cover;
	background-position: center;
	padding-block: var(--space-3xl);
}

.booking-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(35, 38, 31, 0.25) 0%, rgba(35, 38, 31, 0.65) 100%);
}

.booking-band__panel {
	position: relative;
	max-width: 560px;
	margin-left: auto;
	background: rgba(41, 46, 36, 0.94);
	color: var(--color-white);
	padding: var(--space-xl) var(--space-lg);
}

.booking-band__panel .eyebrow {
	color: var(--color-sage-tint);
}

.booking-band__title {
	color: var(--color-white);
	font-size: var(--text-h2);
}

.hours-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--space-md);
}

.hours-table th,
.hours-table td {
	text-align: left;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	font-weight: 400;
	font-size: var(--text-caption);
	color: rgba(255, 255, 255, 0.88);
}

.hours-table td {
	text-align: right;
	font-size: var(--text-label);
	letter-spacing: 0.1em;
}

.hours-table th {
	font-weight: 500;
}

/* Light context (contact page) */
.hours-table--light th,
.hours-table--light td {
	color: var(--color-body);
	border-bottom-color: var(--color-hairline);
}

.hours-table--light th {
	color: var(--color-heading);
}

.booking-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-top: var(--space-md);
}

.booking-band__note {
	margin-top: var(--space-sm);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   Grids retained for gallery/testimonials
   ========================================================= */

.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

@media (min-width: 640px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.card-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.card-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Category cards (services hub tiles) — image tiles with serif overlay */
.category-tile {
	position: relative;
	display: block;
	min-height: 340px;
	overflow: hidden;
	background: var(--color-ink);
}

.category-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
	transition: transform 1200ms var(--ease-drift), opacity var(--duration-default) var(--ease-default);
}

.category-tile:hover img {
	transform: scale(1.05);
	opacity: 0.7;
}

.category-tile::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(35, 38, 31, 0) 30%, rgba(35, 38, 31, 0.75) 100%);
}

.category-tile__label {
	position: absolute;
	z-index: 2;
	left: var(--space-md);
	right: var(--space-md);
	bottom: var(--space-md);
	color: var(--color-white);
}

.category-tile__label h2,
.category-tile__label h3 {
	color: var(--color-white);
	font-size: 1.75rem;
	margin-bottom: 2px;
}

.category-tile__label span {
	font-size: var(--text-label);
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   Detail pages
   ========================================================= */

.service-detail__media {
	margin: 0 0 var(--space-lg);
}

.service-detail__media img {
	width: 100%;
}

.benefit-list {
	list-style: none;
	padding: 0;
	margin-bottom: var(--space-lg);
}

.benefit-list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--color-hairline);
}

.section-narrow h2 {
	margin-top: var(--space-xl);
	font-size: var(--text-h3);
}

.section-narrow h2:first-child {
	margin-top: 0;
}

.package-summary {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-lg);
	padding: var(--space-md) 0;
	border-top: 1px solid var(--color-hairline);
	border-bottom: 1px solid var(--color-hairline);
	margin-bottom: var(--space-lg);
}

.package-summary__facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-lg);
	margin: 0;
}

.package-summary__facts dt {
	font-size: var(--text-label);
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: var(--tracking-label);
}

.package-summary__facts dd {
	margin: 0;
	font-family: var(--font-serif);
	font-size: var(--text-h4);
	font-weight: 500;
	color: var(--color-heading);
}

.badge {
	align-self: center;
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid var(--color-hairline);
	color: var(--color-deep-olive);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	background: var(--color-white);
}

/* Pricing rows on service detail — menu style, replaces the table look */
.pricing-table {
	border-top: 1px solid var(--color-hairline);
	margin-bottom: var(--space-sm);
}

.pricing-table__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	padding: var(--space-sm) 0;
	border-bottom: 1px solid var(--color-hairline);
}

.pricing-table__row--head {
	display: none;
}

.pricing-table__row [data-label]::before {
	content: attr(data-label);
	display: block;
	font-size: var(--text-label);
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

@media (min-width: 768px) {
	.pricing-table__row {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		align-items: center;
	}

	.pricing-table__row--head {
		display: grid;
		font-size: var(--text-label);
		font-weight: 600;
		color: var(--color-muted);
		text-transform: uppercase;
		letter-spacing: var(--tracking-label);
	}

	.pricing-table__row [data-label]::before {
		display: none;
	}

	.pricing-table__row [data-label]:last-child {
		text-align: right;
		font-family: var(--font-serif);
		font-size: var(--text-h4);
		color: var(--color-heading);
	}

	.pricing-table__row--head [data-label]:last-child,
	.pricing-table__row--head span:last-child {
		text-align: right;
		font-family: var(--font-sans);
		font-size: var(--text-label);
	}
}

/* =========================================================
   CTA section — brand gradient retained (docs/11 §12)
   ========================================================= */

.cta-section {
	background: var(--gradient-brand);
	padding-block: var(--space-2xl);
	text-align: center;
}

.cta-section__heading {
	color: var(--color-white);
}

.cta-section__body {
	color: rgba(255, 255, 255, 0.9);
	max-width: 60ch;
	margin-inline: auto;
	margin-bottom: var(--space-lg);
	font-size: var(--text-body-lg);
}

.cta-section .btn--primary {
	background-color: var(--color-white);
	border-color: var(--color-white);
	color: var(--color-deep-olive);
}

.cta-section .btn--primary:hover {
	background-color: var(--color-ivory);
	border-color: var(--color-ivory);
	color: var(--color-deep-olive);
}

.cta-section__alt {
	margin: var(--space-sm) 0 0;
}

.cta-section__alt a {
	color: var(--color-white);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* =========================================================
   Contact page
   ========================================================= */

.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 1024px) {
	.contact-layout {
		grid-template-columns: 5fr 7fr;
	}
}

.contact-layout h2 {
	font-size: var(--text-h3);
	margin-top: var(--space-lg);
}

.contact-layout h2:first-child {
	margin-top: 0;
}

.contact-info {
	list-style: none;
	margin: 0;
	padding: 0;
}

.contact-info li {
	padding: var(--space-sm) 0;
	border-bottom: 1px solid var(--color-hairline);
}

.contact-info__label {
	display: block;
	font-size: var(--text-label);
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: var(--tracking-label);
	margin-bottom: 2px;
}

.contact-direct {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-bottom: var(--space-sm);
}

.inquiry-form {
	background: var(--color-white);
	border: 1px solid var(--color-hairline);
	padding: var(--space-lg);
}

.form-field--consent label {
	display: flex;
	gap: var(--space-xs);
	align-items: flex-start;
	font-weight: 400;
	font-size: var(--text-caption);
	letter-spacing: 0;
	text-transform: none;
	color: var(--color-body);
}

.form-field--consent input {
	margin-top: 3px;
	accent-color: var(--color-deep-olive);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	padding: var(--space-sm) var(--space-md);
	margin-bottom: var(--space-md);
	font-weight: 500;
	font-size: var(--text-caption);
}

.form-notice--success {
	background: rgba(110, 139, 85, 0.1);
	border: 1px solid var(--color-success);
	color: var(--color-success);
}

.form-notice--error {
	background: rgba(165, 90, 74, 0.08);
	border: 1px solid var(--color-error);
	color: var(--color-error);
}

.map-embed {
	overflow: hidden;
	border: 1px solid var(--color-hairline);
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 440px;
	border: 0;
}

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

.faq-group {
	margin-bottom: var(--space-xl);
}

.faq-group h2 {
	margin-bottom: var(--space-md);
}

.faq-item {
	border-bottom: 1px solid var(--color-hairline);
}

.faq-item:first-of-type {
	border-top: 1px solid var(--color-hairline);
}

.faq-item__question {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: var(--space-md) var(--space-xl) var(--space-md) 0;
	font-family: var(--font-serif);
	font-size: var(--text-h4);
	font-weight: 500;
	color: var(--color-heading);
	transition: color var(--duration-fast) var(--ease-default);
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__question:hover {
	color: var(--color-deep-olive);
}

.faq-item__question::after {
	content: '';
	position: absolute;
	right: 6px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 1px solid var(--color-deep-olive);
	border-bottom: 1px solid var(--color-deep-olive);
	transform: translateY(-70%) rotate(45deg);
	transition: transform var(--duration-default) var(--ease-default);
}

.faq-item[open] > .faq-item__question::after {
	transform: translateY(-30%) rotate(-135deg);
}

.faq-item__answer {
	padding: 0 0 var(--space-md);
	max-width: 65ch;
}

.faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery-filter {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	justify-content: center;
	margin-bottom: var(--space-lg);
}

.gallery-filter__btn {
	padding: 8px 2px;
	background: none;
	border: none;
	border-bottom: 1px solid transparent;
	color: var(--color-muted);
	font-family: var(--font-sans);
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	cursor: pointer;
	transition: color var(--duration-fast) var(--ease-default),
		border-color var(--duration-fast) var(--ease-default);
}

.gallery-filter__btn:hover {
	color: var(--color-heading);
}

.gallery-filter__btn.is-active {
	color: var(--color-heading);
	border-bottom-color: var(--color-deep-olive);
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
}

@media (min-width: 640px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.gallery-grid__item {
	display: block;
	overflow: hidden;
}

.gallery-grid__item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1200ms var(--ease-drift);
}

.gallery-grid__item:hover img {
	transform: scale(1.04);
}

.gallery-grid__item.is-hidden {
	display: none;
}

.gallery-lightbox {
	border: none;
	background: transparent;
	padding: 0;
	max-width: min(90vw, 1100px);
}

.gallery-lightbox::backdrop {
	background: rgba(35, 38, 31, 0.93);
}

.gallery-lightbox figure {
	margin: 0;
}

.gallery-lightbox img {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	margin-inline: auto;
}

.gallery-lightbox figcaption {
	text-align: center;
	color: var(--color-white);
	padding-top: var(--space-sm);
	font-size: var(--text-label);
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
}

/* =========================================================
   First Visit 3-Step Journey & Risk-Reversal
   ========================================================= */

.first-visit-section {
	padding: var(--space-3xl) 0;
	background: var(--color-sand);
}

.first-visit-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
	margin-top: var(--space-xl);
}

@media (min-width: 900px) {
	.first-visit-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-xl);
	}
}

.first-visit-step {
	background: var(--color-white);
	border: 1px solid var(--color-hairline);
	border-radius: var(--radius-card);
	padding: var(--space-xl);
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0 4px 18px rgba(18, 26, 17, 0.03);
	transition: transform var(--duration-hover) var(--ease-drift), box-shadow var(--duration-hover) var(--ease-drift);
}

.first-visit-step:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.first-visit-step__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--space-md);
}

.first-visit-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius-full);
	background: var(--color-cream);
	color: var(--color-deep-olive);
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 500;
}

.first-visit-step__badge {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--color-deep-olive);
	background: var(--color-sand);
	padding: 3px 8px;
	border-radius: var(--radius-sm);
}

.first-visit-step__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	line-height: 1.35;
	color: var(--color-charcoal);
	margin: 0 0 var(--space-xs);
	font-weight: 400;
}

.first-visit-step__subtitle {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-deep-olive);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: var(--space-sm);
}

.first-visit-step__body {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--color-charcoal-muted);
	margin: 0;
}

.first-visit-reassurances {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm) var(--space-xl);
	margin-top: var(--space-2xl);
	padding: var(--space-md) var(--space-lg);
	background: var(--color-white);
	border: 1px solid var(--color-hairline);
	border-radius: var(--radius-pill);
	list-style: none;
}

.first-visit-reassurances li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-ink-green);
}

.first-visit-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	margin-top: var(--space-xl);
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
	position: fixed;
	z-index: 10;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--color-white);
	width: 44px;
	height: 44px;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox__close { top: var(--space-sm); right: var(--space-sm); }
.gallery-lightbox__nav--prev { left: var(--space-sm); top: 50%; transform: translateY(-50%); }
.gallery-lightbox__nav--next { right: var(--space-sm); top: 50%; transform: translateY(-50%); }

/* =========================================================
   Testimonials (conditional) + search results
   ========================================================= */

.testimonial-card {
	margin: 0;
	background: var(--color-white);
	border: 1px solid var(--color-hairline);
	padding: var(--space-lg);
}

.testimonial-card p {
	font-family: var(--font-serif);
	font-size: var(--text-h4);
	font-style: italic;
	line-height: 1.55;
	color: var(--color-heading);
}

.testimonial-card cite {
	font-style: normal;
	font-weight: 600;
	font-size: var(--text-label);
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-muted);
}

.search-group {
	margin-bottom: var(--space-xl);
}

/* =========================================================
   Plain content pages + 404
   ========================================================= */

.page-content h2 {
	margin-top: var(--space-lg);
	font-size: var(--text-h3);
}

.page-content ul,
.page-content ol {
	margin-bottom: var(--space-sm);
	padding-left: 1.4em;
	line-height: 1.9;
}

.error-404 {
	text-align: center;
	max-width: 640px;
	margin-inline: auto;
}

.error-404__code {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(5rem, 12vw, 8rem);
	font-weight: 500;
	color: var(--color-sage-green);
	line-height: 1;
	margin-bottom: var(--space-sm);
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
	margin-top: var(--space-lg);
}
