/**
 * Whitevision Brand Hub — front-end styling.
 *
 * Colours, type sizes and spacing come from theme.json as CSS custom
 * properties; this file lays out the shell and styles the brand blocks.
 * --wv-accent is set per page by the theme, following the chapter colour;
 * --wv-cta is fixed, so the thing you click looks the same on every page.
 */

:root {
	--wv-ink: #1D1D1B;
	--wv-bg: #FFFFFF;
	--wv-paper: #FBFAF7;
	--wv-surface: #FFFFFF;
	--wv-raised: #F4F2ED;
	--wv-text: #1D1D1B;
	--wv-text-2: #434343;
	--wv-text-3: #75726B;
	--wv-line: #E7E3DA;
	--wv-line-strong: #D3CEC2;
	--wv-accent: #FDC300;
	--wv-on-accent: #1D1D1B;
	/*
	 * The call to action is always approachable yellow.
	 *
	 * --wv-accent follows the chapter, which is the point of it — but buttons
	 * were using it too, so "Sign in" was yellow on Who we are, petrol on Logo
	 * and fuchsia on Colour. A button that changes colour from page to page
	 * stops reading as the same button. The accent still themes the page; the
	 * thing you click does not move.
	 */
	--wv-cta: #FDC300;
	--wv-on-cta: #1D1D1B;
	--wv-radius: 20px;
	--wv-radius-s: 12px;
	--wv-rail: 264px;
	--wv-maxw: 1080px;
	--wv-maxw-wide: 1320px;
	--wv-gutter: 32px;
	--wv-shadow: 0 1px 2px rgba(29, 29, 27, .05), 0 8px 24px -12px rgba(29, 29, 27, .18);
	--wv-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/*
 * One palette, always light.
 *
 * There used to be a dark variant that followed the visitor's system setting.
 * A brand hub is a reference: the colours on screen are the colours being
 * documented, and a swatch that changes with the reader's operating system is
 * worse than useless. color-scheme pins the browser's own furniture — form
 * fields, scrollbars, checkboxes — to light as well, which is what made the
 * request form render dark grey on a dark phone.
 */
:root { color-scheme: light; }

body {
	background: var(--wv-bg);
	color: var(--wv-text);
}

/* ---------------------------------------------------------- the shell */

.wv-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--wv-cta);
	color: var(--wv-on-cta);
	padding: 10px 18px;
	z-index: 200;
	border-radius: 0 0 10px 0;
	font-weight: 600;
}
.wv-skip:focus { left: 0; }

.wv-rail {
	position: fixed;
	inset: 0 auto 0 0;
	width: var(--wv-rail);
	background: var(--wv-bg);
	border-right: 1px solid var(--wv-line);
	overflow-y: auto;
	padding: 22px 0 32px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	z-index: 50;
}

.wv-rail-top { display: flex; align-items: center; gap: 8px; }
.wv-brandmark { display: flex; align-items: center; padding: 2px 22px 0; flex: 1; min-width: 0; }
.wv-rail-close {
	display: none;
	margin: 2px 16px 0 0;
	width: 40px;
	height: 40px;
	flex: none;
	border: 1px solid var(--wv-line-strong);
	background: var(--wv-surface);
	color: var(--wv-text-2);
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.wv-rail-close:hover { border-color: var(--wv-accent); color: var(--wv-text); }
.wv-rail-close:focus-visible { outline: 2px solid var(--wv-accent); outline-offset: 2px; }

/* The dimmed area beside an open menu; a tap on it closes the menu. */
.wv-scrim {
	position: fixed;
	inset: 0;
	background: rgba(29, 29, 27, .45);
	z-index: 45;
	border: 0;
	display: none;
}
body.wv-nav-open .wv-scrim { display: block; }

.wv-brandmark img { height: 32px; width: auto; }
/* The rail is always light, so the light logo is the only one it shows. */
.wv-logo-dark { display: none; }

.wv-rail-nav { display: flex; flex-direction: column; gap: 20px; }

/*
 * A chapter is a details element, so it folds with no JavaScript. The summary
 * carries the heading and the chevron; the marker is hidden because the chevron
 * is the affordance.
 */
.wv-rail-group { padding: 0 12px; }
.wv-rail-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wv-text-3);
	padding: 6px 10px;
	border-radius: 8px;
	cursor: pointer;
	list-style: none;
	transition: background .15s, color .15s;
}
.wv-rail-label::-webkit-details-marker { display: none; }
.wv-rail-label:hover { background: var(--wv-raised); color: var(--wv-text-2); }
.wv-rail-label:focus-visible {
	outline: 2px solid var(--wv-accent);
	outline-offset: 1px;
}
.wv-rail-chev {
	flex: none;
	opacity: .75;
	transform: rotate(-90deg);
	transition: transform .18s ease;
}
.wv-rail-group[open] > .wv-rail-label .wv-rail-chev { transform: rotate(0deg); }
.wv-rail-links {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 2px;
}
.wv-rail-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--wv-text-2);
	text-decoration: none;
	transition: background .15s, color .15s;
}
.wv-rail-link:hover { background: var(--wv-raised); color: var(--wv-text); }
.wv-rail-link[aria-current="page"] { background: var(--wv-raised); color: var(--wv-text); font-weight: 600; }
.wv-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--c, var(--wv-line-strong)); }
.wv-rail-foot {
	margin-top: auto;
	padding: 0 22px;
	font-size: 12px;
	color: var(--wv-text-3);
	line-height: 1.5;
}
.wv-rail-foot a { color: inherit; }

body.wv-has-rail .wp-site-blocks { padding-left: var(--wv-rail); }

/* ---------------------------------------------------------- top bar */

.wv-top {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 32px;
	background: var(--wv-bg);
	border-bottom: 1px solid var(--wv-line);
}
.wv-search-trigger {
	flex: 1;
	max-width: 420px;
	display: flex;
	align-items: center;
	gap: 9px;
	border: 1px solid var(--wv-line-strong);
	background: var(--wv-surface);
	border-radius: 999px;
	padding: 8px 14px;
	color: var(--wv-text-3);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
}
.wv-search-trigger:hover { border-color: var(--wv-accent); }
.wv-search-trigger kbd {
	margin-left: auto;
	font: 500 11px/1 var(--wv-mono);
	border: 1px solid var(--wv-line-strong);
	border-radius: 5px;
	padding: 3px 5px;
}
.wv-top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wv-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--wv-raised);
	display: grid;
	place-items: center;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--wv-text-2);
	border: 1px solid var(--wv-line-strong);
}

/* ----------------------------------------------------------- buttons */

.wv-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: 9px 16px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .12s, filter .15s;
}
.wv-btn:active { transform: translateY(1px); }
.wv-btn--primary { background: var(--wv-cta); color: var(--wv-on-cta); }
.wv-btn--primary:hover { filter: brightness(.94); }
.wv-btn--ghost { border-color: var(--wv-line-strong); color: var(--wv-text-2); }
.wv-btn--ghost:hover { border-color: var(--wv-ink); color: var(--wv-text); }
.wv-btn--sm { padding: 6px 12px; font-size: 13px; }
.wv-btn--lg { padding: 13px 22px; font-size: 15px; }

/* ----------------------------------------------------------- sign in */

.wv-signin {
	max-width: 46ch;
	padding-top: 72px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}
.wv-signin .wv-h-page { font-size: clamp(30px, 3.6vw, 42px); }
.wv-signin__actions { margin: 10px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.wv-signin__or {
	margin: 22px 0 0;
	font-size: 13px;
	color: var(--wv-text-3);
	position: relative;
	align-self: stretch;
	text-align: center;
}
.wv-signin__or::before,
.wv-signin__or::after {
	content: "";
	position: absolute;
	top: 50%;
	width: calc(50% - 11ch);
	height: 1px;
	background: var(--wv-line);
}
.wv-signin__or::before { left: 0; }
.wv-signin__or::after { right: 0; }
.wv-signin__form {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 18px;
}
.wv-signin__form label {
	font-size: 13px;
	font-weight: 600;
	margin-top: 8px;
}
.wv-signin__form input {
	font: inherit;
	font-size: 15px;
	padding: 11px 13px;
	border: 1px solid var(--wv-line-strong);
	border-radius: var(--wv-radius-s);
	background: var(--wv-surface);
	color: var(--wv-text);
}
.wv-signin__form input:focus-visible {
	outline: 2px solid var(--wv-accent);
	outline-offset: 1px;
	border-color: var(--wv-accent);
}
.wv-signin__form button { margin-top: 16px; align-self: flex-start; }
.wv-signin__lost { font-size: 13px; color: var(--wv-text-3); margin: 10px 0 0; }
.wv-signin__lost a { color: inherit; }
.wv-signin__error {
	align-self: stretch;
	margin: 0;
	padding: 11px 14px;
	border-radius: var(--wv-radius-s);
	background: rgba(162, 11, 100, .08);
	border: 1px solid rgba(162, 11, 100, .3);
	font-size: 14px;
}
.wv-signin__help { font-size: 13px; color: var(--wv-text-3); margin-top: 26px; }
.wv-signin__ok {
	align-self: stretch;
	margin: 0;
	padding: 11px 14px;
	border-radius: var(--wv-radius-s);
	background: rgba(140, 198, 63, .12);
	border: 1px solid rgba(140, 198, 63, .45);
	font-size: 14px;
}
.wv-signin__domains {
	font-size: 12.5px;
	color: var(--wv-text-3);
	margin: 12px 0 0;
}

/* The password form is the exception, so it starts folded away. */
.wv-signin__pw { align-self: stretch; margin-top: 26px; }
.wv-signin__pw > summary {
	font-size: 13.5px;
	color: var(--wv-text-3);
	cursor: pointer;
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.wv-signin__pw > summary::-webkit-details-marker { display: none; }
.wv-signin__pw > summary::before {
	content: "＋";
	font-size: 12px;
}
.wv-signin__pw[open] > summary::before { content: "－"; }
.wv-signin__pw > summary:hover { color: var(--wv-text-2); }
.wv-signin__pw > summary:focus-visible {
	outline: 2px solid var(--wv-accent);
	outline-offset: 2px;
}

/* -------------------------------------------------------------- forms */

.wv-form {
	max-width: 62ch;
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.wv-field { display: flex; flex-direction: column; gap: 6px; }
.wv-field > label,
.wv-field legend {
	font-size: 14px;
	font-weight: 600;
	padding: 0;
}
.wv-field__req {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wv-text-3);
	margin-left: 4px;
}
.wv-field__help { font-size: 13px; color: var(--wv-text-3); margin: 0; }
.wv-field input[type="text"],
.wv-field input[type="email"],
.wv-field input[type="tel"],
.wv-field textarea {
	font: inherit;
	font-size: 15px;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid var(--wv-line-strong);
	border-radius: var(--wv-radius-s);
	background: var(--wv-surface);
	color: var(--wv-text);
}
.wv-field textarea { resize: vertical; line-height: 1.5; }
.wv-field input:focus-visible,
.wv-field textarea:focus-visible {
	outline: 2px solid var(--wv-accent);
	outline-offset: 1px;
	border-color: var(--wv-accent);
}
/*
 * A legend sits on the fieldset's top border by default, which reads as a
 * mistake. Floating it to full width takes it out of the border and turns it
 * into a proper header row, and the options move to their own flex container.
 */
.wv-field fieldset {
	border: 1px solid var(--wv-line);
	border-radius: var(--wv-radius-s);
	padding: 0;
	margin: 0;
	background: var(--wv-paper);
	overflow: hidden;
}
.wv-field legend {
	float: left;
	width: 100%;
	padding: 12px 16px;
	border-bottom: 1px solid var(--wv-line);
	box-sizing: border-box;
}
.wv-checks {
	clear: both;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 16px;
}
.wv-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
}
.wv-check input { margin: 2px 0 0; flex: none; accent-color: var(--wv-accent); }
.wv-check__detail {
	margin: -2px 0 4px 27px;
	width: calc(100% - 27px);
	font-size: 14px !important;
	padding: 7px 11px !important;
}

/*
 * The follow-up field belongs to the box above it, so it only appears once that
 * box is ticked. Done with :has() rather than script, so it also works with
 * JavaScript switched off; a browser too old for :has() simply shows the fields
 * the way they were before, which is harmless.
 */
.wv-check:not(:has(input:checked)) + .wv-check__detail {
	display: none;
}
.wv-form__actions { margin-top: 4px; }
.wv-form__error {
	padding: 14px 16px;
	border-radius: var(--wv-radius-s);
	background: rgba(162, 11, 100, .08);
	border: 1px solid rgba(162, 11, 100, .3);
	font-size: 14.5px;
}
.wv-form__error p { margin: 0 0 6px; }
.wv-form__error ul { margin: 0; padding-left: 20px; }

/* The honeypot: present in the markup, never shown to a person. */
.wv-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wv-formdone {
	margin-top: 32px;
	max-width: 56ch;
	padding: 26px 28px;
	border-radius: var(--wv-radius);
	background: var(--wv-paper);
	border: 1px solid var(--wv-line);
}
.wv-formdone .wv-h-sect { margin: 6px 0 10px; }
.wv-formdone p { margin: 0 0 12px; color: var(--wv-text-2); }

/* A section that only opens after signing in. */
.wv-gate {
	margin-top: 16px;
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 20px 22px;
	border: 1px dashed var(--wv-line-strong);
	border-radius: var(--wv-radius);
	background: var(--wv-paper);
}
.wv-gate__ico { font-size: 22px; line-height: 1; }
.wv-gate p { margin: 0 0 10px; font-size: 14.5px; color: var(--wv-text-2); }

/* -------------------------------------------------------------- page */

.wv-main { padding: 0 0 96px; }
.wv-main--plain { padding-top: 48px; }

/*
 * The page column.
 *
 * main and post-content both use the flow layout, so the width lives here
 * rather than in theme.json's constrained layout. Every top-level block sits
 * in a centred column; the hero opts out and runs edge to edge, which is how
 * the design has it — it sits outside the page container, not inside it.
 */
.wv-main > *,
.wv-main > .entry-content > * {
	max-width: var(--wv-maxw);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wv-gutter);
	padding-right: var(--wv-gutter);
	box-sizing: border-box;
}
.wv-main > .entry-content {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
.wv-main--wide > *,
.wv-main--wide > .entry-content > * {
	max-width: var(--wv-maxw-wide);
}
.wv-main > .wp-block-wv-hero,
.wv-main > .entry-content > .wp-block-wv-hero {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 40px;
}
.wp-block-wv-hero .wv-hero {
	border-radius: 0;
	margin-bottom: 0;
}

/* Templates that open with a plain title rather than a page head. */
.wv-main > .wp-block-post-title:first-child,
.wv-main > .wp-block-heading:first-child,
.wv-main > .wp-block-query-title:first-child {
	margin-top: 56px;
}

/* A guideline can ask for the wide column; see the Page width field. */
body.wv-page-wide .wv-main > *,
body.wv-page-wide .wv-main > .entry-content > * {
	max-width: var(--wv-maxw-wide);
}
.wv-pagehead { padding-top: 64px; margin-bottom: 30px; display: flex; flex-direction: column; gap: 14px; }
.wv-eyebrow {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--wv-text-3);
	margin: 0;
}
.wv-h-page { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.025em; margin: 0; }
.wv-h-sect { font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 0; }
.wv-lede {
	font-size: 19px;
	line-height: 1.55;
	font-weight: 300;
	color: var(--wv-text-2);
	max-width: 64ch;
	margin: 0;
}
.wv-revision { font-size: 12.5px; color: var(--wv-text-3); margin: 0; }
.wv-empty {
	border: 1px dashed var(--wv-line-strong);
	border-radius: var(--wv-radius-s);
	padding: 14px 18px;
	color: var(--wv-text-3);
	font-size: 14px;
}

/* --------------------------------------------------------------- hero */

.wv-hero {
	position: relative;
	overflow: hidden;
	background: var(--accent, var(--wv-accent));
	color: var(--on-accent, var(--wv-on-accent));
	border-radius: var(--wv-radius);
	margin-bottom: 24px;
}
.wv-hero__pattern {
	position: absolute;
	inset: auto 0 0 0;
	height: 58%;
	background: var(--wv-pattern) repeat-x bottom center / auto 100%;
	opacity: .13;
	pointer-events: none;
}
.wv-hero__inner {
	position: relative;
	padding: 56px 40px 60px;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 40px;
	align-items: center;
}
.wv-hero__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.wv-hero h1 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.03em; margin: 0; }
.wv-hero .wv-lede { color: inherit; opacity: .84; }
.wv-hero .wv-eyebrow { color: inherit; opacity: .6; }
.wv-hero__photo { margin: 0; border-radius: var(--wv-radius); overflow: hidden; }
.wv-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wv-payoff {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	font-size: 13px;
	background: rgba(255, 255, 255, .28);
	border-radius: 999px;
	padding: 7px 14px;
}

/* Block wrappers get their own rhythm even outside the block layout engine. */
.wv-swatches, .wv-rules, .wv-dd, .wv-sliders, .wv-assets, .wv-logoboard, .wv-band, .wv-grid {
	margin-top: 16px;
}

/* -------------------------------------------------------- cards, grid */

.wv-grid { display: grid; gap: 18px; }
.wv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wv-card {
	background: var(--wv-surface);
	border: 1px solid var(--wv-line);
	border-radius: var(--wv-radius);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color .16s, transform .16s, box-shadow .16s;
}
.wv-card--link:hover {
	border-color: var(--c, var(--wv-accent));
	transform: translateY(-2px);
	box-shadow: var(--wv-shadow);
}
.wv-card h3 { font-size: 17.5px; margin: 0; }
.wv-card p { font-size: 14px; color: var(--wv-text-2); line-height: 1.45; margin: 0; }
.wv-card__rule { height: 4px; width: 38px; border-radius: 2px; background: var(--c, var(--wv-accent)); }
.wv-meta { font-size: 12px; color: var(--wv-text-3); }

/* ------------------------------------------------------------ matrix */

.wv-matrix {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 40px;
}
.wv-matrix__cell {
	background: var(--wv-surface);
	border: 1px solid var(--wv-line);
	border-radius: var(--wv-radius);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.wv-matrix__cell h3 { font-size: 17.5px; margin: 0; }
.wv-matrix__cell p { font-size: 14px; color: var(--wv-text-2); line-height: 1.45; margin: 0; }

/* The core of the brand: the one cell everything else has to agree with. */
.wv-matrix__cell--core {
	background: var(--wv-accent);
	border-color: var(--wv-accent);
	color: var(--wv-on-accent);
}
.wv-matrix__cell--core h3 { font-size: 22px; color: inherit; }
.wv-matrix__cell--core .wv-meta { color: inherit; opacity: .7; }
.wv-matrix__cell--core p {
	color: inherit;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -.02em;
}

/* ---------------------------------------------------------- timeline */

.wp-block-wv-timeline { margin-top: 64px; }
.wv-timeline { margin-top: 16px; }
.wv-card__year {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.1;
}
.wv-card--year h3 { font-size: 15px; }

/* ------------------------------------------------------------ figure */

.wv-figure { margin-top: 64px; display: grid; gap: 24px; align-items: start; }
.wv-figure--side { grid-template-columns: 1.1fr .9fr; }
.wv-figure--wide { grid-template-columns: 1fr; }
.wv-figure__text { display: flex; flex-direction: column; gap: 12px; }
.wv-figure__text .wv-h-sect { margin: 0; }
.wv-figure__text p { margin: 0; color: var(--wv-text-2); }
.wv-figure__text p + p { margin-top: 12px; }
.wv-figure__media { margin: 0; border-radius: var(--wv-radius); overflow: hidden; }
.wv-figure__media img { width: 100%; height: auto; display: block; }
.wv-figure__media figcaption {
	font-size: 12.5px;
	color: var(--wv-text-3);
	padding: 8px 2px 0;
}

/* ---------------------------------------------------------- swatches */

.wv-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wv-swatch {
	border-radius: var(--wv-radius);
	overflow: hidden;
	border: 1px solid var(--wv-line);
	background: var(--wv-surface);
	display: flex;
	flex-direction: column;
}
.wv-swatch__top { height: 118px; display: flex; align-items: flex-end; padding: 12px; }
.wv-swatch__top span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wv-swatch__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; }
.wv-swatch__name { font-size: 14.5px; font-weight: 600; }
.wv-swatch__assoc { font-size: 12.5px; color: var(--wv-text-3); line-height: 1.4; margin: 0; }
.wv-copyline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-family: var(--wv-mono);
	font-size: 12px;
	color: var(--wv-text-2);
	background: var(--wv-raised);
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 6px 9px;
	cursor: pointer;
	width: 100%;
	text-align: left;
}
.wv-copyline:hover { border-color: var(--wv-line-strong); color: var(--wv-text); }
.wv-copyline b {
	font-weight: 500;
	color: var(--wv-text-3);
	font-size: 10.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* ------------------------------------------------------- logo board */

.wv-logoboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wv-logoboard__tile {
	aspect-ratio: 4 / 3;
	border-radius: var(--wv-radius);
	display: grid;
	place-items: center;
	padding: 22px;
}
.wv-logoboard__tile img { width: 82%; }
.wv-logoboard__tile--white { background: #FFFFFF; border: 1px solid var(--wv-line-strong); }

/* A loose tile is a figure, so it can carry a caption. */
figure.wv-logoboard__tile { margin: 0; position: relative; }
figure.wv-logoboard__tile figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 8px 12px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: inherit;
	opacity: .7;
}
figure.wv-logoboard__tile { color: var(--wv-on-accent); }
figure.wv-logoboard__tile--white { color: var(--wv-text); }

/* ------------------------------------------------------------- rules */

.wv-rules {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wv-line);
	border-radius: var(--wv-radius);
	overflow: hidden;
}
.wv-rule { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 18px; background: var(--wv-surface); }
.wv-rule + .wv-rule { border-top: 1px solid var(--wv-line); }
.wv-rule__n {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	background: var(--wv-raised);
	font-size: 13px;
	font-weight: 700;
	color: var(--wv-text-2);
	font-family: var(--wv-mono);
}
.wv-rule h4 { font-size: 15px; margin: 0 0 3px; }
.wv-rule p { font-size: 14px; color: var(--wv-text-2); margin: 0; }

/* ------------------------------------------------------- do and don't */

.wv-dd { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.wv-dd__item { border: 1px solid var(--wv-line); border-radius: var(--wv-radius-s); overflow: hidden; background: var(--wv-surface); }
.wv-dd__head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-size: 13px; font-weight: 700; }
.wv-dd__item--do .wv-dd__head { background: color-mix(in srgb, #8CC63F 16%, var(--wv-surface)); }
.wv-dd__item--dont .wv-dd__head { background: color-mix(in srgb, #A20B64 12%, var(--wv-surface)); }
.wv-dd__body { padding: 14px; font-size: 14px; color: var(--wv-text-2); line-height: 1.45; }
.wv-dd__body p { margin: 0 0 8px; }
.wv-dd__img { border-radius: 8px; margin-bottom: 12px; width: 100%; height: auto; }
.wv-tick {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}
.wv-dd__item--do .wv-tick { background: #8CC63F; }
.wv-dd__item--dont .wv-tick { background: #A20B64; }

/* --------------------------------------------------------- sliders */

.wv-sliders {
	border: 1px solid var(--wv-line);
	border-radius: var(--wv-radius);
	padding: 10px 22px;
	background: var(--wv-surface);
}
.wv-slider { display: grid; grid-template-columns: 1fr 200px 1fr; gap: 16px; align-items: center; padding: 11px 0; }
.wv-slider + .wv-slider { border-top: 1px solid var(--wv-line); }
.wv-slider__l { text-align: right; font-size: 14px; color: var(--wv-text-3); }
.wv-slider__r { font-size: 14px; color: var(--wv-text-3); }
.wv-slider__l.is-on, .wv-slider__r.is-on { color: var(--wv-text); font-weight: 600; }
.wv-track { position: relative; height: 5px; border-radius: 3px; background: var(--wv-raised); }
.wv-knob {
	position: absolute;
	top: 50%;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--wv-accent);
	transform: translate(-50%, -50%);
	border: 2px solid var(--wv-surface);
}

/* -------------------------------------------------------- pattern band */

.wv-band { position: relative; overflow: hidden; border-radius: var(--wv-radius); }
.wv-band__pattern {
	position: absolute;
	inset: auto 0 0 0;
	height: 70%;
	background: var(--wv-pattern) repeat-x bottom center / auto 100%;
	display: block;
}

/* ------------------------------------------------------------ assets */

.wv-assets { display: flex; flex-direction: column; gap: 12px; }
.wv-asset {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 14px 16px;
	background: var(--wv-surface);
	border: 1px solid var(--wv-line);
	border-radius: var(--wv-radius-s);
}
.wv-asset.is-locked { opacity: .82; }
.wv-lock {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: 8px;
	padding: 2px 8px 2px 6px;
	border-radius: 999px;
	background: var(--wv-raised);
	color: var(--wv-text-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	vertical-align: middle;
}
.wv-asset__ico {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--wv-raised);
	font-family: var(--wv-mono);
	font-size: 11px;
	color: var(--wv-text-2);
}
.wv-asset h4 { font-size: 15px; margin: 0; }

/* -------------------------------------------------------- personas */

.wv-persona__head { display: flex; align-items: center; gap: 14px; }
.wv-persona__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ---------------------------------------------------- search overlay */

.wv-search {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(20, 20, 20, .42);
	backdrop-filter: blur(3px);
	display: none;
	padding: 12vh 20px 20px;
}
.wv-search.is-open { display: block; }
.wv-search__box {
	max-width: 620px;
	margin: 0 auto;
	background: var(--wv-surface);
	border-radius: var(--wv-radius);
	border: 1px solid var(--wv-line-strong);
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5);
	overflow: hidden;
}
.wv-search__box input {
	width: 100%;
	border: 0;
	padding: 18px 20px;
	font: 500 17px inherit;
	background: transparent;
	color: var(--wv-text);
	outline: none;
}
.wv-search__results { max-height: 46vh; overflow: auto; }
.wv-search__row {
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 12px;
	align-items: baseline;
	width: 100%;
	text-align: left;
	padding: 12px 20px;
	border-top: 1px solid var(--wv-line);
	background: none;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}
.wv-search__row:hover { background: var(--wv-raised); }
.wv-search__row strong { font-size: 14.5px; font-weight: 600; grid-column: 2; }
.wv-search__row span { display: block; font-size: 12.5px; color: var(--wv-text-3); grid-column: 2; }
.wv-search__type {
	grid-row: 1 / span 2;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wv-text-3);
	border: 1px solid var(--wv-line-strong);
	border-radius: 999px;
	padding: 2px 8px;
	text-align: center;
}
.wv-search__empty { padding: 16px 20px; color: var(--wv-text-3); font-size: 14px; }
body.wv-no-scroll { overflow: hidden; }

/* --------------------------------------------------------------- toast */

.wv-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translate(-50%, 14px);
	background: var(--wv-ink);
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transition: .22s;
	z-index: 90;
}
.wv-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* -------------------------------------------------------------- footer */

.wv-foot { border-top: 1px solid var(--wv-line); margin-top: 40px; }
.wv-foot__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 32px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--wv-text-3);
}

/* ------------------------------------------------------------ responsive */

.wv-only-mobile { display: none !important; }

@media (max-width: 980px) {
	:root { --wv-gutter: 20px; }
	.wv-only-mobile { display: inline-flex !important; }
	.wv-rail { transform: translateX(-100%); transition: transform .2s; box-shadow: var(--wv-shadow); }
	body.wv-nav-open .wv-rail { transform: none; }
	body.wv-has-rail .wp-site-blocks { padding-left: 0; }
	.wv-top { padding: 10px 18px; gap: 8px; }
	.wv-search-trigger { flex: none; width: 40px; padding: 8px 0; justify-content: center; }
	.wv-search-trigger__label, .wv-search-trigger kbd { display: none; }
	.wv-rail-close { display: block; }
	.wv-mob-brand { margin-right: auto; display: flex; align-items: center; }
	/* The panel sits above the dimmed area, which sits above the page. */
	.wv-rail { z-index: 60; }
	.wv-mob-brand img { height: 26px; width: auto; }
	.wv-hero__inner { grid-template-columns: 1fr; padding: 32px 24px 36px; }
	.wv-hero__photo { order: -1; }
	.wv-grid--2, .wv-grid--3, .wv-dd { grid-template-columns: 1fr; }
	.wv-matrix { grid-template-columns: 1fr; }
	.wv-figure--side { grid-template-columns: 1fr; }
	.wv-matrix__cell--core p { font-size: 22px; }
	.wv-swatches, .wv-logoboard { grid-template-columns: repeat(2, 1fr); }
	.wv-slider { grid-template-columns: 1fr 90px 1fr; gap: 10px; font-size: 13px; }
	.wv-foot__inner { padding: 20px; }
}

@media (min-width: 981px) {
	.wv-scrim { display: none !important; }
}

@media (max-width: 560px) {
	.wv-swatches, .wv-logoboard { grid-template-columns: 1fr; }
	.wv-asset { grid-template-columns: 44px 1fr; }
	.wv-asset .wv-btn { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}
