/*
 * Components.
 *
 * Every value resolves to a var(--*) from design-tokens.css. Where a component
 * spec in the handoff disagrees with a token, the token wins and the conflict
 * is recorded in DEVIATIONS.md — notably the header heights (88/64, not 96/68)
 * and the price weight (Cinzel 600, not the JSON's 400).
 *
 * Order: header · mobile menu · buttons · pole devices · cards · rows ·
 * process · gallery · lightbox · testimonial · hours card · forms · alerts.
 */

/* ==========================================================================
   Header — slim bar, crest on its own row beneath it
   ========================================================================== */

/*
 * Layout constants, derived from the tokens.
 *
 * The hero needs to know the header's total height to pull up beneath it, and
 * it is a sibling, so these live on :root rather than on .site-header.
 */
:root {
	--header-bar: 56px;
	--header-crest: 178px;
}

@media (min-width: 768px) {
	:root {
		--header-bar: 60px;
		--header-crest: 228px;
	}
}

@media (min-width: 1024px) {
	:root {
		--header-bar: var(--header-height-scrolled);
		--header-crest: 286px;
	}
}

.header-sentinel {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

/*
 * The bar is a direct child of the page wrapper, not of a header element.
 *
 * A sticky element only sticks within its parent's box. Nested inside a
 * ~214px header it unstuck as soon as that header scrolled past, and the
 * navigation vanished. As a child of the page it sticks for the whole scroll.
 */
/*
 * `display: contents` is load-bearing.
 *
 * This wrapper exists to give the sticky bar and the crest one `banner`
 * landmark between them — without it the shop's own logo and its home link sat
 * outside every landmark, where a screen-reader user browsing by region would
 * never meet them.
 *
 * It contributes no box, so the sticky bar's containing block is still the page
 * wrapper and it keeps sticking the whole way down. A wrapper with a real box
 * would confine the bar to the header's height, which is the bug this layout
 * had once already.
 */
.site-header {
	display: contents;
}

.site-header__bar {
	position: sticky;
	top: 0;
	z-index: var(--z-sticky-header);
	background-color: var(--color-bg-secondary);
	box-shadow: var(--shadow-header-dark);
	transition:
		background-color var(--duration-base) var(--ease-standard),
		box-shadow var(--duration-base) var(--ease-standard);
}

.site-header__bar--transparent {
	background-color: transparent;
	box-shadow: none;
}

.site-header__bar--transparent::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgb(11 10 8 / 82%) 0%,
		rgb(11 10 8 / 40%) 70%,
		rgb(11 10 8 / 0%) 100%
	);
	pointer-events: none;
}

.site-header__bar.is-scrolled {
	background-color: var(--color-bg-secondary);
	box-shadow: var(--shadow-header-dark);
}

.site-header__bar.is-scrolled::before {
	opacity: 0%;
}

.site-header__bar-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--space-4);
	width: 100%;
	max-width: var(--container-wide);
	height: var(--header-bar);
	margin-inline: auto;
	padding-inline: var(--container-margin-mobile);
}

@media (min-width: 768px) {
	.site-header__bar-inner { padding-inline: var(--container-margin-tablet); }
}

@media (min-width: 1024px) {
	.site-header__bar-inner { padding-inline: var(--container-margin-desktop); }
}

/*
 * WordPress admin bar offsets.
 *
 * Logged in, `#wpadminbar` is position:fixed and sits at the top of the
 * viewport. A sticky header at top:0 slides underneath it — the navigation
 * ends up sliced in half. WordPress's own breakpoints are:
 *
 *   >= 783px  fixed, 32px tall
 *   601-782   fixed, 46px tall
 *   <= 600px  absolute, so it scrolls away and needs no offset
 */
/*
 * The overlays clear the admin bar at every width, not just from 601px.
 *
 * The admin bar sits at z-index 99999 — far above anything a theme should
 * claim — so a full-screen overlay at inset:0 does not cover it, it gets
 * covered BY it: the bar lands on top of the menu's own emblem and close
 * button. Below 601px the bar is absolute and scrolls away, so opening the
 * menu also scrolls to the top (see site.js), and there is never a strip of
 * page showing through the gap.
 */
body.admin-bar .mobile-menu,
body.admin-bar .lightbox {
	top: 46px;
}

@media screen and (min-width: 601px) {
	body.admin-bar .site-header__bar {
		top: 46px;
	}
}

@media screen and (min-width: 783px) {
	body.admin-bar .site-header__bar,
	body.admin-bar .mobile-menu,
	body.admin-bar .lightbox {
		top: 32px;
	}
}

/*
 * The crest row.
 *
 * This is where the emblem finally has room. On the home page the bar is
 * transparent and the row sits over the hero photograph; everywhere else it
 * carries the page background, so it can never overlap content.
 */
/*
 * z-index 2 keeps the crest above the hero.
 *
 * On the home page the hero pulls up underneath this row, and being later in
 * the document it painted straight over the emblem — which made the crest
 * invisible on the front page at every width.
 */
.site-header__crest {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--header-crest);
	background-color: var(--color-bg-primary);
}

.site-header__crest--transparent {
	background-color: transparent;
}

.site-header__brand {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.site-header__emblem img {
	width: 164px;
	height: auto;
}

.site-header__crest--transparent .site-header__emblem img {
	filter: drop-shadow(0 8px 28px rgb(0 0 0 / 65%));
}

@media (min-width: 768px) {
	.site-header__emblem img { width: 214px; }
}

@media (min-width: 1024px) {
	.site-header__emblem img { width: 268px; }
}

/*
 * The compact mark that replaces the crest once the bar sticks.
 *
 * Exactly one emblem is in the document at a time — this is display:none until
 * the crest has scrolled away — so the home link is never duplicated in the
 * accessibility tree.
 */
/*
 * The name, set in type. The emblem used to sit here at 40–44px, where a
 * crown, two barber poles, a figure and three lines of type resolve into a
 * gold smudge — see header-site.php.
 *
 * Fluid, because "Mi Barrio Beverley Barbershop" is a long name in a bar that
 * also holds a 44px hamburger. At a fixed 16px it ran 31px past the right edge
 * at 320 — WCAG 1.4.10 reflow, and invisible to the suite, whose 320px check
 * never scrolled and so never saw this bar at all. Shrinking beats truncating:
 * an ellipsis in the middle of a business name is worse than the name a little
 * smaller. 13px at 320, up to 18px once there is room for it — a wordmark
 * that matches the navigation's size does not read as the name of the place.
 */
.site-header__compact {
	display: none;
	font-family: var(--font-display);
	font-size: clamp(0.8125rem, 0.0625rem + 3.75vw, 1.125rem);
	line-height: 1;
	letter-spacing: var(--tracking-display);
	color: var(--color-text-primary);
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

/*
 * The compact mark appears only once the crest has actually left the viewport.
 *
 * Tying it to the first pixel of scroll showed two emblems at once and then
 * snatched one away — the flicker. Keyed to the crest leaving, one replaces
 * the other exactly as it goes.
 */
body.has-left-crest .site-header__compact {
	display: block;
}

/*
 * Nothing at all in this slot on desktop.
 *
 * The emblem was a smudge at 44px, and the client's answer to that was to
 * remove it, not to replace it: the scrolled desktop bar is the navigation and
 * the booking button, and the row above it already carries the crest at full
 * size. On a phone the name stays, because there the bar is the only thing on
 * screen and something has to say whose site this is.
 */
@media (min-width: 1024px) {
	body.has-left-crest .site-header__compact {
		display: none;
	}
}

/*
 * The crest is never hidden by script — it simply scrolls away, which is what
 * makes the handover to the compact mark read as one movement instead of two.
 */

/* ==========================================================================
   Header navigation
   ========================================================================== */

.site-header__nav {
	display: none;
	flex: 1 1 auto;
}

.site-header__nav .menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-6);
}

.site-header__nav a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding-block: var(--space-2);
	color: var(--color-text-primary);
	font-size: var(--text-caption);
	font-weight: var(--weight-medium);
	letter-spacing: var(--tracking-nav);
	text-transform: uppercase;
	text-decoration: none;
}

.site-header__nav a:hover {
	color: var(--color-gold);
}

/* Muted until the item is hovered or current, so the row stays typographic. */
.site-header__nav .icon {
	color: var(--color-text-muted);
	transition: color var(--duration-fast) var(--ease-standard);
}

.site-header__nav a:hover .icon,
.site-header__nav .current-menu-item > a .icon {
	color: var(--color-gold);
}

.site-header__nav .current-menu-item > a {
	color: var(--color-text-primary);
	box-shadow: inset 0 -1px 0 0 var(--color-gold);
}

/*
 * Desktop only.
 *
 * Below 1024 the hamburger is right beside it and the panel it opens leads
 * with "Book an appointment" — so the bar was offering the same action twice
 * within 60px of itself, on the width with the least room for it. The hero's
 * own call to action sits a few hundred pixels below, and the closing one
 * below that.
 */
/*
 * Scoped to the bar, because `.button { display: inline-flex }` is declared
 * later in this file and would win the cascade at equal specificity.
 */
.site-header__bar .site-header__book {
	display: none;
}

@media (min-width: 1024px) {
	.site-header__bar .site-header__book {
		display: inline-flex;
		height: var(--button-height-sm);
		padding-inline: var(--space-5);
		gap: 0.35em;
		margin-left: auto;
		white-space: nowrap;
	}
}

/* Hamburger — three hairlines, no icon font. */
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	margin-left: calc(var(--space-3) * -1);
	padding: 0;
	border: 0;
	background: none;
	flex: 0 0 auto;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 22px;
	height: 1px;
	background-color: var(--color-text-primary);
	transition: transform var(--duration-fast) var(--ease-standard);
}

.menu-toggle__bars {
	position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }

.menu-toggle:hover .menu-toggle__bars,
.menu-toggle:hover .menu-toggle__bars::before,
.menu-toggle:hover .menu-toggle__bars::after {
	background-color: var(--color-gold);
}

@media (min-width: 1024px) {
	.site-header__nav { display: block; }
	.menu-toggle { display: none; }
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

html.has-menu-open,
body.has-menu-open {
	overflow: hidden;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: var(--z-overlay);
	display: flex;
	flex-direction: column;
	background-color: var(--color-bg-primary);
	opacity: 0%;
	transform: translateY(12px);
	transition:
		opacity var(--duration-slow) var(--ease-out-soft),
		transform var(--duration-slow) var(--ease-out-soft);
}

.mobile-menu.is-open {
	opacity: 100%;
	transform: translateY(0);
}

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

/*
 * The overlay bar sizes to its content rather than to a fixed height. Pinned
 * at 64px it clipped the top of the emblem, which is ~66px tall at this width.
 */
.mobile-menu__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	min-height: var(--header-bar);
	padding: var(--space-3) var(--container-margin-mobile);
	border-bottom: var(--border-hairline) solid var(--color-border-dark);
}

.mobile-menu__brand img {
	width: 64px;
	height: auto;
}

.mobile-menu__close {
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	padding: 0;
	border: 0;
	background: none;
	color: var(--color-text-primary);
	font-size: var(--text-h3);
	line-height: 1;
}

.mobile-menu__close:hover {
	background: none;
	color: var(--color-gold);
}

/*
 * The list is centred in whatever space is left. With five items it filled the
 * panel; with three it left a dead void under the last link.
 */
.mobile-menu__nav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 auto;
	padding-inline: var(--container-margin-mobile);
	padding-block: var(--space-6);
	overflow-y: auto;
}

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

.mobile-menu__item {
	border-bottom: var(--border-hairline) solid var(--color-border-dark);
	opacity: 0%;
	transform: translateY(8px);
	transition:
		opacity var(--duration-base) var(--ease-out-soft),
		transform var(--duration-base) var(--ease-out-soft);
	/* 40ms stagger, per motion-specifications.md. */
	transition-delay: calc(var(--stagger, 0) * 40ms);
}

.mobile-menu.is-open .mobile-menu__item {
	opacity: 100%;
	transform: translateY(0);
}

.mobile-menu__item a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-4);
	padding-block: var(--space-4);
	text-decoration: none;
}

.mobile-menu__label {
	display: inline-flex;
	align-items: center;
	gap: var(--space-4);
	color: var(--color-text-primary);
	font-family: var(--font-display);
	font-size: var(--text-h2);
	line-height: var(--leading-heading);
}

.mobile-menu__item a:hover .mobile-menu__label {
	color: var(--color-gold);
}

/* An arrow, where the design's index number used to be. */
.mobile-menu__arrow {
	display: inline-flex;
	color: var(--color-text-muted);
	transition: transform var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

.mobile-menu__item a:hover .mobile-menu__arrow,
.mobile-menu__item a:focus-visible .mobile-menu__arrow {
	color: var(--color-gold);
	transform: translateX(4px);
}

.mobile-menu__footer {
	padding-inline: var(--container-margin-mobile);
	padding-block: var(--space-5) var(--space-6);
	border-top: var(--border-hairline) solid var(--color-border-dark);
}

.mobile-menu__cta {
	width: 100%;
	height: var(--button-height-lg);
}

.mobile-menu__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	margin-top: var(--space-4);
	min-height: var(--touch-target-min);
}

/* Replaced the tagline, which repeated the hero headline (header-site.php). */
.mobile-menu__call {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin: var(--space-5) 0 0;
	max-width: none;
	min-height: var(--touch-target-min);
	font-size: var(--text-body-lg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--button-height-md);
	padding-inline: var(--space-5);
	border: var(--border-hairline) solid transparent;
	border-radius: var(--radius-none);
	font-family: var(--font-body);
	font-size: var(--text-caption);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-caps);
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--duration-fast) var(--ease-standard),
		border-color var(--duration-fast) var(--ease-standard),
		color var(--duration-fast) var(--ease-standard);
}

/* Gold fills always carry carbon text. Cream on gold is forbidden. */
.button--primary {
	background-color: var(--color-gold);
	color: var(--color-bg-primary);
}

.button--primary:hover {
	background-color: var(--color-gold-bright);
	color: var(--color-bg-primary);
}

.button--primary:active {
	background-color: var(--color-gold-shadow);
}

.button--secondary {
	border-color: var(--color-gold);
	background-color: transparent;
	color: var(--color-text-primary);
}

.button--secondary:hover {
	border-color: var(--color-gold-bright);
	background-color: transparent;
	color: var(--color-gold-bright);
}

.button--large {
	min-height: var(--button-height-lg);
	padding-inline: var(--space-6);
}

.button[aria-disabled="true"],
.button:disabled {
	opacity: 40%;
	pointer-events: none;
}

/*
 * The design sets these as a small underlined caps link, 19px tall. Growing the
 * box would move the underline off the baseline the preview shows, so the tap
 * target is extended with a pseudo-element instead: 44px of hit area, identical
 * pixels.
 */
.link {
	position: relative;
	display: inline-block;
	color: var(--color-gold);
	font-size: var(--text-caption);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: var(--border-hairline);
	text-underline-offset: 4px;
}

.link::before {
	content: "";
	position: absolute;
	inset: calc((var(--touch-target-min) - 1.2em) / -2) 0;
}

.link:hover {
	color: var(--color-gold-bright);
}

/* ==========================================================================
   Pole devices — the only place pole red appears
   ========================================================================== */

.pole-rule {
	display: inline-block;
	width: 28px;
	height: 7px;
	background-image:
		linear-gradient(var(--color-pole-red) 0 1px, transparent 1px),
		linear-gradient(var(--color-text-primary) 0 1px, transparent 1px),
		linear-gradient(var(--color-info) 0 1px, transparent 1px);
	background-repeat: no-repeat;
	background-position: 0 0, 0 3px, 0 6px;
	background-size: 100% 7px;
	flex: 0 0 auto;
}

.open-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: var(--radius-pill);
	background-color: var(--color-pole-red);
	flex: 0 0 auto;
}

/* ==========================================================================
   Overline / section headings
   ========================================================================== */

/*
 * The flex container has exactly two children — the rule and the text — so the
 * 16px gap applies once, where it is meant to. Inside the text the phrases
 * space themselves normally and each is unbreakable, so the only place the
 * line can wrap is the separator.
 */
.overline__part {
	white-space: nowrap;
}

.overline {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-bottom: var(--space-4);
	color: var(--color-gold);
	font-size: var(--text-label);
	font-weight: var(--weight-medium);
	letter-spacing: var(--tracking-caps-wide);
	text-transform: uppercase;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-4);
	margin-bottom: var(--space-7);
}

/* ==========================================================================
   Photos
   ========================================================================== */

.photo {
	display: block;
	overflow: hidden;
}

.photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Development filler is visibly marked so QA cannot mistake it for final art. */
.photo[data-placeholder] {
	outline: var(--border-emphasis) dashed var(--color-warning-on-dark);
	outline-offset: -2px;
}

/* ==========================================================================
   Service card
   ========================================================================== */

.service-card {
	/* Relative so the title's ::after can make the whole card clickable. */
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: var(--color-bg-raised);
	border: var(--border-hairline) solid var(--color-border-dark);
	transition: border-color var(--duration-base) var(--ease-standard);
}

.service-card:hover {
	border-color: var(--color-border-dark-strong);
}

.service-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.service-card__media img {
	transition: transform var(--duration-slow) var(--ease-out-soft);
}

.service-card:hover .service-card__media img {
	transform: scale(1.03);
}

.service-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--space-3);
	padding: var(--space-5);
}

/*
 * Two lines of title, whether or not the title needs them.
 *
 * "Cut & Hot Towel Shave" wraps and its neighbours do not, so in a row of
 * three the descriptions started 31px apart from each other — the price row
 * already aligns via `margin-top: auto`, which made the ragged middle more
 * obvious rather than less. Reserving the second line costs one empty line on
 * the short cards and buys a straight row.
 */
.service-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-4);
	min-height: calc(2em * var(--leading-subhead));
	font-size: var(--text-h3);
}

.service-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-h3);
	line-height: var(--leading-subhead);
}

.service-card__title a {
	color: inherit;
	text-decoration: none;
}

.service-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}


.service-card__description {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--text-body-sm);
	max-width: none;
}

.service-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	margin-top: auto;
	padding-top: var(--space-3);
}

.service-card__duration {
	color: var(--color-text-muted);
	font-size: var(--text-body-sm);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
}

.service-card__cta {
	color: var(--color-gold);
	font-size: var(--text-caption);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
}

/*
 * Below 480 the cards collapse into list rows: title and duration left, price
 * and a 44px arrow tile right, separated by hairlines. Same markup, no second
 * DOM tree to keep in sync. responsive-rules.md line 5.
 */
@media (max-width: 479px) {
	.services__grid {
		gap: 0;
	}

	.service-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		border: 0;
		border-bottom: var(--border-hairline) solid var(--color-border-dark);
		background: none;
	}

	.service-card__media,
	.service-card__description {
		display: none;
	}

	.service-card__body {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		gap: var(--space-4);
		padding: var(--space-5) 0;
	}

	/*
	 * Title on its own line, then price and duration beneath it.
	 *
	 * The price used to be hidden here, on the assumption that a second copy
	 * sat in `__meta` on the right. There is only ever one, so the compact row
	 * shipped with no prices at all — a service menu that will not say what
	 * anything costs. It reads "From $25 · 30 min" now.
	 */
	.service-card__head {
		flex-flow: row wrap;
		align-items: baseline;
		justify-content: flex-start;
		gap: var(--space-1) var(--space-2);
	}

	.service-card__title {
		flex: 1 0 100%;
	}

	.service-card__head .price {
		font-size: var(--text-body);
	}

	.service-card__meta {
		flex-direction: row;
		align-items: center;
		gap: var(--space-4);
		margin: 0;
		padding: 0;
		flex: 0 0 auto;
	}

	.service-card__duration {
		display: none;
	}

	/*
	 * The duration follows the price on the second line. The separator is on
	 * the pseudo-element rather than between two elements, so there is no
	 * stray middot if a service ever renders without one.
	 */
	.service-card__head::after {
		content: "·\00a0" attr(data-duration);
		color: var(--color-text-muted);
		font-size: var(--text-body-sm);
		letter-spacing: normal;
		text-transform: none;
	}

	.service-card__cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: var(--touch-target-min);
		height: var(--touch-target-min);
		border: var(--border-hairline) solid var(--color-border-dark-strong);
		font-size: var(--text-body);
	}

	.service-card__cta .cta-label {
		display: none;
	}
}

/* Price — Cinzel 600. design-tokens.json says 400; typography.md wins (D-011b). */
.price {
	color: var(--color-gold);
	font-family: var(--font-display);
	font-size: var(--text-price);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-display);
	white-space: nowrap;
}

/* ==========================================================================
   Service row — mobile lists and the full menu
   ========================================================================== */

.service-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding-block: var(--space-5);
	border-bottom: var(--border-hairline) solid var(--color-border-dark);
}

.service-row__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-h3);
	line-height: var(--leading-subhead);
}

.service-row__title a {
	color: inherit;
	text-decoration: none;
}

.service-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.service-row__duration {
	margin: var(--space-1) 0 0;
	color: var(--color-text-muted);
	font-size: var(--text-body-sm);
}

.service-row__end {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	flex: 0 0 auto;
}

.service-row__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	border: var(--border-hairline) solid var(--color-border-dark-strong);
	color: var(--color-gold);
}

/* ==========================================================================
   Process step
   ========================================================================== */

.process-step {
	padding-top: var(--space-5);
	border-top: var(--border-hairline) solid var(--color-border-dark);
}

.process-step__number {
	display: block;
	margin-bottom: var(--space-4);
	color: var(--color-gold);
	font-family: var(--font-display);
	font-size: var(--text-h2);
	line-height: 1;
}

.process-step__title {
	margin: 0 0 var(--space-2);
	font-family: var(--font-display);
	font-size: var(--text-h4);
}

.process-step__body {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--text-body-sm);
	max-width: none;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

/*
 * The tile is a <button>, so it inherits the button reset: inline-flex,
 * centring, a minimum height and horizontal padding. That left every
 * photograph floating inside a padded box instead of filling its tile. All
 * four have to be undone explicitly.
 */
.gallery-tile {
	position: relative;
	display: block;
	min-height: 0;
	min-width: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	background-color: var(--color-bg-raised);
}

.gallery-tile:hover {
	background-color: var(--color-bg-raised);
}

.gallery-tile .photo,
.gallery-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-tile img {
	transition: transform var(--duration-slow) var(--ease-out-soft);
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
	transform: scale(1.03);
}

.gallery-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(11 10 8 / 55%), transparent 55%);
	opacity: 0%;
	transition: opacity var(--duration-base) var(--ease-standard);
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after {
	opacity: 100%;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	padding: var(--space-5);
	background-color: var(--color-overlay-scrim);
	opacity: 0%;
	transition: opacity var(--duration-base) var(--ease-standard);
}

.lightbox.is-open {
	opacity: 100%;
}

.lightbox[hidden] {
	display: none;
}

.lightbox__figure {
	max-width: min(90vw, var(--container-content));
	margin: 0;
}

.lightbox__image {
	max-height: 78vh;
	width: auto;
	margin-inline: auto;
}

.lightbox__caption {
	margin-top: var(--space-3);
	color: var(--color-text-secondary);
	font-size: var(--text-body-sm);
	text-align: center;
}

.lightbox__close,
.lightbox__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	border: var(--border-hairline) solid var(--color-border-dark-strong);
	background-color: var(--color-bg-raised);
	color: var(--color-text-primary);
	font-size: var(--text-h4);
	line-height: 1;
	flex: 0 0 auto;
}

.lightbox__close:hover,
.lightbox__nav:hover {
	background-color: var(--color-bg-raised);
	color: var(--color-gold);
}

.lightbox__close {
	position: absolute;
	top: var(--space-4);
	right: var(--space-4);
}

/* ==========================================================================
   Testimonial
   ========================================================================== */

.testimonial__quote {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-quote);
	line-height: var(--leading-subhead);
	max-width: 24ch;
}

.testimonial__attribution {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-top: var(--space-5);
}

.testimonial__avatar {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill);
	background-color: var(--color-bg-raised);
	border: var(--border-hairline) solid var(--color-border-dark);
	flex: 0 0 auto;
}

.testimonial__name {
	margin: 0;
	font-size: var(--text-body-sm);
	font-weight: var(--weight-semibold);
}

.testimonial__source {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--text-body-sm);
}

.testimonial__controls {
	display: flex;
	gap: var(--space-3);
	margin-top: var(--space-6);
}

.testimonial__control {
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	border: var(--border-hairline) solid var(--color-border-dark-strong);
	background: none;
	color: var(--color-gold);
}

.testimonial__control:hover {
	background: none;
	border-color: var(--color-gold);
}

/* ==========================================================================
   Hours & location card
   ========================================================================== */

.location-card {
	border: var(--border-hairline) solid var(--color-border-dark);
	background-color: var(--color-bg-raised);
}

.location-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: var(--space-5);
	border-bottom: var(--border-hairline) solid var(--color-border-dark);
}

.location-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-h3);
}

.location-card__status {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--color-text-secondary);
	font-size: var(--text-label);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
}

.location-card__grid {
	display: grid;
	gap: var(--space-5);
	padding: var(--space-5);
}

.location-card__label {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0 0 var(--space-3);
	color: var(--color-text-muted);
	font-size: var(--text-label);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
}

/*
 * The drawn grid that stood in for a map is gone — a real one is embedded now.
 * What remains is the frame it sits in; the padding and centring the
 * placeholder needed would only inset the iframe.
 */
.location-card__map {
	border-top: var(--border-hairline) solid var(--color-border-dark);
	border-bottom: var(--border-hairline) solid var(--color-border-dark);
}

/*
 * Stacked on a phone. Side by side, "Get directions" wrapped onto two lines
 * inside a box barely wider than the words, which reads as a squeeze rather
 * than a pair. One column each is calmer and the tap targets are full width.
 */
.location-card__actions {
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 480px) {
	.location-card__actions {
		grid-template-columns: 1fr 1fr;
	}
}

.location-card__actions .button {
	min-height: var(--button-height-lg);
}

.location-card__actions .button--secondary {
	border-color: var(--color-border-dark);
}

.address {
	font-style: normal;
	line-height: var(--leading-body);
}

.address span {
	display: block;
}

.hours {
	margin: 0;
	max-width: none;
}

.hours__label {
	display: block;
	color: var(--color-text-muted);
	font-size: var(--text-label);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
}

.hours__value {
	font-variant-numeric: tabular-nums;
}

/* Provisional data carries a visible marker in non-production environments. */
.hours[data-provisional]::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-left: var(--space-2);
	border-radius: var(--radius-pill);
	background-color: var(--color-warning-on-dark);
	vertical-align: middle;
}

/* ==========================================================================
   Social
   ========================================================================== */

.social {
	display: flex;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	border: var(--border-hairline) solid var(--color-border-dark-strong);
	color: var(--color-gold);
	font-size: var(--text-label);
	letter-spacing: var(--tracking-caps);
	text-decoration: none;
}

.social__link:hover {
	border-color: var(--color-gold);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.field {
	margin-bottom: var(--space-5);
}

.field__hint {
	margin: var(--space-2) 0 0;
	color: var(--color-text-muted);
	font-size: var(--text-body-sm);
}

.field__error {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	margin: var(--space-2) 0 0;
	color: var(--color-error-on-dark);
	font-size: var(--text-body-sm);
}

.field__error::before {
	content: "!";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border: var(--border-hairline) solid currentcolor;
	font-size: var(--text-label);
	flex: 0 0 auto;
}

.field input:user-invalid,
.field textarea:user-invalid,
.field [aria-invalid="true"] {
	border-color: var(--color-error-on-dark);
}

.error-summary {
	margin-bottom: var(--space-6);
	padding: var(--space-4) var(--space-5);
	border-left: var(--border-emphasis) solid var(--color-error-on-dark);
	background-color: var(--color-bg-raised);
}

.error-summary__title {
	margin: 0 0 var(--space-3);
	font-family: var(--font-display);
	font-size: var(--text-h4);
	color: var(--color-error-on-dark);
}

.error-summary ul {
	margin: 0;
	padding-left: var(--space-5);
}

.error-summary a {
	color: var(--color-error-on-dark);
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.alert {
	display: flex;
	gap: var(--space-3);
	padding: var(--space-4) var(--space-5);
	border-left: var(--border-emphasis) solid var(--color-info-on-dark);
	background-color: var(--color-bg-raised);
}

.alert--success { border-left-color: var(--color-success-on-dark); }
.alert--error { border-left-color: var(--color-error-on-dark); }
.alert--warning { border-left-color: var(--color-warning-on-dark); }

.alert__icon {
	flex: 0 0 auto;
	font-weight: var(--weight-bold);
}

.alert--success .alert__icon { color: var(--color-success-on-dark); }
.alert--error .alert__icon { color: var(--color-error-on-dark); }
.alert--warning .alert__icon { color: var(--color-warning-on-dark); }

.alert p {
	margin: 0;
	max-width: none;
}

/* ==========================================================================
   Reveal
   ========================================================================== */

/*
 * Scoped to .js on purpose.
 *
 * The reveal starts hidden and the observer adds .is-revealed. Applied
 * unconditionally, a visitor without scripting got a page where the intro,
 * the service cards and the gallery never appeared at all — permanently
 * invisible content, not a missing animation.
 */
.js [data-reveal] {
	opacity: 0%;
	transform: translateY(16px);
	transition:
		opacity var(--duration-reveal) var(--ease-out-soft),
		transform var(--duration-reveal) var(--ease-out-soft);
}

.js [data-reveal].is-revealed {
	opacity: 100%;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] {
		opacity: 100%;
		transform: none;
	}

	.mobile-menu,
	.mobile-menu__item {
		transition: none;
		transform: none;
	}
}

/* ==========================================================================
   Confirmed-price and open-status details
   ========================================================================== */

/*
 * The shop quotes starting prices. "From" carries that, set smaller and in the
 * body face so the figure still reads as the price.
 */
.price__from {
	margin-right: 0.35em;
	color: var(--color-text-muted);
	font-family: var(--font-body);
	font-size: var(--text-label);
	font-weight: var(--weight-medium);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
}

/* Pole red says open; muted says closed. Never colour alone — the text says it too. */
.open-dot--closed {
	background-color: var(--color-text-muted);
}

/* ==========================================================================
   Embedded map
   ========================================================================== */

/*
 * A third-party frame, so it is boxed like the rest of the card rather than
 * bleeding: hairline borders top and bottom, sharp corners, and a fixed aspect
 * so it reserves its space before the frame arrives.
 */
/*
 * Ratio only — no min-height.
 *
 * The two together fight: at 320px a 16/9 box is 180px tall, the 220px floor
 * won, and aspect-ratio then widened the box to 391px to keep the ratio. The
 * card blew 93px past the viewport. A taller ratio on narrow screens gives the
 * map the height it needs without ever forcing width.
 */
.location-map {
	position: relative;
	border-top: var(--border-hairline) solid var(--color-border-dark);
	border-bottom: var(--border-hairline) solid var(--color-border-dark);
	background-color: var(--color-bg-secondary);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.location-map iframe {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	/*
	 * The map arrives bright white against a carbon page. Damping it keeps it
	 * from tearing a hole in the design without making the streets unreadable.
	 */
	filter: grayscale(55%) contrast(88%) brightness(72%) saturate(85%);
}

/*
 * Sits behind the iframe, which covers it once it paints. Centred so it does
 * not read as content in its own right.
 */
.location-map__pending {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	max-width: none;
	padding: var(--space-5);
	color: var(--color-text-muted);
	font-size: var(--text-body-sm);
	letter-spacing: var(--tracking-caps);
	text-align: center;
	text-transform: uppercase;
}

/*
 * The static form: a picture of the map, with the interactive one one click
 * away. Same damping as the iframe so the swap is not a jump in brightness.
 */
.location-map__static {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(55%) contrast(88%) brightness(72%) saturate(85%);
}

.location-map__load {
	position: absolute;
	inset-inline-start: 50%;
	inset-block-end: var(--space-5);
	transform: translateX(-50%);
	white-space: nowrap;
	background-color: var(--color-bg-primary);
}

@media (min-width: 600px) {
	.location-map {
		aspect-ratio: 16 / 9;
	}
}

@media (min-width: 1024px) {
	.location-map {
		aspect-ratio: 21 / 9;
	}
}

/* ==========================================================================
   Icons
   ========================================================================== */

/*
 * Hairline strokes in the gold, matching the borders. They sit optically on
 * the text baseline rather than the box baseline, which is why the nudge.
 */
.icon {
	flex: 0 0 auto;
	color: var(--color-gold);
	vertical-align: -0.18em;
}

.site-footer__line,
.location-card__phone {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	margin: 0;
	max-width: none;
}

.site-footer__line + .site-footer__line {
	margin-top: var(--space-3);
}

.site-footer__line .icon,
.location-card__phone .icon {
	margin-top: 0.25em;
}

.site-footer__line .hours,
.site-footer__line .address {
	margin: 0;
}

.mobile-menu__label .icon {
	color: var(--color-text-muted);
	transition: color var(--duration-fast) var(--ease-standard);
}

.mobile-menu__item a:hover .mobile-menu__label .icon,
.mobile-menu__item a:focus-visible .mobile-menu__label .icon {
	color: var(--color-gold);
}

/* ==========================================================================
   Footer wordmark and credit
   ========================================================================== */

.site-footer__wordmark {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-h3);
	line-height: var(--leading-subhead);
	color: var(--color-text-primary);
	max-width: 14ch;
}

.site-footer__credit {
	display: block;
	margin-top: var(--space-2);
	color: var(--color-text-muted);
}

.site-footer__credit-name {
	color: var(--color-text-secondary);
}

/* ==========================================================================
   Phone
   ========================================================================== */

/*
 * Never underlined, hover included.
 *
 * An underlined phone number reads as raw markup rather than a considered
 * detail. What marks it as actionable instead: the gold against the body
 * colour, the phone icon immediately before it, and a brighten on hover. That
 * is not colour alone — the icon is a permanent non-colour cue, which is what
 * the guidance actually asks for.
 *
 * Keyboard users are unaffected: :focus-visible still draws the 2px ring from
 * the base layer.
 */
.phone-link {
	color: var(--color-gold);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--duration-fast) var(--ease-standard);
}

.phone-link:hover,
.phone-link:focus-visible {
	color: var(--color-gold-bright);
	text-decoration: none;
}
