/*
Theme Name: Grateful Cat's Painting
Theme URI: https://gratefulcatspainting.com
Author: Grateful Cat's Painting
Description: A one-page, tie-dye flavored theme for Grateful Cat's Painting. Services, photo gallery, about, process and a free-estimate form, all on one scrolling page with jump links. Edit contact details and key text under Appearance > Customize > Grateful Cat's.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grateful-cats
Tags: one-column, custom-logo, custom-menu, threaded-comments, translation-ready
*/

/* ------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------ */
:root {
	--ink: #2b1e5e;          /* Indigo Dye: text, dark sections */
	--ink-deep: #1f1647;
	--paper: #f7f6fb;        /* Ceiling White */
	--wash: #efebf8;         /* lilac wash for the about section */
	--line: #dcd6ec;
	--muted: #5b5280;
	--muted-on-ink: #cfc8ea;

	--pink: #ef3e7b;         /* Peace Pink */
	--pink-text: #c4215a;
	--mango: #ff6a2b;        /* Hot Mango */
	--sun: #ffb627;          /* Sunburst */
	--teal: #13a89e;         /* Groovy Teal */
	--lilac: #8b66d9;        /* Lilac Haze */
	--dye: linear-gradient(90deg, var(--pink), var(--mango), var(--sun), var(--teal), var(--lilac));

	--font-display: "Shrikhand", "Cooper Black", Georgia, serif;
	--font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1180px;
	--gutter: clamp(20px, 4vw, 40px);
	--header: 76px;
	--radius-s: 6px;
	--radius-m: 14px;
	--radius-l: 26px;
	--section: clamp(72px, 10vw, 128px);
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--mango);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h2 {
	font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem);
	line-height: 1.06;
}

h3 {
	font-size: 1.28rem;
	font-weight: 650;
	line-height: 1.25;
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.wrap--narrow { --wrap: 760px; }

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

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: 8px;
	font-weight: 600;
}

.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 52px;
	padding: 0.75em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 600 1.05rem/1.1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ffc552; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #3c2b7c; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

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

/* ------------------------------------------------------------------
   Header and navigation
   ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 246, 251, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}

.brand__icon { width: 48px; height: 48px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; }

.brand__trade {
	margin-top: 5px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--pink-text);
}

.custom-logo-link img { max-height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }

.nav__list {
	display: flex;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__list a {
	position: relative;
	display: block;
	padding: 8px 0;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
}

.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--dye);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.nav__list a:hover::after,
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.nav__cta { min-height: 44px; padding: 0.6em 1.25em; font-size: 0.98rem; }

.nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	margin-right: -8px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 959px) {
	.js .nav-toggle { display: inline-flex; }

	.nav {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.js .nav {
		position: fixed;
		top: var(--header);
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--header));
		overflow-y: auto;
		padding: 8px var(--gutter) 28px;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(43, 30, 94, 0.35);
	}

	.js .nav.is-open { display: flex; }

	.site-header__inner { flex-wrap: wrap; }
	html:not(.js) .site-header__inner { height: auto; padding-block: 12px; }

	.nav__list { flex-direction: column; gap: 0; }

	.nav__list a {
		padding: 15px 0;
		font-size: 1.2rem;
		border-bottom: 1px solid var(--line);
	}

	.nav__list a::after { display: none; }
	.nav__cta { margin-top: 20px; min-height: 52px; font-size: 1.05rem; }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
	position: relative;
	z-index: 2;
	padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
	background: var(--ink);
	color: #fff;
	overflow-x: clip;
}

/* Wet paint dripping into the next section */
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - 1px);
	height: 96px;
	background: url("assets/images/drips.svg") repeat-x 0 0 / 640px 96px;
	pointer-events: none;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.hero__title {
	margin-bottom: 0.4em;
	font-size: clamp(2.7rem, 1.5rem + 4.4vw, 5.2rem);
	line-height: 1.03;
}

.hero__lede {
	max-width: 33em;
	margin-bottom: 2rem;
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	color: var(--muted-on-ink);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__call {
	margin: 1.4rem 0 0;
	font-size: 1rem;
	color: var(--muted-on-ink);
}

.hero__call a {
	margin-left: 0.25em;
	color: #fff;
	font-weight: 600;
	text-decoration-color: var(--sun);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.hero__art {
	position: relative;
	width: 100%;
	max-width: 540px;
	aspect-ratio: 1;
	justify-self: center;
}

.hero__spiral {
	position: absolute;
	top: -17%;
	left: -17%;
	width: 134%;
	height: 134%;
	max-width: none;
	animation: dye-bloom 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both, dye-spin 150s linear infinite;
}

.hero__photo {
	position: absolute;
	inset: 15%;
	margin: 0;
	overflow: hidden;
	border: 10px solid var(--paper);
	border-radius: 50%;
	box-shadow: 0 30px 60px -20px rgba(15, 8, 45, 0.7);
}

.hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 38% 55%;
}

.hero__badge {
	position: absolute;
	right: -3%;
	bottom: -1%;
	width: 33%;
	rotate: -10deg;
	filter: drop-shadow(0 12px 18px rgba(15, 8, 45, 0.45));
}

@keyframes dye-bloom {
	from { scale: 0.55; opacity: 0; }
}

@keyframes dye-spin {
	to { rotate: 360deg; }
}

@media (max-width: 899px) {
	.hero__inner { grid-template-columns: minmax(0, 1fr); }
	.hero__art { max-width: 400px; margin: 56px auto 24px; }
}

@media (max-width: 479px) {
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__art { width: 86%; }
}

/* ------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------ */
.section { padding-block: var(--section); }

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 20px 64px;
	margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head p {
	max-width: 34em;
	margin: 0;
	color: var(--muted);
	font-size: 1.15rem;
}

@media (max-width: 799px) {
	.section-head { grid-template-columns: minmax(0, 1fr); }
}

/* Services: paint chips */
.services { padding-top: calc(var(--section) + 48px); }

.chips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	--c: var(--lilac);
	--on: #fff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
}

/* A paint strip: two lighter tints above the full color */
.chip__swatch {
	display: flex;
	align-items: flex-end;
	height: 150px;
	padding: 0 20px 18px;
	color: var(--on);
	background: linear-gradient(
		to bottom,
		color-mix(in srgb, var(--c) 30%, #fff) 0 26px,
		color-mix(in srgb, var(--c) 60%, #fff) 26px 52px,
		var(--c) 52px
	);
}

.chip__swatch .icon { width: 42px; height: 42px; stroke-width: 1.6; }

.chip__body { flex: 1; padding: 22px 22px 18px; }
.chip h3 { margin-bottom: 0.4em; }

.chip p {
	margin: 0;
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.55;
}

.chip .chip__name {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 22px;
	padding: 12px 0 16px;
	border-top: 1px dashed var(--line);
	font-size: 0.85rem;
	font-weight: 600;
}

.chip__name::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--c);
}

.chip--lilac  { --c: var(--lilac); --on: #fff; }
.chip--teal   { --c: var(--teal);  --on: var(--ink); }
.chip--mango  { --c: var(--mango); --on: var(--ink); }
.chip--sun    { --c: var(--sun);   --on: var(--ink); }
.chip--pink   { --c: var(--pink);  --on: #fff; }
.chip--indigo { --c: var(--ink);   --on: var(--sun); }

@media (max-width: 999px) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
	.chips { grid-template-columns: minmax(0, 1fr); }

	.chip__swatch {
		height: 112px;
		background: linear-gradient(
			to bottom,
			color-mix(in srgb, var(--c) 30%, #fff) 0 18px,
			color-mix(in srgb, var(--c) 60%, #fff) 18px 36px,
			var(--c) 36px
		);
	}
}

/* Work: gallery */
.work { background: #fff; }

.section-head--split { grid-template-columns: auto minmax(0, 1fr); }

.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.filter {
	min-height: 44px;
	padding: 0.5em 1.1em;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font: 500 0.98rem/1 var(--font-body);
	cursor: pointer;
}

.filter:hover { border-color: var(--ink); }

.filter[aria-pressed="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

@media (max-width: 799px) {
	.section-head--split { grid-template-columns: minmax(0, 1fr); }
	.filters { justify-content: flex-start; }
}

.gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery__item[hidden] { display: none; }
.gallery figure { margin: 0; }

.gallery__open {
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--radius-m);
	background: var(--wash);
	cursor: zoom-in;
}

.gallery__open img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: var(--focus, 50% 50%);
	transition: transform 0.4s ease;
}

.gallery__open:hover img { transform: scale(1.03); }

.gallery figcaption {
	margin-top: 10px;
	padding-inline: 2px;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--muted);
}

@media (max-width: 1099px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .gallery figcaption { font-size: 0.88rem; } }

/* Lightbox */
.lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
}

.lightbox::backdrop { background: rgba(23, 15, 52, 0.94); }

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100%;
	margin: 0;
	padding: 72px 80px 32px;
}

.lightbox__figure img {
	width: auto;
	max-width: 100%;
	max-height: calc(100dvh - 170px);
	border-radius: 10px;
	object-fit: contain;
}

.lightbox__figure figcaption { max-width: 40em; text-align: center; font-size: 1.05rem; }

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
}

.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }

@media (max-width: 699px) {
	.lightbox__figure { padding: 72px 16px 96px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 24px; translate: none; }
	.lightbox__prev { left: calc(50% - 64px); }
	.lightbox__next { right: calc(50% - 64px); }
}

/* About */
.about { background: var(--wash); }

.about__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
}

.about__photo { margin: 0; }

.dye-frame {
	padding: 14px;
	border-radius: var(--radius-l);
	background: url("assets/images/tiedye-spiral.webp") 50% 50% / 190% auto;
	rotate: -2deg;
}

.dye-frame img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: calc(var(--radius-l) - 10px);
}

.about__photo figcaption {
	margin-top: 20px;
	text-align: center;
	font-size: 0.98rem;
	color: var(--muted);
}

.about__copy h2 { margin-bottom: 0.5em; }
.about__text p { max-width: 36em; }

.promises {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 28px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.promises li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.promises .icon {
	flex: none;
	width: 30px;
	height: 30px;
	padding: 6px;
	border-radius: 50%;
	background: var(--sun);
	color: var(--ink);
	stroke-width: 2.8;
}

.promises li:nth-child(4n + 2) .icon { background: var(--teal); }
.promises li:nth-child(4n + 3) .icon { background: var(--mango); }
.promises li:nth-child(4n + 4) .icon { background: var(--pink); }

@media (max-width: 899px) {
	.about__inner { grid-template-columns: minmax(0, 1fr); }
	.about__photo { max-width: 460px; }
}

@media (max-width: 499px) {
	.promises { grid-template-columns: minmax(0, 1fr); }
}

/* Process */
.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* One roller pass joining the steps */
.steps::before {
	content: "";
	position: absolute;
	top: 28px;
	left: 32px;
	right: 18%;
	height: 8px;
	border-radius: 8px;
	background: var(--dye);
}

.step { position: relative; }

.step__num {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.7rem;
	line-height: 1;
	box-shadow: 0 0 0 6px var(--paper);
}

.step h3 { margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--muted); font-size: 1.02rem; }

@media (max-width: 899px) {
	.steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }

	.steps::before { display: none; }

	/* Vertical roller pass between each pair of steps */
	.step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 64px;
		bottom: -36px;
		left: 28px;
		width: 8px;
		background: linear-gradient(180deg, var(--a), var(--b));
	}

	.step:nth-child(1) { --a: var(--pink); --b: var(--mango); }
	.step:nth-child(2) { --a: var(--mango); --b: var(--sun); }
	.step:nth-child(3) { --a: var(--sun); --b: var(--teal); }
	.step:nth-child(4) { --a: var(--teal); --b: var(--lilac); }

	.step { padding-left: 92px; min-height: 64px; }
	.step__num { position: absolute; left: 0; top: 0; margin: 0; }
	.step h3 { padding-top: 6px; }
}

/* Contact */
.contact {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
}

.contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(48px, 7vw, 104px);
}

.contact h2 { margin-bottom: 0.4em; color: #fff; }

.contact__lede {
	max-width: 30em;
	margin-bottom: 2.2rem;
	font-size: 1.2rem;
	color: var(--muted-on-ink);
}

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

.contact-list li {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 1.08rem;
}

.contact-list .icon {
	flex: none;
	width: 48px;
	height: 48px;
	padding: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.09);
	color: var(--sun);
}

.contact-list__label {
	display: block;
	margin-bottom: 1px;
	font-size: 0.9rem;
	color: var(--muted-on-ink);
}

.contact-list a {
	font-weight: 600;
	font-size: 1.15rem;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--sun);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	overflow-wrap: anywhere;
}

/* A tie-dye card peeking out behind the form */
.contact__form { position: relative; }

.contact__form::before {
	content: "";
	position: absolute;
	inset: -14px;
	border-radius: 32px;
	background: url("assets/images/tiedye-spiral.webp") 50% 50% / auto 160%;
	rotate: 2.5deg;
}

.estimate-form {
	position: relative;
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: 22px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 40px 80px -30px rgba(10, 5, 30, 0.7);
}

.field { margin: 0 0 18px; }

.field label,
.field legend {
	display: block;
	margin-bottom: 6px;
	padding: 0;
	font-size: 0.98rem;
	font-weight: 600;
}

.estimate-form input[type="text"],
.estimate-form input[type="email"],
.estimate-form input[type="tel"],
.estimate-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.65em 0.85em;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 1.05rem;
}

.estimate-form textarea { resize: vertical; min-height: 116px; }
.estimate-form ::placeholder { color: #8a83a8; }

.estimate-form input:focus,
.estimate-form textarea:focus {
	border-color: var(--lilac);
	outline: 3px solid rgba(139, 102, 217, 0.3);
	outline-offset: 0;
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.field-row .field { margin-bottom: 6px; }

.field-hint {
	margin: 0 0 18px;
	font-size: 0.9rem;
	color: var(--muted);
}

.field--choices {
	min-width: 0;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }

.choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.choice span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.45em 1.05em;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: 0.98rem;
	font-weight: 500;
	cursor: pointer;
}

.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }

.choice input:focus-visible + span {
	outline: 3px solid var(--mango);
	outline-offset: 2px;
}

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

.form-status__msg {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: 10px;
	font-weight: 500;
	line-height: 1.45;
}

.form-status__msg--ok { background: #e2f5f2; color: #0b5e58; }
.form-status__msg--error { background: #fde7ef; color: #a3164c; }

@media (max-width: 899px) {
	.contact__inner { grid-template-columns: minmax(0, 1fr); }
	.contact__form::before { inset: -10px; rotate: 1.5deg; }
}

@media (max-width: 479px) {
	.field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.field-row .field { margin-bottom: 18px; }
	.field-hint { margin-top: -10px; }
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer {
	padding: 60px 0 28px;
	background: var(--ink-deep);
	color: var(--muted-on-ink);
	font-size: 1rem;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand--footer { color: #fff; }
.brand--footer .brand__trade { color: var(--sun); }
.site-footer__brand p { max-width: 26em; margin: 16px 0 0; }

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

.site-footer__contact { display: grid; align-content: start; gap: 10px; }
.site-footer__contact a { overflow-wrap: anywhere; }
.site-footer__social { display: flex; gap: 18px; margin-top: 6px; }

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
	font-size: 0.92rem;
}

.site-footer__base p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top .icon { width: 18px; height: 18px; }

@media (max-width: 799px) {
	.site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ------------------------------------------------------------------
   Plain pages (privacy policy, 404, posts)
   ------------------------------------------------------------------ */
.page-plain { padding-block: 72px 96px; }
.page-plain h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1.08; margin-bottom: 0.5em; }
.entry + .entry { margin-top: 56px; }
.entry__title a { text-decoration: none; }
.entry__content a { color: var(--pink-text); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: 0.95rem; color: var(--muted); }

/* ------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
