/**
 * trener — BodyManagement
 *
 * Ported from the static design. Every value here comes from the mockup's
 * inline styles; the only change is that they now live in named components.
 *
 * 1.  Tokens
 * 2.  Base
 * 3.  Layout
 * 4.  Typography
 * 5.  Buttons
 * 6.  Header / navigation
 * 7.  Hero
 * 8.  How it works
 * 9.  Pricing
 * 10. Calculator
 * 11. Cases
 * 12. About
 * 13. Blog teasers
 * 14. Booking
 * 15. Landing blocks
 * 16. FAQ
 * 17. Footer
 * 18. Lightbox
 * 19. Sticky CTA
 * 20. Blog archive & single
 * 21. Utilities
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--bg: #0E1214;
	--panel: #171C1F;
	--line: #242C30;
	--line-2: #3A4348;
	--fg: #EDF2F1;
	--muted: #8FA0A6;
	--accent: #12FDA3;
	--accent-2: #2AFAF8;
	--warn: #FF8A6B;

	--font-head: "Oswald", "Arial Narrow", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-script: "Caveat", "Segoe Script", cursive;

	--wrap: 1280px;
	--pad-x: clamp(16px, 4vw, 56px);
	--pad-sec-x: clamp(16px, 4vw, 48px);
	--sec-y: clamp(40px, 7vw, 96px);
	--sec-y-inner: clamp(32px, 6vw, 80px);
	--sec-y-landing: clamp(40px, 7vw, 88px);

	--gap-lg: clamp(24px, 4vw, 64px);
	--gap-md: clamp(24px, 5vw, 56px);
	--pad-card: clamp(20px, 3vw, 32px);

	--radius: 4px;
	--radius-sm: 2px;

	--tap: 44px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
}

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

img {
	height: auto;
}

a {
	color: var(--fg);
	text-decoration: none;
}

a:hover {
	color: var(--accent);
}

input,
select,
button,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

input[type="radio"] {
	accent-color: var(--accent);
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 32px 0;
}

::selection {
	background: var(--accent);
	color: var(--bg);
}

.screen-reader-text {
	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 {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--accent);
	color: var(--bg);
	border-radius: var(--radius);
	font-weight: 600;
}

.skip-link:focus {
	top: 8px;
	color: var(--bg);
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
}

.section {
	padding: var(--sec-y) var(--pad-sec-x);
	border-bottom: 1px solid var(--line);
}

.section--inner {
	padding: var(--sec-y-inner) var(--pad-x);
}

.section--landing {
	padding: var(--sec-y-landing) var(--pad-x);
}

.section--last {
	border-bottom: 0;
}

.section--bleed {
	position: relative;
	isolation: isolate;
}

/* Full-bleed background image plus its darkening scrim. */
.section__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.5);
}

.section__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(14, 18, 20, 0.97) 0%, rgba(14, 18, 20, 0.92) 45%, rgba(14, 18, 20, 0.86) 100%);
}

/* Auto-fitting column grid. Set --min per instance. */
.grid {
	--min: 320px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
	gap: var(--gap-lg);
}

.grid--md {
	gap: 24px;
}

.grid--top {
	align-items: start;
}

.grid--center {
	align-items: center;
}

.stack {
	display: grid;
	gap: 24px;
	align-content: start;
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

.h1,
.h2,
.h3 {
	font-family: var(--font-head);
	margin: 0;
}

.h1 {
	font-weight: 600;
	font-size: clamp(38px, 7vw, 84px);
	line-height: 0.98;
	text-transform: uppercase;
}

.h1--inner {
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.03;
	max-width: 22ch;
}

.h1--landing {
	font-size: clamp(34px, 5.4vw, 60px);
	line-height: 1.02;
	max-width: 24ch;
}

.h1 .accent,
.accent {
	color: var(--accent);
}

.h2 {
	font-weight: 500;
	font-size: clamp(26px, 3.4vw, 36px);
	line-height: 1.15;
}

.h2--inner {
	font-size: clamp(24px, 3.2vw, 34px);
}

.h3 {
	font-weight: 500;
	font-size: clamp(20px, 2vw, 24px);
}

.eyebrow {
	margin: 0;
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.eyebrow--head {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(13px, 1.4vw, 15px);
	letter-spacing: 0.22em;
}

.eyebrow--accent {
	color: var(--accent);
	font-size: 13px;
}

.lead {
	margin: 0;
	max-width: 60ch;
	color: var(--muted);
}

.lead--bright {
	color: var(--fg);
	max-width: 62ch;
}

.section__head {
	display: grid;
	gap: 16px;
	margin-bottom: 40px;
}

.section__head--row {
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 16px 40px;
}

/* The lead spans both columns under the title/link row. */
.section__head--row .lead {
	grid-column: 1 / -1;
}

.note {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
	max-width: 60ch;
}

.note--15 {
	font-size: 15px;
	max-width: 52ch;
}

.script {
	margin: 0;
	font-family: var(--font-script);
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.2;
	max-width: 18ch;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 6px;
}

.rule {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

/* Key/value definition rows — used by Формат, Освіта, Результати, Запис. */
.kv {
	margin: 0;
	display: grid;
	gap: 12px;
	font-variant-numeric: tabular-nums;
}

.kv > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

.kv > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.kv dt {
	color: var(--muted);
	font-size: 14px;
}

.kv dd {
	margin: 0;
	color: var(--accent-2);
	text-align: right;
}

.kv--stacked > div {
	display: block;
}

.kv--stacked dd {
	color: var(--fg);
	text-align: left;
	margin-top: 2px;
}

.kv--narrow > div {
	max-width: 36ch;
}

.kv--plain dd {
	color: var(--fg);
}

/* Editorial lists on the landing pages. */
.list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
	max-width: 52ch;
}

.list li {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.list--numbered {
	list-style: decimal;
	padding-left: 24px;
	max-width: 60ch;
}

.list--numbered li {
	padding-bottom: 0;
	border-bottom: 0;
}

/* WYSIWYG output. */
.rich > :first-child {
	margin-top: 0;
}

.rich > :last-child {
	margin-bottom: 0;
}

.rich p,
.rich ul,
.rich ol {
	max-width: 62ch;
}

.rich p {
	margin: 0 0 16px;
}

.rich a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rich h2,
.rich h3,
.rich h4 {
	font-family: var(--font-head);
	font-weight: 500;
	margin: 32px 0 12px;
}

.rich h2 {
	font-size: clamp(24px, 3vw, 32px);
}

.rich h3 {
	font-size: clamp(20px, 2.2vw, 24px);
}

.rich ul,
.rich ol {
	padding-left: 24px;
	margin: 0 0 16px;
}

.rich li {
	margin-bottom: 8px;
}

.rich blockquote {
	margin: 24px 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--accent);
	color: var(--fg);
}

.rich img {
	border-radius: var(--radius);
}

.rich code {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 2px 6px;
	font-size: 0.9em;
}

/* Related links row. */
.links-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 15px;
}

.links-row a {
	color: var(--accent);
}

/* Breadcrumbs. */
.crumbs {
	padding: 14px var(--pad-x);
	font-size: 14px;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
}

.crumbs a {
	color: var(--muted);
}

.crumbs a:hover {
	color: var(--accent);
}

.crumbs__sep {
	padding: 0 8px;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn--primary {
	background: var(--accent);
	color: var(--bg);
	font-weight: 600;
}

.btn--primary:hover {
	background: #0be094;
	color: var(--bg);
}

.btn--ghost {
	border-color: var(--line-2);
	background: rgba(14, 18, 20, 0.6);
	color: var(--fg);
	white-space: nowrap;
}

.btn--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn--tall {
	min-height: 56px;
}

.btn--block {
	width: 100%;
}

.btn__arrow {
	flex: 0 0 auto;
}

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

/* ==========================================================================
   6. Header / navigation
   ========================================================================== */

.nav-shell {
	position: relative;
	z-index: 30;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.nav-shell--transparent {
	background: rgba(14, 18, 20, 0.86);
}

.nav-shell__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px var(--pad-x);
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.logo__mark {
	display: flex;
	gap: 4px;
	flex: 0 0 auto;
}

.logo__mark span {
	display: block;
	width: 8px;
	height: 26px;
	background: var(--accent);
	transform: skewX(-16deg);
}

.logo__text {
	display: grid;
	gap: 2px;
}

.logo__name {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--fg);
}

.logo__name b {
	font-weight: 600;
	color: var(--muted);
}

.logo__tagline {
	font-size: 10px;
	letter-spacing: 0.2em;
	color: var(--muted);
}

/* Desktop nav. */
.nav {
	display: none;
	align-items: center;
	gap: 14px;
	font-size: 13px;
}

.nav ul {
	display: flex;
	align-items: center;
	gap: inherit;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav a {
	color: var(--muted);
	white-space: nowrap;
}

.nav a:hover {
	color: var(--accent);
}

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_ancestor > a {
	color: var(--accent);
}

.nav__item--parent {
	position: relative;
}

/* The toggle that reveals a submenu. */
.nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	font: inherit;
	cursor: pointer;
	white-space: nowrap;
}

.nav__toggle:hover,
.nav__toggle[aria-expanded="true"] {
	color: var(--accent);
}

.nav__item--parent.current-menu-ancestor > .nav__toggle,
.nav__item--parent.current-menu-item > .nav__toggle {
	color: var(--accent);
}

.nav__toggle svg {
	flex: 0 0 auto;
	transition: transform 0.16s ease;
}

.nav__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.nav__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 40;
	display: grid;
	min-width: 230px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.nav__panel[hidden] {
	display: none;
}

.nav__panel li {
	display: block;
}

.nav__panel a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 16px;
	border-bottom: 1px solid var(--line);
	white-space: normal;
}

.nav__panel li:last-child a {
	border-bottom: 0;
}

.nav__cta {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	padding: 0 18px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	color: var(--fg);
	white-space: nowrap;
}

.nav__cta:hover {
	border-color: var(--accent);
}

/* Burger. */
.burger {
	display: grid;
	grid-auto-rows: 2px;
	gap: 5px;
	place-content: center;
	justify-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: none;
	cursor: pointer;
	flex: 0 0 auto;
}

.burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--fg);
	border-radius: 1px;
	transition: transform 0.18s ease, opacity 0.12s ease;
}

.burger[aria-expanded="true"] {
	border-color: var(--accent);
	background: rgba(18, 253, 163, 0.08);
}

.burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel. */
.mobile-nav {
	display: grid;
	padding: 0 var(--pad-x) 20px;
	background: var(--bg);
	border-top: 1px solid var(--line);
	max-height: calc(100vh - 84px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Scoped away from the CTA, which keeps its button styling. */
.mobile-nav a:not(.btn) {
	display: flex;
	align-items: center;
	min-height: 52px;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
	font-size: 16px;
}

.mobile-nav .current-menu-item > a,
.mobile-nav .current_page_item > a,
.mobile-nav .current-menu-ancestor > a {
	color: var(--accent);
}

.mobile-nav__cta,
.mobile-nav a.mobile-nav__cta {
	color: var(--bg);
}

/* Submenu items sit indented rather than hidden. */
.mobile-nav .sub-menu a {
	padding-left: 16px;
	font-size: 15px;
}

.mobile-nav__cta {
	margin-top: 16px;
}

@media (min-width: 880px) {
	.nav {
		display: flex;
	}

	.burger {
		display: none;
	}

	.mobile-nav {
		display: none !important;
	}
}

@media (min-width: 1240px) {
	.nav {
		gap: 22px;
		font-size: 14px;
	}
}

/* Tagline only has room on wide screens. */
.logo__tagline {
	display: none;
}

@media (min-width: 1100px) {
	.logo__tagline {
		display: block;
	}
}

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
	position: relative;
	min-height: clamp(620px, 94vh, 940px);
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--line);
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 50%;
	filter: brightness(1.12) contrast(1.04);
}

.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(100deg, rgba(14, 18, 20, 0.9) 0%, rgba(14, 18, 20, 0.8) 32%, rgba(14, 18, 20, 0.3) 56%, rgba(14, 18, 20, 0.5) 100%);
}

/* Sits above the cut-out figure to keep the text legible. */
.hero__scrim--text {
	background: linear-gradient(96deg, rgba(14, 18, 20, 0.94) 0%, rgba(14, 18, 20, 0.86) 30%, rgba(14, 18, 20, 0.45) 50%, rgba(14, 18, 20, 0) 66%);
}

.hero__figure {
	position: absolute;
	right: -10%;
	bottom: 0;
	z-index: -1;
	display: none;
	height: 44%;
	width: auto;
	max-width: 72%;
	object-fit: contain;
	object-position: bottom right;
	pointer-events: none;
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}

.hero__body {
	flex: 1;
	display: flex;
	align-items: center;
	padding: clamp(24px, 4vw, 40px) var(--pad-x);
}

.hero__content {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 32px);
	max-width: 780px;
}

.hero__slogan {
	margin: 0;
	padding-left: 16px;
	border-left: 3px solid var(--accent);
	max-width: 34ch;
	font-family: var(--font-head);
	font-weight: 400;
	font-size: clamp(19px, 2.2vw, 26px);
	line-height: 1.25;
	color: var(--fg);
}

.hero__sub {
	margin: 0;
	max-width: 44ch;
	color: var(--fg);
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
	gap: 12px clamp(24px, 4vw, 56px);
	margin: clamp(8px, 2vw, 20px) 0 0;
}

.hero__stats dt {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--accent);
	width: max-content;
}

.hero__stats dd {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--muted);
	max-width: 14ch;
}

/* Bottom bar: feature list plus the handwritten sign-off. */
.hero__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px clamp(24px, 4vw, 56px);
	padding: clamp(16px, 2.5vw, 28px) var(--pad-x);
	border-top: 1px solid var(--line);
	background: rgba(14, 18, 20, 0.72);
}

.feats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px clamp(20px, 3.5vw, 48px);
	flex: 1 1 420px;
}

.feats li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.feats .icon {
	flex: 0 0 auto;
	color: var(--accent);
}

.feats span {
	max-width: 15ch;
}

.hero__sign {
	text-align: right;
	display: grid;
	gap: 6px;
	justify-items: end;
}

.hero__role {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

@media (min-width: 760px) {
	.hero__figure {
		display: block;
		right: clamp(-40px, 1vw, 24px);
		height: 56%;
		max-width: 38%;
	}
}

@media (min-width: 1000px) {
	.hero__figure {
		height: 66%;
		max-width: 44%;
	}
}

@media (min-width: 1240px) {
	.hero__figure {
		height: clamp(320px, 78%, 820px);
		max-width: 58%;
	}
}

/* Inner-page hero. */
.page-hero {
	display: grid;
	gap: 24px;
}

/* ==========================================================================
   8. How it works
   ========================================================================== */

.steps {
	list-style: none;
	margin: 0;
	padding: 0 0 0 clamp(16px, 3vw, 32px);
	border-left: 1px solid var(--line);
	display: grid;
	gap: 40px;
}

.steps li {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 8px 40px;
	position: relative;
}

.steps li::before {
	content: "";
	position: absolute;
	left: calc(-1 * clamp(16px, 3vw, 32px) - 3px);
	top: 12px;
	width: 5px;
	height: 5px;
	background: var(--muted);
}

/* The last two markers are accented in the design. */
.steps li:nth-last-child(-n + 2)::before {
	background: var(--accent);
}

.step__key {
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.step__body {
	max-width: 60ch;
}

.step__body h3 {
	margin: 0 0 8px;
}

.step__body p {
	margin: 0;
}

/* ==========================================================================
   9. Pricing
   ========================================================================== */

.svc-groups {
	display: grid;
	gap: var(--gap-md);
}

.svc-group__title {
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--accent);
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fg);
}

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

.svc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	align-items: baseline;
	justify-content: space-between;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.svc__body {
	flex: 1 1 min(100%, 420px);
	display: grid;
	gap: 8px;
}

.svc__name {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.25;
}

.svc__desc {
	margin: 0;
	max-width: 62ch;
	font-size: 15px;
	color: var(--muted);
}

.svc__price {
	flex: 0 0 auto;
	text-align: right;
	display: grid;
	gap: 2px;
}

.svc__price b {
	font-family: var(--font-head);
	font-weight: 400;
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.1;
	color: var(--accent-2);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.svc__price span {
	font-size: 13px;
	color: var(--muted);
	white-space: nowrap;
}

.svc-cta {
	margin-top: clamp(24px, 4vw, 40px);
}

/* ==========================================================================
   10. Calculator
   ========================================================================== */

.panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--pad-card);
}

.calc {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 24px;
	align-items: start;
}

.calc__form {
	display: grid;
	gap: 24px;
}

.calc__result {
	display: grid;
	gap: 24px;
	align-content: start;
}

.progress {
	display: grid;
	gap: 8px;
}

.progress__label {
	font-size: 14px;
	color: var(--muted);
}

.progress__track {
	height: 4px;
	background: var(--line);
	border-radius: 2px;
	overflow: hidden;
}

.progress__bar {
	height: 100%;
	width: 0;
	background: var(--accent);
	transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 16px;
}

.field {
	display: grid;
	gap: 6px;
	font-size: 14px;
	color: var(--muted);
}

.field input,
.field select,
.field textarea {
	min-height: 48px;
	padding: 0 12px;
	background: var(--bg);
	color: var(--fg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 16px;
}

.field input[type="number"] {
	font-variant-numeric: tabular-nums;
}

.field textarea {
	padding: 12px;
	min-height: 96px;
}

.field input:focus,
.field select:focus {
	border-color: var(--accent);
}

.field--error input,
.field--error select {
	border-color: var(--warn);
}

.fieldset {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 0;
	padding: 16px 0 0;
	display: grid;
	gap: 8px;
}

.fieldset legend {
	padding: 0 8px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.radio {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--tap);
	cursor: pointer;
}

.radio input {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.radio span {
	font-size: 16px;
}

.calc__figure {
	margin: 0;
}

.calc__figure p {
	margin: 0;
}

.calc__big {
	font-family: var(--font-head);
	font-size: clamp(40px, 6vw, 64px);
	line-height: 1.1;
	color: var(--line-2);
	font-variant-numeric: tabular-nums;
}

.calc--ready .calc__big,
.calc--ready .macros b {
	color: var(--accent-2);
}

.calc__unit {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.reqs-block {
	display: grid;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.reqs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.reqs li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--muted);
}

.reqs li::before {
	content: "";
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	background: transparent;
}

.reqs li.is-done {
	color: var(--fg);
}

.reqs li.is-done::before {
	content: "✓";
	border-color: var(--accent);
	background: var(--accent);
	color: var(--bg);
	font-size: 11px;
	line-height: 1;
}

.macros {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	text-align: right;
}

.macros div {
	margin: 0;
}

.macros b {
	display: block;
	font-family: var(--font-head);
	font-weight: 400;
	font-size: clamp(24px, 3vw, 32px);
	color: var(--line-2);
	font-variant-numeric: tabular-nums;
}

.macros span {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--muted);
}

/* ==========================================================================
   11. Cases
   ========================================================================== */

.case {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.case__inner {
	padding: clamp(24px, 3vw, 32px);
	border-top: 2px solid var(--accent);
}

.case__head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: baseline;
	flex-wrap: wrap;
}

.case__head h3 {
	margin: 0;
	font-size: 24px;
}

.case__loc {
	font-size: 14px;
	color: var(--muted);
}

.case__rows {
	margin: 24px 0 0;
}

.case__rows dd {
	font-family: var(--font-head);
	font-size: 20px;
}

.case__text {
	margin: 24px 0 0;
	color: var(--fg);
}

/* ==========================================================================
   12. About
   ========================================================================== */

.about__portrait {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	filter: grayscale(0.38);
}

.edu {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 16px;
}

.proofs-block {
	max-width: var(--wrap);
	margin: clamp(32px, 5vw, 64px) auto 0;
}

.proofs-block h3 {
	margin: 0 0 24px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.proofs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
}

.proof {
	display: grid;
	gap: 12px;
}

.proof__btn {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--line);
	background: var(--bg);
	cursor: zoom-in;
}

.proof__btn img,
.proof__frame img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.proof__frame {
	border: 1px solid var(--line);
}

.proof__name {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 18px;
}

.proof__sub {
	margin: 2px 0 0;
	font-size: 14px;
	color: var(--muted);
}

/* ==========================================================================
   13. Blog teasers
   ========================================================================== */

.posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.posts li {
	background: var(--panel);
}

.post-card {
	display: grid;
	gap: 16px;
	align-content: start;
	min-height: 100%;
	padding: clamp(20px, 3vw, 28px);
}

.post-card__tag {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.post-card__title {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.25;
	color: var(--fg);
}

.post-card:hover .post-card__title {
	color: var(--accent);
}

.all-link {
	font-size: 14px;
	color: var(--accent);
	white-space: nowrap;
}

/* ==========================================================================
   14. Booking
   ========================================================================== */

.booking {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: var(--gap-lg);
	align-items: start;
}

.booking__intro {
	display: grid;
	gap: 20px;
	align-content: start;
}

.booking__intro p {
	margin: 0;
	max-width: 50ch;
}

.bform {
	display: grid;
	gap: 24px;
}

.bform__group {
	display: grid;
	gap: 10px;
}

.bform__group + .bform__group,
.bform__foot {
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.bform__label {
	font-size: 14px;
	color: var(--muted);
}

/* Service picker. */
.svc-pick {
	display: grid;
	gap: 8px;
}

.svc-pick__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding: 0 16px;
	text-align: left;
	background: var(--bg);
	color: var(--fg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.svc-pick__btn span:first-child {
	font-size: 16px;
}

.svc-pick__btn b {
	font-family: var(--font-head);
	font-weight: 400;
	font-size: 17px;
	color: var(--accent-2);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.svc-pick__btn[aria-pressed="true"] {
	background: rgba(18, 253, 163, 0.08);
	border-color: var(--accent);
}

.svc-pick__btn[aria-pressed="true"] b {
	color: var(--accent);
}

/* Calendar. */
.cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cal__nav {
	display: flex;
	gap: 8px;
	align-items: center;
}

.cal__arrow {
	width: var(--tap);
	height: 36px;
	border: 1px solid var(--line);
	background: var(--bg);
	color: var(--fg);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.cal__arrow:disabled {
	color: var(--line-2);
	cursor: default;
}

.cal__month {
	font-family: var(--font-head);
	font-size: 16px;
	min-width: 11ch;
	text-align: center;
}

.cal__weekdays,
.cal__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.cal__weekdays {
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}

.cal__day {
	min-height: var(--tap);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--fg);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
}

.cal__day:disabled {
	color: var(--line-2);
	cursor: default;
}

.cal__day--blank {
	background: transparent;
	border-color: transparent;
}

.cal__day[aria-pressed="true"] {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}

/* Time slots. */
.slots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.slot {
	min-height: var(--tap);
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--fg);
	font-variant-numeric: tabular-nums;
	cursor: pointer;
}

.slot[aria-pressed="true"] {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}

.bform__inputs {
	display: grid;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.bform__foot {
	display: grid;
	gap: 12px;
	border-top: 0;
	padding-top: 0;
}

.summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 15px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.summary span:first-child {
	color: var(--muted);
}

.summary output {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.bform__msg {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
	min-height: 1.4em;
}

.bform__msg.is-ok {
	color: var(--accent);
}

.bform__msg.is-error {
	color: var(--warn);
}

/* Honeypot. */
.bform__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bform button[type="submit"][aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

/* ==========================================================================
   15. Landing blocks
   ========================================================================== */

.cards-image {
	display: block;
	width: 100%;
	height: clamp(180px, 26vw, 320px);
	object-fit: cover;
	margin-bottom: 40px;
}

/* An image placed inside a column, under a list. */
.cards-image--inline {
	height: clamp(180px, 24vw, 280px);
	margin: 24px 0 0;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.card {
	background: var(--panel);
	padding: var(--pad-card);
	display: grid;
	gap: 12px;
	align-content: start;
}

.card h3 {
	margin: 0;
	font-size: 22px;
}

.card p {
	margin: 0;
	color: var(--fg);
}

.card a {
	font-size: 15px;
	color: var(--accent);
}

.hero-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: grayscale(0.35);
}

.hero-image--portrait {
	aspect-ratio: 4 / 5;
}

/* ==========================================================================
   16. FAQ
   ========================================================================== */

.faq {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.faq__item {
	border-bottom: 1px solid var(--line);
}

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 64px;
	padding: 16px 0;
	border: 0;
	background: none;
	color: var(--fg);
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(18px, 2vw, 21px);
	text-align: left;
	cursor: pointer;
}

.faq__q:hover {
	color: var(--accent);
}

.faq__q::after {
	content: "";
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.2s ease;
}

.faq__q[aria-expanded="true"]::after {
	transform: rotate(225deg) translateY(-3px);
}

.faq__a {
	padding: 0 0 20px;
	max-width: 70ch;
	color: var(--muted);
}

.faq__a[hidden] {
	display: none;
}

.faq__a p {
	margin: 0 0 12px;
}

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

/* ==========================================================================
   17. Footer
   ========================================================================== */

.site-footer {
	background: var(--bg);
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
	border-top: 1px solid var(--line);
	padding: clamp(28px, 4vw, 48px) var(--pad-x);
}

.site-footer a {
	color: var(--muted);
}

.site-footer a:hover {
	color: var(--accent);
}

.footer__cols {
	max-width: var(--wrap);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 32px;
}

.footer__brand {
	display: grid;
	gap: 12px;
	align-content: start;
}

.footer__brand .logo__mark span {
	height: 24px;
}

.footer__brand .logo__name {
	font-size: 18px;
}

.footer__col {
	display: grid;
	gap: 10px;
	align-content: start;
}

.footer__col ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__title {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fg);
}

.footer__bottom {
	max-width: var(--wrap);
	margin: clamp(24px, 3vw, 40px) auto 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	justify-content: space-between;
}

.footer__bottom span:last-child {
	max-width: 52ch;
}

/* ==========================================================================
   18. Lightbox
   ========================================================================== */

.lb {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 16px;
	padding: clamp(12px, 2vw, 24px);
	background: rgba(8, 10, 11, 0.94);
	backdrop-filter: blur(6px);
}

.lb[hidden] {
	display: none;
}

.lb__head,
.lb__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.lb__caption {
	font-family: var(--font-head);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fg);
}

.lb__close {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: none;
	color: var(--fg);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.lb__stage {
	min-height: 0;
	display: grid;
	place-items: center;
}

.lb__stage img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.lb__btn {
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: none;
	color: var(--fg);
	font-size: 15px;
	cursor: pointer;
}

.lb__counter {
	font-size: 14px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   19. Sticky CTA
   ========================================================================== */

.sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: rgba(14, 18, 20, 0.92);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--line);
	transform: translateY(120%);
	transition: transform 0.24s ease;
}

.sticky-cta.is-visible {
	transform: translateY(0);
}

.sticky-cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--bg);
	font-weight: 600;
}

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

/* ==========================================================================
   20. Blog archive & single
   ========================================================================== */

.page-head {
	padding: var(--sec-y-inner) var(--pad-x) 0;
}

.page-head .wrap {
	display: grid;
	gap: 16px;
}

.entry {
	padding: var(--sec-y-inner) var(--pad-x);
}

.entry__inner {
	max-width: 760px;
	margin: 0 auto;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.entry__meta a {
	color: var(--muted);
}

.entry__thumb {
	margin: 32px 0;
}

.entry__thumb img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
}

.entry__content {
	margin-top: 32px;
}

.archive-list {
	display: grid;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.archive-item {
	background: var(--panel);
	padding: clamp(20px, 3vw, 32px);
	display: grid;
	gap: 12px;
}

.archive-item h2 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(20px, 2.4vw, 26px);
	line-height: 1.25;
}

.archive-item p {
	margin: 0;
	color: var(--muted);
	max-width: 70ch;
}

.pagination {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: var(--tap);
	min-height: var(--tap);
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--fg);
	font-variant-numeric: tabular-nums;
}

.pagination .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}

.no-results {
	color: var(--muted);
}

/* Comments keep the panel treatment. */
.comments-area {
	max-width: 760px;
	margin: 0 auto;
	padding: var(--sec-y-inner) 0 0;
	border-top: 1px solid var(--line);
}

.comments-area h2,
.comments-area h3 {
	font-family: var(--font-head);
	font-weight: 500;
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 24px;
}

.comment-list .children {
	list-style: none;
	padding-left: 24px;
	margin-top: 24px;
	display: grid;
	gap: 24px;
}

.comment-body {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
}

.comment-form {
	display: grid;
	gap: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px;
	background: var(--bg);
	color: var(--fg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.comment-form .submit {
	justify-self: start;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--bg);
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ==========================================================================
   21. Utilities
   ========================================================================== */

/* Column-width presets for .grid, so templates need no inline styles. */

.grid--260 {
	--min: 260px;
}

.grid--300 {
	--min: 300px;
}

.grid--320 {
	--min: 320px;
}

.grid--340 {
	--min: 340px;
}

.stack--tight {
	gap: 20px;
}

.lead--56 {
	max-width: 56ch;
}

.mt-0 {
	margin-top: 0;
}

.mt-8 {
	margin-top: 8px;
}

.mt-20 {
	margin-top: 20px;
}

.mt-24 {
	margin-top: 24px;
}

.mb-24 {
	margin-bottom: 24px;
}

.mb-40 {
	margin-bottom: 40px;
}

/* Search form — used on the archive empty state and the 404 page. */
.search-form {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 12px;
	max-width: 520px;
}

.search-form .field {
	flex: 1 1 220px;
}

[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}
