/* ==========================================================================
   MBE DIGISOL — Design system
   1. Tokens
   2. Reset & base
   3. Typography
   4. Layout primitives
   5. Buttons & links
   6. Header & navigation
   7. Hero & ecosystem visual
   8. Sections & components
   9. Blog
   10. Forms
   11. Footer
   12. Utilities, responsive, motion & print
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--green: #16b978;
	--green-dark: #0f9c63;
	--green-tint: rgba(22, 185, 120, 0.12);
	--green-line: rgba(22, 185, 120, 0.32);
	--blue: #2563eb;
	--blue-tint: rgba(37, 99, 235, 0.1);
	--navy: #07111f;
	--navy-2: #0d1b2a;
	--navy-3: #14283c;
	--white: #ffffff;
	--mist: #f6f8fb;
	--muted: #94a3b8;

	--ink: #07111f;
	--body: #46586d;
	--body-dark: #b6c4d4;
	--rule: #e3e9f1;
	--rule-dark: rgba(255, 255, 255, 0.12);

	--font-display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--step-display: clamp(2.6rem, 1.35rem + 4.6vw, 5rem);
	--step-h1: clamp(2.2rem, 1.45rem + 2.7vw, 3.55rem);
	--step-h2: clamp(1.75rem, 1.25rem + 1.9vw, 2.75rem);
	--step-h3: clamp(1.2rem, 1.06rem + 0.5vw, 1.45rem);
	--step-lead: clamp(1.05rem, 1rem + 0.35vw, 1.24rem);
	--step-body: 1.0625rem;
	--step-small: 0.9rem;
	--step-label: 0.8125rem;

	--wrap: 1240px;
	--wrap-narrow: 860px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--band: clamp(4.5rem, 7vw, 8.25rem);
	--radius: 6px;
	--radius-lg: 12px;

	--shadow-sm: 0 1px 2px rgba(7, 17, 31, 0.06), 0 8px 24px -18px rgba(7, 17, 31, 0.4);
	--shadow-md: 0 24px 60px -36px rgba(7, 17, 31, 0.45);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--admin-offset: 0px;
}

/* 2. Reset & base ------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--white);
	color: var(--body);
	font-family: var(--font-body);
	font-size: var(--step-body);
	line-height: 1.7;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--rule);
	margin: 2.5rem 0;
}

::selection {
	background: var(--green);
	color: var(--navy);
}

:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 3px;
	border-radius: 3px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--navy);
	color: var(--white);
	padding: 0.85rem 1.4rem;
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* 3. Typography --------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 600;
	letter-spacing: -0.028em;
	line-height: 1.1;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 {
	font-size: var(--step-h1);
}

h2 {
	font-size: var(--step-h2);
}

h3 {
	font-size: var(--step-h3);
	letter-spacing: -0.015em;
}

h4 {
	font-size: 1.075rem;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1.15rem;
	max-width: 68ch;
}

a {
	color: var(--green-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--ink);
}

strong {
	font-weight: 600;
	color: var(--ink);
}

blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 2px solid var(--green);
	font-family: var(--font-display);
	font-size: 1.2rem;
	line-height: 1.5;
	color: var(--ink);
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	background: var(--navy);
	color: #d6e4f0;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius);
	overflow-x: auto;
}

.lead {
	font-size: var(--step-lead);
	line-height: 1.6;
	color: var(--body);
	max-width: 60ch;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-display);
	font-size: var(--step-label);
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--green-dark);
	margin: 0 0 1.1rem;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--green);
	flex: none;
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-head p {
	margin-bottom: 0;
}

.section-head--split {
	max-width: none;
	display: grid;
	gap: 1.5rem 4rem;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: end;
}

/* 4. Layout primitives -------------------------------------------------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: var(--wrap-narrow);
}

.band {
	padding-block: var(--band);
	position: relative;
}

.band--tight {
	padding-block: clamp(3rem, 5vw, 5rem);
}

.band--mist {
	background: var(--mist);
}

.band--navy {
	background: var(--navy);
	color: var(--body-dark);
}

.band--navy h1,
.band--navy h2,
.band--navy h3,
.band--navy h4 {
	color: var(--white);
}

.band--navy .lead,
.band--navy p {
	color: var(--body-dark);
}

.band--navy .eyebrow {
	color: var(--green);
}

/* Signature lattice: a hairline grid with nodes, used only on dark bands. */
.lattice {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 74px 74px;
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 20%, transparent 75%);
}

.grid {
	display: grid;
	gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

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

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

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

/* 5. Buttons & links ---------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--font-display);
	font-size: 0.975rem;
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1;
	padding: 1rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease),
		transform 0.2s var(--ease);
}

.btn--primary {
	background: var(--green);
	color: var(--navy);
}

.btn--primary:hover {
	background: #35d494;
	color: var(--navy);
}

.btn--ghost {
	border-color: var(--rule);
	color: var(--ink);
	background: transparent;
}

.btn--ghost:hover {
	border-color: var(--ink);
	color: var(--ink);
	background: transparent;
}

.band--navy .btn--ghost,
.site-footer .btn--ghost {
	border-color: var(--rule-dark);
	color: var(--white);
}

.band--navy .btn--ghost:hover,
.site-footer .btn--ghost:hover {
	border-color: var(--green);
	color: var(--green);
}

.btn--sm {
	padding: 0.7rem 1.1rem;
	font-size: 0.9rem;
}

.btn--block {
	width: 100%;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
}

.textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--green-dark);
	text-decoration: none;
}

.textlink svg {
	transition: transform 0.25s var(--ease);
}

.textlink:hover svg {
	transform: translateX(4px);
}

.band--navy .textlink {
	color: var(--green);
}

/* 6. Header & navigation ------------------------------------------------ */
.site-header {
	position: sticky;
	top: var(--admin-offset);
	z-index: 90;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--rule);
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
	box-shadow: 0 1px 24px -12px rgba(7, 17, 31, 0.45);
}

.site-header--overlay {
	background: transparent;
	border-bottom-color: transparent;
	position: fixed;
	left: 0;
	right: 0;
}

.site-header--overlay .nav__link,
.site-header--overlay .site-brand__name {
	color: var(--white);
}

.site-header--overlay .nav__toggle-bar {
	background: var(--white);
}

.site-header--overlay.is-scrolled {
	background: rgba(7, 17, 31, 0.94);
	border-bottom-color: var(--rule-dark);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 78px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	flex: none;
}

.site-brand img {
	max-height: 42px;
	width: auto;
}

.site-brand__name {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.site-brand__name span {
	color: var(--green-dark);
}

.site-header--overlay .site-brand__name span {
	color: var(--green);
}

.nav {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
}

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

.nav li {
	position: relative;
}

.nav__link,
.nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 0.85rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	border-radius: var(--radius);
	white-space: nowrap;
}

.nav a:hover,
.nav .current-menu-item > a,
.nav .current-menu-parent > a,
.nav .current_page_item > a {
	color: var(--green-dark);
}

.site-header--overlay .nav a:hover,
.site-header--overlay .nav .current-menu-item > a {
	color: var(--green);
}

.nav .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: 0.6;
}

.nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 268px;
	display: block;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.nav .sub-menu li {
	width: 100%;
}

.nav .sub-menu a {
	display: block;
	width: 100%;
	padding: 0.65rem 0.85rem;
	color: var(--ink);
	font-size: 0.94rem;
	white-space: normal;
}

.nav .sub-menu a:hover {
	background: var(--mist);
	color: var(--green-dark);
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu,
.nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-cta {
	flex: none;
	margin-left: 0.6rem;
}

.nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 11px;
	background: transparent;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	cursor: pointer;
}

.site-header--overlay .nav__toggle {
	border-color: var(--rule-dark);
}

.nav__toggle-bar {
	display: block;
	height: 1.5px;
	width: 100%;
	background: var(--ink);
	transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

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

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* 7. Hero & ecosystem visual -------------------------------------------- */
.hero {
	position: relative;
	background: var(--navy);
	color: var(--body-dark);
	padding-block: clamp(8rem, 12vw, 11.5rem) clamp(4.5rem, 7vw, 7rem);
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	width: 620px;
	height: 620px;
	right: -180px;
	top: -220px;
	background: radial-gradient(circle, rgba(22, 185, 120, 0.16), transparent 62%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
}

.hero__title {
	font-size: var(--step-display);
	color: var(--white);
	letter-spacing: -0.04em;
	line-height: 0.99;
	margin-bottom: 1.4rem;
}

.hero__lead {
	font-size: var(--step-lead);
	color: var(--body-dark);
	max-width: 46ch;
	margin-bottom: 2rem;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.75rem;
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--rule-dark);
	font-size: var(--step-small);
	color: var(--muted);
}

.hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.hero__meta span::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--green);
	border-radius: 50%;
	flex: none;
}

.ecosystem {
	width: 100%;
}

.ecosystem text {
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 500;
	fill: #cfdcea;
	letter-spacing: 0.01em;
}

.ecosystem .eco-core {
	fill: #eaf6f0;
	font-size: 13.5px;
	font-weight: 600;
}

.ecosystem .eco-path {
	stroke: rgba(148, 163, 184, 0.35);
	stroke-width: 1;
	fill: none;
}

.ecosystem .eco-node {
	fill: var(--navy-2);
	stroke: rgba(148, 163, 184, 0.45);
}

.ecosystem .eco-node--live {
	stroke: var(--green);
	fill: rgba(22, 185, 120, 0.14);
}

.ecosystem .eco-pulse {
	fill: var(--green);
}

@media (prefers-reduced-motion: reduce) {
	.ecosystem .eco-pulse {
		display: none;
	}
}

/* Page hero (interior pages) */
.page-hero {
	position: relative;
	background: var(--navy);
	color: var(--body-dark);
	padding-block: clamp(7.5rem, 11vw, 9.5rem) clamp(3.5rem, 5vw, 5rem);
	overflow: hidden;
}

.page-hero__inner {
	position: relative;
	max-width: 780px;
}

.page-hero__title {
	color: var(--white);
	font-size: var(--step-h1);
	margin-bottom: 1.1rem;
}

.page-hero__lead {
	font-size: var(--step-lead);
	color: var(--body-dark);
	margin-bottom: 0;
}

.page-hero--service .page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: 900px;
}

.service-index {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--green);
	letter-spacing: 0.08em;
	margin-bottom: 1rem;
	display: block;
}

/* Breadcrumbs */
.crumbs {
	font-size: var(--step-small);
	color: var(--muted);
	margin-bottom: 1.5rem;
}

.crumbs a {
	color: var(--muted);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--green);
}

.crumbs__sep {
	margin: 0 0.5rem;
	opacity: 0.5;
}

.crumbs--light {
	color: var(--body);
}

.crumbs--light a {
	color: var(--body);
}

.crumbs--light a:hover {
	color: var(--green-dark);
}

/* 8. Sections & components ---------------------------------------------- */

/* Trust principles */
.principles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--rule);
}

.principle {
	padding: 2rem 1.75rem 0 0;
	border-right: 1px solid var(--rule);
}

.principle:last-child {
	border-right: 0;
	padding-right: 0;
}

.principle:not(:first-child) {
	padding-left: 1.75rem;
}

.principle h3 {
	font-size: 1.05rem;
	margin-bottom: 0.5rem;
}

.principle p {
	font-size: var(--step-small);
	margin: 0;
}

/* Services — editorial rows, not a card grid */
.service-rows {
	border-top: 1px solid var(--rule);
}

.service-row {
	display: grid;
	grid-template-columns: 68px minmax(0, 0.95fr) minmax(0, 1.25fr) auto;
	gap: 1.5rem 2rem;
	align-items: start;
	padding: clamp(1.75rem, 3vw, 2.6rem) 0;
	border-bottom: 1px solid var(--rule);
	position: relative;
	transition: background-color 0.28s var(--ease);
}

.service-row::before {
	content: "";
	position: absolute;
	left: calc(var(--gutter) * -1);
	right: calc(var(--gutter) * -1);
	top: 0;
	bottom: 0;
	background: var(--mist);
	opacity: 0;
	transition: opacity 0.28s var(--ease);
	z-index: 0;
	border-radius: 2px;
}

.service-row:hover::before,
.service-row:focus-within::before {
	opacity: 1;
}

.band--mist .service-row::before {
	background: var(--white);
}

.service-row > * {
	position: relative;
	z-index: 1;
}

.service-row__index {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--green-dark);
	padding-top: 0.35rem;
	letter-spacing: 0.04em;
}

.service-row__title {
	margin: 0;
	font-size: clamp(1.35rem, 1.1rem + 0.85vw, 1.75rem);
}

.service-row__title a {
	color: inherit;
	text-decoration: none;
}

.service-row__title a:hover {
	color: var(--green-dark);
}

.service-row__body p {
	margin-bottom: 0.9rem;
	font-size: 1rem;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tags li {
	font-size: 0.8rem;
	line-height: 1;
	padding: 0.42rem 0.6rem;
	border: 1px solid var(--rule);
	border-radius: 3px;
	color: var(--body);
	background: var(--white);
}

.band--navy .tags li {
	border-color: var(--rule-dark);
	background: transparent;
	color: var(--body-dark);
}

.service-row__go {
	align-self: center;
	padding-top: 0.25rem;
}

/* Ecosystem section */
.ecosystem-band {
	position: relative;
	overflow: hidden;
}

.ecosystem-band__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	position: relative;
}

.stage-list {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.stage-list li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 1rem;
	padding: 0.85rem 0;
	border-top: 1px solid var(--rule-dark);
	font-size: 0.97rem;
	color: var(--body-dark);
}

.stage-list li:last-child {
	border-bottom: 1px solid var(--rule-dark);
}

.stage-list strong {
	color: var(--white);
	font-family: var(--font-display);
	font-weight: 600;
	display: block;
	letter-spacing: -0.01em;
}

.stage-list .dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--green);
	margin-top: 0.55rem;
	box-shadow: 0 0 0 4px rgba(22, 185, 120, 0.14);
}

/* Why us — hairline list */
.reasons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--rule);
	border-left: 1px solid var(--rule);
}

.reason {
	padding: clamp(1.6rem, 2.4vw, 2.25rem);
	border-right: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	background: var(--white);
}

.reason h3 {
	font-size: 1.1rem;
	margin-bottom: 0.55rem;
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.reason h3 svg {
	color: var(--green-dark);
	flex: none;
}

.reason p {
	margin: 0;
	font-size: var(--step-small);
}

/* Work / case studies */
.work-grid {
	display: grid;
	gap: clamp(1.75rem, 3vw, 2.75rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.25s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.work-card:hover {
	border-color: rgba(22, 185, 120, 0.55);
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.work-card--feature {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: stretch;
}

.work-card--feature .work-card__frame {
	width: 56%;
	flex: none;
}

.work-card--feature .work-card__body {
	padding: clamp(1.75rem, 3vw, 2.75rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.work-card__frame {
	position: relative;
	background: var(--navy-2);
	padding: 0.75rem 0.75rem 0;
	overflow: hidden;
}

.work-card__chrome {
	display: flex;
	gap: 5px;
	padding: 0 0 0.65rem 0.15rem;
}

.work-card__chrome i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	display: block;
}

.work-card__shot {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
	border-radius: 4px 4px 0 0;
	background: linear-gradient(140deg, var(--navy-3), var(--navy-2));
	transition: transform 0.6s var(--ease);
}

.work-card:hover .work-card__shot {
	transform: scale(1.02);
}

.work-card__body {
	padding: 1.5rem 1.6rem 1.75rem;
}

.work-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--body);
	margin-bottom: 0.85rem;
}

.work-card__meta span {
	border: 1px solid var(--rule);
	border-radius: 3px;
	padding: 0.3rem 0.55rem;
	line-height: 1;
}

.work-card__title {
	font-size: 1.3rem;
	margin-bottom: 0.55rem;
}

.work-card__excerpt {
	font-size: var(--step-small);
	margin-bottom: 1.1rem;
}

.work-card__cta {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--green-dark);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
}

/* Case study detail */
.case-hero__shot {
	margin-top: clamp(2rem, 4vw, 3.25rem);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--rule-dark);
	background: var(--navy-2);
	padding: 0.85rem 0.85rem 0;
}

.case-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	padding: 1.75rem 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.case-fact dt {
	font-size: var(--step-label);
	color: var(--body);
	margin-bottom: 0.3rem;
}

.case-fact dd {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink);
	font-size: 1.02rem;
}

.case-block {
	display: grid;
	grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
	gap: 1rem 3rem;
	padding: clamp(1.75rem, 3vw, 2.5rem) 0;
	border-bottom: 1px solid var(--rule);
}

.case-block h2 {
	font-size: 1.3rem;
	margin: 0;
}

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

/* Process */
.process {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	position: relative;
}

.process__step {
	padding: 2.25rem 1.75rem 2.25rem 0;
	border-top: 2px solid var(--rule-dark);
	position: relative;
}

.process__step:not(:nth-child(3n + 1)) {
	padding-left: 1.75rem;
}

.process__step::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 46px;
	height: 2px;
	background: var(--green);
}

.process__step:not(:nth-child(3n + 1))::before {
	left: 1.75rem;
}

.process__num {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--green);
	letter-spacing: 0.06em;
	display: block;
	margin-bottom: 0.75rem;
}

.process__step h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.process__step p {
	font-size: var(--step-small);
	margin: 0;
}

/* Network / guest post */
.network-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
	background: var(--navy-2);
	border: 1px solid var(--rule-dark);
	border-radius: var(--radius-lg);
	padding: clamp(2rem, 4vw, 3.5rem);
	position: relative;
	overflow: hidden;
}

.network-panel h2 {
	color: var(--white);
}

.network-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.network-checks li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	font-size: 0.97rem;
	color: var(--body-dark);
}

.network-checks svg {
	color: var(--green);
	margin-top: 4px;
}

/* Testimonials */
.quote-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.quote {
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.75rem 1.5rem;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
}

.band--mist .quote {
	background: var(--white);
}

.quote__mark {
	color: var(--green);
	margin-bottom: 1rem;
}

.quote__text {
	font-size: 1.02rem;
	color: var(--ink);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.quote__by {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: auto;
	padding-top: 1.1rem;
	border-top: 1px solid var(--rule);
}

.quote__avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
	background: var(--mist);
}

.quote__name {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink);
	font-size: 0.95rem;
	line-height: 1.3;
}

.quote__role {
	font-size: 0.85rem;
	color: var(--body);
}

.demo-flag {
	display: inline-block;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	color: var(--body);
	border: 1px dashed var(--rule);
	border-radius: 3px;
	padding: 0.15rem 0.4rem;
	margin-left: 0.4rem;
	vertical-align: middle;
}

/* FAQ */
.faq {
	max-width: 840px;
	border-top: 1px solid var(--rule);
}

.band--navy .faq {
	border-color: var(--rule-dark);
}

.faq__item {
	border-bottom: 1px solid var(--rule);
}

.band--navy .faq__item {
	border-color: var(--rule-dark);
}

.faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	text-align: left;
	background: none;
	border: 0;
	padding: 1.4rem 0;
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.015em;
	cursor: pointer;
}

.band--navy .faq__q {
	color: var(--white);
}

.faq__icon {
	flex: none;
	width: 22px;
	height: 22px;
	position: relative;
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	background: var(--green);
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq__icon::before {
	top: 10px;
	left: 3px;
	width: 16px;
	height: 2px;
}

.faq__icon::after {
	top: 3px;
	left: 10px;
	width: 2px;
	height: 16px;
}

.faq__q[aria-expanded="true"] .faq__icon::after {
	transform: rotate(90deg);
	opacity: 0;
}

.faq__a {
	display: block;
	padding: 0 0 1.5rem;
	max-width: 70ch;
}

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

/* Answers collapse only once JS has taken over, so they stay readable and
   crawlable if scripts fail. */
.faq.is-enhanced .faq__a {
	display: none;
}

.faq.is-enhanced .faq__item.is-open .faq__a {
	display: block;
}

/* Final CTA */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--navy);
}

.cta-band__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(1.75rem, 4vw, 4rem);
	align-items: center;
}

.cta-band h2 {
	color: var(--white);
	margin-bottom: 0.75rem;
}

.cta-band p {
	margin-bottom: 0;
	color: var(--body-dark);
}

.cta-band .btn-row {
	justify-content: flex-end;
}

/* Related services strip */
.related-services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.related-card {
	display: block;
	padding: 1.4rem 1.5rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	text-decoration: none;
	background: var(--white);
	transition: border-color 0.22s var(--ease);
}

.related-card:hover {
	border-color: var(--green);
}

.related-card h3 {
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}

.related-card p {
	font-size: var(--step-small);
	margin: 0;
	color: var(--body);
}

/* Sub-service detail list */
.subservices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--rule);
}

.subservice {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 0.9rem;
	padding: 1.15rem 1.5rem 1.15rem 0;
	border-bottom: 1px solid var(--rule);
	font-size: 0.98rem;
	color: var(--ink);
	align-items: start;
}

.subservice:nth-child(2n) {
	padding-left: 1.5rem;
	border-left: 1px solid var(--rule);
}

.subservice svg {
	color: var(--green-dark);
	margin-top: 4px;
}

/* Value / problem lists */
.check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.check-list li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	font-size: 1rem;
}

.check-list svg {
	color: var(--green-dark);
	margin-top: 4px;
	flex: none;
}

.band--navy .check-list svg {
	color: var(--green);
}

/* 9. Blog --------------------------------------------------------------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.75rem, 3vw, 2.5rem);
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}

.post-card:hover {
	border-color: rgba(22, 185, 120, 0.5);
	box-shadow: var(--shadow-sm);
}

.post-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--mist);
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 1.4rem 1.5rem 1.6rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card__cat {
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--green-dark);
	margin-bottom: 0.6rem;
	text-decoration: none;
	display: inline-block;
}

.post-card__title {
	font-size: 1.15rem;
	margin-bottom: 0.6rem;
	line-height: 1.25;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--green-dark);
}

.post-card__excerpt {
	font-size: var(--step-small);
	margin-bottom: 1rem;
}

.post-card__meta {
	margin-top: auto;
	font-size: 0.82rem;
	color: var(--body);
	padding-top: 0.9rem;
	border-top: 1px solid var(--rule);
}

.featured-post {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 3.5vw, 3.5rem);
	align-items: center;
	padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
	margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
	border-bottom: 1px solid var(--rule);
}

.featured-post__thumb {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--mist);
}

.featured-post__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-post h2 {
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
}

.featured-post h2 a {
	color: inherit;
	text-decoration: none;
}

.entry {
	max-width: 720px;
	margin-inline: auto;
}

.entry__header {
	margin-bottom: 2rem;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	font-size: var(--step-small);
	color: var(--body);
	padding: 1rem 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	margin-bottom: 2rem;
	align-items: center;
}

.entry__author {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 600;
	color: var(--ink);
}

.entry__author img {
	border-radius: 50%;
}

.entry__thumb {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 2.25rem;
}

.entry__content {
	font-size: 1.09rem;
	line-height: 1.75;
}

.entry__content h2 {
	font-size: 1.7rem;
	margin-top: 2.5rem;
}

.entry__content h3 {
	font-size: 1.3rem;
	margin-top: 2rem;
}

.entry__content ul,
.entry__content ol {
	padding-left: 1.25rem;
	margin-bottom: 1.25rem;
	max-width: 68ch;
}

.entry__content li {
	margin-bottom: 0.5rem;
}

.entry__content img {
	border-radius: var(--radius);
	margin: 2rem 0;
}

.entry__content a {
	color: var(--green-dark);
}

.toc {
	background: var(--mist);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 1.35rem 1.5rem;
	margin-bottom: 2.25rem;
}

.toc h2 {
	font-size: 1rem;
	margin-bottom: 0.75rem;
}

.toc ol {
	margin: 0;
	padding-left: 1.1rem;
	font-size: var(--step-small);
}

.toc li {
	margin-bottom: 0.35rem;
}

.share {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 1.5rem 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	margin: 2.5rem 0;
	font-size: var(--step-small);
}

.share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--ink);
}

.share a:hover {
	border-color: var(--green);
	color: var(--green-dark);
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.post-nav a {
	display: block;
	padding: 1.25rem 1.4rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
}

.post-nav a:hover {
	border-color: var(--green);
}

.post-nav span {
	display: block;
	font-size: 0.82rem;
	color: var(--body);
	margin-bottom: 0.3rem;
}

.post-nav strong {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.3;
}

.post-nav .is-next {
	text-align: right;
}

.pagination {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.85rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
	font-weight: 500;
}

.pagination .page-numbers:hover {
	border-color: var(--green);
	color: var(--green-dark);
}

.pagination .current {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

.taxonomy-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: clamp(2rem, 3vw, 3rem);
}

.taxonomy-filter a {
	padding: 0.55rem 0.95rem;
	border: 1px solid var(--rule);
	border-radius: 40px;
	font-size: 0.9rem;
	text-decoration: none;
	color: var(--ink);
	background: var(--white);
}

.taxonomy-filter a:hover,
.taxonomy-filter a.is-active {
	border-color: var(--green);
	color: var(--green-dark);
}

.sidebar-cta {
	background: var(--navy);
	border-radius: var(--radius-lg);
	padding: 2rem;
	color: var(--body-dark);
	margin: 2.5rem 0 0;
}

.sidebar-cta h2 {
	color: var(--white);
	font-size: 1.3rem;
}

/* 10. Forms ------------------------------------------------------------- */
.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem 1.25rem;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

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

.field label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ink);
	font-family: var(--font-display);
}

.field .req {
	color: var(--green-dark);
}

.field input,
.field select,
.field textarea,
.search-form input[type="search"] {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0.85rem 0.95rem;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--green);
	box-shadow: 0 0 0 3px var(--green-tint);
	outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
	border-color: #d64545;
}

.field__error {
	font-size: 0.83rem;
	color: #c23434;
	min-height: 1em;
}

.field__hint {
	font-size: 0.83rem;
	color: var(--body);
}

.form-note {
	font-size: 0.85rem;
	color: var(--body);
	margin-top: 0.9rem;
}

.form-alert {
	padding: 1rem 1.15rem;
	border-radius: var(--radius);
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	border: 1px solid;
}

.form-alert--error {
	background: #fdf2f2;
	border-color: #f3c9c9;
	color: #9a2626;
}

.form-alert--ok {
	background: rgba(22, 185, 120, 0.08);
	border-color: var(--green-line);
	color: #0b7a4d;
}

.honeypot {
	position: absolute !important;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.contact-panel {
	background: var(--mist);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-panel h3 {
	font-size: 1.05rem;
}

.contact-list {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.contact-list li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	font-size: 0.97rem;
}

.contact-list svg {
	color: var(--green-dark);
	margin-top: 3px;
}

.contact-list a {
	color: var(--ink);
	text-decoration: none;
	word-break: break-word;
}

.contact-list a:hover {
	color: var(--green-dark);
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-form input[type="search"] {
	flex: 1;
}

/* 11. Footer ------------------------------------------------------------ */
.site-footer {
	background: var(--navy);
	color: var(--body-dark);
	padding-block: clamp(3.5rem, 6vw, 5.5rem) 0;
	position: relative;
	overflow: hidden;
}

.footer-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
	gap: 2.5rem 2rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--rule-dark);
}

.footer-brand img {
	max-height: 44px;
	width: auto;
	margin-bottom: 1.1rem;
}

.footer-brand .site-brand__name {
	color: var(--white);
	font-size: 1.25rem;
	margin-bottom: 1.1rem;
	display: block;
}

.footer-brand .site-brand__name span {
	color: var(--green);
}

.footer-brand p {
	font-size: var(--step-small);
	color: var(--muted);
	max-width: 34ch;
}

.footer-col h3 {
	color: var(--white);
	font-size: 0.95rem;
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.footer-col a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.93rem;
}

.footer-col a:hover {
	color: var(--green);
}

.footer-social {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.35rem;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--rule-dark);
	border-radius: var(--radius);
	color: var(--muted);
}

.footer-social a:hover {
	border-color: var(--green);
	color: var(--green);
}

.footer-bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.75rem 2rem;
	font-size: 0.87rem;
	color: var(--muted);
}

.footer-bottom ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
}

.footer-bottom a {
	color: var(--muted);
	text-decoration: none;
}

.footer-bottom a:hover {
	color: var(--green);
}

/* 12. Utilities, responsive, motion & print ----------------------------- */
.stack-sm > * + * {
	margin-top: 0.75rem;
}

.mt-0 {
	margin-top: 0;
}

.mb-0 {
	margin-bottom: 0;
}

.center {
	text-align: center;
	margin-inline: auto;
}

.error-404 {
	text-align: center;
	max-width: 620px;
	margin-inline: auto;
}

.error-404 .code {
	font-family: var(--font-display);
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 700;
	color: var(--green);
	line-height: 1;
	letter-spacing: -0.05em;
	margin-bottom: 0.5rem;
}

.error-404 p {
	margin-inline: auto;
}

.error-404 .btn-row {
	justify-content: center;
}

.sitemap-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
}

.sitemap-cols ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.sitemap-cols a {
	color: var(--ink);
	text-decoration: none;
}

.sitemap-cols a:hover {
	color: var(--green-dark);
}

/* Reveal: one restrained entrance, opt-out honoured */
.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 1080px) {
	.hero__inner,
	.ecosystem-band__grid,
	.network-panel,
	.cta-band__inner,
	.featured-post,
	.contact-layout,
	.section-head--split {
		grid-template-columns: minmax(0, 1fr);
	}

	.cta-band .btn-row {
		justify-content: flex-start;
	}

	.principles,
	.reasons,
	.process,
	.quote-grid,
	.post-grid,
	.related-services,
	.grid--3,
	.grid--4,
	.case-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.process__step:not(:nth-child(3n + 1)) {
		padding-left: 0;
	}

	.process__step:not(:nth-child(3n + 1))::before {
		left: 0;
	}

	.process__step:nth-child(2n) {
		padding-left: 1.75rem;
	}

	.process__step:nth-child(2n)::before {
		left: 1.75rem;
	}

	.principle:nth-child(2n) {
		border-right: 0;
		padding-right: 0;
	}

	.work-card--feature {
		flex-direction: column;
	}

	.work-card--feature .work-card__frame {
		width: 100%;
	}
}

@media (max-width: 900px) {
	.nav__toggle {
		display: flex;
	}

	.header-cta {
		display: none;
	}

	.nav {
		position: fixed;
		inset: 78px 0 auto;
		top: calc(78px + var(--admin-offset));
		background: var(--white);
		border-bottom: 1px solid var(--rule);
		padding: 1rem var(--gutter) 2rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 78px);
		overflow-y: auto;
		display: none;
	}

	.nav.is-open {
		display: flex;
	}

	.nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.nav > ul > li {
		border-bottom: 1px solid var(--rule);
	}

	.nav a {
		padding: 0.95rem 0;
		font-size: 1.02rem;
		color: var(--ink);
		width: 100%;
		justify-content: space-between;
	}

	.nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		padding: 0 0 0.75rem 0.9rem;
		min-width: 0;
		display: none;
	}

	.nav li.is-open > .sub-menu {
		display: block;
	}

	.nav .sub-menu a {
		padding: 0.6rem 0;
		font-size: 0.95rem;
	}

	.nav .nav__mobile-cta {
		display: block;
		margin-top: 1.5rem;
	}

	.site-header--overlay .nav a {
		color: var(--ink);
	}
}

@media (min-width: 901px) {
	.nav .nav__mobile-cta {
		display: none;
	}
}

@media (max-width: 720px) {
	:root {
		--step-body: 1rem;
	}

	.principles,
	.reasons,
	.process,
	.quote-grid,
	.post-grid,
	.related-services,
	.work-grid,
	.grid--2,
	.grid--3,
	.grid--4,
	.form-grid,
	.subservices,
	.sitemap-cols,
	.post-nav,
	.case-facts,
	.case-block {
		grid-template-columns: minmax(0, 1fr);
	}

	.principle,
	.process__step,
	.process__step:nth-child(2n) {
		padding-right: 0;
		padding-left: 0;
		border-right: 0;
	}

	.process__step:nth-child(2n)::before {
		left: 0;
	}

	.subservice:nth-child(2n) {
		padding-left: 0;
		border-left: 0;
	}

	.service-row {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 0.75rem 1rem;
	}

	.service-row__go {
		grid-column: 2;
	}

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

	.footer-brand {
		grid-column: 1 / -1;
	}

	.post-nav .is-next {
		text-align: left;
	}

	.hero__meta {
		gap: 0.5rem 1.25rem;
	}
}

@media (max-width: 420px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.btn {
		width: 100%;
	}

	.btn-row .btn {
		flex: 1 1 100%;
	}
}

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

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

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.nav {
		display: none !important;
	}

	body {
		color: #000;
	}
}
