/*
 * Dogs by Alyssa: site styles
 *
 * Built from the "Dogs by Alyssa" design system made in Claude Design.
 *   1. Design tokens (colours, type, spacing). Change brand colours here.
 *   2. Base elements
 *   3. Shared components: buttons, tags, cards, seal, arches
 *   4. Site header, footer and the mobile "Book" button
 *   5. Page sections: home, training, grooming, meet the trainer, policies
 *
 * Breakpoint: below 760px is "mobile" (matches the design).
 */

/* 1. Design tokens
---------------------------------------------------------------- */
:root {
	color-scheme: light;

	--purple-900: #2c2873;
	--purple-700: #4f49b4;
	--purple-500: #7a75cf;
	--purple-200: #d3cdeb;
	--purple-100: #ece9f8;
	--sage-800: #3e6e58;
	--sage-600: #5e9b7e;
	--sage-500: #8dc2a8;
	--sage-200: #cfe6da;
	--sage-100: #e7f3ec;
	--coral-700: #c2593b;
	--coral-600: #e0714f;
	--coral-500: #ef8c6e;
	--coral-200: #f9d3c5;
	--coral-100: #fdeae2;
	--cream-50: #fffaf2;
	--cream-100: #fcf1e1;
	--cream-200: #f5e2c6;
	--ink-900: #231f20;
	--ink-700: #4a4345;
	--ink-500: #7c7476;
	--ink-300: #bdb4ae;
	--white: #ffffff;
	--red-600: #c8483a;

	--font-display: "Bricolage Grotesque", "Helvetica Neue", system-ui, sans-serif;
	--font-body: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-label: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--content-max: 1160px;
	--gutter: clamp(20px, 5vw, 80px);
	--radius-card: 28px;
	--radius-pill: 999px;
	--border: 2.5px solid var(--ink-900);
	--rule: 2px solid var(--ink-900);
	--shadow-card: 4px 4px 0 var(--ink-900);
	--ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-smooth: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* 2. Base
---------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--cream-50);
	color: var(--ink-900);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img,
video {
	max-width: 100%;
}
a {
	color: var(--purple-700);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
a:hover {
	color: var(--coral-700);
}
::selection {
	background: var(--coral-200);
}
h1,
h2,
h3,
p {
	margin: 0;
}
:focus-visible {
	outline: 3px solid var(--coral-500);
	outline-offset: 3px;
}

/* Text helpers */
.eyebrow {
	font: 700 13px var(--font-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-900);
}
.eyebrow.coral {
	color: var(--coral-700);
}
.eyebrow.purple {
	color: var(--purple-700);
}
.h-section {
	font: 800 clamp(38px, 4.4vw, 56px) / 1 var(--font-display);
	letter-spacing: -0.02em;
	color: var(--ink-900);
}
.lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink-700);
	text-wrap: pretty;
}
.text-purple {
	color: var(--purple-700);
}
.stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.inner {
	max-width: var(--content-max);
	margin: 0 auto;
}
.section {
	padding: 88px var(--gutter);
	border-bottom: var(--rule);
	scroll-margin-top: 0;
}
.two-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 56px;
	align-items: start;
}
.anchor-alias {
	position: relative;
	top: -1px;
	display: block;
	height: 0;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* 3. Components
---------------------------------------------------------------- */

/* Buttons: primary (purple), accent (coral), ghost (text only) */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 22px;
	font: 700 15px / 1 var(--font-label);
	letter-spacing: 0.04em;
	text-align: center;
	text-decoration: none;
	border: 2.5px solid;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition:
		transform 220ms var(--ease-bounce),
		box-shadow 120ms;
}
.btn:hover {
	transform: translateY(-2px) rotate(-1deg);
}
.btn:active {
	transform: translateY(3px);
}
.btn-primary,
.btn-primary:hover {
	background: var(--purple-700);
	color: var(--white);
	border-color: var(--purple-900);
	box-shadow: 0 4px 0 var(--purple-900);
}
.btn-primary:active {
	box-shadow: 0 1px 0 var(--purple-900);
}
.btn-accent,
.btn-accent:hover {
	background: var(--coral-500);
	color: var(--ink-900);
	border-color: var(--ink-900);
	box-shadow: 0 4px 0 var(--ink-900);
}
.btn-accent:active {
	box-shadow: 0 1px 0 var(--ink-900);
}
.btn-ghost,
.btn-ghost:hover {
	background: transparent;
	color: var(--purple-700);
	border-color: transparent;
	box-shadow: none;
	transform: none;
}
.btn-ghost:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}
.btn-sm {
	min-height: 36px;
	padding: 8px 16px;
	font-size: 14px;
}
.btn-block {
	width: 100%;
}
.btn-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Tags */
.tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--purple-100);
	color: var(--purple-700);
	font: 700 14px / 1.2 var(--font-label);
}

/* "Sticker" card: thick outline + hard drop shadow */
.card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	background: var(--white);
	border: var(--border);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
}

/* Price list (training page) */
.price-list {
	margin: 0;
	display: flex;
	flex-direction: column;
}
.price-list > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1.5px dashed var(--ink-900);
}
.price-list dt {
	font: 700 17px var(--font-label);
}
.price-list dd {
	margin: 0;
	font: 800 24px var(--font-display);
	white-space: nowrap;
}

/* Good Dog seal: coloured badge + slowly spinning ring lettering */
.seal {
	position: absolute;
	z-index: 3;
}
.seal img,
.seal .seal-text {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.seal .seal-text {
	background: var(--ink-900);
	-webkit-mask: url(/images/gooddog-badge-text.svg) center / contain no-repeat;
	mask: url(/images/gooddog-badge-text.svg) center / contain no-repeat;
	transform: rotate(180deg);
	animation: seal-spin 24s linear infinite;
}
@keyframes seal-spin {
	from {
		transform: rotate(180deg);
	}
	to {
		transform: rotate(540deg);
	}
}

/* Arch-shaped photo frames */
.arch {
	position: relative;
	padding: 12px 12px 0;
	border-radius: 999px 999px 0 0;
}
.arch-frame {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: var(--rule);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
}
.arch-frame > img,
.arch-frame > video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.arch-label {
	position: absolute;
	left: 20px;
	bottom: 64px;
	z-index: 2;
	padding: 6px 14px;
	background: var(--white);
	border: var(--rule);
	border-radius: var(--radius-pill);
	font: 700 15px var(--font-label);
	color: var(--ink-900);
	pointer-events: none;
}
.arch-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 999px 999px 0 0;
}

/* Dotted pattern backgrounds (before/after slider, cat photo) */
.dots-sage {
	background-color: var(--sage-200);
	background-image:
		radial-gradient(circle, var(--white) 7px, transparent 7.5px),
		radial-gradient(circle, var(--purple-200) 5px, transparent 5.5px);
	background-size:
		56px 56px,
		56px 56px;
	background-position:
		0 0,
		28px 28px;
}
.dots-coral {
	background-color: var(--coral-200);
	background-image: radial-gradient(circle, var(--white) 7px, transparent 7.5px);
	background-size: 56px 56px;
	background-position: 28px 28px;
}

/* 4. Header and footer
---------------------------------------------------------------- */
/* Same side spacing on every page as the home page (contents capped at 1200px) */
.site-header {
	background: var(--cream-50);
	padding: 28px 80px;
}
.site-header .header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "nav logo cta";
	align-items: center;
	gap: 32px;
	width: min(1200px, 100%);
	margin: 0 auto;
}
.site-header nav {
	grid-area: nav;
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
}
.site-header nav a {
	font: 700 18px var(--font-label);
	color: var(--ink-900);
	text-decoration: none;
}
.site-header nav a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--coral-500);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}
.site-header nav a:hover {
	color: var(--coral-700);
}
.site-header .logo {
	grid-area: logo;
	display: block;
}
.site-header .logo img {
	display: block;
	width: 130px;
	height: 116px;
}
.site-header .header-cta {
	grid-area: cta;
	display: flex;
	justify-content: flex-end;
}

.site-footer {
	background: var(--purple-100);
}
.site-footer .footer-grid {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 48px 24px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 32px;
}
.site-footer .footer-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 16px;
}
.site-footer .footer-col:first-child {
	gap: 14px;
}
.site-footer .footer-col .eyebrow {
	font-size: 12px;
}
.site-footer .footer-logo {
	height: 60px;
	width: auto;
	align-self: flex-start;
}
.site-footer .footer-about {
	font-size: 15px;
	color: var(--ink-700);
	max-width: 260px;
}
.site-footer .footer-note {
	font-size: 14px;
	color: var(--ink-500);
	line-height: 1.5;
}
.site-footer .footer-bar {
	background: var(--ink-900);
	color: var(--cream-100);
}
.site-footer .footer-bar > div {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	flex-wrap: wrap;
	font: 700 12px var(--font-label);
	letter-spacing: 0.12em;
}

.mobile-only {
	display: none;
}

/* Phone header: centred logo on the page's own colour and centred nav links that
   stick to the top once you scroll past them. (No book button in the phone header.) Each page sets --header-bg (see "Page header colours"). */
.page-training,
.page-policies,
.page-404 {
	--header-bg: var(--purple-100);
}
.page-trainer {
	--header-bg: var(--coral-200);
}
.page-booking {
	--header-bg: var(--sage-200);
}

@media (max-width: 759.98px) {
	.site-header {
		padding: 0;
		background: var(--header-bg, var(--cream-50));
	}
	.site-header .header-inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		width: 100%;
		padding: 16px 0 0;
	}
	.site-header .logo {
		order: -1;
	}
	.site-header .logo img {
		width: 81px;
		height: 72px;
	}
	.site-header .header-cta {
		display: none;
	}
	.site-header nav {
		align-self: stretch;
		justify-content: center;
		align-items: center;
		gap: clamp(24px, 9vw, 40px);
		height: 48px;
		padding: 0 16px;
		flex-wrap: nowrap;
		background: var(--header-bg, var(--cream-50));
	}
	.site-header nav a {
		font-size: 16px;
		line-height: 1;
		white-space: nowrap;
	}
	/* Added by site.js once the nav links reach the top of the screen */
	.site-header.nav-stuck nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 50;
		height: calc(56px + env(safe-area-inset-top));
		padding-top: env(safe-area-inset-top);
		box-shadow: 0 8px 18px -12px rgba(35, 31, 32, 0.45);
	}
	.desktop-only {
		display: none !important;
	}
	.mobile-only {
		display: block;
	}
}

/* 5a. Home page
---------------------------------------------------------------- */
.home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 860px;
	overflow: hidden;
	background: var(--cream-50);
	border-bottom: var(--rule);
}
.home-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: 8px;
	text-align: center;
}
.home-hero-copy h1 {
	max-width: 980px;
	padding: 0 20px;
	font: 800 clamp(44px, 6vw, 76px) / 1 var(--font-display);
	letter-spacing: -0.02em;
	color: var(--coral-600);
}
.home-hero-copy p {
	width: 100%;
	max-width: 700px;
	padding: 0 20px;
	font-size: clamp(17px, 2.4vw, 20px);
	line-height: 1.5;
	color: var(--ink-700);
	text-wrap: pretty;
}
.arch-row {
	position: relative;
	width: calc(100% - 2 * clamp(20px, 5vw, 64px));
	max-width: 1152px;
	margin: 56px auto -40px;
	padding-top: 56px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: end;
}
.arch-walk {
	height: clamp(340px, 36vw, 400px);
	background: var(--sage-500);
}
.arch-video {
	height: clamp(380px, 42vw, 470px);
	background: var(--coral-500);
}
.arch-groom {
	height: clamp(360px, 39vw, 430px);
	background: var(--purple-200);
}
.arch-walk .seal {
	left: calc(50% - 39px);
	top: -70px;
	width: 140px;
	height: 140px;
}
.arch-video .arch-frame {
	background: var(--coral-500);
}
.cam-label {
	position: absolute;
	top: 36px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border-radius: var(--radius-pill);
	background: #231f2094;
	color: var(--white);
	font: 700 13px var(--font-label);
	white-space: nowrap;
	pointer-events: none;
}
.cam-label::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red-600);
	animation: rec-blink 1.2s steps(1) infinite;
}
@keyframes rec-blink {
	0%,
	49% {
		opacity: 1;
	}
	50%,
	100% {
		opacity: 0.15;
	}
}

/* Home: phone layout shows one arch in the hero, then two feature sections */
.home-feature {
	padding: 56px 20px;
	border-bottom: var(--rule);
	overflow: hidden; /* the spinning seal's corners would otherwise widen the page */
}
.home-feature .inner {
	max-width: 520px;
}
.home-feature .arch {
	height: 340px;
	border-bottom: var(--rule);
}
.home-feature .seal {
	right: -8px;
	top: -28px;
	width: 110px;
	height: 110px;
}
.home-feature h2 {
	font: 800 36px / 1.02 var(--font-display);
	letter-spacing: -0.02em;
	color: var(--ink-900);
	text-wrap: balance;
}
.home-feature p {
	color: var(--ink-700);
	text-wrap: pretty;
}

@media (max-width: 759.98px) {
	.home-hero {
		min-height: 0;
	}
	.home-hero .site-header {
		padding: 0;
	}
	.home-hero-copy {
		margin: 0;
		padding: 40px 0;
	}
	.arch-row {
		display: flex;
		justify-content: center;
		width: 100%;
		margin: 0 0 -40px;
		padding: 0 20px;
	}
	.arch-row .arch-video {
		flex: 0 1 100%;
		max-width: 440px;
		height: 460px;
		background: var(--sage-500);
	}
	.arch-video .arch-frame {
		background: var(--sage-500);
	}
	.home-feature.mobile-only {
		display: block;
	}
}

/* 5b. Training page
---------------------------------------------------------------- */
.train-hero {
	position: relative;
	overflow: hidden;
	background: var(--purple-100);
	border-top: var(--rule);
	border-bottom: var(--rule);
}
.train-hero .sky {
	position: absolute;
	background: var(--white);
}
.train-hero .sun {
	right: 8%;
	top: 56px;
	width: clamp(120px, 16vw, 220px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--cream-50);
}
.train-hero .cloud-1a {
	left: 44%;
	top: 72px;
	width: 200px;
	height: 42px;
	border-radius: 999px;
}
.train-hero .cloud-1b {
	left: calc(44% + 52px);
	top: 42px;
	width: 88px;
	height: 66px;
	border-radius: 50%;
}
.train-hero .cloud-2a {
	right: 30%;
	top: 250px;
	width: 160px;
	height: 34px;
	border-radius: 999px;
}
.train-hero .cloud-2b {
	right: calc(30% + 44px);
	top: 226px;
	width: 66px;
	height: 50px;
	border-radius: 50%;
}
.train-hero-body {
	position: relative;
	z-index: 1;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 56px var(--gutter) 0;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-end;
	justify-content: space-between;
}
.train-hero-copy {
	flex: 1 1 520px;
	min-width: 0;
	padding-bottom: 56px;
}
.train-hero-copy h1 {
	font: 800 clamp(56px, 7.6vw, 108px) / 0.92 var(--font-display);
	letter-spacing: -0.03em;
	color: var(--purple-900);
}
.train-hero-copy p {
	max-width: 540px;
	font-size: 20px;
	line-height: 1.55;
	color: var(--ink-900);
	text-wrap: pretty;
}
.br-desktop {
	display: none;
}
@media (min-width: 900px) {
	.br-desktop {
		display: inline;
	}
}
.mascot {
	position: relative;
	z-index: 2;
	flex: none;
	align-self: flex-end;
	margin-bottom: -14px;
}
.mascot::before {
	content: "";
	position: absolute;
	left: 10%;
	right: 0;
	bottom: 6px;
	height: 28px;
	border-radius: 50%;
	background: var(--sage-600);
}
.mascot img {
	position: relative;
	display: block;
	height: clamp(260px, 30vw, 380px);
	width: auto;
	max-width: 100%;
}
.grass-band {
	position: relative;
	padding: 40px var(--gutter) 0;
	background: var(--sage-500);
}
.grass-band::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -26px;
	height: 26px;
	background:
		linear-gradient(-45deg, var(--sage-500) 13px, transparent 0),
		linear-gradient(45deg, var(--sage-500) 13px, transparent 0);
	background-size: 26px 26px;
	background-repeat: repeat-x;
	background-position: left bottom;
}
.service-tabs {
	position: relative;
	z-index: 2;
	max-width: var(--content-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
	gap: 16px;
	align-items: end;
}
.service-tabs a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 22px 74px;
	margin-bottom: -48px;
	border: var(--border);
	border-bottom: 0;
	border-radius: 28px 28px 0 0;
	color: var(--ink-900);
	text-decoration: none;
	transform-origin: bottom center;
	transition: transform 220ms var(--ease-bounce);
}
.service-tabs a:nth-child(1) {
	background: var(--cream-50);
	transform: rotate(-1.5deg);
}
.service-tabs a:nth-child(2) {
	background: var(--white);
	transform: rotate(1deg);
}
.service-tabs a:nth-child(3) {
	background: var(--purple-200);
	transform: rotate(-1deg);
}
.service-tabs a:nth-child(4) {
	background: var(--coral-200);
	transform: rotate(1.5deg);
}
.service-tabs a:hover {
	transform: rotate(0deg) translateY(-10px);
	color: var(--ink-900);
}
/* Phones: the four cards become one compact list of rows */
@media (max-width: 759.98px) {
	.grass-band {
		padding-bottom: 32px;
	}
	.service-tabs {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		overflow: hidden;
		border: var(--border);
		border-radius: 20px;
		box-shadow: var(--shadow-card);
	}
	.service-tabs a,
	.service-tabs a:nth-child(n),
	.service-tabs a:hover {
		display: grid;
		grid-template-columns: 28px 1fr auto;
		grid-template-areas:
			"num title arrow"
			"num desc arrow";
		align-items: center;
		column-gap: 10px;
		row-gap: 2px;
		margin: 0;
		padding: 12px 16px;
		border: 0;
		border-bottom: var(--rule);
		border-radius: 0;
		transform: none;
	}
	.service-tabs a:last-child {
		border-bottom: 0;
	}
	.service-tabs a::after {
		content: "›";
		grid-area: arrow;
		font: 800 24px / 1 var(--font-display);
		color: var(--ink-900);
	}
	.service-tabs .tab-num {
		grid-area: num;
		align-self: start;
		padding-top: 3px;
	}
	.service-tabs .tab-title {
		grid-area: title;
		font-size: 19px;
	}
	.service-tabs .tab-desc {
		grid-area: desc;
		font-size: 14px;
		line-height: 1.35;
	}
}
.tab-num {
	font: 800 15px var(--font-display);
	color: var(--coral-700);
}
.tab-title {
	font: 800 26px / 1.05 var(--font-display);
}
.tab-desc {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ink-700);
}

.principle-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 20px;
}
.principle-cards .card {
	gap: 10px;
	padding: 24px;
	background: var(--cream-50);
}
.principle-cards h3 {
	font: 700 24px / 1.15 var(--font-display);
}
.principle-cards p {
	font-size: 16px;
	color: var(--ink-700);
}

.service-card h3 {
	font: 700 22px var(--font-display);
}
.big-price {
	font: 800 clamp(44px, 4.6vw, 56px) / 1 var(--font-display);
	letter-spacing: -0.02em;
	color: var(--ink-900);
}
.big-price small {
	font: 700 22px var(--font-label);
}
.day-plan {
	list-style: none;
	margin: 0;
	padding: 28px;
	background: var(--cream-50);
	border: var(--border);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
}
.day-plan li {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 14px;
	align-items: baseline;
	padding: 11px 0;
	border-bottom: 1.5px dashed var(--ink-300);
	font-size: 16px;
	line-height: 1.45;
}
.day-plan li span {
	font: 800 18px var(--font-display);
	color: var(--coral-700);
}

/* 5c. Grooming page
---------------------------------------------------------------- */
.groom-hero {
	padding: 24px var(--gutter) 0;
	overflow: hidden;
	background: var(--cream-50);
	border-bottom: var(--rule);
}
.groom-hero .inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 48px;
	align-items: end;
}
.groom-hero-copy {
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-self: center;
	padding: 32px 0;
}
.groom-hero-copy h1 {
	font: 800 clamp(52px, 6.6vw, 92px) / 0.92 var(--font-display);
	letter-spacing: -0.03em;
}
.groom-hero-copy .tagline {
	max-width: 460px;
	font: 700 clamp(20px, 2vw, 24px) / 1.35 var(--font-display);
	text-wrap: pretty;
}

/* Before/after slider */
.ba-wrap {
	position: relative;
	justify-self: center;
	width: min(100%, 460px);
	height: clamp(380px, 46vw, 520px);
}
.ba {
	--ba: 50%;
	position: absolute;
	inset: 0;
	overflow: hidden;
	border: var(--border);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
	touch-action: pan-y;
	cursor: ew-resize;
	user-select: none;
	-webkit-user-select: none;
}
.ba img {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 auto;
	width: 88%;
	height: 88%;
	object-fit: contain;
	object-position: bottom center;
	pointer-events: none;
}
.ba-before {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--ba)) 0 0);
	pointer-events: none;
}
.ba .ba-before img {
	left: 30px;
}
/* Grooming hero: the "after" photo (right side) is mirrored to face the other way */
.groom-hero .ba > img {
	transform: scaleX(-1);
}
.ba-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--ba);
	width: 3px;
	margin-left: -1.5px;
	background: var(--ink-900);
	pointer-events: none;
}
.ba-handle {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	width: 48px;
	height: 48px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: var(--white);
	border: var(--border);
	border-radius: var(--radius-pill);
	box-shadow: 3px 3px 0 var(--ink-900);
	cursor: ew-resize;
	pointer-events: auto;
}
.ba-handle::before,
.ba-handle::after {
	content: "";
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}
.ba-handle::before {
	border-right: 8px solid var(--ink-900);
}
.ba-handle::after {
	border-left: 8px solid var(--ink-900);
}

/* Grooming principles strip */
.groom-principles {
	padding: 0 var(--gutter);
	background: var(--purple-200);
	border-bottom: var(--rule);
}
.groom-principles .inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Text lines up with the page edges like every other section: no extra
   padding on the outer sides, 24px either side of the dividing lines. */
.groom-principles .inner > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 32px 24px;
	border-right: var(--rule);
}
.groom-principles .inner > div:first-child {
	padding-left: 0;
}
.groom-principles .inner > div:last-child {
	padding-right: 0;
	border-right: 0;
}
.groom-principles h3 {
	font: 700 22px / 1.15 var(--font-display);
}
.groom-principles p {
	font-size: 15px;
	color: var(--ink-700);
	text-wrap: pretty;
}
/* Tablets: two by two */
@media (max-width: 999.98px) {
	.groom-principles .inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.groom-principles .inner > div:nth-child(odd) {
		padding-left: 0;
		padding-right: 24px;
		border-right: var(--rule);
	}
	.groom-principles .inner > div:nth-child(even) {
		padding-left: 24px;
		padding-right: 0;
		border-right: 0;
	}
	.groom-principles .inner > div:nth-child(-n + 2) {
		border-bottom: var(--rule);
	}
}
/* Phones: one column, no dividers */
@media (max-width: 759.98px) {
	.groom-principles .inner {
		grid-template-columns: minmax(0, 1fr);
	}
	.groom-principles .inner > div,
	.groom-principles .inner > div:nth-child(odd),
	.groom-principles .inner > div:nth-child(even) {
		padding-left: 0;
		padding-right: 0;
		border-right: 0;
		border-bottom: 0;
	}
}

/* Price estimator */
.estimate {
	background: var(--sage-200);
	scroll-margin-top: 0;
}
.estimate > .inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: start;
}
.estimate-steps {
	flex: 2 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.estimate-step {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.estimate-step[hidden] {
	display: none;
}
.estimate-step h3 {
	font: 700 22px / 1.2 var(--font-display);
}
.estimate-step h3 span {
	font: 400 16px var(--font-body);
	color: var(--ink-700);
}
.estimate-step h3:focus,
.receipt-total:focus {
	outline: none;
}
/* One question at a time: once answered, a step's choices slide shut (the heading
   stays) and its answer line slides open. Both use a 0fr/1fr grid row to animate height. */
.estimate-step {
	gap: 0;
}
.step-body,
.step-done {
	display: grid;
	grid-template-rows: 1fr;
	transition:
		grid-template-rows 450ms var(--ease-smooth),
		opacity 300ms ease;
}
.estimate-step.is-done .step-body,
.estimate-step:not(.is-done) .step-done {
	grid-template-rows: 0fr;
	opacity: 0;
}
.step-clip {
	min-height: 0;
	overflow: hidden;
	/* room for the chips' drop shadows and hover lift */
	margin: 0 -8px;
	padding: 0 8px;
}
.step-clip > :first-child {
	margin-top: 16px;
}
.step-clip > :last-child {
	margin-bottom: 6px;
}
.step-clip > .option-list + .step-next {
	margin-top: 14px;
}
.step-done-row {
	width: 60%;
	min-width: min(100%, 320px);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--white);
	border: var(--rule);
	border-radius: 18px;
	box-shadow: 3px 3px 0 var(--ink-900);
}
.step-done-answer {
	flex: 1;
	min-width: 0;
	font: 700 17px / 1.3 var(--font-label);
	color: var(--ink-900);
}
/* The next question fades in as the previous one closes */
[data-step-cut]:not([hidden]),
[data-step-addons]:not([hidden]) {
	animation: step-in 450ms var(--ease-smooth) both;
}
@keyframes step-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}
.step-next {
	align-self: flex-start;
}
.step-next[hidden] {
	display: none;
}
.size-chips {
	width: 75%;
	min-width: min(100%, 320px);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.size-chip {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 10px 16px;
	text-align: left;
	background: var(--white);
	color: var(--ink-900);
	border: var(--rule);
	border-radius: 18px;
	box-shadow: 3px 3px 0 var(--ink-900);
	cursor: pointer;
	transition: transform 120ms var(--ease-bounce);
}
.size-chip:hover {
	transform: translateY(-2px);
}
.size-chip[aria-pressed="true"] {
	background: var(--purple-500);
	color: var(--white);
	box-shadow: 1px 1px 0 var(--ink-900);
}
.size-chip b {
	font: 700 16px var(--font-label);
}
.size-chip small {
	font-size: 13px;
}
.option-list {
	width: 60%;
	min-width: min(100%, 320px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border: var(--rule);
	border-radius: 20px;
	box-shadow: 3px 3px 0 var(--ink-900);
}
.option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 16px;
	text-align: left;
	font: inherit;
	color: var(--ink-900);
	background: var(--white);
	border: 0;
	border-bottom: 1.5px dashed var(--ink-300);
	cursor: pointer;
}
.option:last-child {
	border-bottom: 0;
}
.option:hover,
.option[aria-pressed="true"] {
	background: var(--purple-100);
}
.option-box {
	flex: none;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: var(--rule);
	border-radius: 6px;
	background: var(--white);
	color: var(--white);
	font: 800 14px / 1 var(--font-label);
}
.option.is-radio .option-box {
	border-radius: 999px;
}
.option[aria-pressed="true"] .option-box {
	background: var(--purple-500);
}
.option.is-radio[aria-pressed="true"] .option-box::before {
	content: "●";
}
.option:not(.is-radio)[aria-pressed="true"] .option-box::before {
	content: "✓";
}
.option-name {
	flex: 1;
	font: 700 16px var(--font-label);
}
.option-note {
	font-size: 14px;
	color: var(--ink-700);
	white-space: nowrap;
}

/* Receipt-style estimate panel with zig-zag edges */
.receipt {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
/* The estimate panel appears once step 3 is answered (on wide screens its column is kept) */
.receipt.is-waiting {
	visibility: hidden;
}
.receipt:not(.is-waiting) {
	animation: receipt-in 500ms var(--ease-smooth) both;
}
@keyframes receipt-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}
@media (max-width: 759.98px) {
	.receipt.is-waiting {
		display: none;
	}
	.receipt {
		scroll-margin-top: 72px;
	}
}
.receipt-edge {
	height: 9px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9' viewBox='0 0 16 9'%3E%3Cpath d='M0 9L8 1L16 9Z' fill='%23ffffff'/%3E%3Cpath d='M0 9L8 1L16 9' fill='none' stroke='%23231F20' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E")
		0 0 / 16px 9px;
	background-repeat: round no-repeat;
}
.receipt-edge.bottom {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9' viewBox='0 0 16 9'%3E%3Cpath d='M0 0L8 8L16 0Z' fill='%23ffffff'/%3E%3Cpath d='M0 0L8 8L16 0' fill='none' stroke='%23231F20' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}
.receipt-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	background: var(--white);
	border-left: var(--rule);
	border-right: var(--rule);
}
.receipt .eyebrow {
	color: var(--ink-700);
}
.receipt-consult {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
	border-top: 1.5px dashed var(--ink-300);
}
.receipt-consult > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.receipt-consult strong {
	font: 800 28px var(--font-display);
}
.receipt-consult p,
.receipt-fine {
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink-700);
	text-wrap: pretty;
}
.receipt-total {
	font: 800 clamp(56px, 7vw, 84px) / 0.95 var(--font-display);
	letter-spacing: -0.03em;
	color: var(--purple-700);
}
.receipt-includes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.receipt-includes > span {
	font: 700 16px var(--font-label);
}
.receipt-includes ul {
	margin: 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink-700);
}
.receipt-fine {
	font-size: 14px;
	padding-top: 14px;
	border-top: 1.5px dashed var(--ink-300);
}
.btn-book-it,
.btn-book-it:hover {
	width: 100%;
	padding: 14px 22px;
	font-size: 17px;
	letter-spacing: 0;
	background: var(--purple-500);
	color: var(--white);
	border-color: var(--ink-900);
	box-shadow: 4px 4px 0 var(--ink-900);
}
.btn-book-it:active {
	box-shadow: 1px 1px 0 var(--ink-900);
}
.book-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}
.book-form[hidden],
.book-fields[hidden],
.book-thanks[hidden] {
	display: none;
}
.book-fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.book-fields label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font: 700 14px var(--font-label);
	color: var(--ink-900);
}
.book-fields input:not([type="radio"]),
.book-fields select,
.book-fields textarea {
	width: 100%;
	padding: 12px 14px;
	font: 400 16px var(--font-body);
	color: var(--ink-900);
	background: var(--white);
	border: var(--rule);
	border-radius: 12px;
	outline: none;
}
.book-fields input:focus,
.book-fields select:focus,
.book-fields textarea:focus {
	border-color: var(--purple-500);
	box-shadow: 0 0 0 4px var(--coral-200);
}
.book-fields textarea {
	resize: vertical;
	min-height: 84px;
}
/* Training consultation form: grouped fields (address, dog), two fields side by side */
.book-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 6px 0 0;
	padding: 0;
	border: 0;
}
.book-group legend {
	padding: 0 0 8px;
	font: 700 18px / 1.2 var(--font-display);
	color: var(--ink-900);
}
.field-note {
	margin: -4px 0 0;
	font-size: 14px;
	color: var(--ink-700);
}
.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.choice-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.book-fields .choice {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	font: 700 15px var(--font-label);
	background: var(--white);
	border: var(--rule);
	border-radius: 12px;
	cursor: pointer;
}
.book-fields .choice:has(input:checked) {
	background: var(--purple-100);
}
.book-fields .choice input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--purple-500);
}
.book-thanks {
	padding: 18px 20px;
	background: var(--sage-200);
	border: var(--rule);
	border-radius: 20px;
	font: 700 20px / 1.3 var(--font-display);
	color: var(--ink-900);
}

.groom-train-card {
	flex: 1 1 100%;
	min-width: 0;
	align-items: center;
	text-align: center;
	padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
	background: var(--coral-500);
	scroll-margin-top: 24px;
}
.groom-train-card h2 {
	max-width: 720px;
	font: 800 clamp(32px, 3.6vw, 48px) / 1 var(--font-display);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.groom-train-card .copy {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 640px;
}
.groom-train-card .copy p {
	font-size: 18px;
	line-height: 1.6;
	text-wrap: pretty;
}
.groom-train-card .price {
	font: 700 18px / 1.4 var(--font-label);
}
.groom-train-card .cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding-top: 8px;
}

/* Cats */
.cats {
	background: var(--purple-100);
	scroll-margin-top: 24px;
}
.cats .two-col {
	gap: 48px 64px;
	align-items: center;
}
.cat-photo {
	position: relative;
	justify-self: center;
	width: min(100%, 440px);
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: var(--border);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-card);
}
.cat-photo {
	--ba: 50%;
	touch-action: pan-y;
	cursor: ew-resize;
	user-select: none;
	-webkit-user-select: none;
}
.cat-photo .ba-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}
.cat-photo .ba-handle {
	top: 50%;
	bottom: auto;
	transform: translate(-50%, -50%);
}
.cats .stack {
	gap: 22px;
}
.cats p {
	max-width: 480px;
	font-size: 18px;
	line-height: 1.6;
	text-wrap: pretty;
}
.cat-prices {
	max-width: 480px;
	border-top: var(--rule);
}
.cat-prices > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1.5px dashed var(--ink-300);
}
.cat-prices > div:last-child {
	border-bottom: var(--rule);
}
.cat-prices span {
	font: 700 20px var(--font-display);
}
.cat-prices strong {
	font: 800 26px var(--font-display);
	color: var(--purple-700);
}

/* 5d. Meet the trainer
---------------------------------------------------------------- */
.trainer-hero {
	padding: 24px var(--gutter) 0;
	background: var(--coral-200);
	border-top: var(--rule);
	border-bottom: var(--rule);
}
.trainer-hero .inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 48px;
	align-items: end;
}
.trainer-hero-copy {
	padding: 24px 0 72px;
}
.trainer-hero-copy h1 {
	font: 800 clamp(56px, 7vw, 92px) / 0.95 var(--font-display);
	letter-spacing: -0.02em;
}
.trainer-hero-copy p {
	max-width: 520px;
	color: var(--ink-700);
	text-wrap: pretty;
}
.trainer-hero-copy .intro {
	font-size: 20px;
	line-height: 1.55;
}
.trainer-hero-copy p:not(.intro) {
	font-size: 18px;
	line-height: 1.6;
}
.trainer-hero-copy strong {
	color: var(--ink-900);
}
/* No photo yet (the arch is hidden): centre the intro. Goes back to two columns
   by itself once the photo arch is shown. */
.trainer-hero .inner:has(> .trainer-arch[hidden]) {
	display: block;
}
.trainer-hero .inner:has(> .trainer-arch[hidden]) .trainer-hero-copy {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 0 72px;
	align-items: center;
	text-align: center;
}
.trainer-hero .inner:has(> .trainer-arch[hidden]) .trainer-hero-copy p {
	margin-inline: auto;
}
.trainer-hero .inner:has(> .trainer-arch[hidden]) .btn-row {
	justify-content: center;
}
.trainer-arch {
	justify-self: center;
	width: min(100%, 460px);
	height: 540px;
	padding: 14px 14px 0;
	background: var(--sage-500);
}
.trainer-arch .arch-frame {
	background: var(--cream-50);
}
.trainer-arch .arch-frame > img.placeholder {
	inset: auto 0 0;
	height: 82%;
	object-fit: contain;
	object-position: bottom center;
}

.band-center {
	padding: 104px var(--gutter);
	background: var(--coral-500);
	border-bottom: var(--rule);
}
.band-center .inner {
	max-width: 900px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}
.band-center h2 {
	font: 800 clamp(44px, 5.6vw, 76px) / 0.98 var(--font-display);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.band-center p {
	max-width: 680px;
	font-size: 20px;
	line-height: 1.55;
	text-wrap: pretty;
}
.approach .two-col {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.approach .prose {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink-700);
}
.approach .prose p {
	text-wrap: pretty;
}
.approach .prose strong {
	color: var(--ink-900);
}
.tag-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.cta-band {
	padding: 96px var(--gutter);
	background: var(--sage-500);
	border-bottom: var(--rule);
}
.cta-band .inner {
	max-width: 820px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}
.cta-band h2 {
	font: 800 clamp(38px, 4.6vw, 60px) / 1 var(--font-display);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.cta-band p {
	max-width: 700px;
	font-size: 19px;
	line-height: 1.55;
}

/* 5e. Policies and simple pages
---------------------------------------------------------------- */
.page-hero {
	padding: 64px var(--gutter);
	background: var(--purple-100);
	border-top: var(--rule);
	border-bottom: var(--rule);
}
.page-hero h1 {
	font: 800 clamp(44px, 6vw, 76px) / 0.98 var(--font-display);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.page-hero p {
	max-width: 640px;
	font-size: 19px;
	color: var(--ink-700);
}
.policy-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 24px;
	align-items: start;
}
.policy-grid .card {
	gap: 10px;
	padding: 24px 28px;
}
.policy-grid h2 {
	font: 700 22px / 1.2 var(--font-display);
}
.policy-grid p {
	font-size: 16px;
	color: var(--ink-700);
}

.not-found {
	padding: 72px var(--gutter);
	background: var(--purple-100);
	border-top: var(--rule);
	border-bottom: var(--rule);
}
.not-found .inner {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
	justify-content: space-between;
}
.not-found .stack {
	flex: 1 1 420px;
}
.not-found img {
	height: clamp(220px, 26vw, 320px);
	width: auto;
}

/* Respect "reduce motion" settings */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* Phones: the hero sits flush under the header in the same colour, with no line
   between them. (Kept at the end of the file so it wins over the section styles.) */
@media (max-width: 759.98px) {
	.train-hero,
	.trainer-hero,
	.page-hero,
	.not-found {
		border-top: 0;
	}
}

/* Grooming estimate: Square booking step (only shown when online booking is on) */
.slot-status {
	font-size: 15px;
	color: var(--ink-700);
}
.slot-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 640px;
}
.slot-chips:empty {
	display: none;
}
.slot-chip {
	padding: 8px 14px;
	font: 700 15px var(--font-label);
	color: var(--ink-900);
	background: var(--white);
	border: var(--rule);
	border-radius: 14px;
	box-shadow: 3px 3px 0 var(--ink-900);
	cursor: pointer;
	transition: transform 120ms var(--ease-bounce);
}
.slot-chip:hover {
	transform: translateY(-2px);
}
.slot-chip[aria-pressed="true"] {
	background: var(--purple-500);
	color: var(--white);
	box-shadow: 1px 1px 0 var(--ink-900);
}
/* Booking page (/book-consultation): calendar and times beside the form (stacked on phones) */
.booking {
	background: var(--sage-200);
	border-top: var(--rule);
}
.booking-inner {
	max-width: 980px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.back-link {
	align-self: flex-start;
	font: 700 15px var(--font-label);
	color: var(--purple-700);
	text-decoration: none;
}
.back-link:hover {
	text-decoration: underline;
}
.booking-note {
	max-width: 640px;
	padding: 18px 20px;
	font-size: 17px;
	line-height: 1.5;
	background: var(--white);
	border: var(--rule);
	border-radius: 20px;
}
.booking-note[hidden],
.booking-card[hidden] {
	display: none;
}
.booking-note a {
	font-weight: 700;
	color: var(--purple-700);
}
.booking-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 44px;
	align-items: start;
}
.booking-card h2 {
	font: 700 22px / 1.2 var(--font-display);
}
.booking-when {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.booking .book-thanks {
	max-width: 640px;
}
/* /book-grooming: the scheduler opens as a second section below the estimate */
.booking-next {
	border-top: 0;
}
.booking-next .booking-inner {
	max-width: var(--content-max);
}
.booking-next[hidden] {
	display: none;
}
@media (max-width: 759.98px) {
	/* Phones: just the logo above the booking card (no nav links or back link),
	   flush under the header like the other page heroes */
	.page-booking .site-header nav,
	.page-booking .back-link {
		display: none;
	}
	.page-booking .site-header .header-inner {
		padding-bottom: 4px;
	}
	.booking {
		padding-top: 16px;
		border-top: 0;
	}
	.booking-next {
		padding-top: 48px;
	}
	/* no pinned nav on these pages, so less room is needed above a scrolled-to receipt */
	.page-booking .receipt {
		scroll-margin-top: 16px;
	}
	.booking-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 22px;
	}
}
/* Month calendar: open days can be picked, the rest are greyed out */
.cal-month {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.cal-title {
	font: 700 16px var(--font-label);
	color: var(--ink-900);
}
.cal-nav {
	width: 32px;
	height: 32px;
	padding: 0;
	font: 700 20px / 1 var(--font-label);
	color: var(--ink-900);
	background: var(--white);
	border: var(--rule);
	border-radius: 10px;
	cursor: pointer;
}
.cal-nav:disabled {
	opacity: 0.25;
	cursor: default;
}
.cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}
.cal-weekday {
	padding-bottom: 2px;
	text-align: center;
	font: 700 12px var(--font-label);
	color: var(--ink-700);
}
.cal-day {
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font: 700 15px var(--font-label);
	color: var(--ink-900);
	background: var(--white);
	border: 2px solid var(--ink-900);
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 150ms ease;
}
.cal-day:not(:disabled):hover {
	background: var(--purple-100);
}
.cal-day[aria-pressed="true"],
.cal-day[aria-pressed="true"]:hover {
	background: var(--purple-500);
	color: var(--white);
}
.cal-day:disabled {
	font-weight: 400;
	color: var(--ink-500);
	background: none;
	border-color: transparent;
	cursor: default;
}
.link-button {
	padding: 0;
	font: inherit;
	font-weight: 700;
	color: var(--purple-700);
	text-decoration: underline;
	background: none;
	border: 0;
	cursor: pointer;
}
.book-error {
	padding: 10px 14px;
	font-size: 15px;
	color: var(--ink-900);
	background: var(--coral-100);
	border: 2px solid var(--red-600);
	border-radius: 12px;
}
.book-error[hidden] {
	display: none;
}
.hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.card-pay {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.card-pay[hidden] {
	display: none;
}
.card-pay-label {
	font: 700 14px var(--font-label);
	color: var(--ink-900);
}
/* Square draws its own card box in here; keep room for it while it loads. */
.card-box {
	min-height: 50px;
}
.card-pay-note {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--ink-700);
}
.robot-check {
	min-height: 65px;
}
.robot-check[hidden] {
	display: none;
}
