/*
Theme Name: Happy Hormones & Beauty Cabin
Theme URI: https://happyhormonesbeautycabin.com
Author: Endspace
Description: Classic theme for Happy Hormones & Beauty Cabin. Fields in acf-json/ (ACF Pro or the bundled ACF Lite).
Version: 1.0.0
Requires PHP: 8.1
Text Domain: happyhormones
*/

/* ==========================================================================
   Tokens — from the design system (§2.1–2.3). Change colours here only.
   ========================================================================== */

:root {
	--bg: #F3F2EC;
	--surface: #FBFAF6;
	--surface-2: #E9E8E0;
	--line: #D9D7CC;

	--ink: #1E2620;
	--ink-2: #4A534B;
	--ink-muted: #7E877E; /* 24px+ only */

	--sage-950: #1B231D;
	--sage-900: #25302A;
	--sage-800: #2F3C34;
	--sage-700: #465748;
	--sage-600: #566A57;
	--sage-500: #6B7A68;
	--sage-100: #E1E6DC;

	--rose: #C4A99B;
	--rose-700: #86685B;
	--rose-100: #F2E6E3;

	--mist: #9DB7BA;
	--mist-100: #DDE7E6;

	--sun: #F6CD6F;
	--stone: #BBB3A6;

	--on-dark: #F3F2EC;
	--on-dark-muted: #B6C0B5;

	--success: #4F7A55;
	--error: #A4493D;
	--focus-ring: #6B7A68;

	--font-display: "Albert Sans", system-ui, sans-serif;
	--font-body: "Hanken Grotesk", system-ui, sans-serif;

	--r-sm: 12px;
	--r-md: 20px;
	--r-lg: 28px;
	--r-pill: 999px;

	--shadow-float: 0 20px 50px -24px rgba(27, 35, 29, .22);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--header-h: 72px;
	--section-y: 72px;
	--gutter: 16px;
}

@media (min-width: 768px) {
	:root { --gutter: 24px; }
}

@media (min-width: 992px) {
	:root { --section-y: 128px; }
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink-2);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video,
iframe { max-width: 100%; }

img { height: auto; display: block; }

a { color: var(--sage-700); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
.band--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--on-dark); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong,
b { font-weight: 500; color: var(--ink); }

ul,
ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
figure,
blockquote { margin: 0; }
legend { padding: 0; }

.screen-reader-text,
.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	width: auto; height: auto; clip: auto;
	padding: 12px 20px; background: var(--ink); color: var(--on-dark);
	border-radius: var(--r-pill);
}

/* ==========================================================================
   Typography (§2.2) — light, large, tight. No bold headlines.
   ========================================================================== */

h1, h2, h3, h4,
.display, .h1, .h2, .h3, .h4 {
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 300;
	margin: 0 0 .5em;
	text-wrap: balance;
}

.display { font-size: clamp(42px, 3vw + 30px, 72px); line-height: 1.02; letter-spacing: -.035em; }
h1, .h1 { font-size: clamp(36px, 2.4vw + 27px, 56px); line-height: 1.05; letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(30px, 1.6vw + 24px, 44px); line-height: 1.1; letter-spacing: -.025em; }
h3, .h3 { font-size: clamp(22px, .5vw + 20px, 26px); line-height: 1.2; letter-spacing: -.015em; font-weight: 400; }
h4, .h4 { font-size: clamp(18px, .15vw + 17.5px, 19px); line-height: 1.3; letter-spacing: -.01em; font-weight: 500; }

.muted { color: var(--ink-muted); }
.band--dark .muted { color: var(--on-dark-muted); }

.body-lg { font-size: clamp(17px, .25vw + 16px, 19px); line-height: 1.6; }
.small { font-size: 14px; line-height: 1.5; }

.stat-number {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(44px, 2vw + 36px, 64px);
	line-height: 1;
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	margin: 0;
}

/* The one "Happy" flourish per page — highlighter stroke behind a word. */
.hl { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.hl__stroke {
	position: absolute; z-index: -1;
	left: -4%; width: 108%;
	bottom: .02em; height: .55em;
	color: var(--sun);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
	max-width: calc(1200px + var(--gutter) * 2);
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .5) 0; }
.section--alt { background: var(--surface-2); }

.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head__intro { max-width: 560px; }

@media (min-width: 992px) {
	.section-head { margin-bottom: 56px; }
}

/* Dark bands (§2.3) — inset card, container-width, max three per page. */
.band--dark {
	color: var(--on-dark);
	background: linear-gradient(180deg, var(--sage-900), var(--sage-800));
	border-radius: var(--r-lg);
	padding: 48px 16px;
}

.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: var(--on-dark); }
.band--dark p { color: var(--on-dark-muted); }

@media (min-width: 768px) {
	.band--dark { padding: 72px 48px; }
}

@media (min-width: 1200px) {
	.band--dark { padding: 96px 80px; }
}

.band-wrap { padding: calc(var(--section-y) * .5) 0; }

/* ==========================================================================
   Image frames and placeholders (§2.7) — fixed ratios, no layout shift.
   ========================================================================== */

.frame { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.frame > img,
.frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame--lg { border-radius: var(--r-lg); }
.frame--4x5 { aspect-ratio: 4 / 5; }
.frame--3x4 { aspect-ratio: 3 / 4; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--16x10 { aspect-ratio: 16 / 10; }
.frame--1x1 { aspect-ratio: 1 / 1; }

.ph { display: flex; align-items: flex-end; padding: 16px; }
.ph--stone { background: var(--stone); }
.ph--sage { background: var(--sage-100); }
.ph--rose { background: var(--rose-100); }
.ph--mist { background: var(--mist-100); }

.ph__chip {
	display: inline-block;
	padding: 6px 12px;
	border-radius: var(--r-pill);
	background: rgba(251, 250, 246, .88);
	color: var(--ink-2);
	font-size: 12px;
	line-height: 1.3;
}

/* ==========================================================================
   Buttons (§2.4)
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn--primary,
.btn--on-dark { padding-right: 10px; }

.btn__chip {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%; flex: none;
	transition: transform .15s ease;
}
.btn__chip .icon { width: 16px; height: 16px; }
.btn:hover .btn__chip { transform: translateX(3px); }

.btn--primary { background: var(--sage-700); color: #fff; }
.btn--primary .btn__chip { background: var(--on-dark); color: var(--sage-900); }
.btn--primary:hover { background: var(--sage-600); color: #fff; }

.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: var(--on-dark); }

.btn--on-dark { background: var(--on-dark); color: var(--sage-900); }
.btn--on-dark .btn__chip { background: var(--sage-900); color: var(--on-dark); }
.btn--on-dark:hover { background: #fff; color: var(--sage-900); }

.btn--ghost-dark { border-color: rgba(243, 242, 236, .5); color: var(--on-dark); }
.btn--ghost-dark:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .08); color: var(--on-dark); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--sm.btn--primary { padding-right: 8px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--ink);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--ink); text-decoration-color: var(--sun); }
.band--dark .text-link { color: var(--on-dark); text-decoration-color: rgba(243, 242, 236, .3); }
.band--dark .text-link:hover { text-decoration-color: var(--sun); }

/* ==========================================================================
   Chips
   ========================================================================== */

.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px;
	border-radius: var(--r-pill);
	background: var(--surface-2);
	color: var(--ink);
	font-size: 14px;
	line-height: 1.2;
}
.chip--line { background: var(--surface); border: 1px solid var(--line); }
.chip--rose { background: var(--rose-100); color: var(--rose-700); font-size: 12px; font-weight: 500; padding: 6px 12px; }
.chip--sage { background: var(--sage-100); color: var(--sage-700); font-size: 12px; font-weight: 500; padding: 6px 12px; }
.chip--sun { background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 500; padding: 6px 12px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }

.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: 3px;
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23465748' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ==========================================================================
   Announcement bar + header (§2.4)
   ========================================================================== */

.announce {
	position: relative;
	background: var(--sage-900);
	color: var(--on-dark);
	font-size: 13px;
	line-height: 1.3;
	text-align: center;
	padding: 9px 48px;
}
.announce a { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(243, 242, 236, .4); }
.announce a:hover { color: #fff; text-decoration-color: var(--sun); }
.announce__close {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
	border: 0; background: transparent; color: var(--on-dark-muted); border-radius: 50%;
}
.announce__close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.announce__close .icon { width: 16px; height: 16px; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h);
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}
/* WordPress's admin bar scrolls away below 601px, so only offset above that. */
@media (min-width: 601px) { .admin-bar .site-header { top: 46px; } }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.site-header.is-scrolled,
.site-header.is-solid {
	background: rgba(243, 242, 236, .88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}

.site-header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 56px; height: auto; }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 15px; line-height: 1.15; letter-spacing: -.01em; }
.brand__name span { display: block; color: var(--ink-2); font-weight: 400; }

.site-nav { display: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.header-phone { display: none; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px; border-radius: var(--r-pill); }
.header-phone:hover { color: var(--sage-700); }
.header-cta { display: none; }

.menu-toggle {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); background: var(--surface); border-radius: 50%; color: var(--ink);
}

@media (min-width: 576px) {
	.header-cta { display: inline-flex; }
}

@media (min-width: 1100px) {
	.site-nav { display: block; margin: 0 auto; }
	.site-header__actions { margin-left: 0; }
	.menu-toggle { display: none; }
	.header-phone { display: inline-flex; }
}

@media (min-width: 1100px) and (max-width: 1239px) {
	.header-phone__number { display: none; }
}

/* Desktop menu — top level, with the Services mega panel. */
.site-nav .menu { display: flex; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 10px 14px; border-radius: var(--r-pill);
	color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
/* No "current page" pill: while the menu links to home-page sections,
   WordPress marks every item as current. */
.site-nav .menu > li > a:hover { background: rgba(30, 38, 32, .06); }
.site-nav .menu > li.menu-item-has-children > a::after {
	content: ""; width: 10px; height: 10px; margin-left: 2px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s ease;
}

.site-nav .menu > li > .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 50%;
	display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 8px 32px;
	padding: 28px 32px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	opacity: 0; visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .18s ease, transform .18s var(--ease), visibility .18s;
}
/* Invisible bridge so the panel doesn't close crossing the gap. */
.site-nav .menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav .menu > li:hover > a::after,
.site-nav .menu > li.is-open > a::after { transform: rotate(180deg); }

/* Column headings (Wellness / Aesthetics). */
.site-nav .sub-menu > li > a {
	display: block; margin-bottom: 8px;
	color: var(--ink-2); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.site-nav .sub-menu .sub-menu a {
	display: block; padding: 8px 12px; margin: 0 -12px;
	border-radius: var(--r-sm);
	color: var(--ink); font-size: 15px; text-decoration: none;
}
.site-nav .sub-menu .sub-menu a:hover { background: var(--surface-2); }
/* A plain dropdown (no columns) if a menu item only has one level. */
.site-nav .sub-menu > li:not(.menu-item-has-children) > a { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); padding: 8px 0; margin: 0; }

/* Mobile sheet menu. */
.mobile-menu {
	position: fixed; inset: 0; z-index: 200;
	display: flex; flex-direction: column;
	background: var(--bg);
	opacity: 0; visibility: hidden;
	transition: opacity .2s ease, visibility .2s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.mobile-menu__body { flex: 1; overflow-y: auto; padding: 16px var(--gutter) 24px; }
.mobile-menu__foot { flex: none; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--surface); }

.mobile-menu .menu > li { border-bottom: 1px solid var(--line); }
.mobile-menu .menu a { display: block; padding: 16px 0; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 24px; font-weight: 300; letter-spacing: -.015em; }
.mobile-menu .menu-item-has-children { position: relative; }
.mobile-menu .submenu-toggle {
	position: absolute; right: 0; top: 10px;
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	border: 0; background: transparent; color: var(--ink);
}
.mobile-menu .submenu-toggle .icon { transition: transform .2s ease; }
.mobile-menu .is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.mobile-menu .sub-menu { display: none; padding: 0 0 12px 0; }
.mobile-menu .is-open > .sub-menu { display: block; }
.mobile-menu .sub-menu > li > a { font-family: var(--font-body); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 12px 0 4px; }
.mobile-menu .sub-menu .sub-menu { display: block; padding: 0; }
.mobile-menu .sub-menu .sub-menu a { font-family: var(--font-body); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 8px 0; }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Home — hero (§4.1.1)
   ========================================================================== */

/* Phones and tablets: the photo sits behind the heading and buttons, under a
   light wash so the text stays readable, so the two read as one block. */
.hero { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.hero__content { position: relative; z-index: 2; padding: 56px var(--gutter) 64px; }
.hero__title { margin-bottom: 20px; }
.hero__text { max-width: 540px; margin-bottom: 28px; }
.hero__text,
.hero__text p { color: var(--ink); }
.hero__media { position: absolute; inset: 0; margin: 0; }
.hero__media .frame { position: absolute; inset: 0; border-radius: 0; }
.hero__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(243, 242, 236, .9) 0%, rgba(243, 242, 236, .8) 55%, rgba(243, 242, 236, .62) 100%);
}
.hero .ph__chip { display: none; }

.hero__media img { animation: hero-settle 1.6s var(--ease) both; }
@keyframes hero-settle { from { transform: scale(1.04); } to { transform: scale(1); } }

.trust-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 6px 16px 6px 6px; border-radius: var(--r-pill); background: rgba(251, 250, 246, .85); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.trust-chip__photo { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: var(--stone); position: relative; }
.trust-chip__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
	.hero__content { padding-top: 88px; padding-bottom: 96px; }
}

/* Desktop: full-bleed photo, heading over the calm left side. */
@media (min-width: 992px) {
	.hero { margin-top: calc(var(--header-h) * -1); min-height: min(92vh, 880px); display: flex; align-items: center; }
	.hero__text,
	.hero__text p { color: var(--ink-2); }
	.hero .ph__chip { display: inline-block; }
	/* Light wash on the left for the heading, and along the top so the
	   transparent header stays readable over any photo. */
	.hero__media::after {
		content: ""; position: absolute; inset: 0; pointer-events: none;
		background:
			linear-gradient(180deg, rgba(243, 242, 236, .9) 0, rgba(243, 242, 236, .55) 110px, rgba(243, 242, 236, 0) 180px),
			linear-gradient(90deg, rgba(243, 242, 236, .94) 0%, rgba(243, 242, 236, .8) 34%, rgba(243, 242, 236, 0) 62%);
	}
	.hero { flex-direction: row; }
	.hero__content { padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; }
	.hero__inner { max-width: 640px; }
	.hero .ph { align-items: flex-end; justify-content: flex-end; padding: 32px; }
}

/* Credentials strip (§4.1.2) */
.credentials { padding: 28px 0; border-bottom: 1px solid var(--line); }
.credentials__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.credentials__item { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; letter-spacing: .01em; }
.credentials__item .icon { width: 18px; height: 18px; color: var(--sage-500); }

@media (min-width: 992px) {
	.credentials__list { justify-content: space-between; }
}

/* Who we are + stats (§4.1.3) */
.intro__text { max-width: 540px; margin-bottom: 28px; }
.intro__media { margin-top: 40px; }

.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; border-top: 1px solid var(--line); padding-top: 32px; }
.stats__label { margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

@media (min-width: 992px) {
	.intro__media { margin-top: 0; }
	.stats { grid-template-columns: repeat(4, 1fr); margin-top: 80px; padding-top: 40px; }
	.stats__item + .stats__item { border-left: 1px solid var(--line); padding-left: 32px; }
}

/* Empathy — one wide image at its own shape, the text under it. */
.empathy__media { display: flex; justify-content: center; }
.empathy__media img { width: auto; max-width: 100%; height: auto; border-radius: var(--r-lg); }

/* Phones: the graphic runs edge to edge — its small labels need every pixel. */
@media (max-width: 767.98px) {
	.empathy__media { margin: 0 calc(var(--gutter) * -1); }
	.empathy__media img { width: 100%; border-radius: 0; }
}

/* Larger screens: at most 80% wide, and short enough that the graphic and
   the text under it fit on one screen together. */
@media (min-width: 768px) {
	.empathy__media img { max-width: 80%; max-height: max(320px, calc(100svh - var(--header-h) - 240px)); }
}
.empathy__text { max-width: 820px; margin: 32px auto 0; text-align: center; color: var(--ink-2); }
.empathy__media + .empathy__text { margin-top: 32px; }

@media (min-width: 992px) {
	.empathy__text { margin-top: 48px; }
}

/* Symptom finder (§4.1.5) */
.tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); width: max-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn { flex: none; border: 0; background: transparent; padding: 10px 18px; border-radius: var(--r-pill); color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn[aria-selected="true"] { background: var(--sage-700); color: #fff; }

.symptoms__panel .chip-list { margin-bottom: 24px; }
.symptoms__panel .chip { background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; font-size: 15px; }
.symptoms__match { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); }
.symptoms__cta { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.symptoms__cta p { margin: 0; font-family: var(--font-display); font-size: 22px; color: var(--ink); }

/* Services — category tabs, then an accordion of services. One service is
   open at a time so long descriptions never stack into a wall of text.
   Desktop shows the open service's photo beside the list; phones show it
   inside the open item. */
.services__tabs { margin-bottom: 32px; }
.services__panel[hidden] { display: none; }

.service-item { border-top: 1px solid var(--line); }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item__heading { margin: 0; font-size: inherit; }
.service-item__trigger { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 4px; border: 0; background: transparent; text-align: left; color: var(--ink); }
.service-item__num { flex: none; width: 28px; color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.service-item__title { flex: 1; font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 1.25; letter-spacing: -.015em; }
.service-item__trigger .icon { flex: none; width: 36px; height: 36px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; transition: transform .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.service-item__trigger:hover .icon { border-color: var(--ink); }
.service-item.is-open .service-item__trigger .icon { transform: rotate(180deg); background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.service-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.service-item__panel > div { overflow: hidden; }
.service-item.is-open .service-item__panel { grid-template-rows: 1fr; }
.service-item__body { padding: 0 4px 28px 48px; }
.service-item__media { margin-bottom: 20px; }
.service-item__text { max-width: 560px; }

.services__media { position: relative; display: none; }
.services__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.services__slide.is-active { opacity: 1; }
.services__slide .frame { position: absolute; inset: 0; }

.services__cta { margin-top: 48px; display: flex; justify-content: center; }

@media (max-width: 575.98px) {
	.service-item__body { padding-left: 4px; }
}

@media (min-width: 992px) {
	.service-item__trigger { padding-top: 26px; padding-bottom: 26px; }
	.service-item__title { font-size: 24px; }
	.service-item__media { display: none; }
	/* Stays in view while a long description is read. */
	.services__media { display: block; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 24px); }
	.services__cta { margin-top: 64px; }
}

/* Numbered accordion (§2.4 / §4.1.7) */
.approach__list { counter-reset: step; }
.approach__item { border-top: 1px solid var(--line); border-radius: 0; transition: background-color .25s ease, border-radius .25s ease, color .25s ease; }
.approach__item:last-child { border-bottom: 1px solid var(--line); }
.approach__trigger { width: 100%; display: flex; align-items: center; gap: 20px; padding: 22px 8px; border: 0; background: transparent; text-align: left; color: var(--ink); }
.approach__num { flex: none; width: 44px; color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.approach__title { flex: 1; margin: 0; font-size: 19px; }
.approach__trigger .icon { flex: none; transition: transform .25s ease; }
.approach__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.approach__panel > div { overflow: hidden; }
.approach__text { padding: 0 8px 24px 72px; }

.approach__item.is-open { background: var(--sage-900); border-color: transparent; border-radius: var(--r-lg); }
.approach__item.is-open + .approach__item { border-top-color: transparent; }
.approach__item.is-open .approach__trigger,
.approach__item.is-open .approach__title { color: var(--on-dark); }
.approach__item.is-open .approach__num { color: var(--on-dark-muted); }
.approach__item.is-open .approach__trigger .icon { transform: rotate(180deg); }
.approach__item.is-open .approach__panel { grid-template-rows: 1fr; }
.approach__item.is-open .approach__text,
.approach__item.is-open .approach__text p { color: var(--on-dark-muted); }
.approach__item.is-open .approach__text a,
.approach__item.is-open .approach__text strong { color: var(--on-dark); }
.approach__item.is-open .approach__trigger { padding-left: 24px; padding-right: 24px; }
.approach__item.is-open .approach__text { padding-left: 88px; padding-right: 24px; }
.approach__cta { margin-top: 32px; }

.approach__media { position: relative; margin-top: 32px; }
.approach__media .frame { aspect-ratio: 4 / 5; }
.approach__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.approach__slide.is-active { opacity: 1; }
.approach__slide .frame { position: absolute; inset: 0; aspect-ratio: auto; }

@media (max-width: 991.98px) {
	.approach__media { display: none; }
}

@media (min-width: 992px) {
	.approach__media { margin-top: 0; height: 100%; min-height: 560px; }
	.approach__trigger { padding-top: 26px; padding-bottom: 26px; }
}

/* Journey timeline (§2.4 / §4.1.8) */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node { position: absolute; left: -36px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--sage-700); }
.timeline__node .icon { width: 16px; height: 16px; }
.timeline__body { padding-left: 20px; }
.timeline__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-700); }
.timeline__title { margin-bottom: 6px; }
.timeline__text { margin: 0; }
.timeline__link { margin: 10px 0 0; font-size: 15px; }
/* Links typed into a step title get an underline and a small link icon. */
.timeline__title a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.timeline__title a:hover { color: var(--ink); text-decoration-color: var(--sun); }
.timeline__title a::after {
	content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -1px;
	background: var(--sage-600);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
}
.timeline__title strong,
.timeline__title b { font-weight: 600; }

/* Desktop: centre line, cards alternate sides. */
@media (min-width: 992px) {
	.timeline { padding-left: 0; max-width: 960px; margin: 0 auto; }
	.timeline::before { left: 50%; }
	.timeline__item { width: 50%; padding-bottom: 48px; }
	.timeline__item:nth-child(odd) { padding-right: 56px; text-align: right; }
	.timeline__item:nth-child(even) { margin-left: 50%; padding-left: 56px; }
	.timeline__node { left: auto; right: -18px; }
	.timeline__item:nth-child(even) .timeline__node { right: auto; left: -18px; }
	.timeline__body { padding-left: 0; }
}

/* Provider feature (§2.4 / §4.1.10) */
.provider__media { margin-bottom: 40px; }
.provider__creds { margin: 20px 0 24px; }
.provider__quote { margin: 32px 0; padding-left: 20px; border-left: 2px solid var(--sun); font-family: var(--font-display); font-size: clamp(22px, .5vw + 20px, 26px); font-weight: 300; line-height: 1.3; letter-spacing: -.015em; color: var(--ink-muted); }
.provider__quote strong { color: var(--ink); font-weight: 300; }
.provider__sign { display: block; margin-top: 12px; font-family: var(--font-body); font-size: 14px; color: var(--ink-2); letter-spacing: 0; }

.provider__text { margin-bottom: 32px; }

@media (min-width: 992px) {
	.provider__media { margin-bottom: 0; }
}

/* Video + booking CTA: heading and text above, the video across the full
   container width (playing silently on a loop), the button below. */
.frame--16x9 { aspect-ratio: 16 / 9; }
.video-cta__text { margin-top: 16px; }
.video-cta__media { background: var(--sage-900); }
.video-cta__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-cta__cta { margin-top: 32px; display: flex; justify-content: center; }

.video-speed { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; }
.video-speed__label { margin-right: 4px; font-size: 13px; color: var(--ink-2); }
.video-speed__btn { min-width: 48px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.video-speed__btn:hover { border-color: var(--ink); }
.video-speed__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

@media (min-width: 992px) {
	.video-cta__cta { margin-top: 48px; }
}

/* Testimonials (§2.4 / §4.1.11) */
.carousel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.carousel-head .section-head { margin-bottom: 0; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease, opacity .15s ease; }
.carousel-nav__btn:hover { background: var(--ink); color: var(--on-dark); }
.carousel-nav__btn.swiper-button-disabled { opacity: .3; pointer-events: none; }

/* Cards run past the container to the screen edge so the next one peeks in. */
.testimonials { overflow: hidden; }
.testimonials .swiper { overflow: visible; }
.testimonial { height: auto; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.testimonial__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.testimonial__top .icon { width: 28px; height: 28px; flex: none; color: var(--sage-500); }
.testimonial__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.testimonial__quote { flex: 1; margin: 0 0 24px; color: var(--ink); font-size: 17px; line-height: 1.6; }
.testimonial__who { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mist-100); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; flex: none; }
.testimonial__name { margin: 0; color: var(--ink); font-weight: 500; }

.swiper-pagination-progress { position: relative; height: 2px; margin-top: 32px; background: var(--line); border-radius: 2px; overflow: hidden; }
.swiper-pagination-progress .swiper-pagination-progressbar-fill { background: var(--ink); }

/* Pricing (§2.4 / §4.1.12) — the grid class carries the card count (max 3). */
.pricing__grid { display: grid; gap: 16px; }

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

@media (min-width: 992px) {
	.pricing__grid { gap: 24px; align-items: start; }
	.pricing__grid--3 { grid-template-columns: repeat(3, 1fr); }
	.pricing__grid--3 .price-card--featured { margin-top: -16px; }
}

.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.price-card--featured { background: var(--rose-100); border-color: transparent; box-shadow: var(--shadow-float); }
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; min-height: 28px; }
.price-card__name { margin-bottom: 16px; }
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.price-card__prefix,
.price-card__suffix { font-size: 15px; color: var(--ink-2); }
.price-card__summary { margin-bottom: 24px; }
.price-card .btn { width: 100%; }
.price-card__includes { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.price-card--featured .price-card__includes { border-top-color: rgba(134, 104, 91, .2); }
.price-card__includes-title { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.price-card__includes .check-list li { font-size: 15px; }
.price-card--compact .price-card__name { font-size: 22px; }

.price-card__head { position: relative; }
.price-card__toggle { display: none; }

/* Phones: each card collapses to name + price; tap to open it on its own. */
@media (max-width: 767.98px) {
	.price-card { padding: 20px; }
	.price-card__top { margin-bottom: 12px; }
	.price-card__name { margin-bottom: 8px; padding-right: 48px; }
	.price-card__price { margin-bottom: 0; }
	.price-card .stat-number { font-size: 40px; }

	/* The button stretches over the whole head so any tap on it toggles. */
	.price-card__toggle {
		display: flex; align-items: flex-end; justify-content: flex-end;
		position: absolute; inset: -20px -20px 0 -20px; padding: 0 20px 6px;
		border: 0; background: transparent; color: var(--ink);
		border-radius: var(--r-lg) var(--r-lg) 0 0;
	}
	.price-card__toggle .icon {
		width: 36px; height: 36px; padding: 8px; flex: none;
		border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
		transition: transform .25s ease;
	}
	.price-card.is-open .price-card__toggle .icon { transform: rotate(180deg); }

	.price-card__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
	.price-card__body > div { overflow: hidden; }
	.price-card__body > div > :first-child { margin-top: 16px; }
	.price-card.is-open .price-card__body { grid-template-rows: 1fr; }

}

.pricing__foot { margin-top: 32px; font-size: 14px; }

.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }

/* Final CTA with the form (§4.1.16) — full-bleed, dark band #3. */
.cta-final { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sage-900), var(--sage-800)); color: var(--on-dark); padding: var(--section-y) 0; }
.cta-final h1,
.cta-final h2 { color: var(--on-dark); }
.cta-final a:not(.btn) { color: var(--on-dark); }
.cta-final p { color: var(--on-dark-muted); }
.cta-final__bg { display: none; }
.cta-final__content { position: relative; z-index: 1; }
.cta-final__points { margin: 28px 0 40px; }
.cta-final__points li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(243, 242, 236, .12); color: var(--on-dark); }
.cta-final__points li:last-child { border-bottom: 1px solid rgba(243, 242, 236, .12); }
.cta-final__points .icon { color: var(--sun); width: 18px; height: 18px; flex: none; }
.cta-final__points a { color: var(--on-dark); }

@media (min-width: 992px) {
	/* Photo fades out to the right rather than ending on a hard edge. */
	.cta-final__bg {
		display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 58%;
		-webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
		mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
	}
	.cta-final__bg .frame { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
	.cta-final__bg::after { content: ""; position: absolute; inset: 0; background: rgba(37, 48, 42, .35); }
	.cta-final__bg .ph { background: var(--sage-800); }
	.cta-final__bg .ph__chip { display: none; }
}

/* Photo CTA band on inner pages. */
.cta-band { position: relative; overflow: hidden; color: var(--on-dark); background: var(--sage-900); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg .frame { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 35, 29, .92) 0%, rgba(27, 35, 29, .75) 45%, rgba(27, 35, 29, .25) 100%); }
.cta-band__content { position: relative; z-index: 1; padding: 96px 0; max-width: 620px; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-muted); margin-bottom: 28px; }
.cta-band .ph__chip { position: absolute; right: 16px; bottom: 16px; }

@media (min-width: 992px) {
	.cta-band__content { padding: 144px 0; }
}

/* ==========================================================================
   Footer (§2.4 / §4.1.17)
   ========================================================================== */

.site-footer { background: var(--sage-950); color: var(--on-dark-muted); padding-top: 72px; overflow: hidden; }
.site-footer a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; text-decoration-color: var(--sun); }
.site-footer__badge { display: inline-block; padding: 12px 16px; background: var(--surface); border-radius: var(--r-md); margin-bottom: 24px; }
.site-footer__badge img { width: var(--logo-w, 150px); max-width: 100%; }
.site-footer__badge--plain { padding: 0; background: none; border-radius: 0; }
.footer-col { margin-bottom: 40px; }
.footer-col__title { margin-bottom: 16px; color: var(--on-dark); font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.footer-col li { margin-bottom: 10px; }
.footer-col address { font-style: normal; line-height: 1.6; }
.footer-col .appt { margin-top: 12px; color: var(--on-dark); }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243, 242, 236, .2); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--on-dark); text-decoration: none; }
.footer-brand__text { max-width: 320px; font-size: 15px; }
.footer-col__note { font-size: 14px; }
.footer-contact-list { margin-top: 16px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; }
.footer-contact-list .icon { width: 16px; height: 16px; flex: none; color: var(--on-dark-muted); }

@media (min-width: 992px) {
	.footer-col { margin-bottom: 56px; }
}

.wordmark { margin: 24px 0 32px; font-family: var(--font-display); font-weight: 300; font-size: 12.4vw; line-height: .85; letter-spacing: -.05em; color: var(--sage-500); opacity: .55; white-space: nowrap; text-align: center; user-select: none; pointer-events: none; }

.footer-bottom { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(243, 242, 236, .1); font-size: 13px; }
.footer-bottom__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.footer-bottom p { margin: 0 0 6px; }

/* Room for the sticky CTA on phones. */
@media (max-width: 991.98px) {
	.site-footer { padding-bottom: 72px; }
}

/* ==========================================================================
   Sticky mobile CTA + cookie notice
   ========================================================================== */

.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: rgba(243, 242, 236, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
	transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn--primary { flex: 1; }
.sticky-cta__phone { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; color: var(--ink); }

@media (min-width: 992px) {
	.sticky-cta { display: none; }
}

.cookie-notice {
	position: fixed; z-index: 95; left: 12px; right: 12px; bottom: 84px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
	padding: 14px 16px; max-width: 420px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
	font-size: 13px; color: var(--ink-2); line-height: 1.45;
	box-shadow: 0 10px 30px -18px rgba(27, 35, 29, .35);
	animation: cookie-in .4s var(--ease) both;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice__text { margin: 0; flex: 1 1 200px; }
.cookie-notice__text a { color: var(--ink); }
.cookie-notice__actions { display: flex; gap: 6px; }
.cookie-notice__btn { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 500; }
.cookie-notice__btn:hover { border-color: var(--ink); }
.cookie-notice__btn--accept { background: var(--sage-700); border-color: var(--sage-700); color: #fff; }
.cookie-notice__btn--accept:hover { background: var(--sage-600); border-color: var(--sage-600); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 992px) {
	.cookie-notice { left: 24px; right: auto; bottom: 24px; }
}

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

.contact-hero { padding-bottom: 0; }
.contact-hero__intro { max-width: 640px; }
.contact { padding-top: 48px; }
.contact__media { margin-bottom: 32px; }

.contact-list__item { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list__item:last-child { border-bottom: 1px solid var(--line); }
.contact-list__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-100); color: var(--sage-700); display: flex; align-items: center; justify-content: center; }
.contact-list__label { margin: 0 0 2px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.contact-list__value { display: block; margin: 0; color: var(--ink); font-size: 17px; font-style: normal; text-decoration: none; }
a.contact-list__value:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.contact-list__note { margin: 4px 0 8px; font-size: 14px; }

.contact__book { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact__book p { margin: 0; font-family: var(--font-display); font-size: 20px; color: var(--ink); }

.contact-card { margin-top: 48px; padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-float); }
.contact-card__title { margin-bottom: 8px; }
.contact-card__text { margin-bottom: 24px; }

@media (min-width: 768px) {
	.contact-card { padding: 40px; }
}

@media (min-width: 992px) {
	.contact { padding-top: 64px; }
	.contact-card { margin-top: 0; }
}

/* Contact Form 7 markup (field wrappers are written in the form itself). */
.contact-form .cf-row { margin-bottom: 16px; }
.contact-form .cf-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.contact-form .cf-grid .cf-row { margin-bottom: 0; }
.contact-form .cf-label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 500; }
.contact-form .cf-optional { color: var(--ink-2); font-weight: 400; }
.contact-form .cf-input {
	width: 100%; min-height: 50px; padding: 12px 16px;
	border: 1px solid var(--line); border-radius: var(--r-sm);
	background: var(--bg); color: var(--ink);
	font: inherit; font-size: 16px; line-height: 1.4;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.contact-form select.cf-input { appearance: none; padding-right: 44px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2620' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.contact-form textarea.cf-input { min-height: 0; resize: vertical; }
.contact-form .cf-input::placeholder { color: var(--ink-muted); }
.contact-form .cf-input:hover { border-color: var(--stone); }
.contact-form .cf-input:focus { outline: none; border-color: var(--sage-600); background: var(--surface); box-shadow: 0 0 0 3px var(--sage-100); }
.contact-form .cf-note { margin: 4px 0 20px; font-size: 14px; color: var(--ink-2); }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid { border-color: var(--error); }
.contact-form .wpcf7-not-valid-tip { display: block; margin-top: 4px; color: var(--error); font-size: 13px; }
.contact-form .wpcf7-submit { cursor: pointer; width: 100%; }
.contact-form .wpcf7-spinner { margin: 12px auto 0; display: block; }
.contact-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 16px !important; border-radius: var(--r-sm); font-size: 14px; color: var(--ink); border-color: var(--line) !important; }
.contact-form.sent .wpcf7-response-output { border-color: var(--success) !important; background: var(--sage-100); }
.contact-form.invalid .wpcf7-response-output,
.contact-form.failed .wpcf7-response-output { border-color: var(--error) !important; background: var(--rose-100); }

@media (min-width: 576px) {
	.contact-form .cf-grid { grid-template-columns: 1fr 1fr; }
	.contact-form .wpcf7-submit { width: auto; }
}

/* ==========================================================================
   Rich text from the editor — bold, italic, underline, lists, links.
   ========================================================================== */

.rte > :last-child { margin-bottom: 0; }
.rte p + p { margin-top: 0; }
.rte ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.rte ol { list-style: decimal; padding-left: 1.25em; margin: 0 0 1em; }
.rte li { margin-bottom: .35em; }
.rte a { color: inherit; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.rte a:hover { color: var(--ink); }
.band--dark .rte a:hover,
.cta-final .rte a:hover { color: #fff; }
.rte strong,
.rte b { font-weight: 600; }
.rte em { font-style: italic; }

/* "Edit section" buttons — only rendered for logged-in editors. */
main > section,
main > div { position: relative; }
.edit-links { position: absolute; top: 12px; right: 12px; z-index: 20; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.hero .edit-links { top: 12px; }
.edit-section {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: var(--r-pill);
	background: var(--ink); color: var(--on-dark);
	font-size: 12px; font-weight: 500; line-height: 1.2; text-decoration: none;
	box-shadow: 0 6px 16px -8px rgba(27, 35, 29, .6);
	opacity: .55; transition: opacity .15s ease;
}
.edit-section .icon { width: 14px; height: 14px; }
.edit-section:hover,
.edit-section:focus-visible,
main > section:hover .edit-section { opacity: 1; color: #fff; }

@media (min-width: 992px) {
	.hero .edit-links { top: calc(var(--header-h) + 12px); }
}

/* ==========================================================================
   Inner pages — simple fallback until each template is built.
   ========================================================================== */

.page-hero { padding: 56px 0 40px; }
.page-hero__title { margin-bottom: 16px; }
.entry-content { max-width: 760px; }
.article__media { margin-bottom: 40px; }
.entry-content h2 { margin-top: 1.5em; }
.entry-content ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.entry-content ol { list-style: decimal; padding-left: 1.2em; margin-bottom: 1em; }

@media (min-width: 992px) {
	.page-hero { padding: 96px 0 56px; }
}

/* ==========================================================================
   Motion (§2.5) — quiet fade-up, reduced-motion respected.
   ========================================================================== */

/* animate.css moves elements a full 100%; the design wants 16px. */
@keyframes fadeInUp {
	from { opacity: 0; transform: translate3d(0, 16px, 0); }
	to { opacity: 1; transform: none; }
}
.animate__animated.animate__fadeInUp { animation-duration: .5s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.wow { visibility: visible !important; }
}
