/*
Theme Name:   Dobby's Paw Spa
Theme URI:    https://dobbyspawspafp.com
Author:       Dobby's Paw Spa
Description:  A block theme for Dobby's Paw Spa, a dog & cat grooming studio in Franklin Park, Illinois.
Version:      0.2.0
Requires at least: 6.6
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  dobbys-paw-spa
*/

/* theme.json sets blockGap to null, so WordPress adds no automatic margins
   between blocks; spacing comes from this stylesheet. */
.wp-site-blocks > * + * {
	margin-block-start: 1.5rem;
}

/* Theme groups keep the plain-div box model the component styles were written for
   (core sets border-box on every Group block). */
.wp-block-group:where([class*="dps-"]) {
	box-sizing: content-box;
}

/* Theme images (Image blocks with a dps-* class) start with no margin;
   component rules further down set their own. */
.wp-block-image:where([class*="dps-"]) {
	margin: 0;
}

/* -------------------------------------------------
   Hero + features redesign
------------------------------------------------- */

.dps-container {
	width: min(var(--wp--style--global--wide-size), calc(100% - 3rem));
	margin: 0 auto;
}

.dps-site-header {
	padding: 1.375rem 0 0.625rem;
}

.dps-header-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.dps-header-actions {
	align-items: center !important;
	gap: 1.5rem;
}

/* Buttons: colors, type, padding and radius come from theme.json (Styles →
   Blocks → Button, including its Outline and Light styles). This only adds
   the icon layout and the hover sweep. */
.wp-block-button__link {
	--dps-btn-hover-from: rgba(0, 0, 0, 0.05);
	--dps-btn-hover-to: rgba(0, 0, 0, 0.15);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
}

.wp-block-button__link svg {
	flex: none;
}

.is-style-outline > .wp-block-button__link {
	--dps-btn-hover-from: color-mix(in srgb, var(--wp--preset--color--sage) 18%, transparent);
	--dps-btn-hover-to: color-mix(in srgb, var(--wp--preset--color--sage) 18%, transparent);
}

.is-style-light > .wp-block-button__link {
	--dps-btn-hover-from: rgba(0, 0, 0, 0.03);
	--dps-btn-hover-to: rgba(0, 0, 0, 0.08);
}

/* Smaller button (header, Dog / Cat Grooming). On the site the class sits on
   the link (inc/decorations.php); in the editor it stays on the wrapper. */
.wp-block-button__link.dps-btn--compact,
.dps-btn--compact > .wp-block-button__link {
	padding: 0.8125rem 1.375rem;
}

@media (min-width: 54rem) {
	.wp-block-button__link {
		background-image: linear-gradient(to right, var(--dps-btn-hover-from) 0%, var(--dps-btn-hover-to) 100%);
		background-size: 0 100%;
		background-repeat: no-repeat;
		background-position: left 100%;
		transition: background-size 0.6s ease-in-out;
	}

	.wp-block-button__link:hover {
		background-size: 100% 100%;
	}
}

.dps-hero-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: flex-start;
	gap: 0;
	padding: 0;
}

.dps-eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brown);
	opacity: 0.9;
}

.dps-hero-copy h1 {
	margin: 0;
	font-size: clamp(3.375rem, 7vw, 5.375rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
	max-width: 700px;
}

.dps-subtext {
	margin: 1.75rem 0 0;
	max-width: 560px;
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--wp--preset--color--soft-brown);
}

.dps-hero-btn {
	margin-top: 2.125rem;
}

.dps-hero-note {
	margin: 1.75rem 0 0.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.625rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--wp--preset--color--brown);
	font-family: var(--wp--preset--font-family--handwritten);
	opacity: 0.92;
}

.dps-hero-note-line {
	flex: 0 0 3.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}

.dps-hero-note-heart {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
}

.dps-hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hero entrance: pure CSS, no JS — it's always above the fold on load,
   so a scroll-triggered animation would risk a flash of visible content
   before the observer script (loaded in the footer) can hide it. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.dps-hero-copy,
	.dps-contact-copy,
	.dps-contact-actions {
		animation: dps-fade-left 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.dps-hero-visual,
	.dps-contact-visual,
	.dps-contact-card {
		animation: dps-fade-right 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
		animation-delay: 0.18s;
	}

	/* Centered heroes (Book, Policies, text pages) and what sits just below them. */
	.dps-book-hero-inner {
		animation: dps-fade-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.dps-book-links,
	.dps-book-widget-frame,
	.dps-policy-glance-item,
	.dps-text-page-content {
		animation: dps-fade-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
		animation-delay: 0.2s;
	}

	.dps-policy-glance-item:nth-child(2) { animation-delay: 0.3s; }
	.dps-policy-glance-item:nth-child(3) { animation-delay: 0.4s; }
	.dps-policy-glance-item:nth-child(4) { animation-delay: 0.5s; }

	@keyframes dps-fade-up {
		from {
			opacity: 0;
			transform: translateY(22px);
		}
	}

	.dps-contact-actions { animation-delay: 0.28s; }
	.dps-contact-card:nth-child(2) { animation-delay: 0.32s; }
	.dps-contact-card:nth-child(3) { animation-delay: 0.46s; }
	.dps-contact-card:nth-child(4) { animation-delay: 0.6s; }

	@keyframes dps-fade-left {
		from {
			opacity: 0;
			transform: translateX(-28px);
		}
	}

	@keyframes dps-fade-right {
		from {
			opacity: 0;
			transform: translateX(28px);
		}
	}
}

/* Scroll reveal for below-the-fold content: classes are added entirely by
   scroll-reveal.js, never present in the server-rendered HTML, so if JS
   fails to load these elements simply keep their normal visible state. */
@media (prefers-reduced-motion: no-preference) {
	.dps-reveal {
		opacity: 0;
		transform: translateY(26px);
	}

	.dps-reveal.is-visible {
		animation: dps-reveal-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
		animation-delay: var(--dps-reveal-delay, 0s);
	}

	@keyframes dps-reveal-in {
		to {
			opacity: 1;
			transform: none;
		}
	}
}

.dps-hero-image {
	width: min(750px, 100%);
	height: auto;
}

@media (min-width: 68.75rem) {
	.dps-hero-visual {
		margin-top: -95px;
		margin-right: -50px;
	}
}

.dps-sparkle {
	position: absolute;
	color: var(--wp--preset--color--brown);
	pointer-events: none;
	animation: dps-twinkle 5.5s ease-in-out infinite;
}

.dps-sparkle--1 {
	top: 4%;
	left: 2%;
	width: 22px;
	height: 22px;
	animation-delay: 0s;
}

.dps-sparkle--2 {
	top: 12%;
	right: 6%;
	width: 15px;
	height: 15px;
	animation-delay: 1.8s;
}

.dps-sparkle--3 {
	bottom: 8%;
	left: 8%;
	width: 13px;
	height: 13px;
	animation-delay: 3.4s;
}

@keyframes dps-twinkle {
	0%, 100% {
		opacity: 0.25;
		transform: scale(0.75) rotate(0deg);
	}
	50% {
		opacity: 1;
		transform: scale(1.1) rotate(10deg);
	}
}

.dps-paw-print {
	position: absolute;
	color: var(--wp--preset--color--gold);
	pointer-events: none;
	animation: dps-paw-appear 9s ease-in-out infinite;
}

.dps-paw-print--1 {
	--r: -18deg;
	bottom: 16%;
	left: 4%;
	width: 34px;
	height: 34px;
	animation-delay: 0s;
}

.dps-paw-print--2 {
	--r: 10deg;
	bottom: 32%;
	left: 15%;
	width: 25px;
	height: 25px;
	animation-delay: 4.5s;
}

@keyframes dps-paw-appear {
	0%, 100% {
		opacity: 0;
		transform: scale(0.8) rotate(var(--r, 0deg));
	}
	15%, 40% {
		opacity: 0.55;
		transform: scale(1) rotate(var(--r, 0deg));
	}
	55% {
		opacity: 0;
		transform: scale(0.8) rotate(var(--r, 0deg));
	}
}

@media (prefers-reduced-motion: reduce) {
	.dps-paw-print {
		animation: none;
		opacity: 0.4;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dps-sparkle {
		animation: none;
		opacity: 0.75;
	}
}

.dps-wave-divider {
	position: relative;
	width: 100%;
	height: 150px;
	margin-top: -25px;
}

.dps-wave-divider svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dps-wave-divider path {
	fill: color-mix(in srgb, var(--wp--preset--color--sage) 18%, var(--wp--preset--color--cream));
}

.dps-wave-divider--sage path {
	fill: var(--wp--preset--color--sage-dark);
}

.dps-features {
	margin-top: 1.5rem;
	background: var(--wp--preset--color--cream);
}

.dps-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 0;
	row-gap: 1.125rem;
}

.dps-feature {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem 1.125rem;
}

.dps-feature-icon {
	width: 3.625rem;
	height: 3.625rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--sage) 18%, var(--wp--preset--color--cream));
	color: var(--wp--preset--color--sage-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dps-feature-icon svg {
	width: 28px;
	height: 28px;
}

.dps-feature h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: .85rem;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--brown);
}

.dps-feature p {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
	color: var(--wp--preset--color--soft-brown);
}

.dps-services {
	position: relative;
	margin-top: 1.5rem;
	background: color-mix(in srgb, var(--wp--preset--color--sage) 8%, var(--wp--preset--color--cream));
	padding: 4rem 0 3.5rem;
	overflow: hidden;
}

/* Wavy edges between the tinted services section and its cream neighbours. */
.dps-section-wave {
	position: absolute;
	top: -1px;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 2.5rem;
	pointer-events: none;
}

.dps-section-wave--cream {
	fill: var(--wp--preset--color--cream);
}

.dps-section-wave--tint {
	fill: color-mix(in srgb, var(--wp--preset--color--sage) 8%, var(--wp--preset--color--cream));
}

.dps-services-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.25rem;
}

.dps-service-photo {
	position: relative;
	margin: 0 0 2.25rem;
}

.dps-service-photo-frame {
	position: relative;
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dps-service-photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.dps-service-badge {
	position: relative;
	z-index: 1;
	display: block;
	width: fit-content;
	min-width: 230px;
	margin: -7rem auto 0.875rem;
	transform: rotate(-1deg);
}

.dps-service-badge-brush {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: url("assets/img/brush-stroke.webp") center / 100% 200% no-repeat;
	/* Darkened so the cream label text meets 4.5:1 contrast. */
	filter: brightness(0.7);
	z-index: -1;
}

.dps-service-badge-text {
	position: relative;
	display: block;
	padding: 1rem 2rem;
	text-align: center;
	color: var(--wp--preset--color--cream);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.20rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.dps-service-desc {
	max-width: 85%;
	margin: 0 auto 1.25rem;
	text-align: center;
	color: var(--wp--preset--color--soft-brown);
	font-size: 0.85rem;
	line-height: 1.5;
}

.dps-service-pricing {
	position: relative;
	overflow: hidden;
	margin: 1.25rem 3.75rem 0;
}

.dps-service-watermark {
	position: absolute;
	right: -0.5rem;
	bottom: -0.5rem;
	width: 100px;
	height: 100px;
	color: var(--wp--preset--color--sage-dark);
	opacity: 0.09;
	z-index: 0;
	pointer-events: none;
}

.dps-service-pricing .dps-price-row {
	position: relative;
	z-index: 1;
	padding: 0.5rem 0;
}

.dps-service-more {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin: 1rem 3.75rem 0;
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage-dark);
	background: linear-gradient(to right, currentcolor 0%, currentcolor 100%);
	background-size: 0 2px;
	background-repeat: no-repeat;
	background-position: left 100%;
	padding-bottom: 2px;
	text-decoration: none;
	transition: background-size 0.6s ease-in-out;
}

.dps-service-more svg {
	width: 14px;
	height: 14px;
	flex: none;
	transition: transform 0.25s ease;
}

.dps-service-more:hover {
	background-size: 100% 2px;
}

.dps-service-more:hover svg {
	transform: translateX(3px);
}

.dps-services-footer {
	position: relative;
	z-index: 1;
	margin-top: 2.5rem;
	text-align: center;
}

.dps-services-btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.dps-services-footer p {
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--soft-brown);
	font-size: var(--wp--preset--font-size--x-small);
}

.dps-services-note {
	position: absolute;
	right: 1.5rem;
	bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	transform: rotate(-3deg);
	font-family: var(--wp--preset--font-family--handwritten);
	font-size: var(--wp--preset--font-size--medium-large);
	color: var(--wp--preset--color--brown);
	opacity: 0.85;
	pointer-events: none;
}

.dps-services-note svg {
	width: 20px;
	height: 20px;
	flex: none;
}

.dps-services-branch {
	position: absolute;
	color: var(--wp--preset--color--sage);
	opacity: 0.35;
	pointer-events: none;
	z-index: 0;
}

.dps-services-branch--tl {
	top: -1rem;
	left: -2rem;
	width: 140px;
	height: 220px;
}

.dps-services-branch--br {
	bottom: -1rem;
	right: -2rem;
	width: 140px;
	height: 220px;
	transform: rotate(180deg);
}

/* Tablets and small laptops: three narrower cards. */
@media (min-width: 60rem) and (max-width: 68.75rem) {
	.dps-services-grid {
		gap: 1.5rem;
	}

	.dps-service-photo-frame {
		height: 240px;
	}

	.dps-service-badge {
		min-width: 0;
		margin-top: -5.5rem;
	}

	.dps-service-badge-text {
		padding: 0.75rem 1.5rem;
		font-size: 1rem;
	}

	.dps-service-pricing,
	.dps-service-more {
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}
}

@media (max-width: 59.9375rem) {
	.dps-services-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
		max-width: 420px;
		margin: 0 auto;
	}

	.dps-service-photo-frame {
		height: 260px;
	}
}

@media (max-width: 68.75rem) {
	.dps-services-note {
		position: static;
		display: flex;
		justify-content: center;
		margin-top: 2rem;
		transform: none;
	}

	.dps-services-branch {
		display: none;
	}
}

/* Tablets: keep the photo beside the copy, both scaled down. */
@media (min-width: 43.8125rem) and (max-width: 68.75rem) {
	.dps-hero-grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
		gap: 2rem;
	}

	.dps-eyebrow {
		font-size: 0.6875rem;
		letter-spacing: 0.15em;
	}

	.dps-hero-copy h1 {
		font-size: clamp(2.5rem, 5.5vw, 3.5rem);
	}

	.dps-subtext {
		font-size: var(--wp--preset--font-size--medium);
	}

	.dps-hero-note {
		font-size: var(--wp--preset--font-size--medium-large);
	}

	.dps-hero-grid .dps-hero-copy .dps-hero-badges {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 1rem;
		max-width: 320px;
	}
}

@media (max-width: 68.75rem) {
	.dps-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Let the heart follow the last word when the note wraps. */
	.dps-hero-note {
		display: block;
	}

	.dps-hero-note-line {
		display: none;
	}

	.dps-hero-note-heart {
		display: inline-block;
		margin-left: 0.5rem;
		vertical-align: -0.125em;
	}
}

@media (max-width: 43.75rem) {
	.dps-hero-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.dps-hero-copy {
		max-width: 760px;
		margin: 0 auto;
	}

	.dps-hero-copy h1,
	.dps-subtext,
	.dps-hero-note {
		margin-left: auto;
		margin-right: auto;
	}

	.dps-hero-note,
	.dps-hero-grid .dps-hero-btn,
	.dps-hero-grid .dps-hero-copy .dps-pricing-jump {
		justify-content: center;
	}

	.dps-hero-grid .dps-hero-copy .dps-hero-badges {
		margin-inline: auto;
	}

	.dps-hero-visual {
		min-height: auto;
		padding-bottom: 1.25rem;
	}
}

@media (max-width: 43.75rem) {
	.dps-hero-grid {
		gap: 1.25rem;
		padding: 0 0 1.25rem;
	}

	.dps-eyebrow {
		margin-bottom: 1rem;
		font-size: var(--wp--preset--font-size--xx-small);
		letter-spacing: 0.15em;
	}

	.dps-hero-copy h1 {
		font-size: clamp(2.625rem, 12vw, 3.75rem);
		line-height: 1.02;
	}

	.dps-subtext {
		margin-top: 1.25rem;
		font-size: var(--wp--preset--font-size--medium);
	}

	.dps-hero-btn {
		margin-top: 1.625rem;
		min-width: 100%;
	}

	.dps-hero-note {
		margin-top: 1.375rem;
		font-size: var(--wp--preset--font-size--medium-large);
	}

	.dps-hero-visual {
		order: -1;
		padding-bottom: 0;
	}

	.dps-hero-image {
		width: min(260px, 100%);
	}

	/* Phones: page buttons are full width and stacked (not the header or footer).
	   Dog / Cat Grooming below is the one pair kept side by side. */
	main .wp-block-buttons:not(.dps-pricing-jump) {
		flex-direction: column;
		align-items: stretch;
	}

	main .wp-block-buttons:not(.dps-pricing-jump) .wp-block-button,
	main .wp-block-buttons:not(.dps-pricing-jump) .wp-block-button__link {
		width: 100%;
		min-width: 0;
	}

	/* Dog / Cat Grooming side by side; they wrap only on very narrow screens. */
	.dps-hero-grid .dps-hero-copy .dps-pricing-jump {
		gap: 0.625rem;
	}

	.dps-hero-copy .dps-pricing-jump .wp-block-button {
		flex: 1 1 auto;
	}

	.dps-hero-copy .dps-pricing-jump .wp-block-button__link {
		width: 100%;
		gap: 0.375rem;
		padding-inline: 0.375rem;
		letter-spacing: 0.05em;
	}

	/* Home services: View Full Services and Book Now as an equal-width pair. */
	.dps-services-btn-row {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.dps-services-btn-row .wp-block-button,
	.dps-services-btn-row .wp-block-button__link {
		width: 100%;
	}

	/* Add this class to a hero section to drop its photo on phones. */
	.dps-hide-photo-mobile .dps-hero-visual {
		display: none;
	}

	.dps-wave-divider {
		height: 4.5rem;
	}

	.dps-features-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.dps-feature {
		border-left: none;
		border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--sage) 18%, transparent);
		padding: 1.125rem 0.25rem;
	}

	.dps-feature:first-child {
		border-top: none;
	}
}

footer.wp-block-template-part {
	margin-top: 0;
}

.dps-footer {
	position: relative;
	overflow: hidden;
	margin-top: 0;
	padding: 0 0 2rem;
}

.dps-footer .dps-footer-wave {
	margin: 0 0 1.5rem;
	background: var(--wp--preset--color--cream);
}

.dps-footer-paw-trail {
	position: relative;
	height: 2.5rem;
	margin-top: 0;
	padding-bottom: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--white) 15%, transparent);
}

.dps-footer-paw-trail .dps-footer-paw {
	bottom: 20px;
}

.dps-footer-paw {
	position: absolute;
	bottom: 8%;
	color: var(--wp--preset--color--cream);
	opacity: 0;
	pointer-events: none;
	animation: dps-paw-walk 7s ease-in-out infinite;
}

.dps-footer-paw--1 { left: 4%; width: 20px; height: 20px; --r: -12deg; animation-delay: 0s; }
.dps-footer-paw--2 { left: 17%; width: 16px; height: 16px; --r: 10deg; bottom: 13%; animation-delay: 0.5s; }
.dps-footer-paw--3 { left: 32%; width: 20px; height: 20px; --r: -9deg; animation-delay: 1s; }
.dps-footer-paw--4 { left: 49%; width: 16px; height: 16px; --r: 11deg; bottom: 13%; animation-delay: 1.5s; }
.dps-footer-paw--5 { left: 66%; width: 20px; height: 20px; --r: -10deg; animation-delay: 2s; }
.dps-footer-paw--6 { left: 82%; width: 16px; height: 16px; --r: 9deg; bottom: 13%; animation-delay: 2.5s; }

@keyframes dps-paw-walk {
	0%, 50%, 100% {
		opacity: 0;
		transform: scale(0.7) rotate(var(--r, 0deg));
	}
	18%, 32% {
		opacity: 0.4;
		transform: scale(1) rotate(var(--r, 0deg));
	}
}

@media (prefers-reduced-motion: reduce) {
	.dps-footer-paw {
		animation: none;
		opacity: 0.2;
	}
}

.dps-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 0.75rem;
}

.dps-footer-tagline {
	margin: 0;
	max-width: 320px;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
	opacity: 0.8;
}

.dps-footer-links,
.dps-footer-contact {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.dps-footer-links a,
.dps-footer-contact a {
	display: inline;
	color: inherit;
	background: linear-gradient(to right, currentcolor 0%, currentcolor 100%);
	background-size: 0 2px;
	background-repeat: no-repeat;
	background-position: left 100%;
	padding-bottom: 2px;
	text-decoration: none;
	opacity: 0.85;
	transition: background-size 0.6s ease-in-out, opacity 0.2s ease;
}

.dps-footer-links a {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.dps-footer-links a:hover,
.dps-footer-contact a:hover {
	opacity: 1;
	background-size: 100% 2px;
}

.dps-footer-contact li {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: var(--wp--preset--font-size--small);
}

.dps-footer-contact svg {
	width: 16px;
	height: 16px;
	flex: none;
	opacity: 0.8;
}

.dps-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0;
	padding-top: 0.375rem;
	font-size: var(--wp--preset--font-size--x-small);
	opacity: 0.85;
}

.dps-footer-credit a {
	color: inherit;
	text-decoration: none;
}

.dps-footer > .dps-footer-bottom {
	margin-block: 0;
	padding-top: 1.25rem;
	padding-bottom: 2rem;
}

.dps-footer-brand .dps-footer-motto {
	margin: 1rem 0 0;
	opacity: 0.85;
}

.dps-footer-bottom p {
	margin: 0;
}

.dps-footer-bottom p:first-child a {
	margin-left: 0.5rem;
	color: inherit;
	text-underline-offset: 0.2em;
}

.dps-footer-motto {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: var(--wp--preset--font-size--xx-small);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.dps-footer-motto svg {
	width: 13px;
	height: 13px;
	flex: none;
}

@media (max-width: 45rem) {
	.dps-footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.dps-footer-links {
		margin-bottom: 0;
	}

	.dps-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.dps-footer-bottom p:first-child a {
		display: block;
		width: fit-content;
		margin: 0.375rem 0 0;
	}

	.dps-footer-bottom .dps-footer-credit {
		margin-top: 1rem;
	}
}

/* 404: a trail of paw prints wandering off, then a handwritten note. Motion plays once, under 5s. */
.dps-404-actions {
	justify-content: center;
	margin-top: 1.75rem;
}

.dps-404-dog {
	width: 190px;
	margin: 0 auto 1rem;
	animation: dps-404-bob 4s ease-in-out 1;
}

.dps-404-dog img {
	display: block;
	width: 100%;
	height: auto;
}

@keyframes dps-404-bob {
	0%, 100% { transform: translateY(0) rotate(0); }
	25%      { transform: translateY(-6px) rotate(-2deg); }
	75%      { transform: translateY(-3px) rotate(2deg); }
}

@media (max-width: 43.75rem) {
	.dps-404-dog {
		width: 140px;
		margin-bottom: 0.5rem;
	}
}

.dps-paw-trail {
	position: relative;
	width: min(22rem, 100%);
	height: 4.5rem;
	margin: 1.5rem auto 0;
}

.dps-trail-paw {
	position: absolute;
	width: 22px;
	height: 22px;
	color: var(--wp--preset--color--sage);
	opacity: 0;
	transform: rotate(var(--r));
	animation: dps-trail-step 0.6s ease-out both;
}

/* Plays once (under 5s, WCAG 2.2.2), then the paws stay put. */
@keyframes dps-trail-step {
	from { opacity: 0; transform: scale(0.7) rotate(var(--r)); }
	to   { opacity: 0.4; transform: scale(1) rotate(var(--r)); }
}

.dps-trail-paw--1 { left: 0;   top: 70%; --r: 60deg;  animation-delay: 0s; }
.dps-trail-paw--2 { left: 16%; top: 40%; --r: 80deg;  animation-delay: 0.45s; }
.dps-trail-paw--3 { left: 33%; top: 62%; --r: 70deg;  animation-delay: 0.9s; }
.dps-trail-paw--4 { left: 50%; top: 28%; --r: 95deg;  animation-delay: 1.35s; }
.dps-trail-paw--5 { left: 67%; top: 48%; --r: 85deg;  animation-delay: 1.8s; }
.dps-trail-paw--6 { left: 86%; top: 0;   --r: 0deg;   animation-delay: 2.25s; width: 28px; height: 28px; color: var(--wp--preset--color--gold); }

.dps-text-page-hero h1,
.dps-text-page-hero .dps-subtext {
	text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
	.dps-trail-paw {
		animation: none;
		opacity: 0.35;
	}

	.dps-404-dog {
		animation: none;
	}
}

.dps-text-page-hero .dps-404-note {
	justify-content: center;
	margin: 0.25rem auto 0;
}

.dps-404-note .dps-hero-note-line {
	display: none;
}

.dps-404-help {
	margin: 1rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--soft-brown);
}

.dps-404-help a {
	color: var(--wp--preset--color--sage-dark);
	font-weight: 600;
	text-underline-offset: 0.2em;
}

/* Keyboard focus: a visible ring on every interactive element */
:where(a, button, input, select, textarea, summary, iframe, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--sage-dark);
	outline-offset: 3px;
	border-radius: 4px;
}

.dps-footer :focus-visible {
	outline-color: var(--wp--preset--color--cream);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link.screen-reader-text:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	overflow: visible;
	white-space: normal;
	padding: 0.75rem 1.25rem;
	border-radius: 8px;
	background: var(--wp--preset--color--brown);
	color: var(--wp--preset--color--cream);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
}

/* -------------------------------------------------
   Services & Pricing page
------------------------------------------------- */

.dps-pricing-jump {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1rem;
	margin-top: 1rem;
}

.dps-hero-copy .dps-pricing-jump {
	width: 100%;
	margin-inline: 0;
	text-align: left;
}

.dps-hero-copy .dps-pricing-jump .wp-block-button__link {
	margin-inline: 0;
}

.dps-pricing-badges {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	max-width: 760px;
	margin: 2.5rem auto 0;
}

.dps-hero-copy .dps-hero-badges {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.5rem;
	max-width: 540px;
	margin: 1.5rem 0 0;
}

.dps-hero-badges .dps-pricing-badge-icon {
	width: 2.75rem;
	height: 2.75rem;
}

.dps-hero-badges .dps-pricing-badge p {
	font-size: var(--wp--preset--font-size--xx-small);
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.35;
}

.dps-pricing-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.625rem;
	text-align: center;
}

.dps-pricing-badge-icon {
	width: 3.625rem;
	height: 3.625rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--sage) 18%, var(--wp--preset--color--cream));
	color: var(--wp--preset--color--sage-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dps-pricing-badge-icon svg {
	width: 24px;
	height: 24px;
}

.dps-pricing-badge p {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brown);
}

.dps-pricing-section {
	padding: 3.5rem 0;
}

.dps-pricing-section--dog {
	background: var(--wp--preset--color--cream);
	padding-top: 1rem;
}

.dps-pricing-section--cat {
	background: color-mix(in srgb, var(--wp--preset--color--sage) 8%, var(--wp--preset--color--cream));
}

.dps-pricing-section-title {
	margin: 0;
	text-align: left;
	font-size: min(clamp(1.75rem, 3vw, 2.5rem), calc(var(--wp--preset--font-size--x-large) - 4px));
	line-height: 1.15;
	color: var(--wp--preset--color--brown);
}

.dps-pricing-heading {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.dps-pricing-heading-paw {
	flex: 0 0 auto;
	width: clamp(32px, 4vw, 44px);
	height: auto;
	margin-top: 0.2rem;
	color: var(--wp--preset--color--sage);
}

.dps-pricing-heading-description {
	margin: 0.5rem 0 0;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--soft-brown);
}

.dps-pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
	align-items: start;
}

.dps-pricing-grid--thirds {
	grid-template-columns: repeat(3, 1fr);
}

.dps-pricing-card {
	position: relative;
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 2px 14px color-mix(in srgb, var(--wp--preset--color--brown) 8%, transparent);
}

.dps-pricing-card-title {
	position: relative;
	z-index: 1;
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: -2.5rem auto 1.25rem;
	transform: rotate(-1deg);
}

.dps-pricing-card-title-brush {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: url("assets/img/brush-stroke.webp") center / 100% 200% no-repeat;
	/* Darkened so the cream label text meets 4.5:1 contrast. */
	filter: brightness(0.7);
	z-index: -1;
}

.dps-pricing-card-title-text {
	position: relative;
	display: block;
	padding: 0.75rem 1.5rem;
	color: var(--wp--preset--color--cream);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: center;
}

.dps-menu-sparkle {
	display: inline-block;
	width: 2.5rem;
	height: 1.75rem;
	margin-left: 0.375rem;
	vertical-align: -0.4em;
	color: var(--wp--preset--color--gold);
}

.dps-pricing-card > .dps-menu-sparkle {
	position: absolute;
	right: 12px;
	bottom: 6px;
	width: 64px;
	height: 48px;
	margin: 0;
	opacity: 0.7;
	pointer-events: none;
}

.dps-pricing-card-sub {
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--soft-brown);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.dps-price-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--brown) 10%, transparent);
}

.dps-price-row:last-child {
	border-bottom: none;
}

.dps-pricing-card--extras {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem 1.5rem;
	padding-bottom: 1.25rem;
}

.dps-pricing-card--extras > .dps-pricing-card-title {
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.dps-pricing-card--extras > .dps-price-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	align-content: start;
	gap: 0.375rem 0.75rem;
	padding: 1rem;
	border-bottom: none;
	border-radius: 12px;
	background: var(--wp--preset--color--cream);
}

.dps-pricing-card--extras > .dps-price-row:nth-of-type(even) {
	background: color-mix(in srgb, var(--wp--preset--color--sage) 14%, var(--wp--preset--color--cream));
}

.dps-pricing-card--extras .dps-price-row-name,
.dps-pricing-card--extras .dps-price-row-desc {
	flex: initial;
	margin: 0;
}

.dps-pricing-card--extras .dps-price-row-desc {
	grid-column: 1 / -1;
}

@media (max-width: 68.75rem) {
	.dps-pricing-card--extras {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 45rem) {
	.dps-pricing-card--extras {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 30rem) {
	.dps-pricing-card--extras {
		grid-template-columns: 1fr;
	}
}

.dps-price-row-name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--wp--preset--color--brown);
}

.dps-price-row-amount {
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wp--preset--color--brown);
	white-space: nowrap;
}

.dps-price-row-desc {
	flex-basis: 100%;
	margin: -0.25rem 0 0;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
	color: var(--wp--preset--color--soft-brown);
}

.dps-price-row-list {
	flex-basis: 100%;
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.dps-price-row-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--soft-brown);
}

.dps-price-row-list svg {
	width: 13px;
	height: 13px;
	margin-top: 0.2rem;
	flex: none;
	color: var(--wp--preset--color--sage-dark);
}

.dps-pricing-callout--illustrated {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.dps-upgrade-watermark {
	position: absolute;
	right: 0.5rem;
	bottom: 0.25rem;
	width: 130px;
	height: 145px;
	color: var(--wp--preset--color--sage-dark);
	opacity: 0.09;
	z-index: -1;
	transform: rotate(-12deg);
	pointer-events: none;
}

.dps-pricing-callout {
	margin-top: 1.25rem;
	padding: 1.125rem 1.25rem;
	border-radius: 12px;
	background: color-mix(in srgb, var(--wp--preset--color--gold) 20%, var(--wp--preset--color--cream));
}

.dps-pricing-callout-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.375rem;
}

.dps-pricing-callout-title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 700;
	color: var(--wp--preset--color--brown);
}

.dps-pricing-callout-price {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 700;
	color: var(--wp--preset--color--brown);
	white-space: nowrap;
}

.dps-pricing-callout p {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--soft-brown);
}

.dps-pricing-callout p.dps-shedding-examples {
	font-size: var(--wp--preset--font-size--x-small);
	margin-bottom: 0;
}

.dps-pricing-callout p.dps-pricing-callout-title {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.3;
	color: var(--wp--preset--color--brown);
}

.dps-pricing-note {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed color-mix(in srgb, var(--wp--preset--color--brown) 20%, transparent);
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
	color: var(--wp--preset--color--soft-brown);
}

.dps-pricing-disclaimer {
	max-width: 640px;
	margin: 3rem auto 0;
	text-align: center;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--soft-brown);
}

.dps-pricing-cta {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 0;
	background: var(--wp--preset--color--cream);
}

.dps-booking-grid {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	align-items: center;
	gap: 2rem;
}

.dps-booking-copy {
	grid-column: 2;
}

.dps-booking-copy h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.dps-booking-action {
	position: relative;
	justify-content: center;
}

.dps-booking-action .wp-block-button__link {
	min-width: calc(260px + 3.5rem);
}

.dps-booking-button-stem {
	grid-column: 1;
	grid-row: 1;
	align-self: end;
	justify-self: end;
	transform: scaleX(-1);
	width: 90px;
	height: 135px;
	margin-bottom: -0.5rem;
	color: var(--wp--preset--color--sage);
	opacity: 0.45;
	pointer-events: none;
}

.dps-booking-copy p {
	margin: 1rem 0 1.5rem;
	color: var(--wp--preset--color--soft-brown);
}

.dps-booking-visual {
	display: block;
	grid-column: 3;
	width: 100%;
	height: auto;
	margin-inline: auto;
	position: relative;
	transform: translateX(calc(-2rem - 20px));
}

.dps-booking-wave {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5rem;
	fill: var(--wp--preset--color--cream);
	pointer-events: none;
}

.dps-booking-wave--top {
	top: -1px;
	height: 2.5rem;
	fill: color-mix(in srgb, var(--wp--preset--color--sage) 8%, var(--wp--preset--color--cream));
}

.dps-booking-wave--bottom {
	bottom: -1px;
	transform: rotate(180deg);
}

@media (max-width: 45rem) {
	.dps-booking-grid {
		grid-template-columns: 1fr;
	}

	.dps-booking-button-stem {
		display: none;
	}

	.dps-booking-copy,
	.dps-booking-visual {
		grid-column: 1;
	}

	/* Phones: clear the waves, and drop the cat photo so the button closes the section. */
	.dps-pricing-cta {
		padding: 3.5rem 0 3rem;
	}

	.dps-booking-visual {
		display: none;
	}

	.dps-booking-action .wp-block-button,
	.dps-booking-action .wp-block-button__link {
		min-width: 0;
		width: 100%;
	}
}

@media (max-width: 75rem) {
	.dps-pricing-grid--thirds {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 61rem) {
	.dps-pricing-grid,
	.dps-pricing-grid--thirds {
		grid-template-columns: 1fr;
	}

	.dps-pricing-badges {
		grid-template-columns: repeat(2, 1fr);
	}
}

.dps-booking-image {
 display: block;
 position: relative;
 width: 100%;
 height: auto;
 border-radius: 48% 42% 44% 38% / 38% 46% 36% 42%;
 mix-blend-mode: multiply;
}

.dps-booking-botanicals {
 position: absolute;
 width: calc(100% + 10px);
 height: auto;
 left: -5px;
 bottom: calc(6% - 5px);
 color: var(--wp--preset--color--sage);
 opacity: 0.45;
 pointer-events: none;
}

/* Contact page */
.dps-contact-hero { background: var(--wp--preset--color--cream); }
.dps-contact-hero h1 { margin: 0.5rem 0 0; font-size: clamp(2.75rem, 5vw, 4.25rem); line-height: 1.05; }
.dps-contact-hero-grid { display: grid; grid-template-columns: 2fr 0.85fr; gap: 0; align-items: start; }
.dps-contact-main { position: relative; }
.dps-contact-hero-row { position: relative; }

.dps-contact-tagline { margin-top: 1.25rem; font-size: var(--wp--preset--font-size--medium-large); }
.dps-contact-text { max-width: 34rem; margin: 0 0 1.125rem; color: var(--wp--preset--color--soft-brown); font-size: 0.9375rem; line-height: 1.75; }
.dps-contact-text--goal { color: var(--wp--preset--color--brown); font-weight: 600; }

.dps-contact-actions { position: relative; z-index: 2; margin-top: 1.75rem; }
.dps-contact-btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.dps-contact-thanks { display: flex; align-items: center; justify-content: center; gap: 0.625rem; margin: 3.5rem 0 0; font-family: var(--wp--preset--font-family--handwritten); font-size: var(--wp--preset--font-size--medium-large); color: var(--wp--preset--color--brown); opacity: 0.9; }
.dps-contact-thanks svg { width: 20px; height: 20px; flex: none; }

.dps-contact-copy { position: relative; z-index: 2; }
.dps-contact-visual { position: relative; display: flex; align-items: flex-start; justify-content: center; margin-top: 2.5rem; }
.dps-contact-photo { width: min(340px, 100%); height: auto; }

.dps-contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.dps-contact-card { position: relative; overflow: hidden; display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: 16px; background: color-mix(in srgb, var(--wp--preset--color--sage) 8%, var(--wp--preset--color--cream)); box-shadow: 0 1px 3px color-mix(in srgb, var(--wp--preset--color--sage-dark) 10%, transparent); }
.dps-contact-card-icon { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--sage) 18%, var(--wp--preset--color--cream)); color: var(--wp--preset--color--sage-dark); }
.dps-contact-card-icon svg { width: 22px; height: 22px; }
.dps-contact-card-body { position: relative; z-index: 1; min-width: 0; }

.dps-contact-card-watermark { position: absolute; right: -0.75rem; bottom: -1rem; width: 92px; height: 92px; color: var(--wp--preset--color--sage-dark); opacity: 0.1; transform: rotate(-8deg); z-index: 0; pointer-events: none; }
.dps-contact-card-watermark--paw { right: -0.5rem; bottom: -0.75rem; width: 76px; height: 76px; color: var(--wp--preset--color--sage-dark); opacity: 0.14; transform: rotate(12deg); }
.dps-contact-card-sparkle { position: absolute; top: 1.25rem; right: 1.5rem; width: 20px; height: 20px; color: var(--wp--preset--color--gold); opacity: 0.8; z-index: 0; pointer-events: none; }
.dps-contact-card-label { margin: 0.25rem 0 0.625rem; font-size: var(--wp--preset--font-size--xx-small); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--brown); }
.dps-contact-card address, .dps-contact-card p { margin: 0; font-style: normal; font-size: var(--wp--preset--font-size--small); line-height: 1.6; color: var(--wp--preset--color--soft-brown); }
.dps-contact-card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.dps-contact-card-list li { display: flex; align-items: center; gap: 0.5625rem; font-size: var(--wp--preset--font-size--small); }
.dps-contact-card-list svg { width: 15px; height: 15px; flex: none; color: var(--wp--preset--color--sage-dark); }
.dps-contact-card-list a { display: inline; color: var(--wp--preset--color--brown); background: linear-gradient(to right, currentcolor 0%, currentcolor 100%); background-size: 0 2px; background-repeat: no-repeat; background-position: left 100%; padding-bottom: 2px; text-decoration: none; overflow-wrap: anywhere; transition: background-size 0.6s ease-in-out; }
.dps-contact-card-list a:hover { background-size: 100% 2px; }

.dps-contact-directions { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.875rem; font-size: var(--wp--preset--font-size--xx-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--sage-dark); background: linear-gradient(to right, currentcolor 0%, currentcolor 100%); background-size: 0 2px; background-repeat: no-repeat; background-position: left 100%; padding-bottom: 2px; text-decoration: none; transition: background-size 0.6s ease-in-out; }
.dps-contact-directions svg { width: 14px; height: 14px; flex: none; transition: transform 0.25s ease; }
.dps-contact-directions:hover { background-size: 100% 2px; }
.dps-contact-directions:hover svg { transform: translateX(3px); }

.dps-contact-closing { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 0.5rem 0 0; font-family: var(--wp--preset--font-family--handwritten); font-size: 1.25rem; color: var(--wp--preset--color--brown); opacity: 0.92; }
.dps-contact-closing-line { flex: 0 0 2rem; height: 1px; background: currentColor; opacity: 0.5; }
.dps-contact-closing svg { flex: 0 0 auto; width: 18px; height: 18px; }

@media (min-width: 80rem) {
	.dps-contact-copy { max-width: 26rem; padding-right: 1rem; }
	.dps-contact-visual { position: absolute; top: 0; bottom: 0; right: 0; left: 24rem; margin-top: 0; align-items: stretch; z-index: 1; }
	.dps-contact-photo { width: 100%; height: 100%; object-fit: contain; object-position: top center; }
}

@media (max-width: 80rem) {
	.dps-contact-hero-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
	/* The cards' closing line now sits just above it: one sign-off is enough. */
	.dps-contact-thanks { display: none; }
	.dps-contact-visual { display: none; }
}

/* Tablets and small laptops: the copy at a comfortable reading width (the photo
   is shown on wide screens only), the cards two by two below. */
@media (min-width: 45.0625rem) and (max-width: 80rem) {
	.dps-contact-copy { max-width: 44rem; }
	.dps-contact-text { max-width: none; }
	.dps-contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dps-contact-closing { grid-column: 1 / -1; }
}

/* Small laptops: with the photo hidden, the cards take the right-hand column. */
@media (min-width: 60rem) and (max-width: 80rem) {
	.dps-contact-hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 3rem; }
	.dps-contact-copy { max-width: none; }
	.dps-contact-cards { display: flex; }
	.dps-contact-thanks { display: flex; }
}

@media (max-width: 45rem) {
	.dps-contact-main { text-align: center; }
	.dps-contact-text, .dps-contact-tagline { margin-left: auto; margin-right: auto; }
	.dps-contact-tagline { justify-content: center; }
	.dps-contact-btn-row { justify-content: center; }
	.dps-contact-cards { max-width: 34rem; margin: 0 auto; }
}

@media (max-width: 45rem) {
	.dps-contact-hero { padding: 0 0 3rem; }
	.dps-contact-btn-row { flex-direction: column; align-items: stretch; }
	.dps-contact-btn-row .wp-block-button__link { justify-content: center; }
	.dps-contact-closing { font-size: 1.25rem; gap: 0.625rem; }
	.dps-contact-closing-line { flex-basis: 1.5rem; }
}

.dps-contact-card-sparkle--cluster {
 width: 48px;
 height: 36px;
}

.dps-contact-card-watermark--hourglass {
 transform: rotate(15deg);
}

.dps-price-row--skunk,
.dps-price-row--tooth,
.dps-price-row--scissors,
.dps-price-row--nail-paw,
.dps-price-row--bubbles,
.dps-price-row--balm {
 position: relative;
 isolation: isolate;
 overflow: hidden;
}
.dps-skunk-watermark,
.dps-tooth-watermark,
.dps-scissors-watermark,
.dps-nail-paw-watermark,
.dps-bubbles-watermark,
.dps-balm-watermark {
 position: absolute;
 right: 8px;
 bottom: 4px;
 width: 100px;
 height: 84px;
 color: var(--wp--preset--color--sage-dark);
 opacity: 0.12;
 z-index: -1;
 pointer-events: none;
}

/* -------------------------------------------------
   Book Now page
------------------------------------------------- */

.dps-book-hero {
	position: relative;
	padding: 0 0 1rem;
	text-align: center;
	background: var(--wp--preset--color--cream);
	overflow: hidden;
}

.dps-book-hero-inner {
	position: relative;
	max-width: 34rem;
	margin: 0 auto;
	padding: 0;
}

.dps-book-sparkle {
	position: absolute;
	color: var(--wp--preset--color--brown);
	pointer-events: none;
	animation: dps-twinkle 5.5s ease-in-out infinite;
}

.dps-book-sparkle--1 {
	top: 0.25rem;
	left: -2.25rem;
	width: 18px;
	height: 18px;
	animation-delay: 0s;
}

.dps-book-sparkle--2 {
	top: 0.5rem;
	right: -2rem;
	width: 22px;
	height: 22px;
	animation-delay: 1.6s;
}

.dps-book-sparkle--3 {
	bottom: 2.75rem;
	right: -1.25rem;
	width: 13px;
	height: 13px;
	animation-delay: 3.2s;
}

.dps-book-sparkle--4 {
	top: 5.5rem;
	left: -3.25rem;
	width: 15px;
	height: 15px;
	animation-delay: 2.4s;
}

.dps-book-sparkle--5 {
	top: -1rem;
	left: 46%;
	width: 12px;
	height: 12px;
	animation-delay: 4.6s;
}

.dps-book-paw {
	position: absolute;
	color: var(--wp--preset--color--gold);
	pointer-events: none;
	animation: dps-paw-appear 9s ease-in-out infinite;
}

.dps-book-paw--1 {
	--r: -16deg;
	top: 45%;
	left: -3.5rem;
	width: 30px;
	height: 30px;
	animation-delay: 0s;
}

.dps-book-paw--2 {
	--r: 14deg;
	bottom: -0.5rem;
	right: -3rem;
	width: 26px;
	height: 26px;
	animation-delay: 4.2s;
}

.dps-book-paw--3 {
	--r: -22deg;
	top: -1.5rem;
	right: 1rem;
	width: 22px;
	height: 22px;
	animation-delay: 6s;
}

.dps-book-sparkle-static {
	position: absolute;
	color: var(--wp--preset--color--brown);
	opacity: 0.4;
	pointer-events: none;
}

.dps-book-sparkle-static--1 {
	top: 2.75rem;
	left: -1rem;
	width: 11px;
	height: 11px;
}

.dps-book-sparkle-static--2 {
	top: 3rem;
	right: -0.75rem;
	width: 16px;
	height: 16px;
}

.dps-book-paw-static {
	position: absolute;
	color: var(--wp--preset--color--gold);
	opacity: 0.35;
	pointer-events: none;
}

.dps-book-paw-static--1 {
	transform: rotate(8deg);
	bottom: 0.5rem;
	left: -0.75rem;
	width: 18px;
	height: 18px;
}

@media (max-width: 45rem) {
	.dps-book-sparkle,
	.dps-book-paw,
	.dps-book-sparkle-static,
	.dps-book-paw-static {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dps-book-sparkle,
	.dps-book-paw {
		animation: none;
		opacity: 0.5;
	}
}

.dps-book-hero h1 {
	margin: 0.375rem 0 0;
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	line-height: 1.1;
}

.dps-book-subtext {
	max-width: 34rem;
	margin: 0.625rem auto 0;
	font-size: 1rem;
}

.dps-book-widget {
	padding: 0 0 4.5rem;
	background: var(--wp--preset--color--cream);
}

.dps-book-widget-frame {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
	padding: 1.5rem;
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 2px 14px color-mix(in srgb, var(--wp--preset--color--brown) 8%, transparent);
}

.dps-book-note {
	max-width: var(--wp--style--global--content-size);
	margin: 1.5rem auto 0;
	text-align: center;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--soft-brown);
}

.dps-book-note a {
	color: var(--wp--preset--color--sage-dark);
}

.dps-book-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.375rem 1.5rem;
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto 0.625rem;
}

.dps-book-team,
.dps-book-direct {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--soft-brown);
}

.dps-book-team a {
	color: var(--wp--preset--color--sage-dark);
}

.dps-book-direct a {
	color: inherit;
}

.dps-book-fallback {
	padding: 2.5rem 1rem;
	text-align: center;
}

.dps-book-fallback h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}

.dps-book-fallback p {
	max-width: 30rem;
	margin: 0 auto;
	color: var(--wp--preset--color--soft-brown);
}

.dps-book-fallback-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

@media (max-width: 45rem) {
	.dps-book-links {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

.dps-book-policy-note {
	margin-top: 0.75rem;
}

.dps-book-policy-note a {
	white-space: nowrap;
}

.dps-pricing-disclaimer a {
	color: var(--wp--preset--color--sage-dark);
	white-space: nowrap;
}

@media (max-width: 45rem) {
	.dps-book-widget-frame {
		padding: 1rem;
		border-radius: 16px;
	}
}

/* -------------------------------------------------
   Grooming Policies page
------------------------------------------------- */

.dps-policies-body,
.dps-info-body {
	padding: 2.5rem 0 5rem;
	background: var(--wp--preset--color--cream);
}

.dps-policies-body .dps-container,
.dps-info-body .dps-container {
	max-width: var(--wp--style--global--content-size);
}

.dps-policies-heading,
.dps-info-heading {
	margin: 0 0 1.25rem;
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	line-height: 1.2;
}

.dps-policy-glance {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin: 0 0 3.5rem;
	padding: 0;
	list-style: none;
}

.dps-policy-glance-item {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	padding: 1.25rem;
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--brown);
}

.dps-policy-glance-value,
.dps-policy-glance-label {
	position: relative;
	z-index: 1;
}

.dps-policy-glance-mark {
	position: absolute;
	right: -0.75rem;
	bottom: -1rem;
	width: 88px;
	height: 88px;
	color: var(--wp--preset--color--sage-dark);
	opacity: 0.12;
	transform: rotate(-8deg);
	pointer-events: none;
}

.dps-policy-glance-mark--paw {
	right: -0.5rem;
	bottom: -0.75rem;
	width: 72px;
	height: 72px;
	opacity: 0.14;
	transform: rotate(12deg);
}

.dps-policy-glance-sparkle {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 16px;
	height: 16px;
	color: var(--wp--preset--color--gold);
	opacity: 0.9;
	pointer-events: none;
}

.dps-policy-glance-value {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.15;
	color: var(--wp--preset--color--sage-dark);
}

.dps-policy-glance-label {
	font-size: 0.9375rem;
	line-height: 1.45;
}

.dps-policy-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.dps-policy-card {
	scroll-margin-top: 1.5rem;
	padding: 1.625rem 1.75rem;
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 2px 14px color-mix(in srgb, var(--wp--preset--color--brown) 8%, transparent);
}

.dps-policy-card h3 {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	line-height: 1.25;
}

.dps-policy-card ul {
	margin: 0;
	padding-left: 1.125rem;
	color: var(--wp--preset--color--soft-brown);
}

.dps-policy-card li {
	font-size: 0.9875rem;
	line-height: 1.55;
}

.dps-policy-card li + li {
	margin-top: 0.5rem;
}

.dps-policy-card li::marker {
	color: var(--wp--preset--color--gold);
}

.dps-policy-release {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	margin-top: 3rem;
	padding: 1.75rem 2rem;
	border: 1.5px solid var(--wp--preset--color--sand);
	border-radius: 20px;
}

.dps-policy-release-img {
	flex: none;
	width: 150px;
	height: auto;
	margin: -0.75rem 0 -0.75rem -0.75rem;
}

.dps-policy-release-text {
	flex: 1;
	margin: 0;
	max-width: 30rem;
	line-height: 1.55;
	color: var(--wp--preset--color--brown);
}

.dps-policy-release-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

@media (max-width: 54rem) {
	.dps-policy-glance {
		grid-template-columns: repeat(2, 1fr);
	}

	.dps-policy-grid {
		grid-template-columns: 1fr;
	}

	/* Dog stays beside the copy; buttons sit under the copy. */
	.dps-policy-release {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 1.25rem 1.75rem;
	}

	.dps-policy-release > * {
		margin: 0;
	}

	.dps-policy-release-img {
		grid-row: span 2;
		width: 130px;
	}

	.dps-policy-release-text {
		align-self: end;
		max-width: none;
	}

	.dps-policy-release-actions {
		align-self: start;
	}
}

@media (max-width: 30rem) {
	.dps-policy-glance {
		grid-template-columns: 1fr;
	}

	.dps-policy-card,
	.dps-policy-release {
		padding: 1.375rem 1.25rem;
	}

	/* Copy wraps around the dog instead of squeezing into a narrow column. */
	.dps-policy-release {
		display: block;
	}

	.dps-policy-release-img {
		float: left;
		width: 84px;
		margin: 0 0.875rem 0.25rem -0.25rem;
	}

	.dps-policy-release-actions {
		clear: both;
		padding-top: 1.25rem;
	}

	.dps-policy-release-actions,
	.dps-policy-release-actions .wp-block-button__link {
		width: 100%;
	}
}

/* -------------------------------------------------
   FAQ, Reviews and First Visit pages
------------------------------------------------- */

.dps-info-heading:not(:first-child) {
	margin-top: 3rem;
}

.dps-info-body .dps-policy-card p {
	margin: 0;
	color: var(--wp--preset--color--soft-brown);
	font-size: 0.9875rem;
	line-height: 1.55;
}

.dps-info-body .dps-policy-card p + p {
	margin-top: 0.75rem;
}

.dps-info-body a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--sage-dark);
	font-weight: 600;
}

/* FAQ: "Open all answers" button (added by assets/js/faq.js). */
.dps-faq-toolbar {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 0.5rem;
}

.dps-faq-toggle {
	padding: 0.5rem 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--sage-dark);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.dps-faq-toggle:hover {
	text-decoration-thickness: 2px;
}

/* FAQ: questions open and close (core Details block). */
.dps-faq-list {
	display: grid;
	gap: 0.75rem;
}

.dps-faq-item {
	border-radius: 16px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 2px 14px color-mix(in srgb, var(--wp--preset--color--brown) 8%, transparent);
}

.dps-faq-item summary {
	position: relative;
	display: block;
	padding: 1.125rem 3.5rem 1.125rem 1.5rem;
	border-radius: 16px;
	cursor: pointer;
	list-style: none;
	color: var(--wp--preset--color--brown);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	line-height: 1.35;
}

.dps-faq-item summary::-webkit-details-marker {
	display: none;
}

/* Plus sign that turns into a minus when open. */
.dps-faq-item summary::before,
.dps-faq-item summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.5rem;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: var(--wp--preset--color--sage-dark);
	transition: transform 0.25s ease;
}

.dps-faq-item summary::after {
	transform: rotate(90deg);
}

.dps-faq-item[open] summary::after {
	transform: rotate(0deg);
}

.dps-faq-item > :not(summary) {
	margin: 0;
	padding: 0 1.5rem;
	color: var(--wp--preset--color--soft-brown);
	line-height: 1.6;
}

.dps-faq-item > :not(summary) + :not(summary) {
	padding-top: 0.75rem;
}

.dps-faq-item > :last-child {
	padding-bottom: 1.375rem;
}

@media (prefers-reduced-motion: reduce) {
	.dps-faq-item summary::after {
		transition: none;
	}
}

/* Reviews */
.dps-review-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.dps-review-card {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: 1.625rem 1.75rem;
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 2px 14px color-mix(in srgb, var(--wp--preset--color--brown) 8%, transparent);
}

.dps-review-stars {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	color: var(--wp--preset--color--gold);
}

.dps-review-stars .dps-star {
	width: 20px;
	height: 20px;
}

.dps-review-stars .dps-star--empty {
	color: transparent;
}

.dps-review-quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.dps-review-quote p {
	margin: 0;
	color: var(--wp--preset--color--soft-brown);
	line-height: 1.6;
}

.dps-review-quote cite {
	display: block;
	margin-top: 1rem;
	color: var(--wp--preset--color--brown);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 600;
}

@media (max-width: 60rem) {
	.dps-review-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 45rem) {
	.dps-review-grid {
		grid-template-columns: 1fr;
	}
}

/* First Visit: numbered steps on policy cards. */
.dps-info-body .dps-policy-card .dps-step-number {
	margin: 0 0 0.375rem;
	color: var(--wp--preset--color--sage-dark);
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.dps-info-note {
	margin: 2.5rem 0 0;
	text-align: center;
}

.dps-info-note .wp-block-buttons {
	justify-content: center;
	margin-top: 1rem;
}

/* -------------------------------------------------
   Plain text pages (Privacy Policy, etc.)
------------------------------------------------- */

.dps-text-page-body {
	padding: 1.5rem 0 5rem;
	background: var(--wp--preset--color--cream);
}

.dps-text-page-content {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
	color: var(--wp--preset--color--soft-brown);
	line-height: 1.7;
}

.dps-text-page-content h2 {
	margin: 2.5rem 0 0.75rem;
	font-size: clamp(1.375rem, 2.2vw, 1.625rem);
	line-height: 1.25;
}

.dps-text-page-content p,
.dps-text-page-content ul {
	margin: 0 0 1rem;
}

.dps-text-page-content li + li {
	margin-top: 0.375rem;
}

.dps-text-page-content li::marker {
	color: var(--wp--preset--color--gold);
}

.dps-text-page-content a {
	color: var(--wp--preset--color--sage-dark);
}

.dps-text-page-content .dps-updated {
	font-size: var(--wp--preset--font-size--small);
}

/* -------------------------------------------------
   Homepage: groomers + work gallery
------------------------------------------------- */

.dps-groomers,
.dps-work {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--cream);
}

.dps-groomers > .dps-container,
.dps-work > .dps-container {
	position: relative;
	z-index: 1;
}

.dps-services-branch--groomers-left {
	top: 42%;
	left: -1.5rem;
	width: 130px;
	height: 205px;
	transform: rotate(-12deg);
}

.dps-services-branch--work-right {
	top: 18%;
	right: -1.75rem;
	width: 120px;
	height: 190px;
	transform: scaleX(-1) rotate(-10deg);
}

.dps-services-branch--work-left {
	bottom: 2rem;
	left: -1.25rem;
	width: 100px;
	height: 160px;
	transform: rotate(8deg);
	opacity: 0.25;
}

.dps-groomers {
	padding: 5rem 0 1rem;
}

.dps-work {
	padding: 2.5rem 0 5rem;
}

.dps-section-intro {
	max-width: 40rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.dps-section-intro h2 {
	margin: 0.375rem 0 0;
	text-wrap: balance;
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	line-height: 1.1;
}

.dps-section-intro-text {
	margin: 0.75rem 0 0;
	text-wrap: balance;
	font-size: 1.0625rem;
	line-height: 1.55;
	color: var(--wp--preset--color--soft-brown);
}

.dps-photo-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	height: 100%;
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--soft-brown);
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.dps-photo-placeholder svg {
	width: 28px;
	height: 28px;
	color: var(--wp--preset--color--sage);
	opacity: 0.45;
}

/* Groomer cards */

.dps-groomer-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.dps-groomer-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 2px 14px color-mix(in srgb, var(--wp--preset--color--brown) 8%, transparent);
}

.dps-groomer-card > .dps-photo-placeholder,
.dps-groomer-photo {
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: cover;
}

.dps-groomer-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem 1.75rem 1.75rem;
}

.dps-groomer-body h3 {
	margin: 0;
	font-size: 1.625rem;
	line-height: 1.2;
}

.dps-groomer-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0 1rem;
	padding: 0;
	list-style: none;
}

.dps-groomer-tags li {
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--sage) 14%, var(--wp--preset--color--cream));
	color: var(--wp--preset--color--sage-dark);
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.dps-groomer-body p {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.65;
	color: var(--wp--preset--color--soft-brown);
}

.dps-groomer-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: auto;
	padding-top: 1.25rem;
	align-self: flex-start;
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--sage-dark);
}

.dps-groomer-link svg {
	width: 14px;
	height: 14px;
	transform: rotate(90deg);
}

a.dps-groomer-link,
.dps-work-book a {
	text-decoration: none;
	background-image: linear-gradient(currentcolor, currentcolor);
	background-size: 0 2px;
	background-repeat: no-repeat;
	background-position: left bottom;
	padding-bottom: 2px;
	transition: background-size 0.6s ease-in-out;
}

a.dps-groomer-link:hover,
a.dps-groomer-link:focus-visible,
.dps-work-book a:hover,
.dps-work-book a:focus-visible {
	background-size: 100% 2px;
}

@media (prefers-reduced-motion: reduce) {
	a.dps-groomer-link,
	.dps-work-book a {
		transition: none;
	}
}

/* Work gallery */

.dps-work-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.dps-work-tile {
	position: relative;
	overflow: hidden;
	margin: 0;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
}

.dps-work-tile--pair {
	grid-column: span 2;
	aspect-ratio: 8 / 5;
}

.dps-work-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dps-work-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3px;
	height: 100%;
}

.dps-work-pair-half {
	position: relative;
	height: 100%;
}

.dps-work-pair-half .dps-photo-placeholder span {
	display: none;
}

.dps-work.dps-gallery {
	padding-bottom: 3.5rem;
}

/* Before & after: tinted band with a wavy top edge, like Cat Grooming on the
   Services page. The booking section's own wave brings it back to cream. */
.dps-gallery-band {
	padding: 5rem 0 4rem;
	background: color-mix(in srgb, var(--wp--preset--color--sage) 8%, var(--wp--preset--color--cream));
}

/* Gallery "enlarge" button (core lightbox): a 32px target instead of core's
   20px, solid brown so it stays visible on any photo, always shown on touch
   screens (no hover there). */
.wp-lightbox-container:is(.dps-work-tile, .dps-work-pair-half) button,
.wp-lightbox-container:is(.dps-work-tile, .dps-work-pair-half) button:not(:hover):not(:active):not(.has-background) {
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background-color: var(--wp--preset--color--brown);
	backdrop-filter: none;
}

.wp-lightbox-container:is(.dps-work-tile, .dps-work-pair-half) button svg {
	width: 14px;
	height: 14px;
}

.wp-lightbox-container:is(.dps-work-tile, .dps-work-pair-half) button path {
	fill: var(--wp--preset--color--cream);
}

/* Focus ring: cream + brown, so it shows on light and dark photos. */
.wp-lightbox-container:is(.dps-work-tile, .dps-work-pair-half) button:focus-visible {
	outline: 2px solid var(--wp--preset--color--cream);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--wp--preset--color--brown);
}

@media (hover: none) {
	.wp-lightbox-container:is(.dps-work-tile, .dps-work-pair-half) button {
		opacity: 1;
	}
}

/* Gallery booking section: a little more room above the dog. */
.dps-gallery-cta .dps-booking-visual {
	margin-top: 10px;
}

/* Gallery page: a heading above each photo grid. */
.dps-gallery-heading {
	margin: 3rem 0 1.25rem;
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	line-height: 1.2;
}

.dps-gallery-heading:first-child {
	margin-top: 0;
}

.dps-work-footer {
	margin-top: 2rem;
	text-align: center;
}

.dps-work-footer .wp-block-buttons {
	justify-content: center;
}

.dps-work-book {
	margin: 1rem 0 0;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--soft-brown);
}

.dps-work-book a {
	color: var(--wp--preset--color--sage-dark);
	font-weight: 600;
}

@media (max-width: 54rem) {
	.dps-work-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 45rem) {
	.dps-groomers {
		padding-top: 3.5rem;
	}

	.dps-groomer-grid {
		grid-template-columns: 1fr;
	}

	.dps-groomer-body {
		padding: 1.25rem;
	}
}

/* -------------------------------------------------
   Reusable leaf branches (inner pages)
------------------------------------------------- */

.dps-has-branches {
	position: relative;
	overflow: hidden;
}

.dps-has-branches > .dps-container {
	position: relative;
	z-index: 1;
}

.dps-branch--left-high,
.dps-branch--left-mid,
.dps-branch--left-low {
	left: -1.5rem;
	width: 130px;
	height: 205px;
	transform: rotate(-12deg);
}

.dps-branch--right-high,
.dps-branch--right-mid {
	right: -1.75rem;
	width: 120px;
	height: 190px;
	transform: scaleX(-1) rotate(-10deg);
}

.dps-branch--left-high,
.dps-branch--right-high {
	top: 8%;
}

.dps-branch--left-mid,
.dps-branch--right-mid {
	top: 45%;
}

.dps-branch--left-low {
	bottom: 2rem;
	width: 100px;
	height: 160px;
	opacity: 0.25;
}

@media (max-width: 68.75rem) {
	.dps-has-branches .dps-services-branch {
		display: none;
	}
}

/* -------------------------------------------------
   Block markup
   Page content is built from core blocks, so a few elements differ from
   the original hand-written HTML: labels are paragraphs instead of spans,
   images sit inside a <figure>, and buttons have a wrapper div.
------------------------------------------------- */

.dps-hero-image img,
.dps-booking-image img,
.dps-policy-release-img img {
	display: block;
	width: 100%;
	height: auto;
}

.dps-contact-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top center;
}

.dps-hero-btn .wp-block-button__link {
	min-width: 260px;
}

/* Headings that replaced decorative label spans keep the label's look. */
.dps-service-badge,
.dps-pricing-card-title {
	font: inherit;
	color: inherit;
	letter-spacing: normal;
}

.dps-price-row-name,
.dps-price-row-amount,
.dps-pricing-callout-head p,
.dps-pricing-badge p,
.dps-policy-glance-value,
.dps-policy-glance-label {
	margin: 0;
}

.dps-pricing-callout p.dps-pricing-callout-price {
	font-size: inherit;
	color: var(--wp--preset--color--brown);
}

.dps-services-footer .dps-services-note {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium-large);
	color: var(--wp--preset--color--brown);
}

.dps-groomer-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dps-groomer-body h3 + p {
	margin-top: 0.75rem;
}

/* Gallery: captions on photo slots; before/after labels are image captions. */
.dps-work-tile figcaption,
.dps-work-caption {
	position: absolute;
	left: 0.625rem;
	bottom: 0.625rem;
	margin: 0;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--cream) 92%, transparent);
	color: var(--wp--preset--color--brown);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
}

.dps-work-pair-half img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dps-work-tile .dps-work-pair-half figcaption {
	top: 0.625rem;
	bottom: auto;
	padding: 0.25rem 0.625rem;
	background: var(--wp--preset--color--brown);
	color: var(--wp--preset--color--cream);
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.dps-work-tile .dps-work-pair-half--after figcaption {
	background: var(--wp--preset--color--sage);
}

/* Header menu (Navigation block) */
.dps-nav .wp-block-navigation__container {
	gap: 2.25rem;
}

.dps-nav .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brown);
	background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) left 100% / 0 2px no-repeat;
	padding-bottom: 2px;
	text-decoration: none;
	transition: background-size 0.6s ease-in-out;
}

.dps-nav .wp-block-navigation-item__content:hover,
.dps-nav .wp-block-navigation-item__content:focus-visible,
.dps-nav .wp-block-navigation-item__content[aria-current="page"] {
	background-size: 100% 2px;
}

/* Menu button: an outlined square the height of Book Now, with a bolder icon.
   Phones only; WordPress hides it from 600px up. */
@media (max-width: 599px) {
	.dps-nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}
}

.dps-nav .wp-block-navigation__responsive-container-open {
	align-items: center;
	justify-content: center;
	width: 2.875rem;
	height: 2.875rem;
	border: 1.5px solid var(--wp--preset--color--sage);
	border-radius: 12px;
	color: var(--wp--preset--color--sage-dark);
	transition: background-color 0.2s ease;
}

.dps-nav .wp-block-navigation__responsive-container-open:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--sage) 15%, transparent);
}

.dps-nav .wp-block-navigation__responsive-container-open svg {
	display: none;
}

.dps-nav .wp-block-navigation__responsive-container-open::before {
	content: "";
	width: 1.125rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.dps-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
}

/* Phone menu overlay: centred links, then Book Now and the salon's details.
   The logo and close button sit where the header's logo and menu button are. */
.dps-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: center;
	padding-top: calc(96px + 2.5rem);
	gap: 0;
}

.dps-nav-logo {
	display: none;
}

.dps-nav .is-menu-open .dps-nav-logo {
	position: absolute;
	top: -2px;
	left: 0;
	display: block;
	width: 96px;
	height: auto;
}

.dps-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: calc(48px - 1.4375rem - 2px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.875rem;
	height: 2.875rem;
	border: 1.5px solid var(--wp--preset--color--sage);
	border-radius: 12px;
	color: var(--wp--preset--color--sage-dark);
}

.dps-nav .is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 22px;
	height: 22px;
}

.dps-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	align-items: center;
	gap: 1.75rem;
}

.dps-nav .is-menu-open .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--medium);
}

.dps-nav-extras {
	display: none;
}

.dps-nav .is-menu-open .dps-nav-extras {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	width: 100%;
	max-width: 20rem;
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--brown) 15%, transparent);
	text-align: center;
}

.dps-nav-extras .wp-block-buttons,
.dps-nav-extras .wp-block-button,
.dps-nav-extras .wp-block-button__link {
	width: 100%;
	margin: 0;
}

.dps-nav-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
	font-weight: 400;
}

.dps-nav-contact li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.dps-nav-contact svg {
	width: 16px;
	height: 16px;
	flex: none;
	opacity: 0.8;
}

.dps-nav-contact a {
	color: inherit;
	text-decoration: none;
}

.dps-nav-hours {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 400;
	line-height: 1.7;
}

.dps-nav-label {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Footer */
.dps-footer-logo {
	margin: 0 0 0.875rem;
}

.dps-footer-logo img {
	display: block;
	width: 88px;
	height: 88px;
}

.dps-footer-links .wp-block-navigation__container {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
}

.dps-pricing-grid--single {
	margin-top: 1.75rem;
	grid-template-columns: 1fr;
}

.dps-footer-links .wp-block-navigation-item {
	line-height: 1.75rem;
}

/* Phones: logo, Book Now and the menu button share one row. */
@media (max-width: 599px) {
	.dps-header-inner {
		align-items: center;
		flex-wrap: nowrap;
	}

	.dps-site-header .wp-block-site-logo img {
		width: 96px;
		height: auto;
	}

	.dps-header-actions {
		gap: 0.75rem;
	}

	.dps-header-actions > .dps-nav {
		order: 2;
	}
}

/* Very small phones: slimmer Book Now so the logo keeps its size. */
@media (max-width: 23rem) {
	.dps-header-actions {
		gap: 0.5rem;
	}

	.dps-header-actions .dps-btn--compact {
		padding-inline: 0.875rem;
	}
}

.dps-search {
	margin-top: 1.25rem;
}
