/*
Theme Name: Springwood Hand Car Wash
Theme URI: http://localhost/springwood
Author: Springwood Hand Car Wash
Description: A single page landing site for Springwood Hand Car Wash, Braintree, Essex. Valet packages as drop downs, offer marquee, gallery, reviews, opening hours and contact details.
Version: 3.0.0
Requires at least: 6.0
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: springwood
*/

/* -------------------------------------------------------------------------
   Typefaces — self-hosted (no third party request)

   Marcellus: classical Roman-inscription serif, used for display headings.
   It ships in a single weight with no italic, so headings carry emphasis
   through size, colour and letterspacing rather than weight or slant.

   Lato: warm humanist sans, used for body copy, UI and small caps labels.
   ------------------------------------------------------------------------- */

@font-face {
	font-family: "Marcellus";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/marcellus.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("assets/fonts/lato-300.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/lato-400.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/lato-700.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/lato-italic.woff2") format("woff2");
}

/* -------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */

:root {
	--ink: #03121f;          /* deepest navy, page base */
	--ink-2: #061e33;        /* raised dark surface */
	--ink-3: #0a2c4a;        /* dark surface, hover */

	--blue: #0e6dbf;         /* signage blue */
	--blue-bright: #2196f3;
	--sky: #8ddcff;
	--foam: #eef6fd;

	/* Champagne, used sparingly: rules, stars, small marks. */
	--gold: #c9a86a;
	--gold-soft: #e2cb9a;

	--amber: #c9a86a;
	--amber-soft: #e2cb9a;
	--red: #b3403f;

	--paper: #f6f7f5;        /* warm off-white section background */
	--text: #10222f;         /* body text on light */
	--text-soft: #5c7080;
	--line: #e2e6e4;
	--line-dark: rgba(255, 255, 255, .1);
	--white: #fff;

	--radius: 4px;
	--radius-lg: 6px;
	--shadow: 0 20px 45px -30px rgba(3, 18, 31, .5);
	--shadow-lg: 0 40px 90px -45px rgba(3, 18, 31, .65);
	--wrap: 1200px;

	--display: "Marcellus", "Trajan Pro", "Times New Roman", Georgia, serif;
	--font: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mono: "Lato", "Segoe UI", system-ui, sans-serif;

	/* Wide tracking used on small uppercase labels. */
	--track: .28em;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
	/* Small offset only: with the header no longer fixed, anchors do not
	   need to clear a bar that follows the viewport. */
	scroll-padding-top: 1.5rem;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	/* 400 rather than 300: the light weight is elegant but too fragile for
	   body copy, especially white text over the hero photograph. */
	font-weight: 400;
	line-height: 1.75;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3 {
	font-family: var(--display);
	line-height: 1.22;
	margin: 0 0 .5em;
	/* Marcellus is drawn from carved Roman capitals and wants a touch of
	   positive tracking rather than the tight negative a modern sans takes. */
	letter-spacing: .012em;
	font-weight: 400;
}

h2 {
	font-size: clamp(1.9rem, 3.8vw, 3.1rem);
}

h3 {
	font-size: 1.35rem;
}

strong {
	font-weight: 700;
}

p {
	margin: 0 0 1rem;
}

a {
	color: inherit;
}

/* Both list types: the steps strip is an <ol>, whose default 40px inline
   padding pushed it out of alignment and caused overflow on small screens. */
ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wrap {
	width: min(100% - 2.5rem, var(--wrap));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--white);
	color: var(--ink);
	padding: .75rem 1.25rem;
	z-index: 200;
	font-weight: 700;
}

.skip-link:focus {
	left: 0;
}

:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 3px;
}

/* Scroll reveal (added by app.js; no-JS pages stay visible). */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
	transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* -------------------------------------------------------------------------
   Shared bits
   ------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: 1.05rem 2.1rem;
	border-radius: 2px;
	font-family: var(--font);
	font-weight: 700;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .18em;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid transparent;
	transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

.btn-lg {
	padding: 1.2rem 2.6rem;
	font-size: .85rem;
}

.btn-primary {
	background: var(--blue);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--ink-3);
}

/* Header CTA, on the white header bar. */
.btn-light {
	background: var(--white);
	color: var(--ink);
	border-color: var(--blue);
}

.btn-light:hover {
	background: var(--blue);
	border-color: var(--blue);
	color: var(--white);
}

.btn-outline {
	background: transparent;
	color: var(--white);
	border-color: rgba(201, 168, 106, .55);
}

.btn-outline:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--ink);
}

.btn-outline-dark {
	background: transparent;
	color: var(--ink);
	border-color: rgba(16, 34, 47, .35);
}

.btn-outline-dark:hover {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}

/* Live / closed indicator dot. */
.pip {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: none;
	display: inline-block;
}

.pip-live {
	background: #3ddc84;
	box-shadow: 0 0 0 0 rgba(61, 220, 132, .7);
	animation: pip 2.2s infinite;
}

.pip-off {
	background: var(--amber);
}

@keyframes pip {
	70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
	100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.stars {
	display: inline-flex;
	gap: 2px;
}

.stars svg {
	width: 16px;
	height: 16px;
	fill: var(--amber);
	flex: none;
}

/* Numbered section label, e.g. "01 — ABOUT US". */
.kicker {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-transform: uppercase;
	letter-spacing: var(--track);
	font-size: .68rem;
	font-weight: 700;
	color: var(--gold);
	margin-bottom: 1.5rem;
}

.kicker::after {
	content: "";
	height: 1px;
	flex: 1;
	max-width: 70px;
	background: currentColor;
	opacity: .5;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

/* Absolute, not fixed: the header sits over the hero image but scrolls away
   with the page rather than following the viewport. */
.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 100;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: .6rem 0;
}

.brand {
	display: block;
	line-height: 0;
}

.brand img {
	height: 52px;
	width: auto;
}

.header-nav {
	display: flex;
	gap: 2.4rem;
	margin-left: auto;
	font-weight: 700;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .14em;
}

.header-nav a {
	color: var(--text-soft);
	text-decoration: none;
	padding-bottom: 4px;
	border-bottom: 1px solid transparent;
	transition: color .3s ease, border-color .3s ease;
}

.header-nav a:hover {
	color: var(--ink);
	border-bottom-color: var(--blue);
}

.header-call {
	padding: .7rem 1.4rem;
	font-size: .7rem;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
	position: relative;
	isolation: isolate;
	background: var(--ink);
	color: var(--white);
	padding: clamp(9rem, 16vw, 12rem) 0 0;
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero-media img,
.hero-media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
}

/* Holds the left column dark enough for white text while letting the wash
   itself stay visible on the right. The previous mix was tuned for a much
   darker photograph and crushed this one almost to flat navy. */
.hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(3, 18, 31, .62) 0%, rgba(3, 18, 31, .34) 45%, rgba(3, 18, 31, .82) 100%),
		linear-gradient(90deg, rgba(3, 18, 31, .92) 0%, rgba(3, 18, 31, .6) 42%, rgba(3, 18, 31, .1) 100%);
}

.hero-inner {
	position: relative;
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	text-transform: uppercase;
	letter-spacing: var(--track);
	font-size: .66rem;
	font-weight: 400;
	padding: .6rem 1.3rem;
	border-radius: 2px;
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .04);
	backdrop-filter: blur(6px);
	margin-bottom: 2.25rem;
}

.hero-title {
	font-family: var(--display);
	font-size: clamp(2.6rem, 7.4vw, 5.4rem);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.14;
	margin: 0 0 1.75rem;
	max-width: 16ch;
}

/* Marcellus has no italic, so the accent words are distinguished by colour
   and a little extra tracking instead of a slant. */
.mark {
	position: relative;
	color: var(--gold-soft);
	letter-spacing: .03em;
	white-space: nowrap;
}

/* Hand-drawn stroke under the accent words. Sits clear of descenders. */
.underline {
	position: absolute;
	left: -.03em;
	bottom: -.2em;
	/* Explicit width: an SVG left on `auto` sizes from its own aspect ratio
	   instead of stretching to the word. */
	width: calc(100% + .06em);
	height: .14em;
	overflow: visible;
}

.underline path {
	fill: none;
	stroke: var(--gold);
	stroke-width: 2.5;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	opacity: .8;
}

.lede {
	font-size: clamp(1.02rem, 1.4vw, 1.14rem);
	font-weight: 400;
	line-height: 1.85;
	color: rgba(255, 255, 255, .85);
	max-width: 48ch;
	margin-bottom: 2.75rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.75rem;
}

.trust {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	font-size: .74rem;
	text-transform: uppercase;
	letter-spacing: .16em;
	color: rgba(255, 255, 255, .65);
}

/* Vertical "scroll to explore" rail on the right. */
.scroll-hint {
	position: absolute;
	right: 1.9rem;
	top: 45%;
	margin: 0;
	writing-mode: vertical-rl;
	text-transform: uppercase;
	letter-spacing: .4em;
	font-size: .6rem;
	font-weight: 300;
	color: rgba(255, 255, 255, .4);
}

.scroll-hint span {
	display: block;
	padding-bottom: 4.5rem;
	position: relative;
}

.scroll-hint span::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 3.5rem;
	background: linear-gradient(rgba(255, 255, 255, .5), transparent);
}

/* Stat tiles across the bottom of the hero. */
.stat-row {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(255, 255, 255, .1);
	border-bottom: 0;
	backdrop-filter: blur(10px);
	overflow: hidden;
}

.stat-row li {
	padding: 1.9rem 2.1rem;
	border-left: 1px solid rgba(255, 255, 255, .1);
}

.stat-row li:first-child {
	border-left: 0;
}

.stat-top {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 0 .3rem;
}

.stat-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(201, 168, 106, .4);
	color: var(--gold);
}

.stat-icon .icon {
	width: 17px;
	height: 17px;
}

.stat-row strong {
	font-family: var(--display);
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 400;
	letter-spacing: 0;
}

.stat-label {
	font-size: .72rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: rgba(255, 255, 255, .55);
}

/* -------------------------------------------------------------------------
   Offer marquee
   ------------------------------------------------------------------------- */

.marquee {
	background: var(--ink-2);
	color: var(--gold-soft);
	padding: .85rem 0;
	overflow: hidden;
	border-block: 1px solid rgba(201, 168, 106, .28);
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
	animation-play-state: paused;
}

.marquee-run {
	display: flex;
	align-items: center;
	flex: none;
}

.marquee-item {
	font-size: .72rem;
	font-weight: 400;
	letter-spacing: var(--track);
	text-transform: uppercase;
	padding: 0 1.4rem;
	white-space: nowrap;
}

.marquee-sep {
	font-size: .4rem;
	opacity: .55;
}

@keyframes marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-33.333%); }
}

/* -------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------- */

.section {
	padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-dark {
	position: relative;
	background: var(--ink);
	color: var(--white);
}

/* The kicker is champagne on both light and dark sections; the numeral is
   an italic serif figure, not a boxed badge. */
.section-dark .kicker {
	color: var(--gold);
}

.section-head {
	max-width: 50ch;
	margin-bottom: 3.5rem;
}

.section-intro {
	color: var(--text-soft);
	font-size: 1.02rem;
	font-weight: 400;
	line-height: 1.85;
	margin: 0;
}

.section-dark .section-intro {
	color: rgba(255, 255, 255, .78);
}

/* -------------------------------------------------------------------------
   About
   ------------------------------------------------------------------------- */

.about-grid {
	position: relative;
	display: grid;
	grid-template-columns: 45fr 55fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	/* Stretch so the photo fills the full height of the column beside it
	   rather than sitting in a fixed-ratio box with space left over. */
	align-items: stretch;
}

.about-media {
	position: relative;
	height: 100%;
	/* Floor for the case where the photo is the taller of the two columns. */
	min-height: 440px;
}

.about-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

/* Small floating badge overlapping the photo, drifting gently up and down. */
.about-tag {
	position: absolute;
	right: -22px;
	bottom: 32px;
	background: var(--white);
	border-radius: 2px;
	padding: 1.1rem 1.5rem;
	box-shadow: var(--shadow);
	border-left: 1px solid var(--gold);
	animation: about-float 5s ease-in-out infinite;
	will-change: transform;
}

@keyframes about-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-16px);
	}
}

.about-tag strong {
	display: block;
	font-family: var(--display);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.2;
}

.about-tag span {
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--text-soft);
}

.about-copy p {
	color: var(--text-soft);
}

.about-copy h2 {
	color: var(--text);
	max-width: 18ch;
}

/* Play button, pinned to the right edge of the About section. */
.play-btn {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 3;
	width: 68px;
	height: 68px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--blue);
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: 0 14px 30px -12px rgba(3, 18, 31, .35);
	transition: background-color .25s ease, transform .25s ease;
	animation: play-bob 3s ease-in-out infinite;
}

.play-btn svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
	margin-left: 3px;
}

/* Ring that expands and fades, so the button reads as playable. */
.play-btn::after {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 2px solid var(--blue);
	animation: play-pulse 2.4s ease-out infinite;
	pointer-events: none;
}

.play-btn:hover {
	background: var(--blue);
	color: var(--white);
	border-color: var(--blue);
	transform: scale(1.08);
}

@keyframes play-pulse {
	0%   { transform: scale(1);   opacity: .75; }
	100% { transform: scale(1.8); opacity: 0; }
}

@keyframes play-bob {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

/* Video modal */
.video-modal {
	width: min(92vw, 900px);
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: #000;
	overflow: visible;
}

.video-modal::backdrop {
	background: rgba(3, 18, 31, .82);
}

.video-modal video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 82vh;
	border-radius: var(--radius);
}

.video-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.about-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	margin: 2rem 0 0;
}

/* -------------------------------------------------------------------------
   Services (drop downs)
   ------------------------------------------------------------------------- */

.services {
	display: grid;
	gap: .75rem;
	border-top: 1px solid var(--line-dark);
}

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

.service > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.4rem .5rem;
	transition: padding-left .2s ease, color .2s ease;
}

.service > summary::-webkit-details-marker {
	display: none;
}

.service > summary:hover {
	padding-left: 1.1rem;
	color: var(--sky);
}

.service-name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-family: var(--display);
	font-size: clamp(1.4rem, 2.8vw, 2.05rem);
	font-weight: 400;
	letter-spacing: -.005em;
}

.flag {
	font-family: var(--font);
	font-size: .6rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .2em;
	padding: .4rem .8rem;
	border-radius: 2px;
	background: transparent;
	color: var(--sky);
	border: 1px solid rgba(141, 220, 255, .35);
}

.flag-offer {
	color: var(--gold-soft);
	border-color: rgba(201, 168, 106, .45);
}

.chevron {
	margin-left: auto;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25);
	position: relative;
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.chevron::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.service[open] .chevron {
	transform: rotate(180deg);
	background: var(--gold);
	border-color: var(--gold);
	color: var(--ink);
}

.service-body {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 2rem;
	padding: .25rem .5rem 2.25rem;
	align-items: center;
}

.service-summary {
	color: rgba(255, 255, 255, .74);
	max-width: 50ch;
}

.ticks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	gap: .45rem 1.5rem;
}

.ticks li {
	position: relative;
	padding-left: 1.7rem;
	font-weight: 400;
	font-size: .96rem;
}

.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 13px;
	height: 7px;
	border-left: 1.5px solid var(--gold);
	border-bottom: 1.5px solid var(--gold);
	transform: rotate(-45deg);
}

.service-photo {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line-dark);
}

/* All four boards are rendered onto one 800x600 canvas, so every valet shows
   an identically sized image. The fixed ratio here keeps that true even if a
   board is swapped for a differently shaped one later. */
.service-photo img {
	width: 100%;
	height: auto;
}

/* -------------------------------------------------------------------------
   Steps
   ------------------------------------------------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	counter-reset: step;
}

.step {
	position: relative;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 2.25rem 1.75rem 1.75rem;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.step::after {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s ease;
}

.step:hover::after {
	transform: scaleX(1);
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid rgba(201, 168, 106, .5);
	color: var(--gold);
	font-family: var(--display);
	font-weight: 400;
	font-size: 1.05rem;
	letter-spacing: .05em;
	margin-bottom: 1.4rem;
}

.step h3 {
	margin-bottom: .4rem;
}

.step p {
	color: var(--text-soft);
	margin: 0;
	font-size: .97rem;
}

/* -------------------------------------------------------------------------
   Gallery
   ------------------------------------------------------------------------- */

/* Feature layout: the lead photo holds a 2x2 block and the remaining eight
   tiles fill around it, which comes to exactly 12 cells across 4 columns.
   Rows are a fixed height so every edge lines up. */
.gallery {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(135px, 13.5vw, 195px);
	gap: 1rem;
}

.gallery figure {
	margin: 0;
	position: relative;
	height: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line-dark);
	background: var(--ink-2);
}

.gallery .is-feature {
	grid-column: span 2;
	grid-row: span 2;
}

/* Every tile fills its frame edge to edge. */
.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1), filter .4s ease;
}

.gallery figure:hover img {
	transform: scale(1.06);
	filter: saturate(1.1);
}

.gallery figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(4, 18, 34, .5));
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}

.gallery figure:hover::after {
	opacity: 1;
}

/* -------------------------------------------------------------------------
   Decorative wash bubbles
   ------------------------------------------------------------------------- */

.has-bubbles {
	position: relative;
	overflow: hidden;
}

.bubbles {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	/* Kept low: against the deep navy these should read as faint texture,
	   not as objects competing with the photography. */
	opacity: .4;
	/* Travel distance. Fixed rather than viewport based: tying this to vh
	   made bubbles overshoot the section on tall screens. */
	--rise: 1150px;
}

/* Fainter set, for sections where bubbles sit behind cards and body copy. */
.bubbles-soft {
	opacity: .16;
}

/* Keep the section's real content above the drifting bubbles. */
.has-bubbles > .wrap {
	position: relative;
	z-index: 1;
}

.bubble {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .45);
	/* Ends on a light tint rather than transparent, so the whole bubble
	   reads lighter than the section behind it instead of as a dark orb. */
	background:
		radial-gradient(circle at 30% 26%,
			rgba(255, 255, 255, .8),
			rgba(255, 255, 255, .26) 28%,
			rgba(255, 255, 255, .12) 52%,
			rgba(160, 220, 255, .16) 100%);
	box-shadow:
		inset -5px -8px 16px rgba(109, 208, 255, .3),
		0 0 26px rgba(109, 208, 255, .18);
	animation: bubble-rise linear infinite;
}

/* Size, position and pace varied per bubble so the drift reads naturally. */
.bubble.b1 { width:  86px; height:  86px; left:  3%; bottom: -110px; animation-duration: 23s; animation-delay:  0s; }
.bubble.b2 { width:  38px; height:  38px; left: 14%; bottom: -110px; animation-duration: 17s; animation-delay: -6s; }
.bubble.b3 { width: 130px; height: 130px; left: 26%; bottom: -170px; animation-duration: 31s; animation-delay: -3s; }
.bubble.b4 { width:  26px; height:  26px; left: 39%; bottom: -110px; animation-duration: 14s; animation-delay: -9s; }
.bubble.b5 { width:  62px; height:  62px; left: 52%; bottom: -110px; animation-duration: 26s; animation-delay: -14s; }
.bubble.b6 { width:  44px; height:  44px; left: 66%; bottom: -110px; animation-duration: 19s; animation-delay: -2s; }
.bubble.b7 { width: 104px; height: 104px; left: 78%; bottom: -150px; animation-duration: 28s; animation-delay: -11s; }
.bubble.b8 { width:  30px; height:  30px; left: 88%; bottom: -110px; animation-duration: 16s; animation-delay: -5s; }
.bubble.b9 { width:  70px; height:  70px; left: 95%; bottom: -110px; animation-duration: 24s; animation-delay: -18s; }

@keyframes bubble-rise {
	from {
		transform: translate3d(0, 0, 0) scale(.85);
		opacity: 0;
	}
	12% {
		opacity: 1;
	}
	85% {
		opacity: 1;
	}
	to {
		transform: translate3d(28px, calc(var(--rise) * -1), 0) scale(1.1);
		opacity: 0;
	}
}

/* -------------------------------------------------------------------------
   Reviews
   ------------------------------------------------------------------------- */

.reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}

.review {
	margin: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 1.9rem;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
}

.review::before {
	content: "\201C";
	position: absolute;
	top: .1em;
	right: 1.2rem;
	font-size: 5.5rem;
	line-height: 1;
	color: var(--gold);
	opacity: .16;
	font-family: var(--display);
}

/* Quotes use Lato's italic — Marcellus has none, and a faux-slanted serif
   would look wrong. */
.review blockquote {
	margin: 0;
	font-size: 1.05rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.8;
	color: var(--text);
	flex: 1;
}

.review figcaption strong {
	display: block;
	font-size: .74rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .18em;
	color: var(--text-soft);
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.review figcaption span {
	font-size: .88rem;
	color: var(--text-soft);
}

/* -------------------------------------------------------------------------
   Hours and location cards
   ------------------------------------------------------------------------- */

.two-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.25rem;
	align-items: start;
}

.card {
	background: var(--white);
	color: var(--text);
	border-radius: var(--radius-lg);
	padding: clamp(1.6rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-lg);
}

.card h3 {
	font-size: 1.4rem;
	margin-bottom: .9rem;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 700;
	font-size: .9rem;
	padding: .35rem .85rem;
	border-radius: 999px;
	background: var(--foam);
	border: 1px solid var(--line);
	margin: 0 0 1.25rem;
}

.status-open {
	color: #0d7a49;
}

.status-closed {
	color: #96560a;
}

.hours {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.hours th,
.hours td {
	padding: .62rem 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-weight: 700;
}

.hours td {
	text-align: right;
	color: var(--text-soft);
}

.hours tr:last-child th,
.hours tr:last-child td {
	border-bottom: 0;
}

.hours .is-today th,
.hours .is-today td {
	color: var(--blue);
	font-weight: 700;
}

.fine {
	margin: 1rem 0 0;
	font-size: .9rem;
	color: var(--text-soft);
}

address {
	font-style: normal;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.55;
	margin-bottom: 1.4rem;
}

address span {
	display: block;
}

.card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin: 0;
}

/* -------------------------------------------------------------------------
   Visit us: details column beside the contact form
   ------------------------------------------------------------------------- */

/* Both columns stretch to the same height, and the Find us card takes up
   the slack so its bottom edge lines up with the form. */
.visit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	align-items: stretch;
}

.visit-details {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.visit-details .card:last-child {
	flex: 1;
}

.form-intro {
	color: var(--text-soft);
	margin-bottom: 1.4rem;
}

.contact-form .field {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	margin: 0 0 1rem;
}

.contact-form label {
	font-size: .66rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .16em;
	color: var(--text-soft);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--text);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	padding: .6rem 0;
	transition: border-color .3s ease;
}

.contact-form textarea {
	resize: vertical;
	min-height: 110px;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-bottom-color: var(--gold);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
	border-color: var(--red);
}

.field-err {
	font-size: .85rem;
	font-weight: 700;
	color: #c1121f;
}

/* Spam trap: hidden from people but still reachable by bots. */
.field-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.btn-block {
	width: 100%;
	justify-content: center;
}

.form-note {
	border-radius: 10px;
	padding: .8rem 1rem;
	font-size: .95rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.form-ok {
	background: #e7f8ef;
	border: 1px solid #a8e6c4;
	color: #0d7a49;
}

.form-bad {
	background: #fdecee;
	border: 1px solid #f5bcc3;
	color: #c1121f;
}

/* -------------------------------------------------------------------------
   Assurance band
   ------------------------------------------------------------------------- */

.assurance {
	background: var(--ink-2);
	color: var(--white);
	padding: clamp(3.25rem, 6vw, 5rem) 0;
	border-top: 1px solid rgba(201, 168, 106, .25);
}

.assurance-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem;
}

.assurance h2 {
	margin-bottom: .3rem;
	max-width: 20ch;
}

.assurance p {
	margin: 0;
	color: rgba(255, 255, 255, .85);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
	background: var(--white);
	color: var(--text);
	padding: clamp(2.75rem, 5vw, 4rem) 0 1.5rem;
	border-top: 1px solid var(--line);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 2.5rem;
}

.footer-brand img {
	height: 92px;
	width: auto;
	margin-bottom: 1rem;
}

.footer-brand p,
.footer-col p {
	color: var(--text-soft);
	font-size: .95rem;
	margin: 0 0 .75rem;
}

.footer-col h3 {
	font-family: var(--font);
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: var(--track);
	font-size: .72rem;
	font-weight: 700;
	margin-bottom: 1.1rem;
}

.footer-col strong,
.footer-col a {
	color: var(--ink);
}

.footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.footer-bottom p {
	margin: 0;
	font-size: .85rem;
	color: var(--text-soft);
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Below this the two About columns get narrow enough that stretching the
   photo to match the text crops into the signage — so stack instead, where
   it runs full width at a safe fixed ratio. */
@media (max-width: 1199px) {
	.about-grid {
		grid-template-columns: 1fr;
	}

	.about-media {
		height: auto;
		min-height: 0;
	}

	.about-media img {
		height: auto;
		aspect-ratio: 6 / 5;
	}
}

@media (max-width: 960px) {
	.visit-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 960px) {
	.about-tag {
		right: 16px;
	}

	.service-body {
		grid-template-columns: 1fr;
	}

	.service-photo {
		max-width: 420px;
	}

	.scroll-hint {
		display: none;
	}

	.footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 820px) {
	.header-nav {
		display: none;
	}

	.header-call {
		margin-left: auto;
	}

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

	.stat-row {
		grid-template-columns: 1fr;
	}

	.stat-row li {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, .14);
		padding: 1.15rem 1.35rem;
	}

	.stat-row li:first-child {
		border-top: 0;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.brand img {
		height: 52px;
	}

	.hero {
		padding-top: 7.5rem;
	}

	.hero-title {
		max-width: none;
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn,
	.card-actions .btn {
		flex: 1 1 100%;
		justify-content: center;
	}

	.trust {
		width: 100%;
	}

	.service > summary {
		gap: .8rem;
		padding: 1.15rem .25rem;
	}
}

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

	.marquee-track,
	.about-tag,
	.play-btn,
	.play-btn::after {
		animation: none;
	}

	/* Drifting bubbles are decoration only, so drop them entirely rather
	   than freezing them mid-rise. */
	.bubbles {
		display: none;
	}

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