/*
Theme Name: Wilson Astra
Template: astra
Description: Astra child theme for Wilson Printing Company.
Version: 1.0.0
Text Domain: wilson-astra
*/

:root {
	--wp-blue: #01539f;
	--wp-blue-dark: #013f7a;
	--wp-navy: #0b1d45;
	--wp-blue-soft: #edf3fc;
	--wp-blue-line: #9fbde0;
	--wp-ink: #1b2330;
	--wp-text: #555b66;
	--wp-muted: #8a909b;
	--wp-border: #e3e8ef;
	--wp-bg-soft: #fafbfd;
	--wp-serif: "DM Serif Display", Georgia, serif;
	--wp-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wp-container: 1440px;
	/* Side margin scales with the screen so narrower desktops keep the design's framing. */
	--wp-gutter: clamp(20px, 8vw, 232px);
}

/* ---------- Base ---------- */

body.wilson-site {
	font-family: var(--wp-sans);
	color: var(--wp-text);
	background: #fff;
	overflow-x: hidden;
}

.wilson-site h1,
.wilson-site h2,
.wilson-site h3 {
	font-family: var(--wp-serif);
	font-weight: 400;
	color: var(--wp-blue);
	text-transform: uppercase;
	letter-spacing: 0;
}

.wilson-front #content > .ast-container {
	max-width: none;
	padding: 0;
	display: block;
}

.wp-container {
	width: 100%;
	max-width: calc(var(--wp-container) + 2 * var(--wp-gutter));
	margin: 0 auto;
	padding: 0 var(--wp-gutter);
}

.wp-center {
	text-align: center;
}

.wp-eyebrow {
	margin: 0 0 14px;
	font-size: 16px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--wp-blue);
}

.wp-title {
	margin: 0 0 40px;
	font-size: clamp(34px, 3.4vw, 64px);
	line-height: 0.95;
}

.wp-cross {
	position: absolute;
	pointer-events: none;
	user-select: none;
	z-index: 1;
}

.wp-cross[src*="crosshair-sm"] {
	width: 56px;
}

.wp-cross[src*="crosshair-lg"] {
	width: 150px;
}

/* ---------- Buttons & links ---------- */

.wilson-site .wp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 18px;
	border: 1px solid var(--wp-blue);
	border-radius: 6px;
	font-family: var(--wp-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.wilson-site .wp-btn[hidden] {
	display: none;
}

.wp-btn .wp-arrow {
	transition: transform 0.2s;
}

.wp-btn:hover .wp-arrow,
.wp-link:hover .wp-arrow {
	transform: translateX(3px);
}

.wilson-site .wp-btn--primary {
	background: var(--wp-blue);
	color: #fff;
}

.wilson-site .wp-btn--primary:hover,
.wilson-site .wp-btn--primary:focus-visible {
	background: var(--wp-blue-dark);
	border-color: var(--wp-blue-dark);
	color: #fff;
}

.wilson-site .wp-btn--outline {
	background: #fff;
	color: var(--wp-blue);
}

.wilson-site .wp-btn--outline:hover,
.wilson-site .wp-btn--outline:focus-visible {
	background: var(--wp-blue);
	color: #fff;
}

.wilson-site .wp-btn--sm {
	padding: 8px 22px;
	border-radius: 0;
	font-size: 12px;
	font-weight: 700;
}

.wilson-site .wp-btn--navy {
	background: var(--wp-navy);
	border-color: var(--wp-navy);
	border-radius: 0;
	color: #fff;
}

.wilson-site .wp-btn--navy:hover {
	background: #fff;
	color: var(--wp-navy);
}

.wilson-site .wp-btn--white {
	background: #fff;
	border-color: var(--wp-navy);
	border-radius: 0;
	color: var(--wp-navy);
}

.wilson-site .wp-btn--white:hover {
	background: var(--wp-navy);
	border-color: #fff;
	color: #fff;
}

.wilson-site .wp-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 16px;
	text-transform: uppercase;
	color: var(--wp-blue);
	text-decoration: none;
}

.wp-link .wp-arrow {
	width: 14px;
	height: 14px;
}

/* ---------- Header ---------- */

.wp-header {
	position: relative;
	background: #fff;
	z-index: 20;
}

.wp-cross--header-l {
	top: 17px;
	left: 26px;
}

.wp-cross--header-r {
	top: 17px;
	right: 26px;
}

.wp-header__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	min-height: 108px;
}

.wp-header__logo {
	display: inline-block;
	align-self: start;
	padding-top: 10px;
}

.wp-header__logo img {
	display: block;
	width: 122px;
	height: auto;
}

.wp-header__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 40px;
	flex: 1;
}

.wp-menu {
	display: flex;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wilson-site .wp-menu a {
	font-size: 16px;
	font-weight: 500;
	color: #555b66;
	text-decoration: none;
	transition: color 0.2s;
}

.wilson-site .wp-menu a:hover,
.wilson-site .wp-menu .current-menu-item > a,
.wilson-site .wp-menu .current_page_item > a {
	color: var(--wp-blue);
}

.wilson-site .wp-header .wp-menu .current-menu-item > a,
.wilson-site .wp-header .wp-menu .current_page_item > a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 5px;
}

@media (min-width: 1100px) {
	/* Logo | centred menu | CTA */
	.wp-header__inner {
		grid-template-columns: 1fr auto 1fr;
	}

	.wp-header__nav {
		display: contents;
	}

	.wp-header__cta {
		justify-self: end;
	}
}

.wilson-site .wp-header__cta {
	padding: 13px 18px;
	font-size: 15px;
}

.wp-header__toggle {
	display: none;
}

/* ---------- Hero ---------- */

/* Height follows the artwork's 1905x850 ratio so the composition scales like the design. */
.wp-hero {
	position: relative;
	height: clamp(560px, 44.6vw, 900px);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.wp-hero > .wp-container {
	position: relative;
	z-index: 2;
}

.wp-hero__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	z-index: 0;
}

.wp-hero__content {
	max-width: 760px;
	margin-left: 0;
	padding: 18px 0 18px 18px;
	border-left: 2px solid var(--wp-blue-line);
}

.wp-hero__title {
	margin: 20px 0 30px;
	font-size: clamp(48px, 4.7vw, 90px);
	line-height: 0.86;
}

.wp-hero__lead {
	max-width: 500px;
	margin: 0 0 26px;
	font-size: 18px;
	line-height: 1.65;
}

.wp-hero__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 34px 0 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--wp-blue);
}

.wp-hero__tags::before,
.wp-hero__tags::after {
	content: "";
	width: 40px;
	height: 2px;
	background: var(--wp-blue);
	margin-right: 4px;
}

.wp-hero__tags::after {
	margin: 0 0 0 4px;
}

.wp-hero__tags span + span::before {
	content: "\2022";
	margin-right: 14px;
}

.wp-hero__paper,
.wp-hero__motto {
	position: absolute;
	z-index: 1;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--wp-blue);
}

.wp-hero__paper {
	top: 36%;
	left: 86%;
	transform: rotate(-26deg) skewX(-10deg);
	transform-origin: left top;
	font-size: clamp(9px, 0.63vw, 12px);
	line-height: 1.1;
}

/* Positioned in % of the hero so it stays in the artwork's white corner as it scales. */
.wp-hero__motto {
	left: 93.3%;
	bottom: 8%;
	padding-top: 1.1vw;
	font-size: clamp(10px, 0.8vw, 15px);
	letter-spacing: 0.16vw;
	color: var(--wp-navy);
}

.wp-hero__motto::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4.2vw;
	height: 2px;
	background: var(--wp-blue);
}

.wp-cross--hero-a {
	top: 10.5%;
	left: 49%;
	width: 4.4vw !important;
}

.wp-cross--hero-b {
	bottom: 0;
	left: 46%;
	width: 7.8vw !important;
}

.wp-cross--hero-c {
	bottom: 70px;
	left: 26px;
}

/* ---------- Services ---------- */

.wp-services {
	position: relative;
	padding: 75px 0 80px;
}

.wp-cross--services {
	right: 26px;
	bottom: 20px;
}

.wp-services__grid {
	display: grid;
	grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
	gap: 40px;
	align-items: start;
}

.wp-services__media {
	padding: 12px;
	background: var(--wp-blue-soft);
	border-radius: 2px;
	margin-top: 5px;
}

.wp-services__media img {
	display: block;
	width: 100%;
	aspect-ratio: 507 / 380;
	object-fit: cover;
	transition: opacity 0.25s;
}

.wp-services__media img.is-fading {
	opacity: 0;
}

.wp-services__counter {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 22px 0 6px;
	font-family: var(--wp-serif);
	font-size: 24px;
	color: var(--wp-blue);
}

.wp-services__counter i {
	width: 24px;
	height: 2px;
	background: var(--wp-blue);
}

.wp-services__counter small {
	font-family: var(--wp-sans);
	font-size: 13px;
	color: var(--wp-muted);
}

.wp-services__name {
	margin: 0 0 8px;
	font-size: 30px;
	line-height: 1.1;
}

.wp-services__desc {
	max-width: 490px;
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.6;
	min-height: 3.2em;
}

.wp-services__list {
	display: grid;
	grid-template-rows: repeat(9, auto);
	grid-auto-flow: column;
	column-gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 870px;
}

.wilson-site .wp-services__item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	height: 47px;
	padding: 0 14px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--wp-border);
	border-radius: 0;
	font-family: var(--wp-sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.2px;
	text-align: left;
	text-transform: none;
	color: var(--wp-ink);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.wp-services__num {
	width: 16px;
	font-size: 12px;
	color: var(--wp-muted);
}

.wp-services__label {
	flex: 1;
}

.wp-services__item .wp-arrow {
	width: 16px;
	height: 16px;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.2s, transform 0.2s;
}

.wilson-site .wp-services__item:hover,
.wilson-site .wp-services__item:focus-visible,
.wilson-site .wp-services__item.is-active {
	background: var(--wp-blue-soft);
	color: var(--wp-blue);
}

.wp-services__item.is-active .wp-services__num {
	color: var(--wp-blue);
}

.wp-services__item.is-active .wp-arrow {
	opacity: 1;
	transform: none;
}

/* ---------- Work ---------- */

.wp-work {
	position: relative;
	padding: 45px 0 40px;
	background: var(--wp-bg-soft);
}

.wp-work .wp-title {
	margin-bottom: 36px;
}

.wp-cross--work {
	left: 13px;
	bottom: 6px;
}

.wp-work__card {
	max-width: 1336px;
	margin: 0 auto;
	padding: 17px;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(1, 83, 159, 0.04);
}

.wp-work__card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

/* ---------- Process ---------- */

.wp-process {
	padding: 80px 0 40px;
}

.wp-process .wp-title {
	margin-bottom: 70px;
}

.wp-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.wp-step {
	position: relative;
	padding-right: 20px;
}

.wp-step__label {
	margin: 0 0 18px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--wp-ink);
}

.wp-step__label span {
	margin-right: 12px;
}

.wp-step__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 90px;
	height: 90px;
	background: #fff;
	border: 1px solid var(--wp-border);
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(1, 83, 159, 0.06);
	z-index: 1;
}

.wp-step__icon img {
	width: 40px;
	height: 40px;
}

.wp-step::before {
	content: "";
	position: absolute;
	top: 88px;
	left: 90px;
	right: 0;
	border-top: 1px dashed #9aa3af;
}

.wp-step:last-child::before {
	right: auto;
	width: 20px;
}

.wp-step.is-active .wp-step__icon {
	background: var(--wp-blue);
	border-color: var(--wp-blue);
}

.wp-step.is-active .wp-step__icon img {
	filter: brightness(0) invert(1);
}

.wp-step__text {
	margin: 28px 0 0;
	padding-bottom: 20px;
	font-size: 15px;
	position: relative;
}

.wp-step__text::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 2px;
	background: #dbe4f0;
}

/* ---------- Upload ---------- */

.wp-upload {
	position: relative;
	padding: 70px 0 80px;
}

.wp-cross--upload {
	right: 6px;
	bottom: -28px;
}

.wp-upload__grid {
	display: grid;
	grid-template-columns: minmax(0, 795px) minmax(0, 572px);
	justify-content: space-between;
	gap: 60px;
}

.wp-upload__intro .wp-eyebrow,
.wp-upload__intro .wp-title {
	padding-left: 8px;
}

.wp-upload__intro .wp-title {
	margin-bottom: 26px;
}

.wp-upload__lead {
	margin: 0 0 28px;
	font-size: 16px;
}

.wp-upload__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.wp-upload__form {
	align-self: end;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 34px 28px 26px;
	border: 2px dashed #b3b8c0;
}

.wilson-site .wp-upload__form input[type="text"],
.wilson-site .wp-upload__form select,
.wilson-site .wp-upload__form textarea {
	width: 100%;
	height: 62px;
	padding: 0 20px;
	background: #fff;
	border: 1px solid #c9d4e3;
	border-radius: 0;
	box-shadow: none;
	font-family: var(--wp-sans);
	font-size: 20px;
	color: var(--wp-ink);
	transition: border-color 0.2s;
}

.wilson-site .wp-upload__form textarea {
	height: 130px;
	padding-top: 16px;
	resize: vertical;
}

.wilson-site .wp-upload__form ::placeholder {
	color: #8f96a1;
}

.wilson-site .wp-upload__form input:focus,
.wilson-site .wp-upload__form select:focus,
.wilson-site .wp-upload__form textarea:focus {
	border-color: var(--wp-blue);
	outline: none;
}

.wp-select {
	position: relative;
}

.wilson-site .wp-select select {
	appearance: none;
	-webkit-appearance: none;
	color: #8f96a1;
}

.wilson-site .wp-select select.has-value {
	color: var(--wp-ink);
}

.wp-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 26px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #6f7885;
	border-bottom: 2px solid #6f7885;
	transform: translateY(-75%) rotate(45deg);
	pointer-events: none;
}

.wp-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 10px 6px;
	border: 2px dashed transparent;
	text-align: center;
	transition: border-color 0.2s, background-color 0.2s;
}

.wp-drop.is-over {
	border-color: var(--wp-blue);
	background: var(--wp-blue-soft);
}

.wp-drop__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wp-blue-soft);
	margin-bottom: 16px;
}

.wp-drop__icon img {
	width: 24px;
	height: 24px;
}

.wp-drop__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--wp-blue);
}

.wp-drop__or {
	margin: 2px 0 10px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--wp-muted);
}

.wp-drop__files {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--wp-ink);
}

.wp-drop__send {
	margin-top: 10px;
}

.wp-drop__note {
	margin: 16px 0 0;
	font-size: 11px;
	color: var(--wp-muted);
}

/* ---------- Marketplace ---------- */

.wp-market {
	position: relative;
	padding: 60px 0 55px;
	background: var(--wp-bg-soft);
}

.wp-cross--market {
	left: 13px;
	bottom: 3px;
}

.wp-market__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 332px));
	justify-content: center;
	gap: 26px 35px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.wilson-site .wp-product {
	display: block;
	text-decoration: none;
	color: var(--wp-ink);
}

.wp-product__frame {
	display: block;
	padding: 15px;
	background: #fff;
	border: 2px solid #e6eaf0;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wp-product__frame img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.4s;
}

.wp-product__frame {
	overflow: hidden;
}

.wp-product:hover .wp-product__frame {
	border-color: var(--wp-blue-line);
	box-shadow: 0 8px 24px rgba(1, 83, 159, 0.08);
}

.wp-product:hover .wp-product__frame img {
	transform: scale(1.03);
}

.wp-product__name {
	display: block;
	margin-top: 14px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.2px;
}

.wp-product:hover .wp-product__name {
	color: var(--wp-blue);
}

/* ---------- Footer ---------- */

.wp-footer {
	position: relative;
	background: var(--wp-blue);
	color: #fff;
	overflow: hidden;
}

.wp-cross--footer {
	right: 12px;
	bottom: 8px;
	filter: brightness(0) invert(1);
	opacity: 0.9;
	width: 90px !important;
}

.wp-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1fr) auto;
	align-items: start;
	padding: 45px 0 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.wp-eyebrow--light {
	color: #fff;
}

.wilson-site .wp-footer__title {
	margin: 0;
	font-size: clamp(38px, 3.3vw, 64px);
	line-height: 0.95;
	color: #fff;
}

.wp-footer__address,
.wp-footer__emails {
	align-self: stretch;
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	padding-left: 20px;
	margin: 12px 0 0;
}

.wp-footer__address {
	display: flex;
	gap: 10px;
}

.wp-footer__address svg {
	flex: none;
	margin-top: 2px;
}

.wp-footer__address address {
	margin: 0;
	font-style: normal;
	font-size: 16px;
	line-height: 1.35;
}

.wp-footer__address strong {
	display: block;
	margin-bottom: 12px;
	font-weight: 700;
}

.wp-footer__emails {
	list-style: none;
	padding-left: 38px;
}

.wp-footer__emails li {
	margin: 0 0 6px;
}

.wilson-site .wp-footer__emails a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: #fff;
	text-decoration: none;
}

.wilson-site .wp-footer__emails a:hover {
	text-decoration: underline;
}

.wp-footer__buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: clamp(200px, 17vw, 305px);
	margin-top: 30px;
}

.wp-footer__buttons .wp-btn {
	padding: 10px 18px;
}

.wp-footer__middle {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 28px 0 34px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.wp-footer__logo img {
	display: block;
	width: 170px;
	height: auto;
}

.wilson-site .wp-footer__nav .wp-menu a {
	color: #fff;
}

.wilson-site .wp-footer__nav .wp-menu a:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.wp-footer__tagline {
	text-align: right;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
}

.wp-footer__tagline p {
	margin: 0;
}

.wp-footer__heritage {
	margin-bottom: 10px !important;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 3px;
	line-height: 1.5;
	text-transform: uppercase;
	color: #fff;
}

.wp-footer__copy {
	margin: 0;
	padding: 18px 0 20px;
	text-align: center;
	font-size: 16px;
}

/* ---------- Responsive ---------- */

/* Laptops */
@media (max-width: 1280px) {
	/* Footer: heading on its own row, then address | emails | buttons. */
	.wp-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 32px;
		row-gap: 32px;
	}

	.wp-footer__cta {
		grid-column: 1 / -1;
	}

	.wp-footer__address {
		border-left: 0;
		padding-left: 0;
		margin-top: 0;
	}

	.wp-footer__emails {
		margin-top: 0;
		padding-left: 24px;
	}

	.wp-footer__buttons {
		width: 100%;
		margin-top: 0;
	}

	.wp-footer__middle {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 24px;
		text-align: center;
	}

	.wp-footer__tagline {
		text-align: center;
	}

	.wp-footer__nav .wp-menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px 22px;
	}

	.wp-upload__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Small laptops / large tablets: hero stacks, decorations hidden */
@media (max-width: 1199px) {
	.wp-cross,
	.wp-hero__paper,
	.wp-hero__motto {
		display: none;
	}

	.wp-hero {
		display: block;
		height: auto;
	}

	.wp-hero > .wp-container {
		padding-top: 48px;
		padding-bottom: 36px;
	}

	.wp-hero__art {
		position: static;
		display: block;
		/* Crops away most of the artwork's empty white left side. */
		height: min(69vw, 620px);
		object-position: right center;
	}
}

/* Tablets: hamburger menu */
@media (max-width: 1099px) {
	.wp-header__inner {
		grid-template-columns: 1fr auto;
		min-height: 90px;
	}

	.wp-header__logo img {
		width: 90px;
	}

	.wp-header__toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 46px;
		height: 46px;
		padding: 0 11px;
		background: #fff;
		border: 1px solid var(--wp-blue);
		border-radius: 6px;
		cursor: pointer;
	}

	.wp-header__toggle span:not(.screen-reader-text) {
		display: block;
		height: 2px;
		background: var(--wp-blue);
		transition: transform 0.2s, opacity 0.2s;
	}

	.wp-header__toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.wp-header__toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.wp-header__toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.wp-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 20px var(--wp-gutter) 28px;
		background: #fff;
		box-shadow: 0 16px 30px rgba(11, 29, 69, 0.1);
	}

	.wp-header__nav.is-open {
		display: flex;
	}

	.wp-header__nav .wp-menu {
		flex-direction: column;
		gap: 0;
	}

	.wp-header__nav .wp-menu a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--wp-border);
	}
}

/* Tablets: services and upload stack */
@media (max-width: 991px) {
	.wp-services__grid,
	.wp-upload__grid {
		grid-template-columns: 1fr;
	}

	.wp-services__list-wrap {
		order: -1;
	}

	/* Feature panel: image beside its text. */
	.wp-services__feature {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 32px;
		align-content: start;
	}

	.wp-services__media {
		grid-row: 1 / span 5;
		margin-top: 0;
	}

	.wp-services__counter {
		margin-top: 0;
	}

	.wp-upload__form {
		align-self: stretch;
	}

	.wp-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wp-footer__buttons {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.wp-footer__buttons .wp-btn {
		flex: 1 1 200px;
	}

	.wp-market__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Process steps become a vertical list */
@media (max-width: 899px) {
	.wp-process .wp-title {
		margin-bottom: 40px;
	}

	.wp-steps {
		grid-template-columns: 1fr;
		row-gap: 24px;
		max-width: 520px;
	}

	.wp-step {
		display: grid;
		grid-template-columns: 70px 1fr;
		column-gap: 18px;
		align-items: center;
		padding-right: 0;
	}

	.wp-step__icon {
		grid-column: 1;
		grid-row: 1 / span 2;
		width: 70px;
		height: 70px;
	}

	.wp-step__label {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
		align-self: end;
	}

	.wp-step__text {
		grid-column: 2;
		grid-row: 2;
		margin: 4px 0 0;
		padding: 0;
		align-self: start;
	}

	.wp-step__text::after {
		display: none;
	}

	/* Vertical connector between icons. */
	.wp-step::before {
		top: 70px;
		left: 35px;
		right: auto;
		bottom: -24px;
		border-top: 0;
		border-left: 1px dashed #9aa3af;
	}

	.wp-step:last-child::before {
		display: none;
	}
}

/* Phones */
@media (max-width: 767px) {
	.wp-services,
	.wp-upload,
	.wp-process {
		padding: 50px 0;
	}

	.wp-work,
	.wp-market {
		padding: 45px 0;
	}

	.wp-title {
		margin-bottom: 28px;
	}

	.wp-hero > .wp-container {
		padding-top: 32px;
	}

	.wp-hero__lead {
		font-size: 16px;
	}

	.wp-hero__tags {
		gap: 8px 12px;
		letter-spacing: 2px;
	}

	.wp-hero__tags::before,
	.wp-hero__tags::after {
		display: none;
	}

	.wp-hero__tags span + span::before {
		margin-right: 12px;
	}

	.wp-work__card {
		padding: 8px;
	}

	.wp-market__grid {
		gap: 20px 16px;
	}

	.wp-product__frame {
		padding: 8px;
	}

	.wp-product__name {
		margin-top: 10px;
		font-size: 16px;
	}

	.wp-upload__form {
		padding: 20px 16px;
	}

	.wilson-site .wp-upload__form input[type="text"],
	.wilson-site .wp-upload__form select,
	.wilson-site .wp-upload__form textarea {
		height: 54px;
		font-size: 16px;
	}

	.wilson-site .wp-upload__form textarea {
		height: 110px;
	}

	.wp-footer__top {
		grid-template-columns: 1fr;
	}

	.wp-footer__emails {
		border-left: 0;
		padding-left: 0;
	}

	.wp-footer__buttons {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.wp-services__list {
		grid-template-rows: none;
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.wp-services__feature {
		display: block;
	}

	.wp-services__counter {
		margin-top: 20px;
	}
}