/* ==========================================================================
   Avero theme
   Ink neutrals, teal line art and a floating pill header, amber for the
   primary action. Craft rules from unslop by Damir Sokolovsky (@heydamir),
   CC BY 4.0: no gradients on surfaces, no glows, no looping motion.
   ========================================================================== */

:root {
	/* Ink ramp */
	--bg-deep: #07080d;
	--bg: #0b0d14;
	--card: #11141c;
	--raised: #1a1e28;
	--line: rgba(238, 240, 245, 0.08);
	--line-strong: rgba(238, 240, 245, 0.14);
	--text: #eef0f5;
	--text-2: #a3a9b8;
	--text-3: #7a8296;

	/* Light pill (header and footer) */
	--pill: #e9ebf0;
	--pill-text: #11141c;
	--pill-text-2: #4b5565;

	/* Colour */
	--accent: #ffb648;
	--accent-hover: #ffc46e;
	--on-accent: #1a1200;
	--teal: #3f7a78;
	--teal-hover: #356765;
	--teal-text: #7cc2b8;
	--warm: #beb0a0;

	/* Semantic */
	--positive: #4cc38a;
	--negative: #e5484d;

	--font-display: "Exo", "Geist", system-ui, sans-serif;
	--font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--container: 1200px;
	--gutter: 24px;
	--r-control: 10px;
	--r-card: 16px;
	--r-panel: 20px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--fast: 150ms;
}

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

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 104px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection {
	background: var(--accent);
	color: var(--on-accent);
}

.page-shell {
	overflow-x: clip;
}

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

.container--narrow {
	max-width: calc(1040px + var(--gutter) * 2);
}

.mono {
	font-family: var(--mono);
	font-variant-numeric: tabular-nums;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 8px 16px;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 500;
	border-radius: var(--r-control);
	transform: translateY(-200%);
	transition: transform var(--fast) var(--ease);
}

.skip-link:focus {
	transform: none;
}

.icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: var(--r-control);
	font: 500 15px/1 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform 120ms var(--ease);
}

.btn .icon {
	width: 16px;
	height: 16px;
}

.btn:active {
	transform: scale(0.98);
}

.btn--primary {
	background: var(--accent);
	color: var(--on-accent);
}

.btn--primary:hover {
	background: var(--accent-hover);
}

.btn--secondary {
	background: var(--raised);
	border-color: var(--line-strong);
	color: var(--text);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn--secondary:hover {
	background: #222736;
}

.btn--teal {
	background: var(--teal);
	color: #fff;
	border-radius: 9999px;
}

.btn--teal:hover {
	background: var(--teal-hover);
}

.btn--lg {
	height: 48px;
}

.btn--sm {
	height: 36px;
	padding: 0 18px;
	font-size: 14px;
}

.btn[aria-busy="true"] {
	cursor: progress;
	opacity: 0.85;
}

.btn[aria-busy="true"]::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}

/* Header: floating light pill ------------------------------------------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 16px var(--gutter) 0;
	pointer-events: none;
}

.admin-bar .site-header {
	top: 32px;
}

.nav-pill {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: calc(var(--container) + 40px);
	height: 56px;
	margin: 0 auto;
	padding: 0 10px 0 24px;
	background: var(--pill);
	color: var(--pill-text);
	border-radius: 9999px;
	pointer-events: auto;
}

.site-header :focus-visible,
.footer-pill :focus-visible {
	outline-color: var(--teal);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}

.brand-mark {
	width: 30px;
	height: 28px;
	flex-shrink: 0;
}

.brand-name {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 36px;
	width: auto;
}

.nav-primary {
	flex: 1;
	display: flex;
	justify-content: center;
}

.nav-primary ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-primary a:not(.btn) {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	color: var(--pill-text-2);
	border-radius: 9999px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}

.nav-primary a:not(.btn):hover,
.nav-primary .current-menu-item > a {
	color: var(--pill-text);
	background: rgba(17, 20, 28, 0.07);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-cta-mobile,
.nav-toggle {
	display: none;
}

.nav-toggle {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--pill-text);
	cursor: pointer;
	transition: background-color var(--fast) var(--ease);
}

.nav-toggle:hover {
	background: rgba(17, 20, 28, 0.07);
}

.nav-toggle .icon {
	width: 22px;
	height: 22px;
}

.nav-toggle .nav-toggle-close,
.nav-toggle[aria-expanded="true"] .nav-toggle-open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
	display: block;
}

/* Section type ----------------------------------------------------------- */

.section {
	padding: 96px 0;
}

.eyebrow {
	margin: 0 0 16px;
	color: var(--teal-text);
	font-family: var(--mono);
	font-size: 13px;
	line-height: 20px;
}

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

.section-title {
	margin: 0;
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.section-title span {
	display: block;
}

.section-title--center {
	text-align: center;
}

.section-sub {
	max-width: 36rem;
	margin: 16px 0 0;
	color: var(--text-2);
	font-size: 18px;
	line-height: 28px;
}

.prose {
	color: var(--text-2);
	font-size: 15px;
	line-height: 24px;
}

.prose p {
	margin: 0 0 16px;
}

.prose p:last-child {
	margin-bottom: 0;
}

/* Cards ------------------------------------------------------------------ */

.card {
	padding: 32px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.card-title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 30px;
}

.card-title a {
	text-decoration: none;
}

.card-title--sm {
	margin-bottom: 16px;
	font-size: 18px;
	line-height: 26px;
}

.card-label {
	margin: 24px 0 12px;
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
}

.card-note {
	margin: 4px 0 20px;
	color: var(--text-2);
	font-size: 14px;
}

.card--cta {
	display: flex;
	flex-direction: column;
}

.card-foot {
	margin-top: auto;
	padding-top: 8px;
}

.card-foot .card-label {
	margin-top: 24px;
	margin-bottom: 0;
}

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

.check-list li {
	display: flex;
	gap: 10px;
	color: var(--text-2);
	font-size: 15px;
	line-height: 22px;
}

.check-list .icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--teal-text);
}

/* Line art behind the hero and the services heading ---------------------- */

.site-main {
	position: relative;
}

.top-lines {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 0;
	height: calc(100vh + 360px);
	height: calc(100svh + 360px);
	min-height: 1040px;
	overflow: hidden;
	pointer-events: none;
	isolation: isolate;
}

.top-lines img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* A neutral fade in the page colour keeps the headline readable and
   lets the lines run out before the services band. */
.top-lines::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(44% 36% at 50% 34%, rgba(11, 13, 20, 0.78), rgba(11, 13, 20, 0) 74%),
		linear-gradient(to bottom, rgba(11, 13, 20, 0) 70%, var(--bg) 100%);
}

.hero,
.services {
	position: relative;
}

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

.hero {
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 152px 0 80px;
	text-align: center;
}

.hero-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-copy > *,
.runbook {
	animation: rise 400ms var(--ease) both;
}

.hero-copy > :nth-child(2) {
	animation-delay: 50ms;
}

.hero-copy > :nth-child(3) {
	animation-delay: 100ms;
}

.runbook {
	animation-delay: 150ms;
}

.hero-title {
	margin: 0;
	font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.5rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.hero-line {
	display: block;
}

.hero-lead {
	max-width: 40rem;
	margin: 24px auto 0;
	color: var(--text-2);
	font-size: 19px;
	line-height: 30px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 36px;
}

/* Runbook window: the hero moment */

.runbook {
	width: 100%;
	max-width: 44rem;
	margin: 56px 0 0;
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-card);
	text-align: left;
}

.runbook-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
}

.runbook-title {
	font-size: 14px;
	font-weight: 500;
}

.runbook-meta {
	color: var(--text-3);
	font-family: var(--mono);
	font-size: 12px;
}

.runbook-rows {
	position: relative;
	margin: 0;
	padding: 8px 0;
	list-style: none;
}

/* The route through the stops */
.runbook-rows::before,
.runbook-status::before {
	content: "";
	position: absolute;
	top: 34px;
	bottom: 0;
	left: 30px;
	width: 1px;
	background: var(--line-strong);
}

.runbook-row {
	position: relative;
	display: grid;
	grid-template-columns: 20px 96px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 8px 20px;
}

.runbook-check {
	position: relative;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	background: var(--raised);
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--positive);
}

.runbook-check--retry {
	color: var(--accent);
}

.runbook-check .icon {
	width: 12px;
	height: 12px;
	stroke-width: 2;
}

.runbook-stage {
	color: var(--text-3);
	font-family: var(--mono);
	font-size: 12px;
}

.runbook-detail {
	overflow: hidden;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.runbook-time {
	color: var(--text-3);
	font-family: var(--mono);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.runbook-status {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px 20px;
	background: var(--raised);
	border-top: 1px solid var(--line);
	color: var(--text);
	font-size: 14px;
}

.runbook-status::before {
	top: 0;
	bottom: 50%;
}

.status-dot {
	position: relative;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background: radial-gradient(circle, var(--accent) 0 5px, transparent 5.5px);
}

.runbook-zone {
	margin-left: auto;
	color: var(--text-3);
	font-family: var(--mono);
	font-size: 12px;
}

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

.services-head {
	padding-block: 24px 56px;
}

.services-band {
	position: relative;
	padding: 72px 0;
	background: var(--card);
	border-block: 1px solid var(--line);
}

.services-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 64px;
	align-items: start;
}

.services-intro {
	margin: 0;
	color: var(--text-2);
	font-size: 17px;
	line-height: 28px;
}

.services-intro strong {
	color: var(--text);
	font-weight: 500;
}

.service-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.service-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.service-name {
	color: var(--text);
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
}

.service-desc {
	color: var(--text-2);
	font-size: 14px;
	line-height: 21px;
}

.service-num {
	display: grid;
	flex: 0 0 28px;
	place-items: center;
	height: 28px;
	background: var(--teal);
	border-radius: 6px;
	color: #fff;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

/* Approach --------------------------------------------------------------- */

.approach-head {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 64px;
	margin-bottom: 48px;
}

.approach-intro {
	font-size: 16px;
	line-height: 26px;
}

/* Highlights ------------------------------------------------------------- */

.stats {
	padding: 72px 0;
	background: var(--bg-deep);
	border-block: 1px solid var(--line);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	text-align: center;
}

.stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
}

.stat-value {
	margin: 0;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 1.9rem + 1.8vw, 3.25rem);
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.stat-label {
	color: var(--text-2);
	font-size: 14px;
}

/* About ------------------------------------------------------------------ */

.about-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: start;
}

.about .section-sub {
	color: var(--warm);
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
	font-weight: 500;
	line-height: 1.25;
}

.about-text {
	max-width: 34rem;
	margin-top: 24px;
	font-size: 16px;
	line-height: 26px;
}

.company-facts {
	display: grid;
	gap: 16px;
	max-width: 34rem;
	margin: 32px 0 24px;
	padding: 20px 0;
	border-block: 1px solid var(--line);
}

.company-facts div {
	display: grid;
	grid-template-columns: 136px minmax(0, 1fr);
	gap: 16px;
}

.company-facts dt {
	color: var(--text-3);
	font-size: 14px;
}

.company-facts dd {
	margin: 0;
	color: var(--text);
	font-size: 14px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--teal-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color var(--fast) var(--ease);
}

.text-link .icon {
	width: 16px;
	height: 16px;
}

.text-link:hover {
	color: var(--text);
}

.about-cards {
	display: grid;
	gap: 24px;
}

.promise-title {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
	line-height: 36px;
}

.promise-title span {
	display: block;
}

.promise-text {
	margin: 0 0 12px;
	color: var(--text-2);
	font-size: 15px;
	line-height: 24px;
}

/* Route: delivery stages as stops on a line */

.route {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.route::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 10%;
	right: 10%;
	height: 1px;
	background: var(--teal);
}

.route-stop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.route-dot {
	width: 11px;
	height: 11px;
	background: var(--card);
	border: 1.5px solid var(--teal-text);
	border-radius: 50%;
}

.route-label {
	color: var(--text-2);
	font-size: 13px;
	line-height: 16px;
}

.route-stop--end .route-dot {
	background: var(--accent);
	border-color: var(--accent);
}

.route-stop--end .route-label {
	color: var(--text);
	font-weight: 500;
}

/* Contact ---------------------------------------------------------------- */

.contact-card {
	max-width: 56rem;
	margin: 0 auto;
	padding: 48px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
	text-align: center;
}

.contact-text {
	max-width: 36rem;
	margin: 16px auto 40px;
	color: var(--text-2);
	font-size: 16px;
	line-height: 26px;
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 44rem;
	margin: 0 auto;
	text-align: left;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
}

.req,
.optional {
	color: var(--text-3);
	font-weight: 400;
}

.field input,
.field textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	background: var(--bg);
	color: var(--text);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-control);
	font: inherit;
	font-size: 16px;
	transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.field textarea {
	min-height: 140px;
	resize: vertical;
}

.field input:hover,
.field textarea:hover {
	border-color: rgba(238, 240, 245, 0.24);
}

.field input:focus,
.field textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 182, 72, 0.2);
}

.field input:user-invalid,
.field textarea:user-invalid {
	border-color: var(--negative);
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 4px;
}

.form-hint {
	margin: 0;
	color: var(--text-3);
	font-size: 13px;
}

.form-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 44rem;
	margin: 0 auto 24px;
	padding: 12px 16px;
	border-radius: var(--r-control);
	font-size: 15px;
	text-align: left;
}

.form-note:focus {
	outline: none;
}

.form-note--success {
	background: rgba(76, 195, 138, 0.1);
	border: 1px solid rgba(76, 195, 138, 0.35);
	color: #c7ecd9;
}

.form-note--error {
	background: rgba(229, 72, 77, 0.1);
	border: 1px solid rgba(229, 72, 77, 0.4);
	color: #f6cfd0;
}

.contact-details {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 40px;
	margin: 40px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--line);
	color: var(--text-2);
	font-size: 15px;
	list-style: none;
}

.contact-details li {
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
}

.contact-details .icon {
	color: var(--teal-text);
}

.contact-details a {
	text-decoration: none;
	transition: color var(--fast) var(--ease);
}

.contact-details a:hover {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Footer: floating light pill ------------------------------------------- */

.site-footer {
	padding: 8px var(--gutter) 28px;
}

.footer-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--container) + 40px);
	min-height: 56px;
	margin: 0 auto;
	padding: 6px 10px 6px 24px;
	background: var(--pill);
	color: var(--pill-text);
	border-radius: 9999px;
}

.footer-meta {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	color: var(--pill-text-2);
	font-size: 13px;
	list-style: none;
}

.footer-meta a {
	color: var(--pill-text);
	text-underline-offset: 3px;
}

.footer-social {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--pill-text);
	color: #fff;
	border-radius: 50%;
	transition: background-color var(--fast) var(--ease);
}

.footer-social:hover {
	background: #000;
}

.footer-social .icon {
	width: 16px;
	height: 16px;
}

.footer-legal {
	margin: 16px 0 0;
	color: var(--text-3);
	font-size: 12px;
	text-align: center;
}

.footer-legal span[aria-hidden] {
	margin: 0 8px;
}

.form-status:empty {
	display: none;
}

/* Inner pages ------------------------------------------------------------ */

.inner {
	min-height: 70vh;
	padding: 144px 0 64px;
}

.inner-head {
	margin-bottom: 24px;
}

.inner-title {
	margin: 0 0 8px;
	font-size: clamp(2rem, 1.5rem + 1.6vw, 2.5rem);
	line-height: 1.1;
}

.entry-meta {
	margin: 0;
	color: var(--text-3);
	font-size: 14px;
}

.entry-summary {
	margin-bottom: 24px;
}

.entry-content {
	color: var(--text-2);
	line-height: 1.75;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content strong {
	color: var(--text);
}

.entry-content a {
	color: var(--teal-text);
	text-underline-offset: 4px;
}

.not-found .btn {
	margin-top: 16px;
}

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
.wp-element-caption {
	color: var(--text-3);
	font-size: 14px;
}

.nav-links {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 32px;
}

.nav-links a,
.nav-links span {
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-control);
	text-decoration: none;
}

/* Keyframes -------------------------------------------------------------- */

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

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

@media (max-width: 960px) {
	.nav-pill {
		padding: 0 6px 0 18px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav-cta {
		display: none;
	}

	.nav-actions {
		margin-left: auto;
	}

	.nav-primary {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		gap: 12px;
		padding: 8px 12px 12px;
		background: var(--pill);
		border-radius: var(--r-panel);
		box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
	}

	.nav-primary[data-open] {
		display: flex;
		animation: rise 180ms var(--ease) both;
	}

	.nav-primary ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav-primary a:not(.btn) {
		display: flex;
		height: 44px;
		border-radius: var(--r-control);
	}

	.nav-cta-mobile {
		display: inline-flex;
	}

	.services-grid,
	.approach-head,
	.about-grid,
	.card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.services-grid,
	.about-grid {
		gap: 40px;
	}

	.approach-head {
		gap: 24px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	:root {
		--gutter: 16px;
	}

	html {
		scroll-padding-top: 88px;
	}

	.site-header {
		padding-top: 12px;
	}

	.section {
		padding: 64px 0;
	}

	.hero {
		min-height: 0;
		padding: 120px 0 64px;
	}

	.hero-title {
		font-size: 40px;
	}

	.hero-lead {
		font-size: 17px;
		line-height: 26px;
	}

	.hero-actions {
		width: 100%;
	}

	.hero-actions .btn {
		flex: 1 1 100%;
	}

	.runbook {
		margin-top: 40px;
	}

	.runbook-row {
		grid-template-columns: 20px minmax(0, 1fr) auto;
	}

	.runbook-stage {
		grid-column: 2;
		grid-row: 2;
	}

	.runbook-detail {
		grid-column: 2;
		grid-row: 1;
		white-space: normal;
	}

	.runbook-time {
		grid-column: 3;
		grid-row: 1;
	}

	.runbook-check {
		grid-row: 1 / span 2;
	}

	.services-band {
		padding: 48px 0;
	}

	.service-list {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-auto-flow: row;
	}

	.stats-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.card {
		padding: 24px;
	}

	.company-facts div {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.route {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.route::before {
		top: 6px;
		bottom: 6px;
		left: 5px;
		right: auto;
		width: 1px;
		height: auto;
	}

	.route-stop {
		flex-direction: row;
		text-align: left;
	}

	.contact-card {
		padding: 32px 20px;
	}

	.contact-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.form-actions .btn {
		width: 100%;
	}

	.contact-details {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-pill {
		flex-direction: column;
		gap: 12px;
		padding: 20px;
		border-radius: var(--r-panel);
		text-align: center;
	}

	.footer-meta {
		flex-direction: column;
		align-items: center;
	}
}

/* Reduced motion --------------------------------------------------------- */

@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;
	}
}
