/* ==========================================================================
   SEI Equipment Sales — shared styles
   1. Fonts            5. Site header          9. Rich text (CMS content)
   2. Design tokens    6. Site footer         10. CMS page + 404
   3. Base             7. Equipment card
   4. Components       8. Request form
   Page styles live in browse.css, equipment.css, about.css, contact.css.
   ========================================================================== */

/* ---- 1. Fonts: Barlow (body) + Barlow Condensed (headings), self-hosted ---- */
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/barlow-400-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
		U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/barlow-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
		U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/barlow-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/fonts/barlow-500-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
		U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/fonts/barlow-500-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
		U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/fonts/barlow-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/fonts/barlow-700-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
		U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/fonts/barlow-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
		U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/fonts/barlow-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/barlow-condensed-400-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
		U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/barlow-condensed-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
		U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/barlow-condensed-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fonts/barlow-condensed-600-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
		U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fonts/barlow-condensed-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
		U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fonts/barlow-condensed-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- 2. Design tokens ---- */
:root {
	--color-bg: #f2f2f3;
	--color-surface: #e9e9ea;
	--color-text: #1d1f20;
	--color-accent: #154835;
	--color-accent-2: #1d5e45;
	--color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

	/* Tonal ramps — one shared lightness scale, so the same step of any role
       matches the others in visual value. */
	--color-neutral-100: #f5f5f8;
	--color-neutral-200: #e7e7ea;
	--color-neutral-300: #d4d4d7;
	--color-neutral-400: #b7b7ba;
	--color-neutral-500: #98989b;
	--color-neutral-600: #7a7a7d;
	--color-neutral-700: #5d5d60;
	--color-neutral-800: #424244;
	--color-neutral-900: #2b2b2d;

	--color-accent-100: #f1fbf7;
	--color-accent-200: #d7f4e9;
	--color-accent-300: #b3e6d2;
	--color-accent-400: #84cdb1;
	--color-accent-500: #54b690;
	--color-accent-600: #1d5e45;
	--color-accent-700: #154835;
	--color-accent-800: #0f3627;
	--color-accent-900: #0a2519;

	--color-error: #a1352b;
	--color-success: var(--color-accent-700);

	--font-heading: "Barlow Condensed", system-ui, sans-serif;
	--font-heading-weight: 600;
	--font-body: "Barlow", system-ui, sans-serif;

	--space-1: 3.4px;
	--space-2: 6.8px;
	--space-3: 10.2px;
	--space-4: 13.6px;
	--space-6: 20.4px;
	--space-8: 27.2px;

	--shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
	--shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
	--shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);

	/* sticky header height + breathing room, for sticky/anchored elements */
	--head-offset: 118px;
}

/* ---- 3. Base ---- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: var(--head-offset);
}
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.55;
	font-weight: 400;
	text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 var(--space-2);
}
h1 {
	font-size: 42px;
}
h2 {
	font-size: 32px;
}
h3 {
	font-size: 25px;
}
h4 {
	font-size: 20px;
}
p {
	margin: 0 0 var(--space-3);
}
a {
	color: var(--color-accent-700);
	text-underline-offset: 3px;
}
a:hover {
	color: var(--color-accent-900);
}
img {
	display: block;
	max-width: 100%;
}
figure {
	margin: 0;
}
[hidden] {
	display: none !important;
}
:focus {
	outline: none;
}
:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}
::selection {
	background: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

/* page container */
.wrap {
	max-width: 1440px;
	margin: 0 auto;
	padding-inline: clamp(20px, 4vw, 56px);
}

/* small caps label used above and inside most blocks */
.kicker {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-accent-700);
	font-feature-settings: "tnum" 1;
}
.kicker-rule {
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-divider);
	margin-bottom: 24px;
}
.ref {
	color: var(--color-neutral-600);
	white-space: nowrap;
}
.tnum {
	font-feature-settings: "tnum" 1;
}

/* ---- 4. Components ---- */

/* blueprint frame: square hairline box with registration marks at the corners */
.blueprint {
	position: relative;
	border: 1px solid var(--color-divider);
}
.blueprint > .corner {
	position: absolute;
	width: 11px;
	height: 11px;
	color: color-mix(in srgb, var(--color-text) 55%, transparent);
	pointer-events: none;
}
.blueprint > .corner::before,
.blueprint > .corner::after {
	content: "";
	position: absolute;
	background: currentColor;
}
.blueprint > .corner::before {
	left: 5px;
	top: 0;
	width: 1px;
	height: 100%;
}
.blueprint > .corner::after {
	top: 5px;
	left: 0;
	width: 100%;
	height: 1px;
}
.blueprint > .corner.tl {
	top: -6px;
	left: -6px;
}
.blueprint > .corner.tr {
	top: -6px;
	right: -6px;
}
.blueprint > .corner.bl {
	bottom: -6px;
	left: -6px;
}
.blueprint > .corner.br {
	bottom: -6px;
	right: -6px;
}

/* message box: empty results, inventory unavailable */
.notice {
	padding: 48px 24px;
	text-align: center;
	color: var(--color-neutral-700);
}

/* buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	text-decoration: none;
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: 16px !important;
	line-height: 1.2;
	color: var(--color-text);
	background: transparent;
	border: 1px solid var(--color-divider);
	border-radius: 0;
	padding: var(--space-2) calc(var(--space-3) * 1.2);
}
.btn:hover {
	color: var(--color-text);
}
.btn-primary {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-bg);
}
.btn-primary:hover {
	background: var(--color-accent-600);
	color: var(--color-bg);
}
/* submit in progress */
.btn.is-loading {
	pointer-events: none;
	opacity: 0.85;
}
.btn .spinner {
	width: 14px;
	height: 14px;
	margin-right: 8px;
	border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin {
	to {
		transform: rotate(360deg);
	}
}
.btn-primary:active {
	background: var(--color-accent-700);
}
.btn-secondary:hover {
	background: color-mix(in srgb, var(--color-text) 7%, transparent);
}
.btn-secondary:active {
	background: color-mix(in srgb, var(--color-text) 14%, transparent);
}
.btn-ghost {
	color: var(--color-accent);
	border-color: transparent;
	padding-inline: var(--space-1);
}
.btn-ghost:hover {
	color: var(--color-accent);
	background: color-mix(in srgb, var(--color-accent) 10%, transparent);
}
.btn-lg {
	min-height: 44px;
	padding-inline: 22px;
	font-size: 15px;
}
.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* form controls */
.input {
	width: 100%;
	min-height: 36px;
	padding: 6px 10px;
	font: inherit;
	font-size: 14px;
	color: var(--color-text);
	caret-color: var(--color-accent);
	background: var(--color-surface);
	border: 1px solid var(--color-divider);
	border-radius: 0;
}
.input:hover {
	border-color: color-mix(in srgb, var(--color-text) 45%, transparent);
}
.input:focus-visible {
	border-color: var(--color-accent);
	outline-offset: 0;
}
textarea.input {
	display: block;
	min-height: 90px;
	resize: vertical;
}
select.input {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--color-neutral-700) 50%),
		linear-gradient(135deg, var(--color-neutral-700) 50%, transparent 50%);
	background-position: calc(100% - 15px) 16px, calc(100% - 10px) 16px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 30px;
}

/* tables */
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.table th,
.table td {
	text-align: left;
	padding: var(--space-2);
	border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tr:last-child th,
.table tr:last-child td {
	border-bottom: 0;
}
.table tbody tr:hover {
	background: color-mix(in srgb, var(--color-text) 4%, transparent);
}

/* ---- 5. Site header ---- */
.site-head {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--color-bg);
	border-bottom: 1px solid var(--color-divider);
}
.site-head .bar {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	min-height: 94px;
}
/* the logo is a 253x124 PNG with small lettering: any smaller and the name is
   unreadable, any larger and it goes soft on retina screens */
.brand {
	flex: none;
	padding-block: 9px;
}
.brand img {
	width: auto;
	height: 85px;
}
/* temporary homepage: the phone replaces the navigation */
.head-call {
	margin-left: auto;
	min-height: 40px;
	padding-inline: 18px;
	font-size: 15px;
	font-feature-settings: "tnum" 1;
	white-space: nowrap;
}
.site-menu {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	margin-left: auto;
}
.site-nav {
	display: flex;
	gap: clamp(12px, 2vw, 28px);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.site-nav a {
	color: var(--color-text);
	text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--color-accent-700);
}
.head-phone {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.02em;
	font-feature-settings: "tnum" 1;
	white-space: nowrap;
	color: var(--color-text);
	text-decoration: none;
}
.site-menu .btn {
	white-space: nowrap;
}
/* admin view of the unlisted inventory */
.head-admin {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-left: auto;
}
.head-admin-label {
	padding: 6px 12px;
	background: var(--color-text);
	color: var(--color-bg);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
}
.unlisted-login .not-found-search .input {
	max-width: 320px;
}
.nav-toggle {
	display: none;
}

@media (max-width: 860px) {
	.site-head .bar {
		min-height: 76px;
	}
	.brand img {
		height: 60px;
	}
	.nav-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 42px;
		height: 40px;
		margin-left: auto;
		padding: 0 10px;
		border: 1px solid var(--color-divider);
		background: none;
		cursor: pointer;
	}
	.nav-toggle span {
		display: block;
		height: 2px;
		background: var(--color-text);
	}
	.site-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin: 0;
		padding: 4px clamp(20px, 4vw, 56px) 20px;
		background: var(--color-bg);
		border-bottom: 1px solid var(--color-divider);
		box-shadow: var(--shadow-md);
	}
	.site-menu.is-open {
		display: flex;
	}
	.site-nav {
		flex-direction: column;
		gap: 0;
		font-size: 18px;
	}
	.site-nav a {
		padding: 12px 0;
		border-bottom: 1px solid var(--color-divider);
	}
	.head-phone {
		padding: 14px 0;
		font-size: 20px;
	}
	.site-menu .btn {
		min-height: 44px;
		font-size: 15px;
	}
}

/* ---- 6. Site footer ---- */
.site-foot {
	border-top: 1px solid var(--color-divider);
}
.foot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	padding-block: 40px;
	font-size: 14px;
	line-height: 1.5;
}
.foot-logo {
	width: auto;
	height: 70px;
	margin-bottom: 12px;
}
.foot-about {
	margin: 0;
	max-width: 36ch;
	color: var(--color-neutral-700);
}
.foot-title {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-accent-700);
	margin-bottom: 10px;
}
.foot-links {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.foot-links a {
	color: var(--color-text);
	text-decoration: none;
}
.foot-links a:hover {
	color: var(--color-accent-700);
}
.foot-copy {
	align-self: end;
	font-size: 13px;
	color: var(--color-neutral-600);
}

/* ---- 7. Equipment card (browse grid, related listings) ---- */
.eq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 30px 28px;
}
.eq-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--color-text);
	text-decoration: none;
	transition: border-color 0.15s;
}
.eq-card:hover {
	border-color: var(--color-accent-600);
	color: var(--color-text);
}
.eq-card-photo {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-bottom: 1px solid var(--color-divider);
}
.eq-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.eq-card-photo.is-empty {
	display: flex;
	align-items: flex-end;
	padding: 14px;
	background-image: linear-gradient(var(--color-divider) 1px, transparent 1px),
		linear-gradient(90deg, var(--color-divider) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: -1px -1px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-neutral-600);
}
.eq-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
	padding: 16px 16px 14px;
}
.eq-card-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-accent-700);
	font-feature-settings: "tnum" 1;
}
.eq-card-why {
	margin-left: 6px;
	padding: 1px 6px;
	background: var(--color-text);
	color: var(--color-bg);
	font-style: normal;
	font-size: 10px;
}
.eq-card-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: pretty;
}
.eq-card-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: auto;
	font-size: 13px;
	color: var(--color-neutral-700);
}
.eq-card-foot {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--color-divider);
}
.eq-card-price {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 26px;
	line-height: 1;
	letter-spacing: 0.01em;
	font-feature-settings: "tnum" 1;
}
.eq-card-cta {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--color-accent-700);
}

/* ---- 8. Request form (includes/inc-quote-form.php) ---- */
/* two fields per row, one when there is no room for two */
.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(max(200px, calc(50% - 8px)), 1fr));
	gap: 16px;
}
.form-grid .is-wide {
	grid-column: 1 / -1;
}
.field > span {
	display: block;
	font-size: 12px;
	margin-bottom: 5px;
	color: var(--color-neutral-700);
}
textarea.input.is-tall {
	min-height: 130px;
}
.field-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
.req {
	color: var(--color-error);
	font-weight: 700;
}
.form-required-note {
	order: 1;
	width: 100%;
	font-size: 12px;
	color: var(--color-neutral-700);
}
.form-status {
	font-size: 13px;
	color: var(--color-accent-700);
}
.form-status.is-error {
	color: var(--color-error);
}
/* shown in place of the form once it has been sent */
.form-success {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 28px;
	border: 2px solid var(--color-success);
	background: color-mix(in srgb, var(--color-success) 8%, transparent);
	color: var(--color-success);
}
.form-success-icon {
	flex: none;
	width: 52px;
	height: 52px;
}
.form-success-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 34px;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}
.form-success p {
	margin: 8px 0 0;
	font-size: 17px;
}

/* ---- 9. Rich text (content written in the CMS editor) ---- */
.rich-text {
	max-width: 68ch;
	font-size: 16px;
	line-height: 1.55;
}
.rich-text > :first-child {
	margin-top: 0;
}
.rich-text > :last-child {
	margin-bottom: 0;
}
.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text table {
	margin: 0 0 14px;
}
.rich-text h2,
.rich-text h3,
.rich-text h4 {
	margin: 28px 0 10px;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}
.rich-text h2 {
	font-size: 28px;
}
.rich-text h3 {
	font-size: 22px;
}
.rich-text h4 {
	font-size: 18px;
}
.rich-text ul,
.rich-text ol {
	padding-left: 20px;
}
.rich-text li {
	margin-bottom: 6px;
}
.rich-text strong {
	font-weight: 700;
}
.rich-text img {
	height: auto;
}
.rich-text table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.rich-text th,
.rich-text td {
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--color-divider);
}

/* ---- 10. CMS page (pages/page.php) + 404 ---- */
.cms-page,
.not-found {
	padding-block: 56px 64px;
}
.cms-page h1,
.not-found h1 {
	margin: 0 0 24px -0.04em;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}
.cms-page-body.has-sidebar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px;
}
.cms-page-body.has-sidebar .rich-text {
	flex: 1 1 420px;
	min-width: 0;
}
.page-subnav {
	flex: 0 1 300px;
}
.page-subnav-head {
	padding: 10px 18px;
	border-bottom: 1px solid var(--color-divider);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
}
.page-subnav ul {
	list-style: none;
	margin: 0;
	padding: 6px 18px;
}
.page-subnav a {
	display: block;
	padding: 7px 0;
	font-size: 14px;
	color: var(--color-text);
	text-decoration: none;
}
.page-subnav a:hover {
	color: var(--color-accent-700);
}

.not-found-box {
	max-width: 760px;
}
.not-found-head {
	display: flex;
	justify-content: space-between;
	padding: 10px 20px;
	border-bottom: 1px solid var(--color-divider);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
}
.not-found-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px 20px 28px;
}
.not-found-body h1,
.not-found-body p {
	margin-bottom: 0;
}
.not-found-body p {
	max-width: 52ch;
	font-size: 16px;
	color: var(--color-neutral-700);
}
.not-found-search {
	display: flex;
	gap: 10px;
	max-width: 460px;
}
.not-found-search .input {
	min-height: 40px;
}
