/*
Theme Name: Chair
Theme URI: https://varnify.com/themes/chair/
Author: Varnify
Author URI: https://varnify.com/
Description: A block theme for hair salons, barbershops and nail studios, with its own booking. Your work is shown the way a client sees it at the end of an appointment: in the black hand mirror held up behind them, in front of a styling chair upholstered in your colour. Clients book the right treatment, with the right person, at a time that person is really free: treatments have their own lengths, stylists their own hours, skills and prices, "Anyone free" comes first, and a colour that needs a patch test is never offered too soon. Reminders, changes and cancellations by email link; no accounts, no card details, no commission. One colour of your choosing, guarded so it always reads; any font from the Font Library. No locked sections and no upgrade prompts.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.0.0
Update URI: https://varnify.com/themes/chair/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: varnify-chair
Tags: one-column, two-columns, block-patterns, block-styles, full-site-editing, custom-colors, custom-menu, editor-style, accessibility-ready, style-variations, wide-blocks
*/

/* ==========================================================================
   Chair 2.0: the hand mirror.

   The design is design/mirror/ (mirror.css, book.css, pages.css): live HTML
   on one token sheet, and every measurement here comes from it. The tokens
   are theme.json's; the objects (the hand mirror, the station mirror, the
   shelf, the counter, the chair back) are block styles in
   assets/css/varnify-chair-objects.css.

   Three rules:

   - Colour lives in objects. The wall is plaster; the paint is only on the
     chair back, buttons, links, flags and chosen states. Nothing coloured
     reaches the edge of the page.
   - Paint with words on or next to it reads var(--varnify-chair-paint),
     the guarded shade (Varnify_Chair_Paint). Only the chair back uses the
     owner's exact colour.
   - Type reads the owner's two fonts (Varnify_Chair_Fonts), never a preset.
   ========================================================================== */

:root {
	--varnify-chair-paint: var(--varnify-chair-paint-safe, var(--wp--preset--color--paint));
	--varnify-chair-heading: var(--varnify-chair-font-heading, "Syne", "Helvetica Neue", Arial, sans-serif);
	--varnify-chair-text: var(--varnify-chair-font-text, "Syne", "Helvetica Neue", Arial, sans-serif);
	--varnify-chair-gutter: clamp(1rem, 0.4rem + 2.6vw, 3.5rem);
	--varnify-chair-wide: 1328px;
	--varnify-chair-header: 88px;
	--varnify-chair-header-stuck: 64px;
	--varnify-chair-ease: cubic-bezier(.2, .7, .2, 1);
	--varnify-chair-shadow: rgba(31, 18, 24, .45);
	color-scheme: light;
	scroll-padding-top: calc(var(--varnify-chair-header-stuck) + var(--wp-admin--admin-bar--height, 0px) + 12px);
	-webkit-text-size-adjust: 100%;
}

@media (max-width: 860px) {
	:root {
		--varnify-chair-header: 68px;
		--varnify-chair-header-stuck: 56px;
	}
}

body {
	font-family: var(--varnify-chair-text);
	font-variant-numeric: lining-nums;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .wp-block-site-title, .wp-block-post-title, .wp-block-query-title {
	font-family: var(--varnify-chair-heading);
	text-wrap: balance;
}

p { text-wrap: pretty; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
	border-radius: 4px;
}

.varnify-chair-num { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.varnify-chair-quiet { color: var(--wp--preset--color--ink-2); }
.varnify-chair-lede { font-size: var(--wp--preset--font-size--medium); line-height: 1.4; max-width: 34ch; }
.varnify-chair-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
img { height: auto; }

.wp-site-blocks > main { margin-block-start: 0; }

/* ---- Buttons: pills, only for buttons ---- */
.varnify-chair-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 0 1.4em;
	border: 0;
	border-radius: 999px;
	background: var(--varnify-chair-paint);
	color: var(--wp--preset--color--on-paint);
	font: 700 var(--wp--preset--font-size--base)/1 var(--varnify-chair-text);
	letter-spacing: -0.01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s var(--varnify-chair-ease), transform .2s var(--varnify-chair-ease);
}
.varnify-chair-btn:hover { background: var(--wp--custom--paint-deep); color: var(--wp--preset--color--on-paint); }
.varnify-chair-btn:active { transform: translateY(1px); }
.varnify-chair-btn--line, .is-style-varnify-chair-line .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink);
}
.varnify-chair-btn--line:hover, .is-style-varnify-chair-line .wp-block-button__link:hover { background: var(--wp--custom--paint-wash); color: var(--wp--preset--color--ink); }
.varnify-chair-btn--plaster { background: var(--wp--preset--color--plaster-lift); color: var(--wp--preset--color--ink); }
.varnify-chair-btn--plaster:hover { background: #fff; color: var(--wp--preset--color--ink); }
.varnify-chair-btn--small { min-height: 44px; padding: 0 1.1em; font-size: var(--wp--preset--font-size--small); }
.varnify-chair-btn--big { min-height: 56px; font-size: var(--wp--preset--font-size--medium); }
.wp-element-button, .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .2s var(--varnify-chair-ease); }
.varnify-chair-link {
	color: var(--varnify-chair-paint);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.varnify-chair-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 0; }
.varnify-chair-flag { color: var(--varnify-chair-paint); font-weight: 700; }
.varnify-chair-flag::before { content: "· "; color: var(--wp--preset--color--ink-2); font-weight: 500; }
.varnify-chair-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.varnify-chair-owner-note {
	border: 2px dashed var(--wp--preset--color--ink-2);
	border-radius: 10px;
	padding: 14px 16px;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--plaster-lift);
	font-size: var(--wp--preset--font-size--small);
}
.varnify-chair-owner-note span { color: var(--wp--preset--color--ink-2); }
.varnify-chair-example-tag {
	display: inline-block;
	font-size: .8125rem;
	font-weight: 700;
	color: var(--wp--preset--color--ink-2);
	background: var(--wp--preset--color--plaster-deep);
	border-radius: 4px;
	padding: .15em .5em;
	margin-left: .4em;
}

/* ==========================================================================
   The header: sticky, in its own plaster strip; stuck, it takes the shelf's
   edge and tightens. The lost height is handed back as margin, so nothing
   below moves (CLS stays at about 0).
   ========================================================================== */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 20;
	margin: 0;
	background: var(--wp--preset--color--plaster);
	transition: box-shadow .25s var(--varnify-chair-ease), margin-bottom .25s var(--varnify-chair-ease);
}
.varnify-chair-no-sticky .wp-site-blocks > header.wp-block-template-part { position: relative; }
.varnify-chair-header { padding: 0; }
.varnify-chair-header__bar {
	width: min(100% - 2 * var(--varnify-chair-gutter), var(--varnify-chair-wide));
	margin-inline: auto;
	height: var(--varnify-chair-header);
	gap: clamp(.75rem, 1.6vw, 1.75rem);
	transition: height .25s var(--varnify-chair-ease);
}
.varnify-chair-wordmark { margin: 0 auto 0 0; font-size: 1.875rem; line-height: 1; transition: font-size .25s var(--varnify-chair-ease); white-space: nowrap; }
.varnify-chair-wordmark a { text-decoration: none; color: var(--wp--preset--color--ink); }
.varnify-chair-nav { gap: clamp(1rem, 2vw, 1.75rem); }
.varnify-chair-nav .wp-block-navigation-item__content { padding: .6em 0; }
.varnify-chair-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.varnify-chair-nav .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.varnify-chair-header-tel { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--ink); white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.varnify-chair-header-tel:hover { text-decoration: underline; }
.varnify-chair-header__book .wp-block-button__link { min-height: 44px; padding: 0 1.1em; font-size: var(--wp--preset--font-size--small); white-space: nowrap; }
.varnify-chair-header .wp-block-navigation__responsive-container-open {
	align-items: center;
	min-height: 44px;
	padding: 0 1.1em;
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink);
	font: 700 var(--wp--preset--font-size--small)/1 var(--varnify-chair-text);
	color: var(--wp--preset--color--ink);
}
.varnify-chair-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--plaster);
	color: var(--wp--preset--color--ink);
	padding: var(--varnify-chair-gutter);
}
.varnify-chair-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font: 800 var(--wp--preset--font-size--x-large)/1.1 var(--varnify-chair-heading);
	letter-spacing: -0.03em;
}
.varnify-chair-header .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; }

.is-stuck .wp-site-blocks > header.wp-block-template-part {
	box-shadow: 0 1px 0 var(--wp--preset--color--chrome-hi), 0 3px 0 -1px var(--wp--preset--color--chrome-lo), 0 10px 18px -14px var(--varnify-chair-shadow);
	margin-bottom: calc(var(--varnify-chair-header) - var(--varnify-chair-header-stuck));
}
.is-stuck .varnify-chair-header__bar { height: var(--varnify-chair-header-stuck); }
.is-stuck .varnify-chair-wordmark { font-size: 1.5rem; }
.varnify-chair-no-sticky.is-stuck .wp-site-blocks > header.wp-block-template-part { box-shadow: none; margin-bottom: 0; }
.varnify-chair-no-sticky.is-stuck .varnify-chair-header__bar { height: var(--varnify-chair-header); }

@media (max-width: 599px) {
	.varnify-chair-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
}

@media (max-width: 860px) {
	.varnify-chair-header .varnify-chair-block--phone { display: none; }
	.varnify-chair-wordmark { font-size: 1.625rem; }
	.is-stuck .varnify-chair-wordmark { font-size: 1.375rem; }
	.varnify-chair-header__bar { gap: .6rem; }
}

/* Laptops and tablets: a long name ("Fenn Street Barbers") wraps onto two
   lines in the bar, so the menu stays on one line beside it. */
@media (min-width: 600px) and (max-width: 1199px) {
	.varnify-chair-wordmark { white-space: normal; min-width: 0; line-height: 1.02; text-wrap: balance; font-size: clamp(1.375rem, 2.6vw, 1.875rem); }
	.varnify-chair-nav, .varnify-chair-nav .wp-block-navigation__container { flex-wrap: nowrap; }
	.varnify-chair-nav .wp-block-navigation-item__content { white-space: nowrap; }
}
@media (max-width: 599px) {
	.varnify-chair-header .wp-block-navigation { order: 3; }
	/* A long name ("Fenn Street Barbers") wraps onto two lines rather than
	   pushing Menu off the screen. */
	.varnify-chair-wordmark { white-space: normal; min-width: 0; line-height: 1.02; text-wrap: balance; overflow-wrap: anywhere; }
}
/* Where the shelf is docked at the foot of a phone with Book in it, the
   header does not show Book a second time (HQ rule: the docked bar may
   take over the header's button). */
@media (max-width: 860px) {
	body:has(.varnify-chair-dock-phone) .varnify-chair-header__book { display: none; }
}

@media (max-width: 400px) {
	.varnify-chair-wordmark { font-size: 1.4rem; }
	.varnify-chair-header__bar { gap: .4rem; }
	.varnify-chair-header__book .wp-block-button__link, .varnify-chair-header .wp-block-navigation__responsive-container-open { padding: 0 .85em; }
}
@media (max-width: 360px) {
	.varnify-chair-wordmark, .is-stuck .varnify-chair-wordmark { font-size: 1.2rem; }
	.varnify-chair-header__book .wp-block-button__link, .varnify-chair-header .wp-block-navigation__responsive-container-open { padding: 0 .7em; font-size: .75rem; }
}


/* ==========================================================================
   Sections: objects on one wall, no bands
   ========================================================================== */
/* The spam trap (forms without JavaScript): off the page, for robots only. */
.varnify-chair-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.varnify-chair-main { padding-bottom: var(--wp--preset--spacing--80); overflow-x: clip; }
.varnify-chair-main > * + * { margin-block-start: 0; }
.varnify-chair-section { padding-block: var(--wp--preset--spacing--80) 0; }
.varnify-chair-section--first { padding-top: var(--wp--preset--spacing--60); }
.varnify-chair-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--50);
	flex-wrap: wrap;
	margin-bottom: var(--wp--preset--spacing--60);
}
.varnify-chair-section-head > * { margin: 0; }
.varnify-chair-section-head p { max-width: 38ch; }
.varnify-chair-section h2, .varnify-chair-section-head h1 { font-size: var(--wp--preset--font-size--xx-large); }
.varnify-chair-more { margin-top: var(--wp--preset--spacing--50); }

/* Not every opener is a big heading left and a line right. On laptops:
   "Pick a chair" is lettered under the counter, like the name on the front
   of a salon's reception desk, with its line over the mirrors; "On the
   shelf" stands in its own narrow column, a word to a line, and stays in
   view beside the prices as they scroll. Phones read them in order. */
@media (min-width: 861px) {
	.varnify-chair-section--under { display: grid; grid-template-columns: minmax(0, 1fr); }
	.varnify-chair-section--under > .varnify-chair-section-head { display: contents; }
	.varnify-chair-section--under > .varnify-chair-section-head > p { order: 1; margin-bottom: var(--wp--preset--spacing--50); }
	.varnify-chair-section--under > :not(.varnify-chair-section-head) { order: 2; }
	.varnify-chair-section--under > .varnify-chair-section-head > :is(h1, h2) {
		order: 3;
		justify-self: end;
		margin-top: var(--wp--preset--spacing--50);
		font-size: clamp(4rem, 1rem + 8vw, 9rem);
		line-height: .82;
		letter-spacing: -0.045em;
		text-align: right;
	}

	.varnify-chair-section--stacked { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 0 var(--varnify-chair-gutter); align-items: start; }
	.varnify-chair-section--stacked > .varnify-chair-section-head {
		grid-column: 1;
		grid-row: 1 / span 3;
		position: sticky;
		top: calc(var(--varnify-chair-header-stuck) + var(--wp-admin--admin-bar--height, 0px) + var(--wp--preset--spacing--50));
		display: block;
		margin: 0;
	}
	.varnify-chair-section--stacked > .varnify-chair-section-head { container-type: inline-size; }
	/* A word to a line, each word inside the column (Syne's letters average
	   under .8 of the size; five letters fit at 23% of the width). */
	.varnify-chair-section--stacked > .varnify-chair-section-head > :is(h1, h2) { max-width: 4.2ch; font-size: min(var(--wp--preset--font-size--xx-large), 23cqi); line-height: .86; overflow-wrap: normal; }
	.varnify-chair-section--stacked > .varnify-chair-section-head > p { margin-top: var(--wp--preset--spacing--50); }
	.varnify-chair-section--stacked > :not(.varnify-chair-section-head) { grid-column: 2; margin-block-start: 0; }
	.varnify-chair-section--stacked > .varnify-chair-more { margin-top: var(--wp--preset--spacing--50); }
	/* Nine columns, not twelve: the tools' names a step smaller. */
	.varnify-chair-section--stacked .varnify-chair-tool__head :is(h2, h3, h4) { font-size: var(--wp--preset--font-size--large); }
	.varnify-chair-section--stacked .varnify-chair-tool-photo { width: clamp(92px, 8vw, 128px); }
}

/* "In the chair, and from the back" is crossed like the pairs under it:
   the front half on the left, the back half set on the right, its line
   under it there. "In their words" is lettered up the side of the
   reviews, the way a salon letters a line up the edge of a mirror. */
.varnify-chair-section--crossed > .varnify-chair-section-head { display: block; }
.varnify-chair-section--crossed > .varnify-chair-section-head > :is(h1, h2) { display: flex; flex-direction: column; }
.varnify-chair-section--crossed > .varnify-chair-section-head .varnify-chair-half + .varnify-chair-half { align-self: flex-end; text-align: right; }
.varnify-chair-section--crossed > .varnify-chair-section-head > p { margin: var(--wp--preset--spacing--40) 0 0 auto; text-align: right; }
@media (min-width: 861px) {
	.varnify-chair-section--crossed > .varnify-chair-section-head .varnify-chair-half + .varnify-chair-half { margin-top: -.06em; }
	.varnify-chair-section--spine { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(2rem, 5vw, 5rem); align-items: start; }
	.varnify-chair-section--spine > * { grid-column: 2; margin-block: 0; }
	.varnify-chair-section--spine > h2 {
		grid-column: 1;
		grid-row: 1 / span 4;
		align-self: stretch;
		margin: 0;
		writing-mode: vertical-rl;
		rotate: 180deg;
		text-align: end;
		font-size: clamp(3.5rem, 1rem + 5.4vw, 7rem);
		/* Upright, the line is the column's width: the font's own line
		   height, so any font's ascenders and descenders fit in it. */
		line-height: normal;
		white-space: nowrap;
	}
	.varnify-chair-section--spine > h2 + .varnify-chair-reviews-wrap, .varnify-chair-section--spine > h2 { margin-bottom: 0; }
	.varnify-chair-section--spine .varnify-chair-reviews__note { margin-top: 0; }
}

/* ==========================================================================
   The hero: the line on the wall, the mirror over the chair back, the shelf
   ========================================================================== */
.varnify-chair-hero { position: relative; padding-top: clamp(1rem, 0.2rem + 3vw, 3.5rem); overflow: clip; overflow-clip-margin: 24px; }
.varnify-chair-hero > * { margin-block: 0; }
.varnify-chair-hero__title { position: relative; z-index: 2; max-width: 9.5ch; margin: 0; padding-top: .05em; }
.varnify-chair-hero__wall { position: relative; z-index: 1; }
.varnify-chair-hero__wall > * { margin: 0; }
.varnify-chair-hero__caption {
	position: absolute;
	z-index: 3;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	color: var(--wp--preset--color--ink-2);
	text-align: right;
	max-width: 19ch;
}
.varnify-chair-hero__caption strong { color: var(--wp--preset--color--ink); font-weight: 700; }

/* Laptop and up: one composition, not a split. The line takes the width
   of its longest line (column one); the wall with the chair back and the
   mirror takes the rest and runs under the shelf. The mirror stands where
   the design puts it (--mr from the right edge) unless the line runs
   further: then it moves right, its rim just touching the end of the
   longest line, so no letter goes behind the glass, in any owner's line or
   font. The shelf runs across the foot of both. Heights follow the screen
   so the shelf and "Book a chair" are on the first screen from 1280x720. */
@media (min-width: 861px) {
	.varnify-chair-hero {
		--hero-h: clamp(480px, calc(100svh - 190px), 600px);
		--mr: 14cqw;
		--back-w: 31cqw;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: start;
		container-type: inline-size;
		min-height: calc(var(--hero-h) + 94px);
	}
	.varnify-chair-hero__title { grid-column: 1; grid-row: 1; width: max-content; min-width: min-content; }
	.varnify-chair-hero__wall {
		/* The tilted oval's rim reaches about a tenth of its width left of
		   the figure's box at the height of the last line. */
		--clear: calc(var(--w) * .1);
		--mright: min(var(--mr), calc(100% - var(--w) - var(--clear)));
		grid-column: 2;
		grid-row: 1;
		position: relative;
		z-index: 3;
		height: calc(var(--hero-h) + 40px);
		margin-bottom: calc(-40px);
		pointer-events: none;
	}
	.varnify-chair-hero__wall > * { pointer-events: auto; }
	.varnify-chair-hero .is-style-varnify-chair-chair-back,
	.varnify-chair-hero .is-style-varnify-chair-headrest { position: absolute; right: 0; top: 0; width: var(--back-w); height: var(--hero-h); }
	.varnify-chair-hero__wall,
	.varnify-chair-hero .varnify-chair-mirror--hero,
	.varnify-chair-hero__caption { --w: min(clamp(300px, 25vw, 372px), calc(var(--hero-h) * .62)); }
	.varnify-chair-hero .varnify-chair-mirror--hero {
		--handle: calc(var(--hero-h) - 4px - var(--w) * 1.31);
		position: absolute;
		right: var(--mright);
		top: 3%;
	}
	/* Left of the handle, and never on the paint. */
	.varnify-chair-hero__caption { right: max(calc(var(--mright) + var(--w) * .78), calc(var(--back-w) + 14px)); top: calc(var(--hero-h) - 100px); width: max-content; max-width: 28ch; }
	.varnify-chair-hero__title { min-height: var(--hero-h); }
	.varnify-chair-hero .varnify-chair-block--next-free { grid-column: 1 / -1; grid-row: 2; margin-top: -54px; position: relative; z-index: 4; }
}
@media (min-width: 861px) and (max-width: 1199px) {
	.varnify-chair-hero__wall,
	.varnify-chair-hero .varnify-chair-mirror--hero,
	.varnify-chair-hero__caption { --w: min(25vw, calc(var(--hero-h) * .62)); }
}
/* From 1200px the mirror is held further into the line: larger, leaning
   in, its rim at the end of "back" and the ends of the lines above, so the
   line and the mirror read as one piece. */
@media (min-width: 1200px) {
	.varnify-chair-hero:not(.varnify-chair-hero--desk) { --mr: 16.2cqw; --back-w: 34cqw; }
	.varnify-chair-hero:not(.varnify-chair-hero--desk) .varnify-chair-hero__wall,
	.varnify-chair-hero:not(.varnify-chair-hero--desk) .varnify-chair-mirror--hero,
	.varnify-chair-hero:not(.varnify-chair-hero--desk) .varnify-chair-hero__caption { --w: min(clamp(310px, 26vw, 388px), calc(var(--hero-h) * .64)); }
	.varnify-chair-hero:not(.varnify-chair-hero--desk) .varnify-chair-mirror--hero { --tilt: -9deg; top: 1.5%; }
	.varnify-chair-hero:not(.varnify-chair-hero--desk) .varnify-chair-hero__caption { right: max(calc(var(--mright) + var(--w) * .86), calc(var(--back-w) + 14px)); }
}
@media (min-width: 1600px) {
	.varnify-chair-hero { --mr: 12.4cqw; }
	.varnify-chair-hero:not(.varnify-chair-hero--desk) { --mr: 14.4cqw; }
}

@media (max-width: 860px) {
	.varnify-chair-hero { padding-top: 1rem; }
	.varnify-chair-hero__title { max-width: none; }
	.varnify-chair-hero__wall { height: 540px; margin-top: -0.6rem; }
	.varnify-chair-hero .is-style-varnify-chair-chair-back,
	.varnify-chair-hero .is-style-varnify-chair-headrest { position: absolute; right: 0; top: 46px; width: 64%; height: 368px; }
	.varnify-chair-hero .varnify-chair-mirror--hero { position: absolute; left: 17%; top: 22px; }
	.varnify-chair-hero__caption { right: 0; top: 426px; max-width: 18ch; }
}

@media (min-width: 600px) and (max-width: 860px) {
	.varnify-chair-hero .is-style-varnify-chair-chair-back,
	.varnify-chair-hero .is-style-varnify-chair-headrest { width: 340px; }
	.varnify-chair-hero .varnify-chair-mirror--hero { left: auto; right: 220px; }
}

/* A nail studio: the round desk mirror stands on the shelf in front of the
   hand rest in your paint, its glass over the end of the third line as the
   hand mirror is held over the last. The foot rests on the shelf's top
   edge: the figure's padding box is .9 of its width, so the foot's bottom
   is 1.04 widths plus the stem below the figure's top. */
@media (min-width: 861px) {
	.varnify-chair-hero--desk { --mr: 22cqw; --desk-w: min(clamp(270px, 24vw, 360px), calc(var(--hero-h) * .58)); --rest-h: calc(var(--hero-h) * .3); }
	.varnify-chair-hero--desk .varnify-chair-hero__wall,
	.varnify-chair-hero--desk .varnify-chair-mirror--hero {
		--w: var(--desk-w);
		--stem: calc(var(--w) * .34);
		--tilt: 0deg;
		top: calc(var(--hero-h) - 46px - var(--w) * 1.04 - var(--stem));
	}
	.varnify-chair-hero--desk .is-style-varnify-chair-hand-rest { position: absolute; right: 0; width: 38cqw; height: var(--rest-h); top: calc(var(--hero-h) - 48px - var(--rest-h)); }
	.varnify-chair-hero--desk .varnify-chair-hero__caption { right: 0; top: calc(var(--hero-h) - 48px - var(--rest-h) - 64px); }
}
@media (min-width: 861px) and (max-width: 1199px) {
	.varnify-chair-hero--desk { --mr: 18cqw; --desk-w: min(24vw, calc(var(--hero-h) * .5)); }
}
@media (max-width: 860px) {
	.varnify-chair-hero--desk .varnify-chair-hero__wall { height: 410px; }
	.varnify-chair-hero--desk .varnify-chair-mirror--hero { --w: 214px; --stem: 70px; --tilt: 0deg; left: 6%; top: calc(338px - 214px * 1.04 - 70px); }
	.varnify-chair-hero--desk .is-style-varnify-chair-hand-rest { position: absolute; right: 0; width: 62%; height: 124px; top: 216px; }
	.varnify-chair-hero--desk .varnify-chair-hero__caption { top: 356px; }
}
@media (min-width: 600px) and (max-width: 860px) {
	.varnify-chair-hero--desk .is-style-varnify-chair-hand-rest { width: 360px; }
	.varnify-chair-hero--desk .varnify-chair-mirror--hero { left: auto; right: 250px; }
}

/* ---- The shelf on the hero, and docked on phones ---- */
.varnify-chair-dock {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 18px 22px 18px 18px;
}
.varnify-chair-dock__next { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
/* "Next free cut and finish" sits on two short lines, so the shelf stays
   one row on a laptop. */
.varnify-chair-dock__next > .varnify-chair-quiet { max-width: 8.5em; line-height: 1.2; text-wrap: balance; }
.varnify-chair-dock__where { margin: 0 0 0 auto; text-align: right; font-size: var(--wp--preset--font-size--small); line-height: 1.45; }
.varnify-chair-chip {
	display: inline-flex;
	/* The time and the name share a baseline, and that one line sits in the
	   middle of the 44px target (align-content only acts on a wrapping line). */
	flex-wrap: wrap;
	align-items: baseline;
	align-content: center;
	gap: .45em;
	min-height: 44px;
	padding: .65em 1em;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--chrome-lo);
	color: var(--wp--preset--color--on-mirror);
	text-decoration: none;
	font-weight: 700;
	white-space: nowrap;
}
.varnify-chair-chip small { font-weight: 500; color: var(--wp--preset--color--on-mirror-2); font-size: .82em; }
.varnify-chair-chip:hover { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--chrome-hi); color: var(--wp--preset--color--on-mirror); }
.varnify-chair-chip:focus-visible { outline-color: var(--wp--preset--color--chrome-hi); }
.varnify-chair-shelf .varnify-chair-quiet { color: var(--wp--preset--color--on-mirror-2); }
.varnify-chair-shelf .varnify-chair-btn:focus-visible, .varnify-chair-shelf a:focus-visible { outline-color: var(--wp--preset--color--chrome-hi); }
.varnify-chair-dock-phone { display: none; }

/* The shelf stays one row, so Book a chair is on the first screen from
   1280x720: two next-free times fit beside it at every laptop width (the
   wide column stops at 1328px); a third would wrap the shelf to two rows. */
@media (min-width: 861px) {
	.varnify-chair-dock__next .varnify-chair-chip:nth-of-type(n + 3) { display: none; }
}

@media (max-width: 1060px) and (min-width: 861px) {
	.varnify-chair-dock { flex-wrap: wrap; }
	.varnify-chair-dock__where { margin-left: 0; text-align: left; }
}

@media (max-width: 860px) {
	.varnify-chair-dock { display: none; }
	.varnify-chair-dock-phone.varnify-chair-shelf {
		display: flex;
		align-items: center;
		gap: 12px;
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 30;
		padding: 12px 12px 12px 18px;
	}
	.varnify-chair-dock-phone__t { margin: 0 auto 0 0; line-height: 1.25; min-width: 0; }
	.varnify-chair-dock-phone__t b { display: block; font-size: 1.125rem; }
	.varnify-chair-dock-phone__t span { font-size: .8125rem; display: block; }
	.varnify-chair-dock-phone .varnify-chair-btn { min-height: 48px; flex: none; }
	body:has(.varnify-chair-dock-phone) { padding-bottom: 92px; }
	/* Scroll padding is read from the scroller (html), not from body. */
	html:has(.varnify-chair-dock-phone) { scroll-padding-bottom: 92px; }
}

/* ==========================================================================
   Pick a chair: the stations, one counter under the row
   ========================================================================== */
/* A real row of stations is not five identical cards: the mirrors differ in
   width and height and all stand on the one counter. Anyone free, the
   choice most clients want, is the biggest mirror in the row. */
.varnify-chair-stations {
	display: grid;
	grid-template-columns: 1.5fr;
	grid-auto-columns: 1fr;
	gap: 0 clamp(14px, 1.6vw, 26px);
	align-items: end;
}
.varnify-chair-station { grid-row: 1; }
.varnify-chair-station .varnify-chair-station-mirror { margin-inline: 7%; display: block; }
.varnify-chair-station--anyone .varnify-chair-station-mirror { --ratio: .86; margin-inline: 3% 5%; border-width: 7px; }
.varnify-chair-station:nth-child(4n + 2):not(.varnify-chair-station--anyone) .varnify-chair-station-mirror { --ratio: .62; margin-inline: 4%; }
.varnify-chair-station:nth-child(4n + 3):not(.varnify-chair-station--anyone) .varnify-chair-station-mirror { --ratio: .78; margin-inline: 12%; }
.varnify-chair-station:nth-child(4n):not(.varnify-chair-station--anyone) .varnify-chair-station-mirror { --ratio: .68; margin-inline: 6% 10%; }
.varnify-chair-station:nth-child(4n + 1):not(.varnify-chair-station--anyone) .varnify-chair-station-mirror { --ratio: .74; margin-inline: 10% 4%; }
.varnify-chair-station-shelf--anyone :is(h2, h3, h4) { font-size: var(--wp--preset--font-size--x-large); line-height: .95; }
.varnify-chair-stations > .varnify-chair-counter { grid-row: 2; grid-column: 1 / span var(--varnify-chair-n, 5); margin-top: -2px; }
/* Each shelf fills the row's height and ends with its Book link, so the
   links stand on one line however long each stylist's lines run. */
.varnify-chair-station-shelf { grid-row: 3; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 2px 0; }
.varnify-chair-station-shelf > :last-child { margin-top: auto; }
.varnify-chair-station-shelf > :is(h2, h3, h4, p) { align-self: stretch; }
.varnify-chair-station-shelf :is(h2, h3, h4) { font-size: var(--wp--preset--font-size--large); margin: 0; }
.varnify-chair-station-shelf :is(h2, h3, h4) a { color: inherit; text-decoration: none; }
.varnify-chair-station-shelf :is(h2, h3, h4) a:hover { text-decoration: underline; }
.varnify-chair-station-shelf--anyone :is(h2, h3, h4) { color: var(--varnify-chair-paint); }
.varnify-chair-station-shelf__what { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); margin: .3em 0 .7em; }
.varnify-chair-station-shelf__free { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; font-size: var(--wp--preset--font-size--small); margin: 0 0 .4em; }
.varnify-chair-station-shelf__free b { font-size: var(--wp--preset--font-size--base); }
/* A small team (one to three mirrors) stands at the left of a full-length
   counter, at the size a station mirror is in a row of five, not stretched
   across the room. */
@media (min-width: 861px) {
	.varnify-chair-stations.is-few { grid-template-columns: repeat(var(--varnify-chair-n), minmax(0, 250px)) 1fr; grid-auto-columns: auto; }
	.varnify-chair-stations.is-few:has(.varnify-chair-station--anyone) { grid-template-columns: minmax(0, 340px) repeat(calc(var(--varnify-chair-n) - 1), minmax(0, 250px)) 1fr; }
	.varnify-chair-stations.is-few > .varnify-chair-counter { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.varnify-chair-stations {
		grid-template-columns: 70%;
		grid-auto-columns: 56%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 6px;
		margin-right: calc(-1 * var(--varnify-chair-gutter));
		padding-right: var(--varnify-chair-gutter);
		scrollbar-width: none;
	}
	.varnify-chair-stations > * { scroll-snap-align: start; }
}
/* Below about 1100px a full row (four mirrors or more) gets too narrow for
   "Book with" and a name on one line: it scrolls sideways as on a phone,
   each mirror at a width it reads at. A small team still stands at the
   left of the counter. */
@media (min-width: 861px) and (max-width: 1100px) {
	.varnify-chair-stations:not(.is-few) {
		grid-template-columns: 34%;
		grid-auto-columns: 26%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 6px;
		margin-right: calc(-1 * var(--varnify-chair-gutter));
		padding-right: var(--varnify-chair-gutter);
		scrollbar-width: none;
	}
	.varnify-chair-stations:not(.is-few) > * { scroll-snap-align: start; }
}

/* ==========================================================================
   Front, then back: pairs of mirrors
   ========================================================================== */
.varnify-chair-pairs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60) var(--varnify-chair-gutter); align-items: start; }
.varnify-chair-pairs > * { margin: 0; }
.varnify-chair-pair { position: relative; }
.varnify-chair-pair .is-style-varnify-chair-station { width: 70%; margin: 0; }
.varnify-chair-pair .is-style-varnify-chair-hand-mirror { position: absolute; right: 0; margin: 0; }
.varnify-chair-pair__mirrors { position: relative; }
.varnify-chair-pair--lead { grid-column: 1 / span 7; }
.varnify-chair-pair--lead .is-style-varnify-chair-station { --ratio: .8; }
.varnify-chair-pair--lead .is-style-varnify-chair-hand-mirror { top: 26%; }
.varnify-chair-alcove { grid-column: 8 / span 5; align-self: center; padding-left: var(--wp--preset--spacing--50); }
.varnify-chair-alcove > * { margin-block: 0 1em; }
.varnify-chair-pair--small { grid-column: span 4; }
.varnify-chair-pair--small .is-style-varnify-chair-hand-mirror { top: 34%; }
.varnify-chair-pairs > .varnify-chair-pair--small:nth-child(odd) { margin-top: var(--wp--preset--spacing--70); }
.varnify-chair-pairs--three > .varnify-chair-pair--small:nth-child(odd) { margin-top: 0; }
.varnify-chair-pairs--three > .varnify-chair-pair--small:nth-child(even) { margin-top: var(--wp--preset--spacing--70); }
/* Two pairs: wider, the second set off to the right, not a gap. */
@media (min-width: 861px) {
	.varnify-chair-pairs--three:has(> .varnify-chair-pair--small:nth-child(2):last-child) > .varnify-chair-pair--small { grid-column: span 5; }
	.varnify-chair-pairs--three:has(> .varnify-chair-pair--small:nth-child(2):last-child) > .varnify-chair-pair--small:nth-child(2) { grid-column: 8 / span 5; }
}
.varnify-chair-pair__text { margin-top: var(--wp--preset--spacing--50); }
.varnify-chair-pair__text :is(h2, h3) { font-size: var(--wp--preset--font-size--large); margin: 0; }
/* The small hand mirror's handle hangs down past the station mirror into
   the title's line: the title wraps short of it rather than run under it. */
.varnify-chair-pair--small .varnify-chair-pair__text :is(h2, h3) { padding-right: calc(clamp(130px, 11vw, 168px) * .66); text-wrap: balance; }
.varnify-chair-pair__text > * { margin-block: 0; }
.varnify-chair-meta { display: flex; flex-wrap: wrap; gap: .3em 1.1em; margin: .7em 0 .2em; color: var(--wp--preset--color--ink-2); }
.varnify-chair-meta b { color: var(--wp--preset--color--ink); }
.varnify-chair-block--treatment-line .varnify-chair-actions { margin-top: .4em; }
.varnify-chair-note {
	display: flex;
	gap: .8em;
	align-items: flex-start;
	background: var(--wp--custom--paint-wash);
	border-radius: 8px;
	padding: 14px 16px;
	font-size: var(--wp--preset--font-size--small);
}
p.varnify-chair-note::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px currentColor;
	background: linear-gradient(currentColor, currentColor) 50% 5px / 2px 6px no-repeat, linear-gradient(currentColor, currentColor) 50% 12.5px / 2px 2px no-repeat;
}
.varnify-chair-note .varnify-chair-ic { margin-top: 1px; }

@media (max-width: 860px) {
	.varnify-chair-pair--lead, .varnify-chair-alcove, .varnify-chair-pair--small { grid-column: 1 / -1; }
	.varnify-chair-pairs > .varnify-chair-pair--small:nth-child(n) { margin-top: 0; }
	.varnify-chair-pair .is-style-varnify-chair-station { width: 72%; }
	.varnify-chair-pair .is-style-varnify-chair-hand-mirror { right: 3%; }
	.varnify-chair-pair--small .varnify-chair-pair__text :is(h2, h3) { padding-right: calc(128px * .62 + 3% + 28px); }
	/* The lead mirror's handle hangs below the station mirror, further on a
	   narrow phone (and 7% further while it swings in): the title starts
	   clear of it at every width from 320. 305px is where the handle ends
	   below the station's top, less the 0.666 of the width it sits within. */
	.varnify-chair-pair--lead { margin-bottom: max(var(--wp--preset--spacing--50), calc(305px - 66.6% - var(--wp--preset--spacing--60))); }
	.varnify-chair-alcove { padding: 0; }
}

/* ==========================================================================
   The price list: grouped by the tool
   ========================================================================== */
.varnify-chair-tools { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--70) var(--varnify-chair-gutter); }
.varnify-chair-tool { grid-column: span 6; }
.varnify-chair-tool__head { display: grid; grid-template-columns: auto 1fr; gap: var(--wp--preset--spacing--50); align-items: end; margin-bottom: var(--wp--preset--spacing--50); }
.varnify-chair-tool__head :is(h2, h3, h4) { font-size: var(--wp--preset--font-size--x-large); margin: 0; }
.varnify-chair-tool__head p { margin: .35em 0 0; color: var(--wp--preset--color--ink-2); font-size: var(--wp--preset--font-size--small); }
.varnify-chair-tool-photo { display: block; width: clamp(108px, 10vw, 150px); aspect-ratio: 1; position: relative; }
.varnify-chair-tool-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px; display: block; }
.varnify-chair-tool__head .varnify-chair-tool-photo::after {
	content: "";
	position: absolute;
	left: -14px;
	right: -14px;
	bottom: -9px;
	height: 9px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--wp--preset--color--chrome-hi), var(--wp--preset--color--chrome) 35%, var(--wp--preset--color--chrome-lo) 36%, var(--wp--preset--color--mirror) 40%);
}
.varnify-chair-treat { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.varnify-chair-treat__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px; padding: 12px 14px; margin-inline: -14px; border-radius: 8px; }
.varnify-chair-treat__row:hover { background: var(--wp--preset--color--plaster-deep); }
.varnify-chair-treat__name { font-weight: 700; font-size: var(--wp--preset--font-size--medium); line-height: 1.2; }
.varnify-chair-treat__name a { color: inherit; text-decoration: none; }
.varnify-chair-treat__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
/* The price sits on the name's first baseline (the row aligns on
   baselines): the two have different line heights, so top alignment left
   the price a few pixels low. */
.varnify-chair-treat__price { font-weight: 700; font-size: var(--wp--preset--font-size--medium); text-align: right; }
.varnify-chair-treat__detail { grid-column: 1 / -1; color: var(--wp--preset--color--ink-2); font-size: var(--wp--preset--font-size--small); }
.varnify-chair-treat__desc::before { content: "· "; }
.varnify-chair-treat__who { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); }
.varnify-chair-treat__who b { color: var(--wp--preset--color--ink); }

/* The prices page: the tools on the shelf as the index */
.varnify-chair-prices-hero { padding-top: var(--wp--preset--spacing--60); }
.varnify-chair-prices-hero > * { margin-block: 0; }
.varnify-chair-prices-hero .varnify-chair-lede { margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--70); }
.varnify-chair-tool-shelf { display: grid; grid-template-columns: repeat(var(--varnify-chair-tools, 4), minmax(0, 1fr)); gap: var(--varnify-chair-gutter); align-items: end; padding: 0 var(--wp--preset--spacing--60); }
.varnify-chair-tool-shelf a { display: grid; justify-items: center; color: var(--wp--preset--color--ink); text-decoration: none; font: 800 var(--wp--preset--font-size--medium)/1.1 var(--varnify-chair-heading); letter-spacing: -0.02em; text-align: center; }
.varnify-chair-tool-shelf a > span:first-child { padding-bottom: 14px; }
.varnify-chair-tool-shelf a:hover > span:first-child { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.varnify-chair-tool-shelf .varnify-chair-tool-photo { width: clamp(76px, 13vw, 190px); }
.varnify-chair-counter--tall { height: 18px; }
.varnify-chair-price-groups { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--80) var(--varnify-chair-gutter); margin-top: var(--wp--preset--spacing--80); }
.varnify-chair-price-group { grid-column: span 6; }
/* Side by side, the tools start on one line, not staggered. */
.varnify-chair-price-groups { align-items: start; }
.varnify-chair-price-group h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 .2em; }
.varnify-chair-price-group > p { color: var(--wp--preset--color--ink-2); margin: 0 0 var(--wp--preset--spacing--50); }
.varnify-chair-rules { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60) var(--varnify-chair-gutter); }
.varnify-chair-rules > * { margin: 0; }
.varnify-chair-rules > h2 { grid-column: 1 / -1; }
.varnify-chair-rule { grid-column: span 4; }
.varnify-chair-rule h3 { font-size: var(--wp--preset--font-size--large); margin: 0 0 .5em; }

@media (max-width: 860px) {
	.varnify-chair-tool, .varnify-chair-tool:nth-child(n), .varnify-chair-price-group, .varnify-chair-price-group:nth-child(n), .varnify-chair-rule { grid-column: 1 / -1; margin-top: 0; }
	.varnify-chair-tool-shelf { padding: 0 4px; gap: 10px; }
	.varnify-chair-tool-shelf a { font-size: .8125rem; }
	.varnify-chair-tool-shelf a > span:first-child { padding-bottom: 8px; }
}

/* Four columns are too narrow for four names on a phone: the labels and the
   next photograph lay over each other and took the tap. Two by two instead. */
@media (max-width: 600px) {
	.varnify-chair-tool-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
}

/* ---- The terrazzo counter: the desk a price list sits on ----
   A polished slab: a pale stone ground scattered with chips of ink, grey,
   pink plaster and white, drawn as dots of five sizes on grids of
   different steps so they never line up. A bright arris on the front edge
   and a shadow under it. No paint: colour stays in the chair back. */
hr.wp-block-separator.is-style-varnify-chair-terrazzo,
hr.wp-block-separator.is-style-varnify-chair-terrazzo:not(.is-style-wide):not(.is-style-dots) {
	display: block;
	height: clamp(40px, 4.4vw, 64px);
	width: 100%;
	max-width: none;
	margin-inline: 0;
	border: 0;
	border-radius: 6px;
	opacity: 1;
	background-color: color-mix(in oklab, var(--wp--preset--color--plaster) 72%, #d8d2cc);
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, .75) 0 2px, rgba(255, 255, 255, .18) 2px 9px, transparent 9px calc(100% - 7px), rgba(31, 18, 24, .16) calc(100% - 7px)),
		radial-gradient(circle at 12% 30%, var(--wp--preset--color--ink) 0 3.6px, transparent 4.1px),
		radial-gradient(circle at 63% 72%, var(--wp--preset--color--ink) 0 2.4px, transparent 2.9px),
		radial-gradient(circle at 88% 18%, var(--wp--preset--color--ink) 0 3.0px, transparent 3.5px),
		radial-gradient(circle at 28% 64%, var(--wp--preset--color--ink-2) 0 5.4px, transparent 5.9px),
		radial-gradient(circle at 77% 35%, var(--wp--preset--color--ink-2) 0 3.9px, transparent 4.4px),
		radial-gradient(circle at 8% 80%, color-mix(in oklab, var(--wp--preset--color--plaster-deep) 70%, var(--wp--preset--color--ink-2)) 0 4.5px, transparent 5.0px),
		radial-gradient(circle at 45% 22%, color-mix(in oklab, var(--wp--preset--color--plaster-deep) 70%, var(--wp--preset--color--ink-2)) 0 6.3px, transparent 6.8px),
		radial-gradient(circle at 83% 61%, color-mix(in oklab, var(--wp--preset--color--plaster-deep) 70%, var(--wp--preset--color--ink-2)) 0 3.6px, transparent 4.1px),
		radial-gradient(circle at 33% 12%, #fbf8f7 0 4.2px, transparent 4.7px),
		radial-gradient(circle at 58% 88%, #fbf8f7 0 3.0px, transparent 3.5px),
		radial-gradient(circle at 92% 47%, #fbf8f7 0 4.8px, transparent 5.3px),
		radial-gradient(circle at 18% 52%, color-mix(in oklab, var(--wp--preset--color--ink) 40%, var(--wp--preset--color--plaster)) 0 2.1px, transparent 2.6px),
		radial-gradient(circle at 51% 9%, color-mix(in oklab, var(--wp--preset--color--ink) 40%, var(--wp--preset--color--plaster)) 0 1.8px, transparent 2.3px),
		radial-gradient(circle at 71% 43%, color-mix(in oklab, var(--wp--preset--color--ink) 40%, var(--wp--preset--color--plaster)) 0 2.4px, transparent 2.9px),
		radial-gradient(circle at 96% 84%, color-mix(in oklab, var(--wp--preset--color--ink) 40%, var(--wp--preset--color--plaster)) 0 2.0px, transparent 2.5px);
	background-size: 100% 100%, 131px 83px, 131px 83px, 131px 83px, 173px 97px, 173px 97px, 151px 89px, 151px 89px, 151px 89px, 113px 71px, 113px 71px, 113px 71px, 89px 57px, 89px 57px, 89px 57px, 89px 57px;
	background-position: 0 0, 7px 3px, 7px 3px, 7px 3px, 41px 13px, 41px 13px, 19px 31px, 19px 31px, 19px 31px, 53px 23px, 53px 23px, 53px 23px, 11px 37px, 11px 37px, 11px 37px, 11px 37px;
	box-shadow: 0 14px 18px -14px rgba(31, 18, 24, .45);
}

/* ==========================================================================
   Reviews: examples, marked
   ========================================================================== */
.varnify-chair-reviews__note { color: var(--wp--preset--color--ink-2); max-width: 38ch; margin: -0.5em 0 var(--wp--preset--spacing--60); }
.varnify-chair-section > h2 + .varnify-chair-reviews-wrap, .varnify-chair-section > h2 { margin-bottom: var(--wp--preset--spacing--50); }
.varnify-chair-reviews { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60) var(--varnify-chair-gutter); align-items: start; }
.varnify-chair-review { margin: 0; }
.varnify-chair-review blockquote { margin: 0; padding: 0; border: 0; font: 600 var(--wp--preset--font-size--large)/1.18 var(--varnify-chair-heading); letter-spacing: -0.02em; }
.varnify-chair-review blockquote p { margin: 0; }
.varnify-chair-review figcaption { margin-top: .9em; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); }
.varnify-chair-review figcaption b { color: var(--wp--preset--color--ink); }
.varnify-chair-review--a { grid-column: 1 / span 7; }
.varnify-chair-review--a blockquote { font-size: var(--wp--preset--font-size--x-large); }
.varnify-chair-review--b { grid-column: 9 / span 4; margin-top: var(--wp--preset--spacing--70); }
.varnify-chair-review--c { grid-column: 3 / span 5; }
@media (max-width: 860px) { .varnify-chair-review--a, .varnify-chair-review--b, .varnify-chair-review--c { grid-column: 1 / -1; margin-top: 0; } }

/* ==========================================================================
   Find us
   ========================================================================== */
/* The address is the wall: very large type across the section. The room,
   in a hand mirror hung on a cord from a chrome peg, hangs over the end of
   it, and the hours card is tucked into the mirror's frame the way a salon
   props its hours against the glass. One cell, three layers; the words
   and buttons follow under the type. On phones the same pieces stack, the
   card still overlapping the mirror, the mirror the last line. */
.varnify-chair-findus { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--varnify-chair-gutter); align-items: start; }
.varnify-chair-findus > * { margin: 0; }
.varnify-chair-findus > .varnify-chair-block--find-us { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1; }
.varnify-chair-findus > .is-style-varnify-chair-hand-mirror { grid-column: 8 / span 5; grid-row: 1; justify-self: center; margin-bottom: calc(var(--handle, 180px) + 24px); }
.varnify-chair-section .varnify-chair-find-us__title { font-size: clamp(3.25rem, 0.6rem + 9.3vw, 8.6rem); line-height: .84; letter-spacing: -0.035em; margin: 0; max-width: 84%; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
/* Laptops: the address as large as it goes while its longest word (--len,
   from the page) still ends before the hung mirror, about two thirds of
   the way across; an average letter of Syne is under .78 of its size. A wide
   owner's font can still hyphenate as a last resort. */
@media (min-width: 861px) {
	.varnify-chair-findus > .varnify-chair-block--find-us { container-type: inline-size; }
	.varnify-chair-section .varnify-chair-find-us__title { max-width: 66cqi; font-size: min(clamp(3.25rem, 0.6rem + 9.3vw, 8.6rem), calc(66cqi / (var(--len, 8) * .78))); }
}
.varnify-chair-block--find-us .varnify-chair-lede { margin-top: 1.1em; max-width: 30rem; }
.varnify-chair-block--find-us .varnify-chair-actions { max-width: 36rem; }

.varnify-chair-findus__stand {
	grid-column: 8 / -1;
	grid-row: 1;
	position: relative;
	z-index: 2;
	justify-self: end;
	margin-right: 6%;
	padding-top: clamp(4rem, 7vw, 7rem);
	pointer-events: none;
}
.varnify-chair-findus__stand > * { margin: 0; pointer-events: auto; }
/* The peg, and the cord it hangs from, meeting the top of the frame. */
.varnify-chair-findus__stand::before,
.varnify-chair-findus__stand::after {
	content: "";
	position: absolute;
	left: calc(50% - 1px);
}
.varnify-chair-findus__stand::before {
	top: 10px;
	width: 2px;
	height: calc(clamp(4rem, 7vw, 7rem) - 4px);
	background: linear-gradient(90deg, var(--wp--preset--color--mirror-2), var(--wp--preset--color--ink-2));
	transform-origin: 50% 0;
	rotate: 4deg;
}
.varnify-chair-findus__stand::after {
	top: 0;
	left: calc(50% - 9px);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, var(--wp--preset--color--chrome-hi), var(--wp--preset--color--chrome) 45%, var(--wp--preset--color--chrome-lo));
	box-shadow: 0 4px 6px -2px rgba(31, 18, 24, .45);
}
.varnify-chair-findus__stand .varnify-chair-mirror--room { --w: clamp(250px, 24vw, 370px); --handle: calc(var(--w) * .62); --tilt: -4deg; margin-bottom: var(--handle); }
.varnify-chair-findus__stand .varnify-chair-block--hours { position: absolute; z-index: 3; left: calc(-1 * clamp(5rem, 9vw, 9rem)); bottom: calc(var(--handle, 160px) * .1); width: clamp(13.5rem, 15vw, 16.5rem); }
.varnify-chair-findus__stand .varnify-chair-hours-card { rotate: -5deg; }
/* Laptops: the section ends with the mirror's glass, near the buttons, and
   the handle and the card tucked against it hang on below, the way a
   mirror hangs from its peg, so there is no tall empty wall under the
   buttons. The words and buttons keep to the left of the card. */
@media (min-width: 861px) {
	.varnify-chair-findus__stand .varnify-chair-mirror--room { margin-bottom: 0; }
	.varnify-chair-findus__stand .varnify-chair-block--hours { bottom: calc(var(--handle, 160px) * -.9); }
	.varnify-chair-block--find-us .varnify-chair-lede { max-width: min(30rem, 50cqi); }
	.varnify-chair-block--find-us .varnify-chair-actions { max-width: min(36rem, 52cqi); }
}

.varnify-chair-hours-card {
	position: relative;
	padding: 1.15rem 1.25rem 1.25rem;
	background: var(--wp--preset--color--plaster-lift);
	color: var(--wp--preset--color--ink);
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(31, 18, 24, .08), 0 18px 24px -18px rgba(31, 18, 24, .55);
	rotate: -2.5deg;
	transform-origin: 30% 100%;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
}
.varnify-chair-hours-card > * { margin: 0; }
.varnify-chair-hours-card__title { font: 800 var(--wp--preset--font-size--medium)/1.05 var(--varnify-chair-heading); letter-spacing: -0.02em; }
.varnify-chair-hours-card__now { display: flex; align-items: baseline; gap: .5em; margin-top: .35rem; font-weight: 700; }
.varnify-chair-hours-card__now::before { content: ""; flex: none; width: .6em; height: .6em; border-radius: 50%; background: var(--varnify-chair-paint); translate: 0 -.05em; }
.varnify-chair-hours-card ul { list-style: none; margin: .8rem 0 0; padding: .8rem 0 0; border-top: 1.5px solid var(--wp--preset--color--ink); display: grid; gap: .35rem; }
.varnify-chair-hours-card li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5em; }
/* The card is tilted, and a day at the left with its time far off at the
   right read as half a row apart: a dotted leader, as on a shop door's
   hours, runs along the tilt from one to the other. */
.varnify-chair-hours-card__dots { flex: 1 1 1.5em; align-self: baseline; height: 0; border-bottom: 1.5px dotted currentColor; opacity: .35; }
.varnify-chair-hours-card li > span { margin-left: auto; }
.varnify-chair-hours-card li b { font-weight: 700; }
.varnify-chair-hours-card li.is-today b { box-shadow: inset 0 -.32em 0 var(--wp--custom--paint-wash); }
.varnify-chair-hours-card li.is-closed { color: var(--wp--preset--color--ink-2); }
.varnify-chair-hours { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px clamp(14px, 3vw, 28px); max-width: 26rem; margin: var(--wp--preset--spacing--50) 0; }
.varnify-chair-hours dt, .varnify-chair-hours dd { margin: 0; }
.varnify-chair-hours .is-today { font-weight: 800; }
.varnify-chair-hours .is-closed { color: var(--wp--preset--color--ink-2); }
@media (max-width: 860px) {
	/* The address, then the mirror hung under it with the card tucked in
	   front, then the words and buttons. */
	.varnify-chair-findus > .varnify-chair-block--find-us { display: contents; }
	.varnify-chair-findus > * , .varnify-chair-findus > .varnify-chair-block--find-us > * { grid-column: 1 / -1; }
	.varnify-chair-section .varnify-chair-find-us__title { grid-row: 1; max-width: none; font-size: clamp(2.4rem, 12.2vw, 6.4rem); position: relative; z-index: 1; }
	.varnify-chair-findus__stand { grid-row: 2; justify-self: stretch; margin: -.9rem 0 0; padding-top: 3rem; display: flex; justify-content: flex-end; padding-right: 6%; }
	.varnify-chair-findus__stand::before, .varnify-chair-findus__stand::after { left: auto; right: calc(6% + var(--w-room) / 2 - 1px); }
	.varnify-chair-findus__stand::after { right: calc(6% + var(--w-room) / 2 - 9px); }
	.varnify-chair-findus__stand::before { height: calc(3rem - 4px); }
	.varnify-chair-findus__stand { --w-room: clamp(150px, 44vw, 230px); }
	.varnify-chair-findus__stand .varnify-chair-mirror--room { --w: var(--w-room); --handle: 64px; }
	/* The card's right edge tucked under the mirror's left rim. */
	.varnify-chair-findus__stand .varnify-chair-block--hours { left: auto; right: calc(6% + var(--w-room) - 2.75rem); bottom: 1.25rem; width: min(13.25rem, 50vw); }
	.varnify-chair-block--find-us > .varnify-chair-lede { grid-row: 3; margin-top: 1.2rem; }
	.varnify-chair-block--find-us > .varnify-chair-actions { grid-row: 4; }
	.varnify-chair-block--find-us > .varnify-chair-hours, .varnify-chair-block--find-us > .varnify-chair-owner-note { grid-row: 5; }
	.varnify-chair-hours-card { padding: .9rem 1rem 1rem; }
}
}

/* ==========================================================================
   The footer
   ========================================================================== */
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0; }
.varnify-chair-footer {
	width: min(100% - 2 * var(--varnify-chair-gutter), var(--varnify-chair-wide));
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.varnify-chair-footer > .is-style-varnify-chair-counter { margin: 0 0 var(--wp--preset--spacing--60); }
/* Wordmark over the links on the left; the hours level with them in the
   middle; the small print at the foot of the right-hand column. */
.varnify-chair-footer__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mark hours" "links hours" "legal legal"; gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--70); align-items: end; }
.varnify-chair-footer__row > .varnify-chair-wordmark { grid-area: mark; }
.varnify-chair-footer__row > .varnify-chair-block--footer-links { grid-area: links; }
.varnify-chair-footer__row > .varnify-chair-block--hours { grid-area: hours; align-self: end; }
.varnify-chair-footer__row > .varnify-chair-block--legal { grid-area: legal; margin-top: var(--wp--preset--spacing--30); }
@media (max-width: 860px) {
	.varnify-chair-footer__row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mark" "links" "hours" "legal"; }
}
/* The hours as a door card writes them: days left, times lined up right. */
.varnify-chair-hours-short__label { margin: 0 0 6px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); }
.varnify-chair-hours-short { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 1.5em; margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
.varnify-chair-hours-short dt { font-weight: 600; }
.varnify-chair-hours-short__today { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.varnify-chair-hours-short dd { margin: 0; font-variant-numeric: tabular-nums; }
.varnify-chair-footer__row > * { margin: 0; }
.varnify-chair-footer .varnify-chair-wordmark { font-size: var(--wp--preset--font-size--x-large); margin: 0; }
.varnify-chair-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--wp--preset--spacing--50); font-weight: 600; }
.varnify-chair-footer-links a { color: var(--wp--preset--color--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.varnify-chair-footer-links a:hover { text-decoration: underline; }
.varnify-chair-footer .varnify-chair-block--hours p { margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.6; }
.varnify-chair-footer .varnify-chair-legal-wrap, .varnify-chair-footer .varnify-chair-legal { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); }
.varnify-chair-legal a { color: var(--wp--preset--color--ink); margin-left: 1em; display: inline-flex; min-height: 44px; align-items: center; }


/* ==========================================================================
   A stylist's page: their station
   ========================================================================== */
.varnify-chair-stylist-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60) var(--varnify-chair-gutter); align-items: end; padding-top: var(--wp--preset--spacing--60); }
.varnify-chair-stylist-hero__name { grid-column: 1 / span 7; align-self: start; min-width: 0; container-type: inline-size; }
/* The name as large as it goes, but never broken: the longest word's
   length (--len, from the page) sets a ceiling so it fits its column.
   A wide owner's font can still wrap as a last resort. */
.varnify-chair-stylist-hero__name h1 { font-size: min(var(--wp--preset--font-size--name), calc(100cqi / (var(--len, 3) * 1.08))); line-height: .8; letter-spacing: -0.05em; margin: 0; overflow-wrap: break-word; }
.varnify-chair-stylist-hero__role { font: 700 var(--wp--preset--font-size--large)/1.15 var(--varnify-chair-heading); letter-spacing: -0.02em; margin: .6em 0 .5em; max-width: 22ch; }
.varnify-chair-stylist-hero__station { grid-column: 8 / span 5; grid-row: 1 / span 2; position: relative; padding-bottom: 40px; }
.varnify-chair-stylist-hero__station .varnify-chair-station-mirror { --ratio: .74; width: 82%; }
.varnify-chair-stylist-hero__station .varnify-chair-hand-mirror { position: absolute; right: 0; bottom: 60px; --tilt: 9deg; }
.varnify-chair-stylist-hero__station .varnify-chair-counter { width: 100%; margin-top: 0; }
.varnify-chair-stylist-hero__shelf { grid-column: 1 / span 7; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.varnify-chair-stylist-hero__shelf > .varnify-chair-quiet:first-child { width: 100%; font-size: var(--wp--preset--font-size--small); }
.varnify-chair-stylist-hero__shelf .varnify-chair-btn { margin-left: auto; }
.varnify-chair-week { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 var(--wp--preset--spacing--50); padding: 0; list-style: none; font-size: var(--wp--preset--font-size--small); }
.varnify-chair-week li { padding: 8px 12px; border-radius: 8px; background: var(--wp--preset--color--plaster-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.varnify-chair-week li.is-off { background: transparent; color: var(--wp--preset--color--ink-2); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--plaster-deep); font-weight: 500; }
.varnify-chair-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60) var(--varnify-chair-gutter); }
.varnify-chair-split > * { margin: 0; }
.varnify-chair-split__words { grid-column: 1 / span 5; }
.varnify-chair-split__prices { grid-column: 7 / span 6; }
.varnify-chair-split h2 { margin: 0 0 var(--wp--preset--spacing--50); }
.varnify-chair-words .wp-block-post-excerpt__excerpt { font: 600 var(--wp--preset--font-size--large)/1.2 var(--varnify-chair-heading); letter-spacing: -0.02em; margin: 0; }
.varnify-chair-stylist-content { padding-top: var(--wp--preset--spacing--60); }
@media (max-width: 860px) {
	.varnify-chair-stylist-hero__name, .varnify-chair-stylist-hero__station, .varnify-chair-stylist-hero__shelf, .varnify-chair-split__words, .varnify-chair-split__prices { grid-column: 1 / -1; grid-row: auto; }
	.varnify-chair-stylist-hero__station .varnify-chair-station-mirror { width: 76%; }
	.varnify-chair-stylist-hero__station .varnify-chair-hand-mirror { bottom: 50px; }
	.varnify-chair-stylist-hero__shelf { padding: 16px; }
}

/* ==========================================================================
   A treatment's page
   ========================================================================== */
.varnify-chair-treatment { padding-top: var(--wp--preset--spacing--60); }
.varnify-chair-treatment > * { margin-block: 0 .6em; }
.varnify-chair-treatment-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60) var(--varnify-chair-gutter); align-items: start; margin-top: var(--wp--preset--spacing--50); }
.varnify-chair-treatment-page__mirror { grid-column: 1 / span 4; justify-self: center; padding-bottom: 80px; }
/* The figures are sized from the column they sit in (a container query), the
   row wraps, and a figure may break, so the price fits at any width and in
   any owner heading font, wide or narrow. */
.varnify-chair-treatment-page__facts { grid-column: 6 / span 7; min-width: 0; container-type: inline-size; }
.varnify-chair-facts { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60); margin: 0 0 var(--wp--preset--spacing--50); }
.varnify-chair-facts > div { min-width: 0; max-width: 100%; }
.varnify-chair-facts dt { color: var(--wp--preset--color--ink-2); font-size: var(--wp--preset--font-size--small); }
.varnify-chair-facts dd { margin: 0; font: 800 clamp(1.75rem, 7cqi, var(--wp--preset--font-size--x-large))/1.05 var(--varnify-chair-heading); letter-spacing: -0.03em; white-space: normal; overflow-wrap: anywhere; }
.varnify-chair-who__title { font-size: var(--wp--preset--font-size--large); margin: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--40); }
.varnify-chair-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.varnify-chair-who li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto auto; gap: 4px 16px; align-items: center; padding: 10px 14px 10px 10px; background: var(--wp--preset--color--plaster-lift); border-radius: 12px; }
.varnify-chair-who__photo img { width: 50px; height: 64px; object-fit: cover; border-radius: 50% 50% 4px 4px / 33% 33% 4px 4px; display: block; }
.varnify-chair-who__name b { display: block; font-size: var(--wp--preset--font-size--medium); }
.varnify-chair-who__name span { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); }
.varnify-chair-who__price { font-weight: 700; font-size: var(--wp--preset--font-size--medium); }
@media (max-width: 860px) {
	.varnify-chair-treatment-page__mirror, .varnify-chair-treatment-page__facts { grid-column: 1 / -1; }
	.varnify-chair-who li { grid-template-columns: 50px minmax(0, 1fr) auto; }
	.varnify-chair-who li .varnify-chair-link { grid-column: 2 / -1; }
}

/* ---- Crumbs, search, 404, plain pages ---- */
.varnify-chair-crumbs { display: flex; gap: .5em; flex-wrap: wrap; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); }
.varnify-chair-crumbs a { color: var(--wp--preset--color--ink); font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.varnify-chair-search-form { display: flex; gap: 8px; max-width: 34rem; margin: var(--wp--preset--spacing--50) 0; }
.varnify-chair-search-form input { box-sizing: border-box; flex: 1; min-width: 0; font: inherit; min-height: 52px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--wp--preset--color--ink-2); background: #fff; color: var(--wp--preset--color--ink); }
.varnify-chair-search-form .varnify-chair-btn { min-height: 52px; }
.varnify-chair-result-group h2 { font-size: var(--wp--preset--font-size--large); margin: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--40); }
.varnify-chair-nothing { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60) var(--varnify-chair-gutter); align-items: center; padding-top: var(--wp--preset--spacing--60); }
.varnify-chair-nothing > * { margin: 0; }
.varnify-chair-nothing__text { grid-column: 1 / span 7; }
.varnify-chair-nothing__text > * { margin-block: 0 var(--wp--preset--spacing--40); }
.varnify-chair-empty-mirror { grid-column: 9 / span 4; justify-self: center; }
@media (max-width: 860px) { .varnify-chair-nothing__text, .varnify-chair-empty-mirror { grid-column: 1 / -1; } }
.varnify-chair-main--page, .varnify-chair-main--post, .varnify-chair-main--index { padding-top: var(--wp--preset--spacing--60); }
.varnify-chair-main--page .wp-block-post-title, .varnify-chair-main--post .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--50); }
.wp-block-post-content a:not(.wp-element-button) { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ==========================================================================
   Motion. CSS only, all inside no-preference: nothing moves otherwise.
   ========================================================================== */
/* The mirror is lifted and tilted up into place once, as a client lifts
   the hand mirror to show the back. No fade: the photograph is painted
   from the first frame (it is the page's largest paint), and a mirror
   half see-through over the line reads as a glitch. */
@keyframes varnify-chair-mirror-up {
	from { rotate: calc(var(--tilt, -8deg) - 12deg); translate: 0 7%; }
	to { rotate: var(--tilt, -8deg); translate: 0 0; }
}
@keyframes varnify-chair-reflection {
	from { object-position: 50% 26%; scale: 1.08; }
	to { object-position: var(--focus, 50% 40%); scale: 1; }
}
@keyframes varnify-chair-step-tilt {
	from { rotate: calc(var(--tilt, -8deg) - 10deg); }
	to { rotate: var(--tilt, -8deg); }
}
@keyframes varnify-chair-step-ring {
	from { box-shadow: 0 0 0 3px var(--wp--preset--color--plaster-lift), 0 0 0 3px var(--varnify-chair-paint); }
	to { box-shadow: 0 0 0 3px var(--wp--preset--color--plaster-lift), 0 0 0 6px var(--varnify-chair-paint); }
}
@keyframes varnify-chair-step-fill {
	from { clip-path: circle(0% at 50% 60%); }
	to { clip-path: circle(75% at 50% 50%); }
}
@media (prefers-reduced-motion: no-preference) {
	.varnify-chair-hero .varnify-chair-mirror--hero { animation: varnify-chair-mirror-up 900ms var(--varnify-chair-ease) 150ms both; }
	.varnify-chair-hero .varnify-chair-mirror--hero img { animation: varnify-chair-reflection 1400ms var(--varnify-chair-ease) 150ms both; }
	@supports (animation-timeline: view()) {
		.varnify-chair-pair .is-style-varnify-chair-hand-mirror { animation: varnify-chair-mirror-up linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
		.varnify-chair-pair .is-style-varnify-chair-hand-mirror img { animation: varnify-chair-reflection linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
	}
	/* As you book: the step you just finished fills with its photograph,
	   the next one rings in your paint. Transforms and clip only, so
	   nothing moves the layout. */
	.varnify-chair-step-mirror.is-filling .varnify-chair-glass img { animation: varnify-chair-step-fill 520ms var(--varnify-chair-ease) both; }
	.varnify-chair-step-mirror.is-filling .varnify-chair-hand-mirror { animation: varnify-chair-step-tilt 520ms var(--varnify-chair-ease) both; }
	.varnify-chair-step-mirror.is-arriving .varnify-chair-hand-mirror { animation: varnify-chair-step-ring 360ms var(--varnify-chair-ease) 120ms both; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* The booking flow's own styles are in assets/css/varnify-chair-booking.css,
   loaded only where the booking block is (and in the editor). */
