/*
 * Wealth Counsel Landing - section styles
 *
 * Written mobile first. The base rules describe the phone: one column, stacked
 * everything, full-bleed rules, 44px touch targets. Wider viewports opt in
 * through min-width queries, at the five widths the design actually changes:
 *
 *   560px  the pillar row and the form pair up two across
 *   641px  the utility strip has room for its line of copy
 *   761px  the two text-and-media splits sit side by side
 *   861px  the services and advanced lists go two across; the nav goes inline
 *   980px  the pillar row opens out to four across
 *
 * Nothing here is a max-width query, so a narrow viewport never has to undo a
 * wide-viewport rule.
 */

/* =======================================================================
   Base
   ==================================================================== */

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Clears the sticky header when a nav link jumps to a section. Grows at
	   641px, where the utility strip appears, and shrinks again at 980px,
	   where the two header rows merge into one. */
	scroll-padding-top: 125px;
}

body {
	text-wrap: pretty;
	overflow-wrap: break-word;
}

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

/* Every interactive element gets the same 2px navy ring, never the browser's. */
:focus-visible {
	outline: 2px solid var(--wc-accent);
	outline-offset: 2px;
}

::selection {
	background: color-mix(in srgb, var(--wc-accent) 26%, transparent);
}

/* Keyboard users land here first. Clipped rather than pushed off-screen, so it
   never widens the document the way a left: -9999px element can. */
.wc-skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.wc-skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 999;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip-path: none;
	background: var(--wc-accent-800);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

/* =======================================================================
   Layout primitives
   ==================================================================== */

/* A full-width band whose contents stop at 1200px and keep the page gutter. */
.wc-band {
	padding-inline: var(--wc-gutter);
}

.wc-band-inner {
	max-width: var(--wc-max);
	margin-inline: auto;
}

/* The 2px rule the design uses in place of whitespace between sections. */
.wp-block-separator.wc-rule {
	height: var(--wc-rule);
	max-width: none;
	width: 100%;
	border: 0;
	margin: 0;
	background: var(--wc-divider);
	opacity: 1;
}

/* Section eyebrow - orange, uppercase, tracked out. */
.wc-kicker {
	font-size: 0.8125rem;
	line-height: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--wc-kicker);
	margin: 0;
}

/* Body copy sits back from the heading ink without changing colour family. */
.wc-body {
	color: var(--wc-ink-82);
}

.wc-body-sm {
	font-size: 0.90625rem;
	line-height: 24px;
	color: var(--wc-ink-78);
}

/* Two-column splits. One column until the split breakpoint, then the design's
   5/7 and 7/5 ratios. minmax(0, ...) stops a long word widening a track. */
.wc-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(24px, 5vw, 32px) var(--wc-gap-col);
}

.wc-split-57,
.wc-split-75,
.wc-split-39 {
	grid-template-columns: 1fr;
}

/* Photographs and footage print black and white, per the design system. */
.wc-media,
.is-style-wc-grayscale {
	filter: grayscale(1) contrast(1.08);
}

.wc-media video,
.wc-media img {
	display: block;
	width: 100%;
	object-fit: cover;
}

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

.wc-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--wc-bg);
}

/* Utility strip. The line of copy is hidden on phones, where it would wrap to
   two lines and push the logo down; the navy bar itself stays as a rule. */
.wc-utility {
	background: var(--wc-accent-800);
	color: color-mix(in srgb, #ffffff 88%, transparent);
	padding-inline: var(--wc-gutter);
}

/* Below 641px the strip carries no copy, so it shrinks to the navy edge the
   design draws above the header rather than holding 38px of empty bar open
   inside a sticky element. It takes its full height back with its line. */
.wc-utility-inner {
	max-width: var(--wc-max);
	margin-inline: auto;
	min-height: 12px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.wc-utility-line {
	display: none;
	margin: 0;
	font-size: 11.5px;
	line-height: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: right;
	color: inherit;
}

.wc-navbar {
	border-bottom: var(--wc-rule) solid var(--wc-divider);
	padding-inline: var(--wc-gutter);
	padding-block: 0 10px;
}

/* Two rows on a phone - logo and call to action, then the links - held to
   about 120px so a sticky header costs a phone screen as little as possible.
   Both rows grow with the viewport and merge into one at 980px. */
.wc-navbar-inner {
	max-width: var(--wc-max);
	margin-inline: auto;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 12px;
	min-height: clamp(64px, 15vw, 96px);
}

.wc-brand {
	flex: none;
	order: 1;
}

.wc-brand .wp-block-site-logo img,
.wc-brand img {
	display: block;
	width: clamp(112px, 33vw, 236px);
	max-width: 100%;
	height: auto;
}

/* On a phone the call to action sits beside the logo and the links drop to
   their own full-width row underneath. The order swaps at 861px. */
.wc-nav-cta {
	order: 2;
	margin-left: auto;
	flex: none;
}

.wc-nav-links {
	order: 3;
	flex-basis: 100%;
	margin: 0;
}

.wc-nav-links .wp-block-navigation__container,
.wc-nav-links ul {
	gap: 4px 12px;
	flex-wrap: wrap;
	align-items: center;
}

.wc-nav-links .wp-block-navigation-item__content,
.wc-nav-links a {
	display: inline-flex;
	align-items: center;
	min-height: var(--wc-tap);
	font-size: 11.5px;
	line-height: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: var(--wc-text);
	border-bottom: 2px solid transparent;
}

.wc-nav-links .wp-block-navigation-item__content:hover,
.wc-nav-links .wp-block-navigation-item__content:focus-visible,
.wc-nav-links a:hover,
.wc-nav-links a:focus-visible {
	color: var(--wc-kicker);
	border-bottom-color: var(--wc-kicker);
}

/* The header's own call to action is a size down from the ones in the page.
   It has to share a phone's first row with the logo, so it starts smaller
   still and steps up at 560px. */
.wc-nav-cta .wp-block-button__link {
	padding: 10px 12px;
	font-size: 11.5px;
	white-space: nowrap;
	min-height: 40px;
}

/* =======================================================================
   Hero
   ==================================================================== */

.wc-hero {
	padding-block: clamp(48px, 10vw, 96px) clamp(44px, 9vw, 84px);
}

/* The optical overhang that pulls a heavy left-flush headline back into
   alignment with the copy beneath it. */
.wc-hero-title,
.wc-legacy-title {
	margin-inline-start: -0.058em;
}

/* The designed line break in the display headings is held back until 761px.
   Forcing it on a phone strands a word or two on a line of its own; letting
   the heading wrap naturally reads better and says the same thing. Both
   headings keep a space either side of the break so the words stay apart
   when it is switched off. */
.wc-hero-title br,
.wc-legacy-title br {
	display: none;
}

.wc-hero-lede {
	font-size: 1.125rem;
	line-height: 30px;
	max-width: 56ch;
	margin: 34px 0 0;
}

.wc-hero-actions,
.wc-legacy-actions {
	gap: 12px;
}

/* =======================================================================
   Pillars - Protect / Grow / Transfer / Govern
   ==================================================================== */

.wc-pillars {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wc-gap-row);
	padding-block: var(--wc-pad-s);
}

.wc-pillar {
	margin: 0;
}

.wc-pillar-title {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: clamp(1.4375rem, 4vw, 1.625rem);
	line-height: 1.1;
	margin: 0 0 10px;
	color: var(--wc-accent);
}

/* =======================================================================
   Approach
   ==================================================================== */

.wc-approach {
	padding-block: var(--wc-pad-m) var(--wc-pad-l);
	align-items: center;
}

.wc-approach p {
	max-width: 50ch;
	line-height: 28px;
}

/* =======================================================================
   Services and Advanced - ruled lists, one column then two
   ==================================================================== */

.wc-services,
.wc-advanced-list {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--wc-gap-col-tight);
	row-gap: 0;
}

.wc-service,
.wc-advanced-item {
	border-top: var(--wc-rule) solid var(--wc-divider);
	padding: 22px 0 26px;
	margin: 0;
}

/* The number sits in its own 44px column so every title starts on the same
   vertical line, two digits or one. */
.wc-service {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 0 16px;
	align-items: baseline;
}

.wc-service-num {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 0.875rem;
	line-height: 26px;
	margin: 0;
	color: var(--wc-accent);
	font-feature-settings: "tnum" 1;
	font-variant-numeric: tabular-nums;
}

.wc-service h3,
.wc-advanced-item h3 {
	margin: 0;
}

.wc-service p,
.wc-advanced-item p {
	margin: 10px 0 0;
	max-width: 46ch;
}

.wc-advanced-item p {
	max-width: 48ch;
}

.wc-services-section {
	padding-block: var(--wc-pad-m) 24px;
}

/* The advanced list carries its rule further down the page than the others,
   so the rule takes the space above and the section the space below it. */
.wc-advanced-rule {
	margin-block-start: clamp(40px, 8vw, 60px);
}

.wc-advanced-section {
	padding-block: clamp(36px, 7vw, 60px) var(--wc-pad-l);
}

/* =======================================================================
   Technology band
   ==================================================================== */

.wc-tech {
	background: var(--wc-surface);
	border-top: var(--wc-rule) solid var(--wc-divider);
	border-bottom: var(--wc-rule) solid var(--wc-divider);
	padding-block: clamp(48px, 10vw, 76px);
}

.wc-tech .wc-split {
	align-items: start;
	gap: clamp(28px, 5vw, 32px) var(--wc-gap-col);
}

.wc-tech-lede {
	line-height: 28px;
	max-width: 54ch;
}

.wc-tech-list {
	display: grid;
	gap: 0;
}

.wc-tech-item {
	border-top: var(--wc-rule) solid var(--wc-divider);
	padding: 18px 0 20px;
	margin: 0;
}

.wc-tech-item h4 {
	font-size: 1.0625rem;
	line-height: 1.3;
	margin: 0 0 6px;
}

.wc-tech-item p {
	font-size: 0.875rem;
	line-height: 23px;
	margin: 0;
	color: var(--wc-ink-75);
}

/* =======================================================================
   Statement
   ==================================================================== */

.wc-quote {
	padding-block: var(--wc-pad-l) var(--wc-pad-xl);
}

.wc-quote .wp-block-quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.wc-quote .wp-block-quote p {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: clamp(1.5rem, 2.8vw, 2.25rem);
	line-height: 1.3;
	letter-spacing: -0.015em;
	max-width: 34ch;
	margin: 0;
}

.wc-quote .wp-block-quote cite {
	display: block;
	font-style: normal;
	font-size: 0.96875rem;
	line-height: 28px;
	color: var(--wc-ink-70);
	margin-top: 34px;
	text-align: left;
}

/* =======================================================================
   Closing banner
   ==================================================================== */

.wc-legacy {
	background: var(--wc-accent-800);
	color: var(--wc-bg);
	padding-block: clamp(52px, 10vw, 84px);
}

.wc-legacy h1,
.wc-legacy h2,
.wc-legacy h3,
.wc-legacy p {
	color: var(--wc-bg);
}

.wc-legacy-lede {
	font-size: 1.125rem;
	line-height: 30px;
	max-width: 48ch;
	margin: 28px 0 0;
}

/* =======================================================================
   Contact
   ==================================================================== */

.wc-contact {
	border-top: var(--wc-rule) solid var(--wc-divider);
	padding-block: clamp(48px, 10vw, 76px) clamp(56px, 11vw, 88px);
}

.wc-contact .wc-split {
	align-items: start;
	gap: clamp(32px, 6vw, 40px) var(--wc-gap-col);
}

.wc-contact-lede {
	line-height: 28px;
	max-width: 46ch;
}

/* The form is raw HTML rather than blocks, so it does not inherit the
   border-box sizing core applies to block markup. Without this a 100%-wide
   input adds its padding and border on top and pushes the page sideways. */
.wc-form,
.wc-form *,
.wc-form *::before,
.wc-form *::after {
	box-sizing: border-box;
}

.wc-form {
	display: grid;
	gap: 20px;
}

/* The name/email and phone/interest pairs; one column until 560px. */
.wc-form-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.wc-field > label {
	display: block;
	font-size: 0.75rem;
	margin-bottom: 5px;
	color: var(--wc-ink-70);
}

.wc-input {
	width: 100%;
	/* 48px, not the design system's 36px - a form field is a touch target. */
	min-height: 48px;
	padding: 12px;
	font: inherit;
	font-size: 1rem;
	color: var(--wc-text);
	caret-color: var(--wc-accent);
	background: var(--wc-surface);
	border: 1px solid var(--wc-divider);
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

select.wc-input {
	/* Room for the chevron drawn below out of two gradients. */
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--wc-text) 50%),
		linear-gradient(135deg, var(--wc-text) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

textarea.wc-input {
	min-height: 120px;
	resize: vertical;
}

.wc-input:hover {
	border-color: color-mix(in srgb, var(--wc-text) 45%, transparent);
}

.wc-input:focus-visible {
	border-color: var(--wc-accent);
	outline-offset: 0;
}

.wc-form-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

/* Matches the button element styles from theme.json, which core only applies
   to .wp-block-button__link - this button lives inside a raw HTML block. */
.wc-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	font-family: var(--wp--preset--font-family--archivo);
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	background: var(--wc-accent);
	border: 1px solid var(--wc-accent);
	border-radius: 0;
	cursor: pointer;
}

.wc-submit:hover {
	background: var(--wc-accent-700);
	border-color: var(--wc-accent-700);
}

.wc-submit:active {
	background: var(--wc-accent-800);
	border-color: var(--wc-accent-800);
}

.wc-form-note {
	font-size: 0.8125rem;
	line-height: 22px;
	margin: 0;
	max-width: 44ch;
	color: var(--wc-ink-70);
}

/* Filled in by contact-form.js when a required field is empty; it collapses
   while empty so it never takes space or reaches a screen reader too early. */
.wc-form-error {
	margin: 0;
	font-size: 0.875rem;
	line-height: 22px;
	color: #a3260f;
	font-weight: 600;
}

.wc-form-error:empty {
	display: none;
}

.wc-input[aria-invalid="true"] {
	border-color: #a3260f;
	border-width: 2px;
}

/* What the server says after a submission: the thank-you that replaces the
   form, or the reason it came back. Ruled rather than boxed, like everything
   else on the page. */
.wc-form-notice {
	margin: 0 0 20px;
	padding: 16px 0 18px;
	border-top: var(--wc-rule) solid var(--wc-divider);
	border-bottom: var(--wc-rule) solid var(--wc-divider);
	font-size: 1rem;
	line-height: 26px;
	font-weight: 600;
}

/* Focused by script so it is announced; the ring would be noise. */
.wc-form-notice:focus {
	outline: none;
}

.wc-form-notice-sent {
	margin-bottom: 0;
	border-top-color: var(--wc-accent);
	border-bottom-color: var(--wc-accent);
	color: var(--wc-accent-700);
}

.wc-form-notice-error {
	border-top-color: #a3260f;
	border-bottom-color: #a3260f;
	color: #a3260f;
}

/* The honeypot. People never see it; robots fill it in and get discarded. */
.wc-hp {
	display: none;
}

/* =======================================================================
   Footer
   ==================================================================== */

.wc-footer {
	border-top: var(--wc-rule) solid var(--wc-divider);
	background: var(--wc-neutral-200);
	padding-block: clamp(32px, 7vw, 44px) clamp(40px, 8vw, 56px);
}

.wc-footer-inner {
	max-width: var(--wc-max);
	margin-inline: auto;
	display: flex;
	gap: clamp(20px, 4vw, 32px);
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}

.wc-footer-brand {
	flex: none;
}

.wc-footer-brand .wp-block-site-logo img,
.wc-footer-brand img {
	display: block;
	width: clamp(220px, 60vw, 300px);
	max-width: 100%;
	height: auto;
}

.wc-footer-legal {
	font-size: 0.8125rem;
	line-height: 24px;
	max-width: 62ch;
	margin: 0;
	color: var(--wc-ink-70);
}

/* =======================================================================
   Button variants
   ==================================================================== */

.wp-block-button .wp-block-button__link {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Quiet second action: ink on the ground inside a divider-weight outline. */
.wp-block-button.is-style-wc-secondary .wp-block-button__link {
	background: transparent;
	color: var(--wc-text);
	border: 1px solid var(--wc-divider);
}

.wp-block-button.is-style-wc-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-wc-secondary .wp-block-button__link:focus {
	background: color-mix(in srgb, var(--wc-text) 7%, transparent);
	color: var(--wc-text);
	border-color: var(--wc-divider);
}

.wp-block-button.is-style-wc-secondary .wp-block-button__link:active {
	background: color-mix(in srgb, var(--wc-text) 14%, transparent);
}

/* On the navy banner the roles invert: the ground becomes the fill. */
.wp-block-button.is-style-wc-on-dark .wp-block-button__link {
	background: var(--wc-bg);
	color: var(--wc-accent-800);
	border-color: var(--wc-bg);
}

.wp-block-button.is-style-wc-on-dark .wp-block-button__link:hover,
.wp-block-button.is-style-wc-on-dark .wp-block-button__link:focus {
	background: var(--wc-accent-100);
	color: var(--wc-accent-800);
	border-color: var(--wc-accent-100);
}

.wp-block-button.is-style-wc-on-dark-outline .wp-block-button__link {
	background: transparent;
	color: var(--wc-bg);
	border: 1px solid var(--wc-bg);
}

.wp-block-button.is-style-wc-on-dark-outline .wp-block-button__link:hover,
.wp-block-button.is-style-wc-on-dark-outline .wp-block-button__link:focus {
	background: color-mix(in srgb, #ffffff 14%, transparent);
	color: var(--wc-bg);
	border-color: var(--wc-bg);
}

/* A navy ring is invisible on the navy bands, so invert it there. */
.wc-legacy :focus-visible,
.wc-utility :focus-visible {
	outline-color: #ffffff;
}

/* =======================================================================
   Inner pages - the disclaimer, posts, search, 404
   ==================================================================== */

.wc-page {
	padding-block: clamp(48px, 10vw, 72px) clamp(56px, 11vw, 88px);
}

.wc-page-title {
	margin: 0;
	font-size: clamp(2.5rem, 5.4vw, 4.25rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin-inline-start: -0.058em;
}

/* The rule under a page title, and the copy that follows it. */
.wc-page .wc-rule {
	margin-block: clamp(32px, 6vw, 48px);
}

.wc-prose > * {
	max-width: 74ch;
}

.wc-prose > * + * {
	margin-block-start: 26px;
}

.wc-prose h2,
.wc-prose h3 {
	margin-block-start: clamp(32px, 5vw, 44px);
}

.wc-post-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wc-post-list > li {
	margin: 0;
}

.wc-pagination {
	border-top: var(--wc-rule) solid var(--wc-divider);
	padding-top: 24px;
	margin-top: 8px;
	gap: 8px 20px;
	font-size: 0.90625rem;
}

.wc-search {
	margin-block: 28px 40px;
	max-width: 34rem;
}

.wc-search .wp-block-search__input {
	min-height: 48px;
	padding: 12px;
	border: 1px solid var(--wc-divider);
	border-radius: 0;
	background: var(--wc-surface);
	font-size: 1rem;
}

.wc-search .wp-block-search__button {
	min-height: 48px;
	border-radius: 0;
	border: 1px solid var(--wc-accent);
	background: var(--wc-accent);
	color: #fff;
	font-weight: 800;
	padding-inline: 20px;
}

/* The disclaimer's label column against its column of clauses. */
.wc-legal {
	padding-block: clamp(40px, 8vw, 56px) clamp(56px, 11vw, 88px);
}

.wc-legal-label {
	font-size: 0.8125rem;
	line-height: 22px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
	color: var(--wc-ink-70);
}

.wc-legal-prose {
	display: grid;
	gap: 26px;
	max-width: 74ch;
}

.wc-legal-prose p {
	margin: 0;
	line-height: 28px;
}

/* =======================================================================
   560px - pairs
   ==================================================================== */

@media (min-width: 560px) {
	.wc-pillars {
		grid-template-columns: 1fr 1fr;
	}

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

	/* The header now has room for the design's own sizes. */
	.wc-navbar-inner {
		gap: 12px 20px;
	}

	.wc-brand .wp-block-site-logo img,
	.wc-brand img {
		width: clamp(160px, 40vw, 236px);
	}

	.wc-nav-links .wp-block-navigation__container,
	.wc-nav-links ul {
		gap: 8px 22px;
	}

	.wc-nav-links .wp-block-navigation-item__content,
	.wc-nav-links a {
		font-size: 12.5px;
		letter-spacing: 0.1em;
	}

	.wc-nav-cta .wp-block-button__link {
		padding: 12px 18px;
		font-size: 13.5px;
		min-height: var(--wc-tap);
	}
}

/* =======================================================================
   641px - the utility strip has room for its line
   ==================================================================== */

@media (min-width: 641px) {
	html {
		scroll-padding-top: 190px;
	}

	.wc-utility-inner {
		min-height: 38px;
	}

	.wc-utility-line {
		display: block;
	}
}

/* =======================================================================
   761px - the text-and-media splits
   ==================================================================== */

@media (min-width: 761px) {
	.wc-split-57 {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.wc-split-75 {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.wc-split-39 {
		grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	}

	/* Wide enough now for the designed two-line headings. */
	.wc-hero-title br,
	.wc-legacy-title br {
		display: inline;
	}
}

/* =======================================================================
   861px - two-column lists, and the nav moves inline
   ==================================================================== */

@media (min-width: 861px) {
	.wc-services,
	.wc-advanced-list {
		grid-template-columns: 1fr 1fr;
	}
}

/* =======================================================================
   980px - the pillar row opens out and the header becomes one row

   The design drew two navigations - two links across the top on a desktop
   and four stacked underneath the logo on a phone. One menu carries all four
   here instead, which is one menu to maintain rather than two, but four
   links need more room than two: below 980px they keep their own row.
   ==================================================================== */

@media (min-width: 980px) {
	html {
		scroll-padding-top: 145px;
	}

	.wc-pillars {
		grid-template-columns: repeat(4, 1fr);
	}

	.wc-navbar {
		padding-block: 0;
	}

	.wc-navbar-inner {
		gap: 12px clamp(20px, 4vw, 56px);
	}

	.wc-brand .wp-block-site-logo img,
	.wc-brand img {
		width: clamp(176px, 46vw, 236px);
	}

	.wc-nav-links {
		order: 2;
		flex-basis: auto;
		margin-left: auto;
		margin-right: 4px;
	}

	.wc-nav-cta {
		order: 3;
		margin-left: 0;
	}
}

/* =======================================================================
   Motion and print
   ==================================================================== */

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

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

@media print {
	.wc-header,
	.wc-nav-cta,
	.wc-form {
		display: none !important;
	}

	.wc-legacy,
	.wc-utility {
		background: none !important;
		color: #000 !important;
	}
}
