/*
Theme Name: Callout
Theme URI: https://varnify.com/themes/callout/
Author: Varnify
Author URI: https://varnify.com/
Description: A block theme for emergency trades: plumbers, heating engineers, electricians, drainage engineers and locksmiths, in the UK, the US, Canada, Australia and New Zealand. The whole site is drawn from the service label an engineer leaves on the boiler or the fuse board: white stock, one band of your colour, your number as the biggest thing on the screen. Services are labels stuck on photographs of the work, the quote form is a fresh label to tick, and a Call and WhatsApp bar sits under the thumb on every page. Enquiries are kept as records with photos, the number follows your hours, and a setup wizard fills the site in for your trade and your country. One guarded colour choice, any font, no locked sections, 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/callout/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: varnify-callout
Tags: one-column, two-columns, block-patterns, block-styles, full-site-editing, custom-colors, custom-menu, editor-style, style-variations, accessibility-ready
*/

/* ---------------------------------------------------------------------------
   Callout: the service label.

   One object draws the whole site: the label an engineer leaves on the
   boiler, the fuse board, the drain or the door frame. White stock with a
   printed graphite border, one band of the firm's colour across the top, the
   number, written fields and ticked boxes. The page is a light ground
   (#F8F8F8) with three surfaces laid across it as sections, each a block
   style on the Group block that an owner can add or take off in the Site
   Editor: Concrete, Graphite and Pegboard (see "surfaces" below). Colour
   lives only in label bands and the call button.

   Every colour is a variable. The band is the owner's one choice ("Your
   colour" in Styles, or Appearance, Colour and type); its lettering and edge
   are worked out by inc/class-varnify-callout-band.php, which also prints a
   passing shade over a colour that cannot be lettered. Everything else is
   derived here with color-mix().

   Type is Saira (width 50 to 125, true italic) through two variables that
   follow whatever the owner sets for Headings and Text in Styles,
   Typography (inc/class-varnify-callout-fonts.php).

   Classes are prefixed varnify-callout-.
   --------------------------------------------------------------------------- */

:root {
	--varnify-callout-ground:   var(--wp--preset--color--ground, #F8F8F8);
	--varnify-callout-stock:    var(--wp--preset--color--label, #FFFFFF);
	--varnify-callout-ink:      var(--wp--preset--color--ink, #1C1E20);
	--varnify-callout-ink-2:    var(--wp--preset--color--ink-2, #4A4E51);
	--varnify-callout-graphite: var(--wp--preset--color--graphite, #2B2E30);
	--varnify-callout-roll-bg:  var(--wp--preset--color--roll, #232527);
	--varnify-callout-colour:   var(--varnify-callout-band, var(--wp--preset--color--accent, #E8BD2A));
	--varnify-callout-lettering: var(--varnify-callout-on-band, #1C1E20);
	--varnify-callout-rule:     var(--varnify-callout-edge, #2B2E30);

	/* Derived, never chosen. */
	--varnify-callout-pressed:  color-mix(in oklch, var(--varnify-callout-colour) 86%, #000);
	--varnify-callout-tint:     color-mix(in srgb, var(--varnify-callout-colour) 14%, #fff);
	--varnify-callout-hair:     color-mix(in srgb, var(--varnify-callout-graphite) 38%, transparent);
	--varnify-callout-on-roll:  #F1F1EE;

	/* What a label is stuck on. The ground, unless a surface says otherwise:
	   the peeling corner shows it. */
	--varnify-callout-surface:  var(--varnify-callout-ground);
	/* The edge of a surface where it meets the ground. */
	--varnify-callout-seam:     rgba(43, 46, 48, .14);

	--varnify-callout-heading:  var(--varnify-callout-font-heading, var(--wp--preset--font-family--saira, Saira, sans-serif));
	--varnify-callout-text:     var(--varnify-callout-font-text, var(--wp--preset--font-family--saira, Saira, sans-serif));

	--varnify-callout-max:      1344px;
	--varnify-callout-gutter:   clamp(16px, 3.4vw, 48px);
	--varnify-callout-section:  clamp(48px, 7vw, 104px);
	/* From the edge of the window to the edge of the content: a full-width
	   surface pads by this so what is on it lines up with the page. */
	--varnify-callout-inset:    max(var(--varnify-callout-gutter), (100% - var(--varnify-callout-max)) / 2);
	/* A sticker on a surface: the cut edge, its own thickness and a hand's
	   width of shade. White stock on a near-white ground needs the cut edge;
	   the printed graphite border inside it does the rest. */
	--varnify-callout-shadow:   0 0 0 1px rgba(28, 30, 32, .16), 0 1px 0 rgba(28, 30, 32, .4), 0 3px 6px -1px rgba(28, 30, 32, .34), 0 9px 14px -9px rgba(28, 30, 32, .3);
	--varnify-callout-shadow-s: 0 0 0 1px rgba(28, 30, 32, .14), 0 1px 0 rgba(28, 30, 32, .36), 0 2px 4px -1px rgba(28, 30, 32, .3), 0 5px 8px -6px rgba(28, 30, 32, .24);
	--varnify-callout-ease:     cubic-bezier(.2, .7, .2, 1);
}

/* --- the page: a light ground ------------------------------------------------------ */

body {
	background-color: var(--varnify-callout-ground);
	font-family: var(--varnify-callout-text);
	font-synthesis: none;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
	font-family: var(--varnify-callout-heading);
	text-wrap: balance;
	/* An owner's wide font can make one word wider than a phone. */
	hyphens: auto;
	overflow-wrap: break-word;
}

button,
input,
select,
textarea { font-family: inherit; }

:where(p, li, dd) { text-wrap: pretty; }

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

.wp-site-blocks > * + * { margin-block-start: 0 !important; }

body .is-layout-flow > .varnify-callout-section,
main > .varnify-callout-section { margin-block: 0; }

.varnify-callout-shell {
	max-width: var(--varnify-callout-max);
	margin-inline: auto !important;
	padding-inline: var(--varnify-callout-gutter);
	box-sizing: content-box;
}

.varnify-callout-shell > * { margin-inline: 0 !important; max-width: none; }

.varnify-callout-section { padding-block: var(--varnify-callout-section); }

/* The skip link stays core's 1px hidden link until it is focused; then it is
   pinned to the top of the window, above the sticky header and the admin
   bar, wherever the page is scrolled (WCAG 2.4.11). */
.skip-link:focus,
#wp-skip-link:focus {
	/* Core's hidden link is position: absolute !important. */
	position: fixed !important;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 4px);
	left: 4px;
	z-index: 100000;
	background: var(--varnify-callout-ink);
	color: var(--varnify-callout-stock);
	padding: 14px 22px;
	font-weight: 700;
	border-radius: 0 0 10px 0;
}

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

.varnify-callout-icon { flex: none; width: 1em; height: 1em; }

/* --- type pieces ------------------------------------------------------------ */

/* The heavy wide italic capitals of the firm's name, as printed on the label.
   Only the name is set like this; the other headings on labels are written in
   sentence case, in different weights, below. */
.varnify-callout-wordmark,
.varnify-callout-footer__name {
	font-family: var(--varnify-callout-heading);
	font-weight: 900;
	font-style: italic;
	font-stretch: 125%;
	letter-spacing: -.01em;
	line-height: .92;
	text-transform: uppercase;
}

/* The condensed heavy italic of the number. Tabular, so the groups stand in
   columns when the number breaks over two lines. */
.varnify-callout-number,
.varnify-callout-roll__number,
.varnify-callout-btn--call span,
.varnify-callout-callbtn span,
.varnify-callout-warning__number {
	font-family: var(--varnify-callout-heading);
	font-weight: 900;
	font-style: italic;
	font-stretch: 56%;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.012em;
}

.varnify-callout-lede {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
	max-width: 36em;
}

/* Links in running text: an ink underline that thickens, never a colour. */
.varnify-callout-prose a,
.varnify-callout-textlink,
.varnify-callout-head__more a,
.varnify-callout-links a {
	color: var(--varnify-callout-ink);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	font-weight: 700;
}

.varnify-callout-prose a:hover,
.varnify-callout-textlink:hover,
.varnify-callout-head__more a:hover,
.varnify-callout-links a:hover { text-decoration-thickness: 4px; }

/* --- the tick box ----------------------------------------------------------- */

.varnify-callout-box {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: 2px solid var(--varnify-callout-graphite);
	border-radius: 3px;
	background: var(--varnify-callout-stock);
	color: var(--varnify-callout-graphite);
}

.varnify-callout-box svg { width: 15px; height: 15px; display: block; }

/* --- the label ----------------------------------------------------------------
   White stock, rounded 12px, with a graphite border printed 7px inside the
   edge, and the tight shadow of something stuck on, not floating. */

.varnify-callout-label {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--varnify-callout-stock);
	color: var(--varnify-callout-ink);
	border-radius: 12px;
	box-shadow: var(--varnify-callout-shadow);
	isolation: isolate;
	container: varnify-callout-label / inline-size;
	text-decoration: none;
}

.varnify-callout-label::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 2px solid var(--varnify-callout-graphite);
	border-radius: 7px;
	pointer-events: none;
	z-index: 3;
}

body .varnify-callout-label > *,
body .varnify-callout-label__body > *,
body .varnify-callout-band > * { margin-block: 0; }

body .varnify-callout-label > .varnify-callout-band { margin-top: 7px; }

body .varnify-callout-label > .varnify-callout-band.is-small { margin-top: 5px; }

.varnify-callout-label.is-mini {
	border-radius: 9px;
	box-shadow: var(--varnify-callout-shadow-s);
}

.varnify-callout-label.is-mini::before { inset: 5px; border-width: 1.5px; border-radius: 5px; }

/* The band: the owner's colour, lettered in white or ink, ruled underneath. */
.varnify-callout-band {
	position: relative;
	flex: none;
	margin: 7px 7px 0;
	padding: 14px 17px 12px;
	border-radius: 6px 6px 0 0;
	border-bottom: 5px solid var(--varnify-callout-rule);
	background: var(--varnify-callout-colour);
	color: var(--varnify-callout-lettering);
}

.varnify-callout-band .varnify-callout-band__title {
	display: block;
	margin: 0;
	font-size: clamp(30px, 12.5cqi, 96px);
	font-weight: 800;
	font-style: normal;
	font-stretch: 104%;
	line-height: .98;
	letter-spacing: 0;
	color: inherit;
	overflow-wrap: anywhere;
}

/* Where a real label prints capitals: the firm's name, "New job" on the blank
   label, "Last job" on the photograph. */
.varnify-callout-band.is-name .varnify-callout-band__title,
.varnify-callout-form__band .varnify-callout-band__title,
.varnify-callout-lastjob .varnify-callout-band .varnify-callout-band__title {
	font-weight: 900;
	font-style: italic;
	font-stretch: 125%;
	letter-spacing: -.01em;
	line-height: .92;
	text-transform: uppercase;
}

.varnify-callout-lastjob .varnify-callout-band .varnify-callout-band__title { font-stretch: 110%; letter-spacing: .02em; line-height: 1; }

/* The service on its sticker: slanted, a notch lighter than the name. */
.varnify-callout-tile .varnify-callout-band__title,
.varnify-callout-job__label .varnify-callout-band__title {
	font-weight: 750;
	font-style: italic;
	font-stretch: 108%;
}

.varnify-callout-band__title a { color: inherit; text-decoration: none; }

.varnify-callout-band__line {
	margin: 6px 0 0;
	font-size: clamp(13px, 2.8cqi, 20px);
	font-weight: 700;
	font-stretch: 110%;
	line-height: 1.2;
	color: inherit;
}

.varnify-callout-band.is-small {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 2px 10px;
	margin: 5px 5px 0;
	padding: 8px 12px 7px;
	border-bottom-width: 4px;
	border-radius: 5px 5px 0 0;
}

.varnify-callout-band.is-small .varnify-callout-band__title {
	font-size: 19px;
	line-height: 1;
}

.varnify-callout-band.is-small .varnify-callout-band__line { margin: 0; font-size: 13px; font-stretch: 100%; }

/* A warning's band is printed in graphite, whatever the owner's colour. */
.varnify-callout-band.is-graphite {
	background: var(--varnify-callout-graphite);
	color: var(--varnify-callout-on-roll);
	border-bottom-color: var(--varnify-callout-graphite);
}

.varnify-callout-label__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 24px 22px;
}

/* The peeling corner: the label lifting where a thumb would catch it. The
   last line of the label stops short of it, so the corner never lies over a
   link or the number (WCAG 2.5.8, and it reads as print with a margin). */
.varnify-callout-label.has-peel { --varnify-callout-peel: 34px; }

.varnify-callout-label.has-peel > .varnify-callout-label__body:last-child {
	padding-bottom: calc(var(--varnify-callout-peel) + 6px);
}

.varnify-callout-label.has-peel::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: var(--varnify-callout-peel);
	height: var(--varnify-callout-peel);
	pointer-events: none;
	/* What shows past the fold is the surface the label is on; the flap is
	   the back of the label, shaded into the fold. */
	background: linear-gradient(315deg, var(--varnify-callout-surface) 0 50%, #CFD0CC 50%, #F3F3F1 100%);
	border-top-left-radius: 8px;
	box-shadow: -3px -3px 6px -3px rgba(0, 0, 0, .3);
	z-index: 4;
}

/* --- header -------------------------------------------------------------------- */

.varnify-callout-header {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 12px 26px;
	max-width: var(--varnify-callout-max);
	margin-inline: auto;
	padding: 10px var(--varnify-callout-gutter);
	min-height: 64px;
	box-sizing: content-box;
}

body .varnify-callout-header > * { margin-block: 0; }

.varnify-callout-wordmark {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-right: auto;
	font-size: clamp(22px, 2.2vw, 28px);
	color: var(--varnify-callout-ink);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.varnify-callout-header > .wp-block-varnify-callout-brand { margin-right: auto; min-width: 0; }

.varnify-callout-status {
	display: none;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--varnify-callout-ink-2);
	min-width: 0;
}

.varnify-callout-status__dot {
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--varnify-callout-graphite);
	box-shadow: 0 0 0 2px var(--varnify-callout-stock);
}

.varnify-callout-status__dot.is-closed { background: transparent; box-shadow: inset 0 0 0 2px var(--varnify-callout-graphite); }

/* The menu, set in the weight of the header's buttons. (Before the media
   queries below, which tighten it on narrower screens.) */
.varnify-callout-nav { font-size: 16px; font-weight: 600; gap: 22px; }

/* On a phone the roll carries Call and WhatsApp, so the header is the
   name (or, on the front page, where the label already shows the name,
   whether the phone is answered now) and the menu. */
@media (max-width: 781px) {
	.varnify-callout-header { gap: 12px; padding-block: 8px; min-height: 60px; }

	.varnify-callout-header .varnify-callout-actions { display: none; }

	.home .varnify-callout-header .varnify-callout-wordmark,
	.home .varnify-callout-header > .wp-block-varnify-callout-brand { display: none; }

	.home .varnify-callout-status { display: flex; margin-right: auto; }

	.varnify-callout-nav { margin-left: auto; }

	/* The label fills the first screen: three ticks, not four. */
	.is-hero .varnify-callout-ticks li:nth-child(n + 4) { display: none; }
}

@media (min-width: 782px) and (max-width: 1100px) {
	.varnify-callout-nav { font-size: 15px; gap: 14px; }

	.varnify-callout-btn--line { display: none; }
}

/* --- the header stays in reach ------------------------------------------------------
   The header part sticks to the top of the window (position: sticky, so nothing
   moves on load). Once the page has scrolled, theme.js adds .is-stuck and the
   header tightens onto a solid ground with the label's cut edge. The part keeps
   its full height in the flow and only the Group inside it shrinks, so the page
   never jumps; the empty strip left over lets clicks through. Without
   JavaScript it is sticky and never compact. An owner turns it off with the
   Group style "Header scrolls away". Not applied in the Site Editor canvas. */
:root {
	--varnify-callout-header-h: 84px;
	--varnify-callout-stuck-h:  64px;
}

@media (max-width: 781px) {
	:root {
		--varnify-callout-header-h: 76px;
		--varnify-callout-stuck-h:  56px;
	}
}

/* Between the phone and a full menu the header is a little taller. */
@media (min-width: 782px) and (max-width: 939px) {
	:root { --varnify-callout-header-h: 88px; }
}

html:not(:has(.is-style-varnify-callout-scrolls)) {
	/* Anchors and keyboard focus stop below the compact header. */
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--varnify-callout-stuck-h) + 16px);
}

/* The header's own controls are already in view: cancel the padding for them,
   or focusing the menu button would scroll the page. */
html:not(:has(.is-style-varnify-callout-scrolls)) header.wp-block-template-part * {
	scroll-margin-top: calc(-1 * (var(--wp-admin--admin-bar--height, 0px) + var(--varnify-callout-stuck-h) + 16px));
}

body:not(.editor-styles-wrapper) header.wp-block-template-part:not(:has(> .is-style-varnify-callout-scrolls)) {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 20;
	min-height: var(--varnify-callout-header-h);
	pointer-events: none;

	/* The solid ground and its edge, behind the Group. */
	&::before {
		content: "";
		position: absolute;
		inset: 0 0 auto 0;
		height: var(--varnify-callout-stuck-h);
		z-index: -1;
		box-shadow: 0 0 0 transparent;
		transition: box-shadow 180ms var(--varnify-callout-ease);
	}

	> .varnify-callout-header {
		pointer-events: auto;
		transition: padding 180ms var(--varnify-callout-ease), min-height 180ms var(--varnify-callout-ease);
	}

	.varnify-callout-wordmark {
		transform-origin: left center;
		transition: transform 180ms var(--varnify-callout-ease);
	}

	&.is-stuck::before {
		background: var(--varnify-callout-ground);
		box-shadow: 0 1px 0 var(--varnify-callout-hair), 0 3px 6px -3px rgba(28, 30, 32, .18);
	}

	&.is-stuck > .varnify-callout-header { padding-block: 6px; min-height: calc(var(--varnify-callout-stuck-h) - 12px); }

	&.is-stuck .varnify-callout-wordmark { transform: scale(.86); }
}

/* The phone's admin bar scrolls away with the page. */
@media (max-width: 600px) {
	body.admin-bar:not(.editor-styles-wrapper) header.wp-block-template-part { top: 0; }
}

@media (max-width: 781px) {
	body:not(.editor-styles-wrapper) header.wp-block-template-part.is-stuck > .varnify-callout-header { padding-block: 4px; min-height: calc(var(--varnify-callout-stuck-h) - 8px); }
}

/* On the phone's front page the header carries the status line, because the
   label below already shows the name. Stuck, the label has scrolled away, so
   the small name takes the status line's place (a quick cross-fade, the two
   stacked so nothing moves). The one that is not showing is visibility:hidden,
   so a screen reader gets one or the other, never both. */
@media (max-width: 781px) {
	body.home:not(.editor-styles-wrapper) header.wp-block-template-part:not(:has(> .is-style-varnify-callout-scrolls)) {
		.varnify-callout-wordmark {
			display: inline-flex;
			position: absolute;
			left: var(--varnify-callout-gutter);
			top: 0;
			bottom: 0;
			margin: auto 0;
			max-width: 50%;
			opacity: 0;
			visibility: hidden;
			transition: opacity 150ms var(--varnify-callout-ease), visibility 0s linear 150ms, transform 180ms var(--varnify-callout-ease);
		}

		.varnify-callout-status {
			transition: opacity 150ms var(--varnify-callout-ease), visibility 0s linear 0s;
		}

		&.is-stuck .varnify-callout-wordmark {
			opacity: 1;
			visibility: visible;
			transition-delay: 0s;
		}

		&.is-stuck .varnify-callout-status {
			opacity: 0;
			visibility: hidden;
			transition: opacity 150ms var(--varnify-callout-ease), visibility 0s linear 150ms;
		}

		/* Reached by keyboard near the top, the name stays while it has focus
		   rather than fading out from under the focus ring. */
		&:has(.varnify-callout-wordmark:focus) .varnify-callout-wordmark {
			opacity: 1;
			visibility: visible;
			transition-delay: 0s;
		}

		&:has(.varnify-callout-wordmark:focus) .varnify-callout-status {
			opacity: 0;
			visibility: hidden;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	body:not(.editor-styles-wrapper) header.wp-block-template-part::before,
	body:not(.editor-styles-wrapper) header.wp-block-template-part > .varnify-callout-header,
	body:not(.editor-styles-wrapper) header.wp-block-template-part .varnify-callout-wordmark,
	body:not(.editor-styles-wrapper) header.wp-block-template-part .varnify-callout-status { transition: none !important; }
}

/* The menu. */
.varnify-callout-nav .wp-block-navigation-item__content { color: var(--varnify-callout-ink); text-decoration: none; padding-block: 10px; }

.varnify-callout-nav .wp-block-navigation-item__content:hover,
.varnify-callout-nav [aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }

.varnify-callout-nav .wp-block-navigation__responsive-container-open,
.varnify-callout-nav .wp-block-navigation__responsive-container-close {
	min-height: 44px;
	padding: 8px 14px;
	border-radius: 8px;
	box-shadow: inset 0 0 0 2px var(--varnify-callout-ink);
	font-family: var(--varnify-callout-text);
	font-size: 15px;
	font-weight: 700;
	color: var(--varnify-callout-ink);
	background: transparent;
}

@media (max-width: 599px) {
	.varnify-callout-nav .wp-block-navigation__responsive-container-open {
		display: inline-flex;
		align-items: center;
		gap: 9px;
	}
}

.varnify-callout-nav .wp-block-navigation__responsive-container-open::before {
	content: "";
	flex: none;
	width: 14px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

/* Open on a phone: the menu is a label laid over the page on concrete, the
   firm's name in its band and Close lettered beside it (functions.php puts
   the button in the band). The same whether the header is stuck or not: the
   menu is fixed over the whole window either way. */
.varnify-callout-nav.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
	padding: 16px;
	/* Concrete, not the ground: a white menu label needs something to sit on. */
	background-color: #E2E3DF;
	color: var(--varnify-callout-ink);
}

/* Logged in, keep the label below the admin bar; core's margin would open a
   gap inside the label instead. */
.admin-bar .varnify-callout-nav .is-menu-open { padding-top: calc(16px + var(--wp-admin--admin-bar--height, 0px)); }

.has-modal-open .admin-bar .varnify-callout-nav .is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0; }

.varnify-callout-nav .is-menu-open .wp-block-navigation__responsive-close {
	position: relative;
	max-width: 520px;
	margin: 0 auto;
	padding: 0 0 26px;
	background: var(--varnify-callout-stock);
	border-radius: 12px;
	box-shadow: var(--varnify-callout-shadow);
}

/* The printed border, 7px inside the edge, as on every label. */
.varnify-callout-nav .is-menu-open .wp-block-navigation__responsive-close::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 2px solid var(--varnify-callout-graphite);
	border-radius: 7px;
	pointer-events: none;
}

/* The band is only there while the menu is open. */
.varnify-callout-nav .varnify-callout-menu__band { display: none; }

.varnify-callout-nav .is-menu-open .varnify-callout-menu__band {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 70px;
	box-sizing: border-box;
	padding: 10px 12px 10px 19px;
}

.varnify-callout-nav .is-menu-open .varnify-callout-menu__band .varnify-callout-band__title {
	min-width: 0;
	font-size: clamp(24px, 7.4vw, 32px);
	overflow-wrap: anywhere;
	hyphens: auto;
}

.varnify-callout-nav .is-menu-open .varnify-callout-menu__band .varnify-callout-band__title.is-long { font-size: clamp(18px, 5.2vw, 24px); line-height: 1; }

.varnify-callout-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	position: static;
	flex: none;
	box-shadow: inset 0 0 0 2px currentColor;
	color: var(--varnify-callout-lettering);
}

.varnify-callout-nav .is-menu-open .wp-block-navigation__responsive-container-close:hover { background: color-mix(in srgb, var(--varnify-callout-lettering) 12%, transparent); }

.varnify-callout-nav .is-menu-open .wp-block-navigation__responsive-container-close:focus-visible { outline-color: var(--varnify-callout-lettering); outline-offset: 3px; }

.varnify-callout-nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 18px 28px 0;
}

.varnify-callout-nav .is-menu-open .wp-block-navigation__container { gap: 4px; }

.varnify-callout-nav .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--varnify-callout-heading);
	font-size: 30px;
	font-weight: 900;
	font-style: italic;
	font-stretch: 110%;
	padding-block: 6px;
}

/* Header buttons. */
.varnify-callout-actions { display: flex; gap: 10px; align-items: center; }

.varnify-callout-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 9px 16px;
	border-radius: 9px;
	box-sizing: border-box;
	font-family: var(--varnify-callout-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--varnify-callout-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s, box-shadow .15s;
}

.varnify-callout-btn--line { box-shadow: inset 0 0 0 2px var(--varnify-callout-ink); }

.varnify-callout-btn--line:hover { background: color-mix(in srgb, var(--varnify-callout-graphite) 10%, transparent); }

.varnify-callout-btn--call {
	background: var(--varnify-callout-colour);
	color: var(--varnify-callout-lettering);
	padding-inline: 18px;
}

.varnify-callout-btn--call span { font-size: 22px; line-height: 1; font-stretch: 92%; }

.varnify-callout-btn--call:hover { background: var(--varnify-callout-pressed); }

/* --- the number, and the line above it ---------------------------------------------- */

.varnify-callout-call { display: flex; flex-direction: column; min-width: 0; }

body .varnify-callout-call > * { margin-block: 0; }

.varnify-callout-call__line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-style: italic;
	font-size: clamp(15px, 2.7cqi, 19px);
	line-height: 1.2;
	color: var(--varnify-callout-ink-2);
}

.varnify-callout-call__line .varnify-callout-icon { width: 16px; height: 16px; }

.varnify-callout-number {
	display: flex;
	flex-wrap: wrap;
	column-gap: .18em;
	color: var(--varnify-callout-graphite);
	text-decoration: none;
	line-height: .86;
	font-size: clamp(64px, 35.5cqi, 200px);
	padding-block: .02em .06em;
	max-width: 100%;
}

.varnify-callout-number__part { display: block; white-space: nowrap; }

.varnify-callout-number:hover { text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .08em; }

/* Wide enough for one line: the number runs across the label. */
@container varnify-callout-label (min-width: 560px) {
	.varnify-callout-number { flex-wrap: nowrap; font-size: clamp(64px, 22.4cqi, 168px); }
}

/* The flat call button: the number on a strip of the owner's colour. */
.varnify-callout-callbtn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 8px 20px;
	border-radius: 10px;
	background: var(--varnify-callout-colour);
	color: var(--varnify-callout-lettering);
	text-decoration: none;
	box-shadow: inset 0 0 0 1.5px var(--varnify-callout-rule);
}

.varnify-callout-callbtn span { font-size: 30px; line-height: 1; font-stretch: 80%; }

.varnify-callout-callbtn:hover { background: var(--varnify-callout-pressed); }

/* --- written fields, ticks and small print ------------------------------------------- */

.varnify-callout-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--varnify-callout-ink-2);
}

.varnify-callout-fields > div {
	display: flex;
	/* Each field as wide as its words first, then the rest shared out; a
	   field with no room drops under the other instead of being cut to
	   "Tomorr...". */
	flex: 1 1 auto;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
	padding-bottom: 2px;
	border-bottom: 1.5px solid var(--varnify-callout-graphite);
}

.varnify-callout-fields dt { flex: none; }

.varnify-callout-fields dd {
	margin: 0;
	font-family: var(--varnify-callout-heading);
	font-size: 18px;
	font-weight: 600;
	font-style: italic;
	font-stretch: 95%;
	color: var(--varnify-callout-graphite);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.varnify-callout-ticks {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.25;
}

.varnify-callout-ticks li { display: flex; align-items: center; gap: 10px; }

/* The icon stands beside the first line when the words wrap (a narrow
   phone); the words stay in the middle of the 44px target. */
.varnify-callout-photolink {
	display: inline-grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	align-content: center;
	column-gap: 8px;
	text-wrap: balance;
	min-height: 44px;
	font-weight: 700;
	font-size: 15.5px;
	color: var(--varnify-callout-ink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.varnify-callout-photolink:hover { text-decoration-thickness: 4px; }

.varnify-callout-photolink .varnify-callout-icon { width: 18px; height: 18px; margin-top: 3px; margin-top: calc((1lh - 18px) / 2); }

.varnify-callout-smallprint {
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--varnify-callout-ink-2);
}

.varnify-callout-smallprint a { color: inherit; text-underline-offset: 3px; }

/* The stand-in number's mark, so nobody mistakes 000000 for a registration. */
.varnify-callout-example {
	display: inline-block;
	padding: 1px 6px 2px;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1.5px currentColor;
	font-family: var(--varnify-callout-text);
	font-size: .78em;
	font-weight: 700;
	font-style: normal;
	font-stretch: 100%;
	line-height: 1.2;
	letter-spacing: .02em;
	vertical-align: .08em;
}

/* --- the hero: the service label ------------------------------------------------- */

/* Full width, so a surface under it (Pegboard, on the front page) runs edge
   to edge; the padding keeps the label and photograph on the page's grid. */
.varnify-callout-hero {
	padding: 4px var(--varnify-callout-inset) var(--varnify-callout-section);
	box-sizing: border-box;
}

.varnify-callout-label.is-hero {
	min-height: calc(100svh - 64px - 96px - 20px);
	max-width: 720px;
	z-index: 2;
	view-transition-name: varnify-callout-label;
}

.is-hero .varnify-callout-label__body { gap: 0; padding: 0 24px 20px; }

.is-hero .varnify-callout-label__headline {
	margin-top: 16px;
	font-size: clamp(19px, 4.4cqi, 32px);
	font-weight: 700;
	font-style: italic;
	font-stretch: 100%;
	letter-spacing: 0;
	line-height: 1.12;
}

.is-hero .varnify-callout-call { margin-top: 12px; margin-inline: -4px; }

.is-hero .varnify-callout-call__line { margin-inline: 4px; }

.is-hero .varnify-callout-number { margin-top: 2px; }

.varnify-callout-label__cols {
	display: flex;
	flex-direction: column-reverse;
	gap: 16px;
	margin-top: 14px;
}

body .varnify-callout-label__cols > * { margin-block: 0; }

.is-hero .varnify-callout-photolink { margin-top: auto; padding-top: 18px; }

.is-hero .varnify-callout-smallprint { margin-top: 4px; padding-right: 30px; }

.varnify-callout-hero__board { position: relative; margin-top: 24px; }

.varnify-callout-hero__photo {
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	background: var(--varnify-callout-graphite);
}

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

.varnify-callout-hero__photo figcaption {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 4px 8px;
	background: var(--varnify-callout-stock);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
}

/* "Last job", stuck on the photograph. */
.varnify-callout-lastjob {
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: min(272px, calc(100% - 28px));
	z-index: 3;
	transition: transform .2s var(--varnify-callout-ease);
}

.varnify-callout-lastjob__text {
	display: block;
	padding: 9px 16px 14px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
}

.varnify-callout-lastjob:hover { transform: translateY(-2px); }

/* Wide: the label is stuck over the left edge of the job photograph, and
   runs a little below it. */
@media (min-width: 960px) {
	.varnify-callout-hero {
		display: grid;
		grid-template-columns: minmax(0, 612fr) minmax(0, 108fr) minmax(0, 624fr);
		grid-template-rows: 8px auto 72px;
		padding-top: 20px;
	}

	.varnify-callout-label.is-hero {
		grid-column: 1 / 3;
		grid-row: 2 / 4;
		min-height: 0;
		max-width: none;
		border-radius: 16px;
	}

	.varnify-callout-label.is-hero::before { inset: 9px; border-width: 2.5px; border-radius: 9px; }

	body .is-hero > .varnify-callout-band,
	body .is-hero > .wp-block-varnify-callout-label-band .varnify-callout-band { margin: 9px 9px 0; padding: 22px 30px 18px; border-bottom-width: 7px; }

	.is-hero .varnify-callout-label__body { padding: 0 36px 30px; }

	.is-hero .varnify-callout-label__headline { margin-top: 26px; }

	.is-hero .varnify-callout-call { margin-top: 22px; }

	.varnify-callout-label__cols {
		display: grid;
		grid-template-columns: 1.2fr 1fr;
		gap: 30px;
		margin-top: 24px;
	}

	.is-hero .varnify-callout-ticks { font-size: 18px; gap: 10px; }

	.is-hero .varnify-callout-fields { flex-direction: column; justify-content: flex-start; gap: 14px; font-size: 14px; }

	.is-hero .varnify-callout-fields > div { flex: none; }

	.is-service .varnify-callout-fields { flex-direction: row; gap: 18px; }

	.is-service .varnify-callout-fields > div { flex: 1; }

	.is-hero .varnify-callout-fields dd { font-size: 20px; }

	.is-hero .varnify-callout-photolink { font-size: 17px; padding-top: 22px; }

	.is-hero .varnify-callout-smallprint { font-size: 13.5px; }

	.varnify-callout-label.is-hero.has-peel { --varnify-callout-peel: 46px; }

	.varnify-callout-hero__board {
		grid-column: 2 / 4;
		grid-row: 1 / 3;
		margin: 0;
	}

	.varnify-callout-hero__board > .varnify-callout-hero__photo,
	.varnify-callout-hero__board > .wp-block-varnify-callout-hero-photo { height: 100%; }

	.varnify-callout-hero__photo { aspect-ratio: auto; }

	.varnify-callout-lastjob { right: 32px; bottom: 32px; }
}

/* --- section heads ------------------------------------------------------------------ */

.varnify-callout-head h2,
.varnify-callout-howto h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading);
	font-weight: 900;
	font-style: italic;
	font-stretch: 118%;
	line-height: .95;
}

.varnify-callout-head__sub {
	margin: 14px 0 0;
	font-size: 17px;
	line-height: 1.45;
	color: var(--varnify-callout-ink-2);
	max-width: 30em;
}

.varnify-callout-head__link { margin: 22px 0 0; }

.varnify-callout-head__more { margin: 14px 0 0; font-size: 16px; }

body .varnify-callout-head > * { margin-block-end: 0; }

.varnify-callout-head.is-row {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 8px 28px;
	margin-bottom: 32px;
}

.varnify-callout-head.is-row .varnify-callout-head__sub { margin: 0; flex: 1 1 18em; }

.varnify-callout-head.is-row .varnify-callout-head__more { margin: 0 0 4px; }

/* --- "What's the job?": a wall of job photographs with labels stuck on --------------- */

.varnify-callout-services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }

.varnify-callout-wall {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0;
}

.varnify-callout-tile {
	position: relative;
	display: block;
	min-width: 0;
	aspect-ratio: 1;
	border-radius: 5px;
	color: var(--varnify-callout-ink);
	text-decoration: none;
	background: var(--varnify-callout-graphite);
}

.varnify-callout-tile:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }

.varnify-callout-tile__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.varnify-callout-tile .varnify-callout-label {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	max-width: 260px;
	transition: transform .2s var(--varnify-callout-ease), box-shadow .2s;
}

.varnify-callout-tile .varnify-callout-band.is-small .varnify-callout-band__title { font-size: clamp(15px, 4vw, 19px); }

.varnify-callout-tile__facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 4px 10px;
	padding: 8px 13px 11px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
}

.varnify-callout-tile__price { font-weight: 700; }

.varnify-callout-tile__when { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--varnify-callout-ink-2); }

.varnify-callout-tile__when .varnify-callout-box { width: 16px; height: 16px; border-width: 1.5px; }

.varnify-callout-tile__when .varnify-callout-box svg { width: 11px; height: 11px; }

.varnify-callout-tile:hover .varnify-callout-label { transform: translateY(-3px); }

.varnify-callout-tile:focus-visible { outline-offset: 4px; }

/* "Not sure?": a blank label where a photograph would be. */
.varnify-callout-tile.is-unsure {
	grid-column: 1 / -1;
	aspect-ratio: auto;
	min-height: 0;
	padding: 14px;
	background: transparent;
	border: 2.5px dashed color-mix(in srgb, var(--varnify-callout-graphite) 45%, transparent);
	box-sizing: border-box;
}

.varnify-callout-tile.is-unsure .varnify-callout-label { position: relative; inset: auto; max-width: 320px; }

.varnify-callout-tile.is-unsure .varnify-callout-tile__facts { display: block; font-size: 14.5px; }

.varnify-callout-tile__when { white-space: nowrap; }

.varnify-callout-tile.is-blank:not(.is-unsure) { background: var(--varnify-callout-graphite); }

@media (min-width: 700px) {
	.varnify-callout-wall { grid-template-columns: repeat(3, 1fr); gap: 16px; }

	.varnify-callout-tile { aspect-ratio: 4 / 3; }

	.varnify-callout-tile:first-child { grid-column: span 2; aspect-ratio: auto; }

	.varnify-callout-tile.is-unsure { grid-column: auto; }
}

@media (min-width: 1100px) {
	.varnify-callout-services__grid {
		grid-template-columns: minmax(0, 330fr) minmax(0, 972fr);
		gap: 42px;
		align-items: start;
	}

	.varnify-callout-services__grid > .varnify-callout-head { position: sticky; top: 24px; padding-top: 8px; }

	/* Five services: the arrangement drawn on the canvas. */
	.varnify-callout-wall[data-count="5"] {
		grid-template-columns: repeat(5, 1fr) 1.5fr;
		grid-template-rows: 300px 300px;
		gap: 18px;
	}

	.varnify-callout-wall[data-count="5"] .varnify-callout-tile { aspect-ratio: auto; grid-column: auto; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile:nth-child(2) { grid-column: 4 / 6; grid-row: 1; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile:nth-child(3) { grid-column: 6 / 7; grid-row: 1 / 3; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile:nth-child(4) { grid-column: 1 / 3; grid-row: 2; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile:nth-child(5) { grid-column: 3 / 5; grid-row: 2; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile.is-unsure { grid-column: 5 / 6; grid-row: 2; display: grid; place-items: center; padding: 10px; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile:nth-child(3) .varnify-callout-label { max-width: none; }
	.varnify-callout-wall[data-count="5"] .is-unsure .varnify-callout-tile__facts { padding: 8px 10px 11px; font-size: 14px; }
	.varnify-callout-wall[data-count="5"] .is-unsure .varnify-callout-band.is-small .varnify-callout-band__title { font-size: 16px; }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile .varnify-callout-label { left: 12px; right: auto; bottom: 12px; width: min(250px, calc(100% - 24px)); }
	.varnify-callout-wall[data-count="5"] .varnify-callout-tile.is-unsure .varnify-callout-label { left: auto; bottom: auto; width: 100%; }

	.varnify-callout-wall.is-archive { grid-template-columns: repeat(3, 1fr); }
}

/* The services archive's filter: small labels to pick. */
.varnify-callout-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	/* Set apart from the lede above as its own group. */
	margin: var(--wp--preset--spacing--50) 0 24px;
}

/* A filtered-out card keeps its tile display otherwise, so [hidden] must win. */
.varnify-callout-wall [hidden] { display: none !important; }

/* Flow layout resets the first margin on following blocks; keep the gap. */
body .is-layout-flow > .varnify-callout-filter { margin-block-start: var(--wp--preset--spacing--50); }

/* Each chip is a tick-box row from the label: the chosen one is ticked,
   lettered heavier, on the band's colour and edged in graphite, so it reads
   as chosen without its colour. */
.varnify-callout-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 6px 16px 6px 12px;
	border-radius: 8px;
	box-sizing: border-box;
	background: var(--varnify-callout-stock);
	box-shadow: inset 0 0 0 2px var(--varnify-callout-graphite);
	color: var(--varnify-callout-ink);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

.varnify-callout-chip .varnify-callout-box { width: 20px; height: 20px; }

.varnify-callout-chip .varnify-callout-box svg { width: 14px; height: 14px; opacity: 0; }

.varnify-callout-chip:hover { box-shadow: inset 0 0 0 3px var(--varnify-callout-graphite); }

.varnify-callout-chip[aria-current] {
	background: var(--varnify-callout-colour);
	color: var(--varnify-callout-lettering);
	box-shadow: inset 0 0 0 3px var(--varnify-callout-graphite), 0 3px 0 -1px var(--varnify-callout-graphite);
	font-weight: 800;
}

.varnify-callout-chip[aria-current] .varnify-callout-box svg {
	opacity: 1;
	animation: varnify-callout-stamp .26s var(--varnify-callout-ease) both;
}

@media (forced-colors: active) {
	.varnify-callout-chip { border: 2px solid; }
	.varnify-callout-chip[aria-current] { border-width: 4px; }
}

/* On the services page every tile is alike: full width on a phone, three to
   a row from 700px (the first included). */
.varnify-callout-wall.is-archive .varnify-callout-tile { aspect-ratio: 4 / 3; grid-column: 1 / -1; }

@media (min-width: 700px) {
	.varnify-callout-wall.is-archive .varnify-callout-tile { grid-column: auto; }
}

/* --- how a call-out goes, and the price label -------------------------------------- */

.varnify-callout-process__grid { display: grid; gap: 40px; align-items: start; }

.varnify-callout-steps {
	display: grid;
	gap: 0;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: varnify-callout-step;
}

.varnify-callout-steps > li {
	position: relative;
	padding: 16px 0 18px 58px;
	border-top: 2px solid var(--varnify-callout-graphite);
	font-size: 17px;
	line-height: 1.45;
	color: var(--varnify-callout-ink-2);
	counter-increment: varnify-callout-step;
}

.varnify-callout-steps > li:last-child { border-bottom: 2px solid var(--varnify-callout-graphite); }

.varnify-callout-steps > li::before {
	content: counter(varnify-callout-step);
	position: absolute;
	left: 0;
	top: 16px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	box-sizing: border-box;
	border: 2px solid var(--varnify-callout-graphite);
	border-radius: 4px;
	background: var(--varnify-callout-stock);
	font-family: var(--varnify-callout-heading);
	font-size: 22px;
	font-weight: 900;
	font-style: italic;
	color: var(--varnify-callout-graphite);
}

.varnify-callout-steps strong {
	display: block;
	margin-bottom: 2px;
	font-family: var(--varnify-callout-heading);
	font-size: 22px;
	font-weight: 800;
	font-style: italic;
	color: var(--varnify-callout-ink);
}

.varnify-callout-prices .varnify-callout-band__title { font-size: clamp(26px, 7cqi, 40px); }

.varnify-callout-writein {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 6px 24px 0;
}

.varnify-callout-writein > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0 7px;
	border-bottom: 1.5px solid var(--varnify-callout-hair);
}

.varnify-callout-writein dt { font-size: 16px; font-weight: 600; color: var(--varnify-callout-ink-2); }

.varnify-callout-writein dd {
	margin: 0;
	text-align: right;
	font-family: var(--varnify-callout-heading);
	font-size: 22px;
	font-weight: 800;
	font-style: italic;
	color: var(--varnify-callout-graphite);
}

.varnify-callout-writein dd a { color: inherit; }

.varnify-callout-prices__note { padding: 14px 24px 24px; font-size: 14px; color: var(--varnify-callout-ink-2); }

.varnify-callout-prices .varnify-callout-writein { padding-bottom: 4px; }

.varnify-callout-factlabel .varnify-callout-writein { padding-bottom: 22px; }

@media (min-width: 900px) {
	.varnify-callout-process__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; }

	.varnify-callout-prices { transform: rotate(.6deg); }
}

/* --- recent jobs: before and after, labelled -------------------------------------- */

.varnify-callout-jobs { display: grid; gap: 56px 32px; }

.varnify-callout-job { position: relative; display: flex; flex-direction: column; }

.varnify-callout-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.varnify-callout-pair.is-single { grid-template-columns: 1fr; }

.varnify-callout-pair__photo { position: relative; margin: 0; }

.varnify-callout-pair__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 5px;
}

.varnify-callout-pair.is-large .varnify-callout-pair__photo img { aspect-ratio: 4 / 3.4; }

/* "Before" and "After": small blank labels in the corner of each photo. */
.varnify-callout-tag {
	position: absolute;
	left: 10px;
	top: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px 5px;
	border-radius: 6px;
	background: var(--varnify-callout-stock);
	box-shadow: var(--varnify-callout-shadow-s), inset 0 0 0 4px var(--varnify-callout-stock), inset 0 0 0 5.5px var(--varnify-callout-graphite);
	font-family: var(--varnify-callout-heading);
	font-size: 14px;
	font-weight: 900;
	font-style: italic;
	font-stretch: 110%;
	text-transform: uppercase;
	color: var(--varnify-callout-ink);
}

.varnify-callout-tag .varnify-callout-box { width: 16px; height: 16px; border-width: 1.5px; }

.varnify-callout-tag .varnify-callout-box svg { width: 11px; height: 11px; }

.is-after .varnify-callout-tag .varnify-callout-box { background: var(--varnify-callout-colour); color: var(--varnify-callout-lettering); border-color: var(--varnify-callout-rule); }

.varnify-callout-job__label {
	align-self: center;
	width: min(400px, calc(100% - 32px));
	margin-top: -30px;
	z-index: 2;
}

.varnify-callout-job__label .varnify-callout-band__title { font-size: 19px; }

.varnify-callout-job__label .varnify-callout-band__title a { color: inherit; text-decoration: none; }

.varnify-callout-job__label .varnify-callout-band__title a:hover { text-decoration: underline; }

.varnify-callout-job__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 16px 14px !important;
	font-size: 15px;
	font-weight: 600;
	color: var(--varnify-callout-ink-2);
}

.varnify-callout-job__meta .varnify-callout-box { width: 16px; height: 16px; border-width: 1.5px; }

.varnify-callout-job__meta .varnify-callout-box svg { width: 11px; height: 11px; }

@media (min-width: 800px) {
	.varnify-callout-jobs { grid-template-columns: 1fr 1fr; }

	.varnify-callout-job:nth-child(2n) { margin-top: 48px; }
}

/* --- reviews -------------------------------------------------------------------------- */

.varnify-callout-reviews { display: grid; gap: 22px; }

.varnify-callout-review {
	margin: 0;
	padding: 26px 26px 22px;
	box-sizing: border-box;
}

/* "Example": the stamp on a review that is not a real customer's. */
.varnify-callout-stamp {
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 3px 9px 2px;
	border-radius: 4px;
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--varnify-callout-graphite);
	color: var(--varnify-callout-ink);
	font-family: var(--varnify-callout-heading);
	font-size: 12px;
	font-weight: 800;
	font-style: normal;
	font-stretch: 105%;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
	transform: rotate(-2deg);
}

.varnify-callout-review__stars { margin: 0 0 10px !important; font-size: 18px; letter-spacing: 2px; color: var(--varnify-callout-graphite); }

.varnify-callout-review__text { margin: 0; padding: 0; border: 0; }

.varnify-callout-review__text p {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	font-style: italic;
	line-height: 1.45;
}

.varnify-callout-review__who {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 14px;
	margin-top: 18px !important;
	padding-top: 10px;
	border-top: 1.5px solid var(--varnify-callout-graphite);
	font-size: 14.5px;
	font-weight: 700;
}

.varnify-callout-review__job { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--varnify-callout-ink-2); }

.varnify-callout-review__job .varnify-callout-box { width: 16px; height: 16px; border-width: 1.5px; }

.varnify-callout-review__job .varnify-callout-box svg { width: 11px; height: 11px; }

@media (min-width: 760px) {
	.varnify-callout-reviews { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

	.varnify-callout-review:nth-child(3n + 1) { transform: rotate(-.5deg); }
	.varnify-callout-review:nth-child(3n + 2) { transform: rotate(.4deg) translateY(14px); }
}

/* --- where we go ------------------------------------------------------------------------ */

.varnify-callout-local { display: grid; gap: 0; }

/* The section lays itself out by the width it is given. */
.varnify-callout-shell,
.varnify-callout-prose { container-type: inline-size; }

.varnify-callout-local__photo { position: relative; }

.varnify-callout-local__photo > img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 6px;
}

.varnify-callout-owner {
	position: absolute;
	left: 12px;
	bottom: 12px;
	width: min(300px, calc(100% - 24px));
}

.varnify-callout-owner__body { display: flex; align-items: center; gap: 12px; padding: 10px 14px 13px; }

.varnify-callout-owner__body p { margin: 0; font-size: 14px; line-height: 1.35; color: var(--varnify-callout-ink-2); }

.varnify-callout-owner__body strong { color: var(--varnify-callout-ink); font-size: 16px; }

.varnify-callout-owner__photo { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; flex: none; }

.varnify-callout-owner__slot {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	flex: none;
	border: 2px dashed var(--varnify-callout-hair);
	border-radius: 4px;
	font-size: 11px;
	text-align: center;
	line-height: 1.1;
	color: var(--varnify-callout-ink-2);
}

.varnify-callout-local__label { margin: -28px 12px 0; z-index: 2; }

.varnify-callout-local__label .varnify-callout-band__title { font-size: clamp(26px, 7cqi, 44px); }

.varnify-callout-local__body { padding: 16px 24px 24px; }

.varnify-callout-local__body > p { margin: 0 0 12px; font-size: 16px; color: var(--varnify-callout-ink-2); }

.varnify-callout-areas {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.varnify-callout-areas li {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 9px 0 6px;
	border-bottom: 1.5px solid var(--varnify-callout-hair);
	font-size: 17px;
	font-weight: 700;
}

.varnify-callout-areas .varnify-callout-box { align-self: center; width: 18px; height: 18px; }

.varnify-callout-areas .varnify-callout-box svg { width: 12px; height: 12px; }

.varnify-callout-areas__code {
	margin-left: auto;
	font-family: var(--varnify-callout-heading);
	font-style: italic;
	font-weight: 600;
	color: var(--varnify-callout-ink-2);
}

.varnify-callout-areas__all { border-bottom: 0 !important; }

.varnify-callout-areas__all a { color: var(--varnify-callout-ink); text-underline-offset: 4px; text-decoration-thickness: 2px; }

@container varnify-callout-label (min-width: 440px) {
	.varnify-callout-areas { grid-template-columns: 1fr 1fr; }
}

/* Side by side only where the section is wide, not inside a page's
   reading column. */
@container (min-width: 900px) {
	.varnify-callout-local { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }

	.varnify-callout-local__photo > img { aspect-ratio: 4 / 3.2; }

	.varnify-callout-local__label { margin: 0 0 0 -64px; transform: rotate(-.6deg); }

	.varnify-callout-owner { left: 20px; bottom: 20px; }
}

.varnify-callout-codes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.varnify-callout-codes li {
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--varnify-callout-stock);
	box-shadow: inset 0 0 0 1.5px var(--varnify-callout-graphite);
	font-family: var(--varnify-callout-heading);
	font-weight: 800;
	font-style: italic;
}

/* --- registrations -------------------------------------------------------------- */

.varnify-callout-regs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.varnify-callout-reg__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 16px 16px;
	font-size: 15px;
	line-height: 1.35;
}

.varnify-callout-reg__body a { display: inline-block; padding-block: 8px; color: var(--varnify-callout-ink); font-weight: 700; text-underline-offset: 3px; }

.varnify-callout-reg__number { font-family: var(--varnify-callout-heading); font-size: 20px; font-weight: 800; font-style: italic; }

/* --- the closing label ------------------------------------------------------------ */

.varnify-callout-label.is-closing { max-width: 760px; margin-inline: auto !important; }

.is-closing .varnify-callout-band__title { font-size: clamp(26px, 7.4cqi, 56px); }

.is-closing .varnify-callout-label__body { padding: 18px 24px 28px; gap: 14px; }

.varnify-callout-closing__text { font-size: 17px; line-height: 1.45; color: var(--varnify-callout-ink-2); max-width: 34em; }

.is-closing .varnify-callout-label__headline { font-size: clamp(22px, 4.6cqi, 34px); font-weight: 700; font-stretch: 100%; line-height: 1.15; }

.varnify-callout-closing { padding-top: 0; }

/* --- the label roll: the call bar, docked on phones ------------------------------- */

.varnify-callout-roll {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding: 14px 12px calc(12px + env(safe-area-inset-bottom));
	background: var(--varnify-callout-roll-bg);
	box-shadow: 0 -1px 0 rgba(0, 0, 0, .4), 0 -3px 4px -2px rgba(0, 0, 0, .35);
}

/* The roll's sprocket edge. */
.varnify-callout-roll::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	background: repeating-linear-gradient(90deg, #3A3D40 0 2px, transparent 2px 9px);
}

.varnify-callout-roll a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 60px;
	border-radius: 10px;
	text-decoration: none;
}

/* The call, peeled up from the liner: the owner's colour with a dashed
   kiss-cut line inside its edge. */
.varnify-callout-roll__call {
	background: var(--varnify-callout-colour);
	color: var(--varnify-callout-lettering);
	outline: 1.5px dashed color-mix(in srgb, var(--varnify-callout-lettering) 45%, transparent);
	outline-offset: -5px;
	box-shadow: 0 -2px 0 rgba(255, 255, 255, .12) inset, 0 3px 0 rgba(0, 0, 0, .25);
	min-width: 0;
}

.varnify-callout-roll__call .varnify-callout-icon { width: 22px; height: 22px; }

.varnify-callout-roll__call > span { display: flex; flex-direction: column; min-width: 0; }

.varnify-callout-roll__label { font-size: 12px; font-weight: 700; font-stretch: 105%; line-height: 1.1; font-style: italic; }

.varnify-callout-roll__number { font-size: 26px; line-height: 1; font-stretch: 84%; white-space: nowrap; }

.varnify-callout-roll__alt {
	flex-direction: column;
	gap: 3px !important;
	width: 104px;
	color: var(--varnify-callout-on-roll);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85);
	font-size: 13px;
	font-weight: 700;
}

.varnify-callout-roll__alt .varnify-callout-icon { width: 20px; height: 20px; }

.varnify-callout-roll a:active { transform: translateY(1px); }

body.varnify-callout-has-roll { padding-bottom: 92px; }

/* Keyboard focus and anchors stop above the roll, never under it (WCAG
   2.4.11). The roll's own buttons are fixed, so they never scroll. */
@media (max-width: 781px) {
	html:has(body.varnify-callout-has-roll) { scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom) + 12px); }
}

@media (min-width: 782px) {
	.varnify-callout-roll { display: none; }

	body.varnify-callout-has-roll { padding-bottom: 0; }
}

/* --- footer: the end of the roll ----------------------------------------------------- */

.varnify-callout-footer {
	position: relative;
	margin-top: 0;
	padding-block: 64px 48px;
	background: var(--varnify-callout-roll-bg);
	color: var(--varnify-callout-on-roll);
}

.varnify-callout-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	background: repeating-linear-gradient(90deg, #3A3D40 0 2px, transparent 2px 9px);
}

.varnify-callout-footer__grid { display: grid; gap: 32px; }

body .varnify-callout-footer__grid > * > * { margin-block: 0 10px; }

.varnify-callout-footer a { color: var(--varnify-callout-on-roll); text-underline-offset: 3px; }

.varnify-callout-footer .varnify-callout-footer__name { margin: 0; font-size: 34px; color: var(--varnify-callout-on-roll); }

.varnify-callout-footer .varnify-callout-footer__phone {
	font-family: var(--varnify-callout-heading);
	font-size: 34px;
	font-weight: 900;
	font-style: italic;
	font-stretch: 70%;
}

.varnify-callout-footer__phone a { text-decoration: none; }

.varnify-callout-footer__phone a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.varnify-callout-footer__head {
	font-size: 15px !important;
	font-style: normal !important;
	font-stretch: 100% !important;
	font-weight: 700 !important;
	color: #B9BCB8 !important;
	letter-spacing: 0;
}

.varnify-callout-footer p,
.varnify-callout-footer li { font-size: 15px; line-height: 1.55; }

.varnify-callout-footer .varnify-callout-hours { margin: 0; padding: 0; list-style: none; }

.varnify-callout-footer .varnify-callout-hours li { display: flex; justify-content: space-between; gap: 12px; max-width: 260px; }

.varnify-callout-footer .varnify-callout-hours [data-today] { font-weight: 700; }

.varnify-callout-footer__links p { margin: 0 0 6px !important; }

.varnify-callout-footer__links a { display: inline-block; padding-block: 6px; font-weight: 600; }

@media (min-width: 800px) {
	.varnify-callout-footer__grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
}

/* --- inner pages ---------------------------------------------------------------- */

.varnify-callout-page { padding-block: 28px var(--varnify-callout-section); }

.varnify-callout-page.is-article > * { max-width: 760px; }

.varnify-callout-page__title,
.varnify-callout-page h1 {
	margin: 18px 0 20px;
	font-size: var(--wp--preset--font-size--display);
	font-weight: 900;
	font-style: italic;
	font-stretch: 112%;
	line-height: .98;
}

.varnify-callout-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--varnify-callout-ink-2);
}

/* Above the page heading: a big heading font's tall line reaches up into
   the links' tap area and would take the pointer from "Home". */
.varnify-callout-crumbs a { position: relative; color: var(--varnify-callout-ink); text-underline-offset: 3px; display: inline-block; padding-block: 10px; }

.varnify-callout-crumbs > span { padding-block: 10px; }

p.varnify-callout-crumbs { display: block; }

p.varnify-callout-crumbs a { margin-right: 6px; }

/* On the pegboard or concrete, the crumbs are a strip of label stock stuck
   on the board, so the holes never run through the words. */
:is(.is-style-varnify-callout-pegboard, .is-style-varnify-callout-concrete) .varnify-callout-crumbs {
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 10px;
	padding-inline: 12px;
	border-radius: 9px;
	background: var(--varnify-callout-stock);
	box-shadow: var(--varnify-callout-shadow-s);
}

/* Prose: services, pages, posts. On the ground, not in a box. */
.varnify-callout-prose { font-size: 18px; line-height: 1.6; }

body .varnify-callout-prose > * { margin-block: 0 18px; }

.varnify-callout-prose h2 {
	margin-top: 44px !important;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 900;
	font-style: italic;
	font-stretch: 114%;
	line-height: 1;
}

.varnify-callout-prose h3 { margin-top: 28px !important; font-size: 24px; font-weight: 800; font-style: italic; }

/* Quick checks: each one ticked off before you ring. */
.callout-checks,
.varnify-callout-checks {
	display: grid;
	gap: 0;
	padding: 6px 22px;
	background: var(--varnify-callout-stock);
	border-radius: 12px;
	box-shadow: var(--varnify-callout-shadow), inset 0 0 0 7px var(--varnify-callout-stock), inset 0 0 0 9px var(--varnify-callout-graphite);
}

body .callout-checks > *,
body .varnify-callout-checks > * {
	position: relative;
	margin: 0;
	padding: 14px 4px 13px 38px;
	font-size: 17px;
	line-height: 1.45;
	border-bottom: 1.5px solid var(--varnify-callout-hair);
}

.callout-checks > :last-child,
.varnify-callout-checks > :last-child { border-bottom: 0; }

.callout-checks > *::before,
.varnify-callout-checks > *::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 16px;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: 2px solid var(--varnify-callout-graphite);
	border-radius: 3px;
}

.callout-checks strong,
.varnify-callout-checks strong { font-weight: 800; }

.callout-note,
.varnify-callout-note { font-size: 16px; color: var(--varnify-callout-ink-2); }

/* A ruled list: faults we fix, written on the lines. */
.varnify-callout-prose ul.is-style-ruled {
	padding: 0;
	list-style: none;
	columns: 2 16em;
	column-gap: 32px;
}

.varnify-callout-prose ul.is-style-ruled > li {
	break-inside: avoid;
	padding: 10px 0 7px;
	border-bottom: 1.5px solid var(--varnify-callout-graphite);
	font-family: var(--varnify-callout-heading);
	font-size: 19px;
	font-weight: 600;
	font-style: italic;
}

/* Price tables: written on a label. */
.varnify-callout-prose .wp-block-table {
	padding: 10px 24px 16px;
	background: var(--varnify-callout-stock);
	border-radius: 12px;
	box-shadow: var(--varnify-callout-shadow), inset 0 0 0 7px var(--varnify-callout-stock), inset 0 0 0 9px var(--varnify-callout-graphite);
}

.varnify-callout-prose .wp-block-table table { width: 100%; border-collapse: collapse; }

.varnify-callout-prose .wp-block-table td,
.varnify-callout-prose .wp-block-table th { padding: 12px 0 7px; border: 0; border-bottom: 1.5px solid var(--varnify-callout-hair); text-align: left; }

.varnify-callout-prose .wp-block-table td:last-child {
	text-align: right;
	font-family: var(--varnify-callout-heading);
	font-size: 21px;
	font-weight: 800;
	font-style: italic;
	color: var(--varnify-callout-graphite);
}

.varnify-callout-prose .wp-block-table figcaption { margin-top: 12px; font-size: 14px; color: var(--varnify-callout-ink-2); text-align: left; }

/* Questions, as native details: each one a box to tick open. */
.wp-block-details {
	padding: 0;
	border-bottom: 2px solid var(--varnify-callout-graphite);
}

.wp-block-details:first-of-type,
:not(.wp-block-details) + .wp-block-details { border-top: 2px solid var(--varnify-callout-graphite); }

body .varnify-callout-prose > .wp-block-details { margin-block: 0; }

.wp-block-details summary {
	position: relative;
	padding: 16px 44px 14px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--varnify-callout-heading);
	font-size: 20px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.25;
}

.wp-block-details summary::-webkit-details-marker { display: none; }

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 2px;
	top: 14px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	box-sizing: border-box;
	border: 2px solid var(--varnify-callout-graphite);
	border-radius: 3px;
	background: var(--varnify-callout-stock);
	font-style: normal;
	font-size: 20px;
	line-height: 1;
}

.wp-block-details[open] summary::after { content: "–"; background: var(--varnify-callout-colour); color: var(--varnify-callout-lettering); border-color: var(--varnify-callout-rule); }

.wp-block-details > :not(summary) { margin: 0 0 18px; }

/* A photo beside a quote. */
.varnify-callout-prose .wp-block-media-text { gap: 28px; margin-block: 32px !important; }

.varnify-callout-prose .wp-block-media-text__media img { border-radius: 6px; aspect-ratio: 3 / 4; object-fit: cover; }

.varnify-callout-prose .wp-block-media-text__content { padding: 0; }

/* A quote in the page's own words is a small label: white stock and a printed
   border, not a coloured stripe down its side. */
.varnify-callout-prose .wp-block-quote,
.varnify-callout-prose blockquote {
	margin: 0;
	padding: 16px 20px;
	border: 2px solid var(--varnify-callout-graphite);
	border-radius: 8px;
	background: var(--varnify-callout-stock);
	font-size: 21px;
	font-weight: 600;
	font-style: italic;
	line-height: 1.35;
}

/* The reviews are labels of their own: leave nothing of the quote's. */
.varnify-callout-prose .varnify-callout-review__text {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: inherit;
	font-weight: inherit;
	font-style: normal;
	line-height: inherit;
}

.varnify-callout-prose cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; font-weight: 700; color: var(--varnify-callout-ink-2); }

.varnify-callout-prose img { border-radius: 6px; }

.varnify-callout-postlist { display: grid; gap: 22px; padding: 0; list-style: none; }

.varnify-callout-postlist > li { padding: 20px 24px; background: var(--varnify-callout-stock); border-radius: 12px; box-shadow: var(--varnify-callout-shadow-s); }

.varnify-callout-postlist h2 { font-size: 26px; margin: 0 0 8px; }

.varnify-callout-postlist a { color: var(--varnify-callout-ink); }

.varnify-callout-search .wp-block-search__input { min-height: 48px; border: 2px solid var(--varnify-callout-graphite); border-radius: 8px; padding-inline: 14px; }

.varnify-callout-search .wp-block-search__button { min-height: 48px; border-radius: 8px; background: var(--varnify-callout-ink); color: var(--varnify-callout-stock); }

.varnify-callout-page.is-404 { padding-top: 32px; }

.varnify-callout-links { font-size: 16px; }

/* --- a service page ------------------------------------------------------------- */

.varnify-callout-service { padding-bottom: var(--varnify-callout-section); }

.varnify-callout-svchero { display: grid; gap: 0; margin-top: 8px; }

.varnify-callout-svchero__photo { margin: 0; order: 2; }

.varnify-callout-svchero__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

.varnify-callout-label.is-service { order: 1; z-index: 2; view-transition-name: varnify-callout-label; }

.varnify-callout-svchero .varnify-callout-band.is-compact { padding: 10px 17px 9px; border-bottom-width: 4px; }

.varnify-callout-svchero .varnify-callout-band.is-compact .varnify-callout-band__title { font-size: clamp(20px, 4.4cqi, 30px); }

.is-service .varnify-callout-label__body { gap: 0; padding: 16px 24px 22px; }

.is-service .varnify-callout-label__headline {
	margin: 4px 0 0;
	font-size: clamp(30px, 8.4cqi, 62px);
	font-weight: 900;
	font-style: italic;
	font-stretch: 112%;
	line-height: .96;
}

.is-service .varnify-callout-lede { margin-top: 12px; font-size: 17px; color: var(--varnify-callout-ink-2); }

.is-service .varnify-callout-call { margin-top: 16px; }

.is-service .varnify-callout-number { font-size: clamp(56px, 29cqi, 150px); }

@container varnify-callout-label (min-width: 560px) {
	.is-service .varnify-callout-number { font-size: clamp(56px, 19cqi, 132px); }
}

.is-service .varnify-callout-fields { margin-top: 16px; }

.is-service .varnify-callout-ticks { margin-top: 16px; }

.is-service .varnify-callout-photolink { margin-top: 12px; }

.is-service .varnify-callout-smallprint { margin-top: 6px; padding-right: 30px; }

.varnify-callout-alert {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 10px !important;
	padding: 9px 12px;
	border-radius: 6px;
	background: var(--varnify-callout-tint);
	box-shadow: inset 0 0 0 1.5px var(--varnify-callout-graphite);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.varnify-callout-alert .varnify-callout-icon { width: 18px; height: 18px; margin-top: 1px; }

.varnify-callout-svchero.has-no-photo .varnify-callout-label.is-service { max-width: 860px; }

.varnify-callout-svchero__photo + .varnify-callout-label { margin-top: 0; }

@media (max-width: 959px) {
	.varnify-callout-svchero__photo { margin: -24px 12px 0; }
}

@media (min-width: 960px) {
	.varnify-callout-svchero {
		grid-template-columns: minmax(0, 640fr) minmax(0, 90fr) minmax(0, 614fr);
		grid-template-rows: 24px auto 40px;
	}

	.varnify-callout-svchero__photo { grid-column: 2 / 4; grid-row: 1 / 3; }

	.varnify-callout-svchero__photo img { height: 100%; aspect-ratio: auto; }

	.varnify-callout-label.is-service { grid-column: 1 / 3; grid-row: 2 / 4; }

	.varnify-callout-svchero.has-no-photo { display: block; }
}

.varnify-callout-service__body { display: grid; gap: 40px; margin-top: 48px; }

body .varnify-callout-service__body > * { margin-block: 0; }

@media (min-width: 960px) {
	.varnify-callout-service__body { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }

	.varnify-callout-aside { position: sticky; top: 24px; }
}

.varnify-callout-aside { display: grid; gap: 18px; }

.varnify-callout-label.is-warning .varnify-callout-label__body { padding: 12px 20px 18px; gap: 8px; font-size: 15.5px; line-height: 1.45; }

.varnify-callout-warning__number { font-size: 40px; color: var(--varnify-callout-graphite); text-decoration: none; line-height: 1; }

.varnify-callout-ringnote p { margin: 14px 16px 10px !important; font-size: 15.5px; font-weight: 600; }

.varnify-callout-ringnote .varnify-callout-callbtn { margin: 0 12px 14px; }

.varnify-callout-related ul { margin: 0; padding: 6px 16px 14px; list-style: none; }

.varnify-callout-related li { border-bottom: 1.5px solid var(--varnify-callout-hair); }

.varnify-callout-related li:last-child { border-bottom: 0; }

.varnify-callout-related a { display: block; padding: 11px 0 9px; color: var(--varnify-callout-ink); font-weight: 700; text-decoration: none; }

.varnify-callout-related a:hover { text-decoration: underline; }

/* --- a finished job's page ------------------------------------------------------------ */

.varnify-callout-project { display: grid; gap: 32px; }

body .varnify-callout-project > *,
body .varnify-callout-project__body > * { margin-block: 0 22px; }

@media (min-width: 960px) {
	.varnify-callout-project { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
}

/* --- the quote: a fresh label to tick ------------------------------------------------- */

.varnify-callout-quote { display: grid; gap: 28px; align-items: start; }

.varnify-callout-quote__title {
	margin: 0 0 14px;
	font-size: var(--wp--preset--font-size--display);
	font-weight: 900;
	font-style: italic;
	font-stretch: 112%;
	line-height: .98;
}

.varnify-callout-quote__intro .varnify-callout-lede { margin: 0 0 18px; color: var(--varnify-callout-ink-2); font-size: 18px; }

.varnify-callout-quote__intro .varnify-callout-call { container: varnify-callout-label / inline-size; margin-bottom: 20px; }

.varnify-callout-quote__intro .varnify-callout-number { font-size: clamp(56px, 18cqi, 112px); flex-wrap: nowrap; }

@media (max-width: 781px) {
	/* On a phone the roll carries the number ("Quicker to talk?"): the label
	   to fill in comes straight after the title. */
	.varnify-callout-quote__intro .varnify-callout-call,
	.varnify-callout-quote__intro .varnify-callout-ticks { display: none; }

	.varnify-callout-quote.is-sent .varnify-callout-quote__intro .varnify-callout-call { display: flex; }
}

@media (min-width: 960px) {
	.varnify-callout-quote { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }

	.varnify-callout-quote__intro { position: sticky; top: 24px; }
}

.varnify-callout-form { margin: 0; }

.varnify-callout-form__band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }

.varnify-callout-form__band .varnify-callout-band__title { font-size: clamp(28px, 6cqi, 40px); }

.varnify-callout-form__rail {
	display: flex;
	gap: 4px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 700;
}

.varnify-callout-form__rail a {
	display: inline-block;
	padding-block: 8px;
	color: inherit;
	text-decoration: none;
	opacity: .78;
}

.varnify-callout-form__rail a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.varnify-callout-form__body { padding: 8px 24px 26px; }

.varnify-callout-form__title {
	margin: 14px 0 6px;
	font-size: clamp(30px, 8cqi, 40px);
	font-weight: 900;
	font-style: italic;
	font-stretch: 118%;
	line-height: .95;
}

.varnify-callout-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

/* The job types and the urgencies: rows of tick boxes. */
.varnify-callout-options { display: grid; }

.varnify-callout-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	border-bottom: 1.5px solid color-mix(in srgb, var(--varnify-callout-graphite) 40%, transparent);
	cursor: pointer;
}

.varnify-callout-option input,
.varnify-callout-chipopt input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.varnify-callout-option .varnify-callout-box { width: 30px; height: 30px; }

.varnify-callout-option .varnify-callout-box svg { width: 20px; height: 20px; }

.varnify-callout-option .varnify-callout-box svg,
.varnify-callout-chipopt .varnify-callout-box svg { opacity: 0; }

.varnify-callout-option__name {
	font-family: var(--varnify-callout-heading);
	font-size: clamp(18px, 5cqi, 22px);
	font-weight: 750;
	font-style: normal;
	font-stretch: 105%;
	line-height: 1.1;
}

.varnify-callout-option__hint {
	margin-left: auto;
	max-width: 9em;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--varnify-callout-ink-2);
	text-align: right;
}

/* Ticked: the box takes the owner's colour and the tick is stamped in. */
.varnify-callout-option input:checked + .varnify-callout-box,
.varnify-callout-chipopt input:checked + .varnify-callout-box {
	background: var(--varnify-callout-colour);
	color: var(--varnify-callout-lettering);
	border-color: var(--varnify-callout-rule);
}

.varnify-callout-option input:checked + .varnify-callout-box svg,
.varnify-callout-chipopt input:checked + .varnify-callout-box svg {
	opacity: 1;
	animation: varnify-callout-stamp .26s var(--varnify-callout-ease) both;
}

.varnify-callout-option:has(input:checked) { background: linear-gradient(90deg, var(--varnify-callout-tint), transparent 70%); }

.varnify-callout-option input:focus-visible + .varnify-callout-box,
.varnify-callout-chipopt input:focus-visible + .varnify-callout-box { outline: 3px solid var(--varnify-callout-ink); outline-offset: 3px; }

.varnify-callout-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.varnify-callout-chipopt {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.varnify-callout-field { display: grid; gap: 6px; margin-top: 18px; }

.varnify-callout-field.is-radios { border: 0; padding: 0; margin-inline: 0; min-width: 0; }

.varnify-callout-field.is-radios > div,
.varnify-callout-field.is-radios { display: flex; flex-wrap: wrap; gap: 4px 18px; }

.varnify-callout-field.is-radios > legend { width: 100%; margin-bottom: 4px; }

.varnify-callout-field__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--varnify-callout-ink-2);
	padding: 0;
}

.varnify-callout-field__hint { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--varnify-callout-ink-2); }

.varnify-callout-field__error { margin: 0; font-size: 14px; font-weight: 700; color: var(--varnify-callout-ink); }

.varnify-callout-field__error::before { content: "✕ "; }

/* Written fields: a line to write on, not a box. */
.varnify-callout-form input[type="text"],
.varnify-callout-form input[type="tel"],
.varnify-callout-form input[type="email"],
.varnify-callout-form select,
.varnify-callout-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 8px 2px 6px;
	border: 0;
	border-bottom: 2px solid var(--varnify-callout-graphite);
	border-radius: 0;
	background: transparent;
	font-family: var(--varnify-callout-heading);
	font-size: 20px;
	font-weight: 600;
	font-style: italic;
	color: var(--varnify-callout-ink);
}

.varnify-callout-form textarea { min-height: 84px; resize: vertical; line-height: 1.35; }

.varnify-callout-form select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--varnify-callout-graphite) 50%) right 14px center / 8px 8px no-repeat, linear-gradient(-45deg, transparent 50%, var(--varnify-callout-graphite) 50%) right 8px center / 8px 8px no-repeat; padding-right: 30px; }

.varnify-callout-form ::placeholder { color: #6E7275; opacity: 1; font-weight: 500; }

.varnify-callout-form [aria-invalid="true"] { border-bottom-color: var(--varnify-callout-ink); border-bottom-width: 4px; }

/* "Add a photo of it": a dashed square where the photo will stick. */
.varnify-callout-shot { position: relative; }

.varnify-callout-shot__drop { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; cursor: pointer; }

.varnify-callout-shot__square {
	display: grid;
	place-items: center;
	height: 84px;
	border: 2px dashed color-mix(in srgb, var(--varnify-callout-graphite) 55%, transparent);
	border-radius: 6px;
	color: var(--varnify-callout-graphite);
	font-size: 30px;
}

.varnify-callout-shot__text strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.15; }

.varnify-callout-shot__text .varnify-callout-field__hint { display: block; margin-top: 5px; }

.varnify-callout-shot input[type="file"] { position: absolute; left: 0; top: 0; width: 92px; height: 84px; opacity: 0; cursor: pointer; }

.varnify-callout-shot:focus-within .varnify-callout-shot__square { outline: 3px solid var(--varnify-callout-ink); outline-offset: 3px; }

.varnify-callout-shot__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }

.varnify-callout-shot__item { position: relative; margin: 0; }

.varnify-callout-shot__item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; box-shadow: var(--varnify-callout-shadow-s); transform: rotate(-1.5deg); }

.varnify-callout-shot__item button {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: var(--varnify-callout-ink);
	color: var(--varnify-callout-stock);
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
}

.varnify-callout-form__moves { display: flex; gap: 10px; margin-top: 24px; }

.varnify-callout-form__next,
.varnify-callout-form__submit,
.varnify-callout-form__back {
	min-height: 58px;
	border: 0;
	border-radius: 10px;
	font-family: var(--varnify-callout-heading);
	font-size: 20px;
	font-weight: 800;
	font-style: italic;
	font-stretch: 110%;
	cursor: pointer;
}

.varnify-callout-form__next,
.varnify-callout-form__submit { flex: 1; background: var(--varnify-callout-ink); color: #F1F1EE; }

.varnify-callout-form__next:hover,
.varnify-callout-form__submit:hover { background: var(--varnify-callout-graphite); }

.varnify-callout-form__back { padding-inline: 20px; background: transparent; color: var(--varnify-callout-ink); box-shadow: inset 0 0 0 2px var(--varnify-callout-ink); }

.varnify-callout-form__error {
	margin: 12px 0 4px;
	padding: 12px 16px;
	border-radius: 6px;
	background: var(--varnify-callout-tint);
	box-shadow: inset 0 0 0 2px var(--varnify-callout-ink);
	font-weight: 700;
}

.varnify-callout-form__error p { margin: 0 0 6px; }

.varnify-callout-form__error ul { margin: 0; padding-left: 20px; }

.varnify-callout-form__error a { color: var(--varnify-callout-ink); }

.varnify-callout-notice {
	margin: 14px 0 0;
	padding: 12px 16px;
	border-radius: 6px;
	background: var(--varnify-callout-stock);
	box-shadow: inset 0 0 0 2px var(--varnify-callout-graphite);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--varnify-callout-ink);
}

.varnify-callout-notice.is-urgent { background: var(--varnify-callout-tint); }

.varnify-callout-notice a { color: var(--varnify-callout-ink); font-weight: 800; }

.varnify-callout-ticks.is-done { margin: 16px 0 6px; font-size: 18px; }

.varnify-callout-ticks.is-done .varnify-callout-box { background: var(--varnify-callout-colour); color: var(--varnify-callout-lettering); border-color: var(--varnify-callout-rule); }

/* The honeypot. Off-screen rather than display:none, which some bots skip. */
.varnify-callout-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.varnify-callout-quotesec { padding-top: 0; }

.varnify-callout-page.is-quote { padding-top: 20px; }

/* --- surfaces -------------------------------------------------------------------------
   The page is a light ground; a few sections are laid on something else, the
   way a label is stuck on a boiler casing, a cupboard door or the workshop
   wall. Three block styles on the Group block (registered in functions.php),
   so an owner can put one on a section, or take it off, under Styles in the
   Site Editor:

   - Concrete: pale grey with a fine grain and a soft mottle, a hairline
     where it meets the ground.
   - Graphite: the labels' own edge colour, dark, with light text. Labels on
     it keep their white stock and press a little harder.
   - Pegboard: the workshop wall or the van's racking, punched holes on a
     pale board. Behind the hero.

   Labels are the colour on every one of them. The noise tiles are sized so
   that baseFrequency times the tile is a whole number (0.9 × 240, 0.005 ×
   1000), which is what stitchTiles needs to repeat without a seam. */

:where(.is-style-varnify-callout-concrete, .is-style-varnify-callout-graphite, .is-style-varnify-callout-pegboard) {
	padding-block: var(--varnify-callout-section);
}

/* An owner's own boxed group, not a full-width section. */
:where(.is-style-varnify-callout-concrete, .is-style-varnify-callout-graphite, .is-style-varnify-callout-pegboard):where(:not(.alignfull, [data-align="full"], .varnify-callout-section, .varnify-callout-hero, .varnify-callout-svcband, .varnify-callout-wrap)) {
	padding-inline: clamp(16px, 3vw, 32px);
}

/* Back to back down the page, with nothing of the ground between. */
body .is-layout-flow > :is(.is-style-varnify-callout-concrete, .is-style-varnify-callout-graphite, .is-style-varnify-callout-pegboard).alignfull { margin-block: 0; }

.is-style-varnify-callout-concrete {
	--varnify-callout-surface: #E2E3DF;
	--varnify-callout-shadow:   0 0 0 1px rgba(28, 30, 32, .07), 0 1px 0 rgba(28, 30, 32, .3), 0 2px 4px -1px rgba(28, 30, 32, .32);
	--varnify-callout-shadow-s: 0 0 0 1px rgba(28, 30, 32, .06), 0 1px 0 rgba(28, 30, 32, .3), 0 1px 2px rgba(28, 30, 32, .24);
	background-color: #E2E3DF;
	border-block: 1px solid var(--varnify-callout-seam);
}

.is-style-varnify-callout-pegboard {
	--varnify-callout-surface: #ECEDEA;
	--varnify-callout-shadow:   0 0 0 1px rgba(28, 30, 32, .07), 0 1px 0 rgba(28, 30, 32, .3), 0 2px 4px -1px rgba(28, 30, 32, .32);
	--varnify-callout-shadow-s: 0 0 0 1px rgba(28, 30, 32, .06), 0 1px 0 rgba(28, 30, 32, .3), 0 1px 2px rgba(28, 30, 32, .24);
	background-color: #ECEDEA;
	/* A board of holes on a 26px pitch: each a darker hole about 5.5px across with
	   a light lower lip, where the board catches the light. */
	background-image:
		radial-gradient(circle at 50% 50%, rgba(28, 30, 32, .5) 0 2.6px, transparent 2.9px),
		radial-gradient(circle at 50% calc(50% + 1.1px), rgba(255, 255, 255, .95) 0 3.3px, transparent 3.6px);
	background-size: 26px 26px;
	background-position: 13px 13px;
	border-bottom: 1px solid var(--varnify-callout-seam);
}

/* Graphite. Everything on it that reads the ink variables turns light: text,
   headings, links, rules and the focus ring. Anything printed on white stock
   (a label, a tag, a tick box, a chip) sets them back, so a label looks the
   same on graphite as anywhere else. #F1F1EE on #2B2E30 is 12.1:1; the
   secondary #C3C6C2 is 7.9:1; the rules are 6.7:1. */
.is-style-varnify-callout-graphite {
	--varnify-callout-surface: var(--wp--preset--color--graphite, #2B2E30);
	--varnify-callout-ink: #F1F1EE;
	--varnify-callout-ink-2: #C3C6C2;
	--varnify-callout-graphite: #B3B7B2;
	--varnify-callout-hair: rgba(241, 241, 238, .4);
	--varnify-callout-seam: rgba(0, 0, 0, .3);
	--varnify-callout-shadow: 0 1px 0 rgba(0, 0, 0, .5), 0 6px 14px -4px rgba(0, 0, 0, .5);
	--varnify-callout-shadow-s: 0 1px 0 rgba(0, 0, 0, .5), 0 3px 8px -2px rgba(0, 0, 0, .5);
	background-color: var(--wp--preset--color--graphite, #2B2E30);
	color: var(--varnify-callout-ink);
}

.is-style-varnify-callout-graphite :is(h1, h2, h3, h4, h5, h6) { color: var(--varnify-callout-ink); }

.is-style-varnify-callout-graphite a:where(:not(.wp-element-button, .varnify-callout-label a, .varnify-callout-tile)),
.is-style-varnify-callout-graphite a:where(:not(.wp-element-button, .varnify-callout-label a, .varnify-callout-tile)):hover,
.is-style-varnify-callout-graphite a:where(:not(.wp-element-button, .varnify-callout-label a, .varnify-callout-tile)):focus { color: var(--varnify-callout-ink); }

.is-style-varnify-callout-graphite :is(
	.varnify-callout-label,
	.varnify-callout-tag,
	.varnify-callout-chip,
	.varnify-callout-checks,
	.callout-checks,
	.varnify-callout-codes li,
	.varnify-callout-postlist > li,
	.varnify-callout-notice,
	.varnify-callout-hero__photo figcaption,
	.varnify-callout-prose .wp-block-table,
	.varnify-callout-prose blockquote
),
.is-style-varnify-callout-graphite .varnify-callout-box {
	--varnify-callout-ink: var(--wp--preset--color--ink, #1C1E20);
	--varnify-callout-ink-2: var(--wp--preset--color--ink-2, #4A4E51);
	--varnify-callout-graphite: var(--wp--preset--color--graphite, #2B2E30);
	--varnify-callout-hair: color-mix(in srgb, var(--wp--preset--color--graphite, #2B2E30) 38%, transparent);
}

.is-style-varnify-callout-graphite :is(
	.varnify-callout-checks,
	.callout-checks,
	.varnify-callout-codes li,
	.varnify-callout-postlist > li,
	.varnify-callout-hero__photo figcaption,
	.varnify-callout-prose .wp-block-table,
	.varnify-callout-prose blockquote
) { color: var(--varnify-callout-ink); }

/* The white boxes drawn as pseudo-elements: the step numbers and a closed
   question's "+". */
.is-style-varnify-callout-graphite .varnify-callout-steps > li::before {
	border-color: var(--wp--preset--color--graphite, #2B2E30);
	color: var(--wp--preset--color--graphite, #2B2E30);
}

.is-style-varnify-callout-graphite .wp-block-details:not([open]) summary::after {
	border-color: var(--wp--preset--color--graphite, #2B2E30);
	color: var(--wp--preset--color--ink, #1C1E20);
}

/* Labels keep their white stock; the shade under them is deeper (the
   variables above), and the focus ring is light on graphite and dark inside
   a label, both from the ink variable. */

/* A surface that holds a section of its own (the closing label on an inner
   page): the section inside sets the spacing. */
.varnify-callout-wrap { padding-block: 0; }

/* A closing band that follows a surface (a page that ends on graphite, say) sits
   on the plain ground: two surfaces never stack. */
.varnify-callout-page:has(> .varnify-callout-prose:last-child > .alignfull:last-child) + .varnify-callout-wrap.is-style-varnify-callout-concrete {
	--varnify-callout-surface: var(--varnify-callout-ground);
	background: none;
	border-block: 0;
}

.varnify-callout-wrap > .varnify-callout-closing { padding-top: var(--varnify-callout-section); }

/* The closing label comes straight after a section on the ground and shares
   its spacing; after a surface it needs its own. */
:is(.is-style-varnify-callout-concrete, .is-style-varnify-callout-graphite, .is-style-varnify-callout-pegboard) + .varnify-callout-closing { padding-top: var(--varnify-callout-section); }

/* A full-width surface in a page's reading column runs to the edges of the
   window; what is on it starts where the column starts and takes the page's
   full width. */
.varnify-callout-page.is-article .varnify-callout-prose > .alignfull {
	width: 100vw;
	max-width: none;
	box-sizing: border-box;
	margin-block: 40px !important;
	margin-inline-start: calc(-1 * max(var(--varnify-callout-gutter), (100vw - var(--varnify-callout-max)) / 2)) !important;
	padding-inline: max(var(--varnify-callout-gutter), (100vw - var(--varnify-callout-max)) / 2);
}

.varnify-callout-page.is-article .varnify-callout-prose > .alignfull:last-child { margin-bottom: 0 !important; }

/* A page that ends on a surface hands straight on to the closing label's,
   as the front page's reviews do to Where we go: no strip of ground between. */
.varnify-callout-page.is-article:has(> .varnify-callout-prose:last-child > .alignfull:last-child) { padding-bottom: 0; }

/* 100vw counts a desktop scrollbar; nothing may scroll sideways for it. */
.wp-site-blocks { overflow-x: clip; }

/* The top of a service page: the breadcrumb and the service label on the
   pegboard, the page below on the ground. */
.varnify-callout-svcband { padding-block: 0 clamp(32px, 4vw, 56px); }

/* The quote form on a service page: on concrete, after the page. */
.varnify-callout-quotesec.is-style-varnify-callout-concrete { padding-top: var(--varnify-callout-section); }

/* The quote page and the not-found page are one surface under the header. */
.varnify-callout-wrap > .varnify-callout-page.is-quote { padding-top: clamp(24px, 3vw, 40px); }

/* --- motion that explains ------------------------------------------------------------
   The hero label is smoothed on once, as an engineer presses a label onto a
   clean surface: a slight lift and tilt, then flat. A tick is stamped as a
   box is ticked. Pages change with the label carried across. None of it
   happens for anyone who asks for reduced motion. */

@keyframes varnify-callout-stick {
	from { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 5px 5px -2px rgba(28, 30, 32, .25); }
	to { transform: none; }
}

@keyframes varnify-callout-press {
	from { transform: translateY(-10px) rotate(-1.6deg); box-shadow: 0 6px 6px -3px rgba(28, 30, 32, .25); }
	to { transform: none; }
}

@keyframes varnify-callout-stamp {
	0% { transform: scale(1.9) rotate(-8deg); opacity: 0; }
	60% { transform: scale(.92) rotate(0); opacity: 1; }
	100% { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
	.varnify-callout-label.is-hero,
	.varnify-callout-label.is-service { animation: varnify-callout-stick .55s var(--varnify-callout-ease) .05s both; }

	@view-transition { navigation: auto; }

	/* The wall of photographs: each label is pressed on as its photograph
	   comes into view, one small lift and tilt, then flat. It is never hidden
	   (a label is on its photograph even in a print or a full-page capture),
	   and where scroll-driven animation is not supported it is simply there. */
	@supports (animation-timeline: view()) {
		.varnify-callout-wall .varnify-callout-tile:not(.is-unsure) > .varnify-callout-label {
			animation: varnify-callout-press linear backwards;
			animation-timeline: view();
			animation-range: entry 20% entry 85%;
		}
	}

	::view-transition-group(varnify-callout-label) { animation-duration: .35s; animation-timing-function: var(--varnify-callout-ease); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.varnify-callout-label.is-hero,
	.varnify-callout-label.is-service { view-transition-name: none; }
}

/* --- focus -----------------------------------------------------------------------------
   Never wrapped in :where(): a focus ring should not lose a specificity
   argument with a plugin's reset. */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--varnify-callout-ink);
	outline-offset: 2px;
}

.varnify-callout-roll a:focus-visible,
.varnify-callout-footer a:focus-visible { outline-color: #FFFFFF; outline-offset: 3px; }

.varnify-callout-roll__call:focus-visible { outline-style: solid; }

.varnify-callout-band a:focus-visible,
.varnify-callout-btn--call:focus-visible,
.varnify-callout-callbtn:focus-visible { outline-color: var(--varnify-callout-ink); outline-offset: 3px; }

/* --- the theme's blocks, in the editor -------------------------------------------------
   On the site a Callout block prints its markup straight into the page. In
   the editor that markup sits inside one wrapper (the thing that gets
   selected), so wherever a layout places a piece by its own class, the
   wrapper takes that place. None of these selectors match on the site. */

.varnify-callout-hero__board > .wp-block-varnify-callout-hero-photo,
.varnify-callout-hero__board > .wp-block-varnify-callout-hero-photo .varnify-callout-hero__photo { height: 100%; }

.varnify-callout-hero__board > .wp-block-varnify-callout-last-job { position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; }

.varnify-callout-hero__board > .wp-block-varnify-callout-last-job > * { pointer-events: auto; }

.varnify-callout-label > .wp-block-varnify-callout-label-band { display: contents; }

.varnify-callout-label__body > .wp-block-varnify-callout-photo-link { margin-top: auto; }

.varnify-callout-service__body > .wp-block-varnify-callout-service-aside { min-width: 0; }

.varnify-callout-block-preview.is-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
}

.varnify-callout-block-empty {
	padding: 14px 18px;
	border: 2px dashed var(--varnify-callout-hair);
	border-radius: 8px;
	color: var(--varnify-callout-ink-2);
	font-size: 15px;
	line-height: 1.4;
}

.varnify-callout-block-empty strong { display: block; color: var(--varnify-callout-ink); }

/* --- the trust row: a strip of small labels ------------------------------------------------ */

.varnify-callout-trust { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.varnify-callout-trust li { padding: 12px 18px 13px; font-size: 15px; line-height: 1.3; }

.varnify-callout-trust strong { display: block; font-family: var(--varnify-callout-heading); font-size: 20px; font-weight: 800; font-style: italic; }

/* --- print ----------------------------------------------------------------------------------- */

@media print {
	.varnify-callout-roll,
	.varnify-callout-nav,
	.varnify-callout-actions { display: none !important; }

	body { background: #fff; padding-bottom: 0 !important; }
}
