/*
Theme Name: Donforce
Theme URI: https://www.donforce.com/
Author: Donforce
Description: Bilingual Salesforce consulting theme focused on clarity, trust, and conversion.
Version: 2.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: donforce
*/

:root {
	--df-navy-950: #031b36;
	--df-navy-900: #032d60;
	--df-navy-800: #0b3f77;
	--df-blue-600: #0176d3;
	--df-blue-500: #1b96ff;
	--df-blue-100: #d8edff;
	--df-cyan: #5eead4;
	--df-ink: #181818;
	--df-muted: #526071;
	--df-border: #dce4ec;
	--df-surface: #ffffff;
	--df-surface-alt: #f4f7fa;
	--df-success: #237c4b;
	--df-error: #ba0517;
	--df-shell: 1180px;
	--df-radius-sm: 10px;
	--df-radius: 18px;
	--df-radius-lg: 30px;
	--df-shadow: 0 24px 70px rgba(3, 45, 96, 0.12);
	--df-font-display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	--df-font-body: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--df-surface);
	color: var(--df-ink);
	font-family: var(--df-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--df-font-display);
	letter-spacing: -0.035em;
	line-height: 1.08;
}

h1 {
	font-size: clamp(3.25rem, 7vw, 6.75rem);
}

h2 {
	font-size: clamp(2.25rem, 4.6vw, 4.5rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.shell {
	width: min(calc(100% - 40px), var(--df-shell));
	margin-inline: auto;
}

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

.skip-link {
	position: fixed;
	z-index: 1000;
	top: 12px;
	left: 12px;
	padding: 12px 18px;
	border-radius: var(--df-radius-sm);
	background: var(--df-surface);
	color: var(--df-navy-900);
	font-weight: 800;
	transform: translateY(-150%);
}

.skip-link:focus {
	transform: translateY(0);
}

:focus-visible {
	outline: 3px solid var(--df-cyan);
	outline-offset: 4px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	color: var(--df-blue-600);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 28px;
	height: 2px;
	background: currentColor;
	content: "";
}

.eyebrow-light {
	color: var(--df-cyan);
}

.button {
	--ripple-x: 50%;
	--ripple-y: 50%;
	position: relative;
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border: 1px solid var(--df-blue-500);
	border-radius: 999px;
	background: var(--df-blue-500);
	color: var(--df-navy-950);
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	isolation: isolate;
	overflow: hidden;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button::after {
	position: absolute;
	top: var(--ripple-y);
	left: var(--ripple-x);
	z-index: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.42);
	content: "";
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0);
}

.button.is-rippling::after {
	animation: button-ripple 500ms ease-out;
}

@keyframes button-ripple {
	0% {
		opacity: 0.7;
		transform: translate(-50%, -50%) scale(0);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(28);
	}
}

.button:hover {
	border-color: var(--df-cyan);
	background: var(--df-cyan);
	transform: translateY(-2px);
}

.button-small {
	min-height: 44px;
	padding: 10px 18px;
	font-size: 0.82rem;
}

.text-link,
.card-link {
	color: var(--df-blue-600);
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
}

.text-link:hover,
.card-link:hover {
	text-decoration: underline;
}

/* Header */
.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid rgba(220, 228, 236, 0.8);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(18px);
}

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--df-navy-900);
	font-family: var(--df-font-display);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	text-decoration: none;
}

.brand img {
	width: 42px;
	height: 30px;
	object-fit: contain;
}

.brand .custom-logo-link {
	display: inline-flex;
}

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

.primary-navigation {
	display: flex;
	align-items: center;
	gap: 24px;
}

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

.nav-list a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--df-muted);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.nav-list a:hover,
.nav-list .current-menu-item > a {
	color: var(--df-blue-600);
}

.language-switcher {
	display: flex;
	gap: 5px;
	padding: 4px;
	border: 1px solid var(--df-border);
	border-radius: 999px;
}

.language-switcher a,
.language-switcher span {
	display: grid;
	min-width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	font-size: 0.7rem;
	font-weight: 900;
	text-decoration: none;
}

.language-switcher a[aria-current="page"],
.language-switcher span {
	background: var(--df-navy-900);
	color: white;
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--df-border);
	border-radius: 50%;
	background: white;
	cursor: pointer;
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	background: var(--df-navy-900);
	transition: transform 180ms ease;
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(70px, 10vw, 130px) 0 90px;
	background:
		radial-gradient(circle at 82% 20%, rgba(27, 150, 255, 0.16), transparent 33%),
		linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--df-blue-500), transparent);
	content: "";
}

.hero-grid {
	display: grid;
	align-items: center;
	gap: clamp(50px, 7vw, 100px);
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
}

.hero-copy {
	position: relative;
	z-index: 2;
}

.hero h1 {
	max-width: 830px;
	margin-bottom: 30px;
	color: var(--df-navy-950);
}

.hero-lead {
	max-width: 680px;
	margin-bottom: 34px;
	color: var(--df-muted);
	font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.hero-note {
	margin: 20px 0 0;
	color: #6f7c8c;
	font-size: 0.76rem;
	font-weight: 650;
}

.architecture-map {
	--orbit-radius: clamp(120px, 17vw, 196px);
	--tilt-x: 0deg;
	--tilt-y: 0deg;
	position: relative;
	width: min(100%, 520px);
	aspect-ratio: 1;
	margin-inline: auto;
	transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
	transform-style: preserve-3d;
	transition: transform 240ms ease-out;
}

.architecture-map::before {
	position: absolute;
	inset: 8%;
	border: 1px dashed rgba(1, 118, 211, 0.28);
	border-radius: 50%;
	content: "";
}

.architecture-halo {
	position: absolute;
	top: 50%;
	left: 50%;
	border: 1px solid rgba(27, 150, 255, 0.12);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.halo-one {
	width: 58%;
	height: 58%;
}

.halo-two {
	width: 78%;
	height: 78%;
}

.architecture-orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 1px;
	background: linear-gradient(90deg, var(--df-blue-500), transparent);
	box-shadow: 0 0 20px rgba(27, 150, 255, 0.45);
	transform-origin: left;
	animation: scanner-line 12s linear infinite;
}

.orbit-one {
	width: 42%;
	animation-delay: -2s;
}

.orbit-two {
	width: 38%;
	animation-direction: reverse;
	animation-duration: 17s;
}

.architecture-node {
	display: grid;
	width: 88px;
	height: 88px;
	place-items: center;
	border: 1px solid rgba(1, 118, 211, 0.2);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 14px 40px rgba(3, 45, 96, 0.12);
	color: var(--df-navy-800);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.node-core {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 190px;
	height: 190px;
	padding: 38px;
	background: var(--df-navy-900);
	color: white;
	transform: translate(-50%, -50%);
	animation: core-breathe 5.5s ease-in-out infinite;
}

.node-core img {
	width: 92px;
	filter: brightness(0) invert(1);
}

.node-core span {
	font-size: 0.8rem;
}

.orbiting-node {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 88px;
	height: 88px;
	margin: -44px 0 0 -44px;
	animation: node-orbit 30s linear infinite;
	transform: rotate(var(--orbit-start)) translateX(var(--orbit-radius));
}

.orbiting-node .architecture-node {
	animation: node-counter-orbit 30s linear infinite;
	transform: rotate(var(--counter-start));
}

.node-data {
	--orbit-start: -90deg;
	--counter-start: 90deg;
}

.node-sales {
	--orbit-start: 0deg;
	--counter-start: 0deg;
}

.node-service {
	--orbit-start: 90deg;
	--counter-start: -90deg;
}

.node-ops {
	--orbit-start: 180deg;
	--counter-start: -180deg;
}

@keyframes node-orbit {
	from {
		transform: rotate(var(--orbit-start)) translateX(var(--orbit-radius));
	}
	to {
		transform: rotate(calc(var(--orbit-start) + 1turn)) translateX(var(--orbit-radius));
	}
}

@keyframes node-counter-orbit {
	from {
		transform: rotate(var(--counter-start));
	}
	to {
		transform: rotate(calc(var(--counter-start) - 1turn));
	}
}

@keyframes scanner-line {
	from {
		transform: rotate(0);
	}
	to {
		transform: rotate(1turn);
	}
}

@keyframes core-breathe {
	0%,
	100% {
		box-shadow: 0 18px 55px rgba(3, 45, 96, 0.2);
	}
	50% {
		box-shadow: 0 24px 74px rgba(1, 118, 211, 0.34), 0 0 0 12px rgba(27, 150, 255, 0.06);
	}
}

.motion-paused .architecture-orbit,
.motion-paused .node-core,
.motion-paused .orbiting-node,
.motion-paused .orbiting-node .architecture-node {
	animation-play-state: paused;
}

/* Sections */
.section {
	padding: clamp(82px, 10vw, 140px) 0;
	scroll-margin-top: 76px;
}

.section-heading {
	max-width: 780px;
	margin-bottom: 56px;
}

.section-heading h2 {
	margin-bottom: 22px;
	color: var(--df-navy-950);
}

.section-heading > p:last-child {
	max-width: 680px;
	color: var(--df-muted);
	font-size: 1.08rem;
}

.section-heading-light h2,
.section-heading-light > p:last-child {
	color: white;
}

.section-heading-light > p:last-child {
	color: var(--df-blue-100);
}

.metrics {
	position: relative;
	z-index: 3;
	background: var(--df-navy-900);
	color: white;
}

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

.metrics-grid > div {
	display: flex;
	min-height: 146px;
	flex-direction: column;
	justify-content: center;
	padding: 30px;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.metrics-grid > div:first-child {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.metrics strong {
	color: var(--df-cyan);
	font-family: var(--df-font-display);
	font-size: clamp(2rem, 4vw, 3.4rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.metrics span {
	margin-top: 11px;
	color: var(--df-blue-100);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.3;
}

.problem-section {
	background: var(--df-surface);
}

.problem-intro {
	display: grid;
	align-items: center;
	gap: clamp(44px, 8vw, 100px);
	margin-bottom: 64px;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

.problem-intro .section-heading {
	margin-bottom: 0;
}

.results-motion {
	position: relative;
	width: 100%;
	aspect-ratio: 13 / 9;
	overflow: hidden;
	border: 1px solid rgba(1, 118, 211, 0.18);
	border-radius: var(--df-radius-lg);
	background: var(--df-navy-950);
	box-shadow: var(--df-shadow);
}

.results-motion > svg {
	position: relative;
	z-index: 2;
	width: 100% !important;
	height: 100% !important;
}

.results-motion-fallback {
	position: absolute;
	inset: 20%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 10%;
	border-bottom: 2px solid rgba(216, 237, 255, 0.25);
	opacity: 1;
	transition: opacity 180ms ease;
}

.results-motion-fallback::after {
	position: absolute;
	inset: 12% 0 20%;
	border-top: 3px solid var(--df-cyan);
	content: "";
	transform: skewY(-12deg);
}

.results-motion-fallback span {
	width: 14%;
	border-radius: 9px 9px 0 0;
	background: var(--df-blue-500);
	animation: fallback-bars 2.4s ease-in-out infinite alternate;
}

.results-motion-fallback span:nth-child(1) {
	height: 32%;
}

.results-motion-fallback span:nth-child(2) {
	height: 58%;
	animation-delay: -0.8s;
}

.results-motion-fallback span:nth-child(3) {
	height: 82%;
	animation-delay: -1.6s;
}

.results-motion.is-lottie-loaded .results-motion-fallback {
	opacity: 0;
}

@keyframes fallback-bars {
	to {
		transform: scaleY(1.12);
	}
}

.principles-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}

.principle-card {
	position: relative;
	min-height: 320px;
	padding: 34px;
	overflow: hidden;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface-alt);
}

.principle-card > span {
	display: block;
	margin-bottom: 76px;
	color: var(--df-blue-600);
	font-family: var(--df-font-display);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.principle-card h3 {
	margin-bottom: 14px;
	color: var(--df-navy-900);
}

.principle-card p {
	margin-bottom: 0;
	color: var(--df-muted);
}

.services-section {
	position: relative;
	overflow: hidden;
	background: var(--df-navy-950);
	color: white;
}

.services-section::before {
	position: absolute;
	top: -25%;
	right: -15%;
	width: 50vw;
	height: 50vw;
	border: 1px solid rgba(94, 234, 212, 0.12);
	border-radius: 50%;
	content: "";
}

.services-grid {
	position: relative;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, 1fr);
}

.service-card {
	min-height: 300px;
	padding: 34px;
	border: 1px solid rgba(216, 237, 255, 0.16);
	border-radius: var(--df-radius);
	background: rgba(255, 255, 255, 0.04);
	transition: border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
	border-color: var(--df-blue-500);
	transform: translateY(-4px);
}

.service-number {
	margin-bottom: 62px;
	color: var(--df-cyan);
	font-family: var(--df-font-display);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.service-card h3 {
	margin-bottom: 16px;
}

.service-card p {
	margin-bottom: 0;
	color: #b9cce0;
	font-size: 0.94rem;
}

.service-card-cta {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	background: var(--df-blue-500);
	color: var(--df-navy-950);
	font-size: 1.4rem;
	font-weight: 850;
	text-decoration: none;
}

.service-card-cta strong {
	font-size: 3rem;
	font-weight: 400;
	line-height: 0.8;
}

.process-section {
	background: var(--df-surface-alt);
}

.process-route {
	display: block;
	width: 100%;
	height: 90px;
	margin: -16px 0 34px;
	overflow: visible;
	fill: var(--df-surface-alt);
	stroke: var(--df-blue-600);
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
}

.process-route path {
	fill: none;
}

.process-route-base {
	opacity: 0.16;
}

.process-route-progress {
	stroke: var(--df-blue-500);
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-linecap: round;
}

.process-route.is-visible .process-route-progress {
	animation: draw-process-route 1.4s cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
}

.process-route circle {
	stroke-width: 3;
}

@keyframes draw-process-route {
	to {
		stroke-dashoffset: 0;
	}
}

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

.process-list li {
	position: relative;
	min-height: 260px;
	padding: 0 28px 30px 0;
	border-top: 2px solid var(--df-border);
}

.process-list li::before {
	position: absolute;
	top: -7px;
	left: 0;
	width: 12px;
	height: 12px;
	border: 3px solid var(--df-surface-alt);
	border-radius: 50%;
	background: var(--df-blue-600);
	content: "";
}

.process-list span {
	display: block;
	padding-top: 28px;
	margin-bottom: 60px;
	color: var(--df-blue-600);
	font-size: 0.76rem;
	font-weight: 900;
}

.process-list h3 {
	margin-bottom: 12px;
	color: var(--df-navy-900);
}

.process-list p {
	color: var(--df-muted);
	font-size: 0.9rem;
}

.proof-grid {
	display: grid;
	align-items: start;
	gap: clamp(40px, 8vw, 110px);
	grid-template-columns: 0.75fr 1.25fr;
}

.proof-grid h2 {
	color: var(--df-navy-950);
}

.quote-card {
	padding: clamp(38px, 6vw, 72px);
	margin: 0;
	border-radius: var(--df-radius-lg);
	background: var(--df-blue-100);
}

.quote-card blockquote {
	margin: 0 0 34px;
	color: var(--df-navy-900);
	font-family: var(--df-font-display);
	font-size: clamp(1.55rem, 3.1vw, 2.65rem);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.25;
}

.quote-card figcaption {
	color: var(--df-navy-800);
	font-size: 0.84rem;
	font-weight: 800;
}

/* Contact */
.contact-section {
	background: var(--df-navy-900);
	color: white;
}

.contact-layout {
	display: grid;
	align-items: start;
	gap: clamp(50px, 8vw, 110px);
	grid-template-columns: 0.82fr 1.18fr;
}

.contact-copy h2 {
	margin-bottom: 24px;
}

.contact-copy > p:not(.eyebrow) {
	color: var(--df-blue-100);
}

.contact-details {
	padding: 28px 0 0;
	margin: 40px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	list-style: none;
}

.contact-details li {
	display: grid;
	gap: 4px;
	padding: 12px 0;
	grid-template-columns: 110px 1fr;
}

.contact-details span {
	color: #92afd0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.contact-details a,
.contact-details strong {
	color: white;
	font-size: 0.9rem;
	font-weight: 700;
}

.form-card {
	padding: clamp(28px, 5vw, 54px);
	border-radius: var(--df-radius-lg);
	background: white;
	box-shadow: var(--df-shadow);
	color: var(--df-ink);
}

.field-row {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr 1fr;
}

.field {
	margin-bottom: 18px;
}

.field label {
	display: block;
	margin-bottom: 7px;
	color: var(--df-navy-900);
	font-size: 0.78rem;
	font-weight: 800;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius-sm);
	background: var(--df-surface-alt);
	color: var(--df-ink);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--df-blue-600);
	box-shadow: 0 0 0 3px rgba(1, 118, 211, 0.12);
	outline: none;
}

.checkbox-field {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 2px 0 24px;
	color: var(--df-muted);
	font-size: 0.78rem;
}

.checkbox-field input {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin-top: 3px;
	accent-color: var(--df-blue-600);
}

.checkbox-field a {
	color: var(--df-blue-600);
}

.button-submit {
	width: 100%;
	border: 0;
	cursor: pointer;
}

.button-submit:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.recaptcha-disclosure {
	margin: 14px 0 0;
	color: #7a8795;
	font-size: 0.68rem;
	line-height: 1.45;
	text-align: center;
}

.recaptcha-disclosure a {
	color: var(--df-blue-600);
}

.form-client-error {
	padding: 12px 14px;
	margin-bottom: 18px;
	border-radius: var(--df-radius-sm);
	background: #fce8e8;
	color: var(--df-error);
	font-size: 0.82rem;
	font-weight: 700;
}

.honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-notice {
	padding: 13px 16px;
	margin-bottom: 20px;
	border-radius: var(--df-radius-sm);
	font-size: 0.86rem;
	font-weight: 750;
}

.form-notice.is-success {
	background: #e3f7ec;
	color: var(--df-success);
}

.form-notice.is-error {
	background: #fce8e8;
	color: var(--df-error);
}

/* Insights */
.insights-section {
	background: white;
}

.insights-heading {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
}

.insights-heading h2 {
	max-width: 760px;
	margin-bottom: 0;
}

.insights-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}

.insight-card {
	display: flex;
	min-height: 340px;
	flex-direction: column;
	padding: 30px;
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.insight-card:hover {
	box-shadow: var(--df-shadow);
	transform: translateY(-4px);
}

.insight-card-top {
	display: flex;
	justify-content: space-between;
	margin-bottom: 55px;
	color: var(--df-blue-600);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.insight-card h2,
.insight-card h3 {
	margin-bottom: 16px;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.insight-card h2 a,
.insight-card h3 a {
	color: var(--df-navy-900);
	text-decoration: none;
}

.insight-card p {
	margin-bottom: 26px;
	color: var(--df-muted);
	font-size: 0.9rem;
}

.insight-card .card-link {
	margin-top: auto;
}

/* Footer */
.site-footer {
	padding: 80px 0 28px;
	background: var(--df-navy-950);
	color: white;
}

.footer-grid {
	display: grid;
	gap: 42px;
	padding-bottom: 62px;
	grid-template-columns: 2fr 1fr 1fr 1fr;
}

.brand-light {
	color: white;
}

.brand-light img {
	filter: brightness(0) invert(1);
}

.footer-about {
	max-width: 380px;
	margin: 24px 0 0;
	color: #9eb5cd;
	font-size: 0.9rem;
}

.footer-heading {
	margin-bottom: 18px;
	color: var(--df-cyan);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-links {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-links li + li {
	margin-top: 10px;
}

.footer-links a {
	color: #c7d7e7;
	font-size: 0.82rem;
	text-decoration: none;
}

.footer-links a:hover {
	color: white;
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8da6bf;
	font-size: 0.74rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-signal {
	display: flex;
	align-items: end;
	gap: 5px;
}

.footer-signal span {
	display: block;
	width: 4px;
	border-radius: 999px;
	background: var(--df-cyan);
}

.footer-signal span:nth-child(1) {
	height: 8px;
}

.footer-signal span:nth-child(2) {
	height: 14px;
}

.footer-signal span:nth-child(3) {
	height: 20px;
}

/* Interior pages and posts */
.page-hero,
.archive-hero,
.article-hero {
	padding: clamp(70px, 9vw, 120px) 0;
	background: var(--df-surface-alt);
}

.page-hero h1,
.archive-hero h1,
.article-hero h1 {
	max-width: 900px;
	margin-bottom: 20px;
	color: var(--df-navy-950);
	font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.page-hero p,
.archive-hero p,
.article-hero p {
	max-width: 720px;
	color: var(--df-muted);
	font-size: 1.12rem;
}

.article-shell {
	width: min(calc(100% - 40px), 800px);
	margin-inline: auto;
}

.article-body {
	padding: 76px 0 110px;
}

.article-content {
	color: #303a45;
}

.article-content > * + * {
	margin-top: 1.35em;
}

.article-content h2,
.article-content h3 {
	margin-top: 2em;
	color: var(--df-navy-900);
}

.article-content h2 {
	font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.article-content h3 {
	font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.article-content a {
	color: var(--df-blue-600);
}

.article-content img {
	border-radius: var(--df-radius);
}

.article-cta {
	padding: 40px;
	margin-top: 70px;
	border-radius: var(--df-radius);
	background: var(--df-navy-900);
	color: white;
}

.article-cta h2 {
	margin-bottom: 18px;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.article-cta p {
	color: var(--df-blue-100);
}

.archive-grid {
	display: grid;
	gap: 18px;
	padding: 80px 0 120px;
	grid-template-columns: repeat(3, 1fr);
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: -60px 0 100px;
}

.pagination .page-numbers {
	display: grid;
	min-width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid var(--df-border);
	border-radius: 50%;
	text-decoration: none;
}

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

.legal-content {
	width: min(calc(100% - 40px), 820px);
	padding: 70px 0 110px;
	margin-inline: auto;
}

.legal-content h2 {
	margin-top: 2em;
	color: var(--df-navy-900);
	font-size: 1.6rem;
}

.legal-content p,
.legal-content li {
	color: var(--df-muted);
}

.error-page {
	display: grid;
	min-height: 65vh;
	place-items: center;
	padding: 80px 0;
	text-align: center;
}

.error-code {
	margin-bottom: 22px;
	color: var(--df-blue-600);
	font-family: var(--df-font-display);
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: 0.2em;
}

.error-page h1 {
	margin-bottom: 20px;
	color: var(--df-navy-950);
	font-size: clamp(2.8rem, 7vw, 6rem);
}

.error-page p:not(.error-code) {
	max-width: 620px;
	margin: 0 auto 30px;
	color: var(--df-muted);
}

/* Progressive motion: content stays visible when JavaScript is unavailable. */
.motion-ready [data-reveal] {
	opacity: 0;
	translate: 0 24px;
	transition:
		opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
		translate 600ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 200ms ease,
		border-color 200ms ease,
		box-shadow 200ms ease;
	transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms, 0ms;
}

.motion-ready [data-reveal].is-visible {
	opacity: 1;
	translate: 0 0;
}

/* Responsive */
@media (max-width: 980px) {
	.menu-toggle {
		display: block;
	}

	.primary-navigation {
		position: fixed;
		top: 78px;
		right: 0;
		bottom: 0;
		left: 0;
		display: none;
		align-items: stretch;
		flex-direction: column;
		padding: 28px 20px 40px;
		overflow-y: auto;
		background: white;
	}

	.primary-navigation.is-open {
		display: flex;
	}

	.nav-list {
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
	}

	.nav-list a {
		padding: 10px 4px;
		font-size: 1.05rem;
	}

	.language-switcher {
		align-self: flex-start;
	}

	.header-cta {
		align-self: stretch;
	}

	.hero-grid {
		grid-template-columns: 1fr;
	}

	.problem-intro {
		grid-template-columns: 1fr;
	}

	.results-motion {
		width: min(100%, 620px);
	}

	.architecture-map {
		width: min(100%, 460px);
	}

	.services-grid,
	.insights-grid,
	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.contact-layout,
	.proof-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 2fr 1fr 1fr;
	}

	.footer-grid > div:last-child {
		grid-column: 2;
	}
}

@media (max-width: 700px) {
	body {
		font-size: 16px;
	}

	.shell {
		width: min(calc(100% - 28px), var(--df-shell));
	}

	.header-inner {
		min-height: 70px;
	}

	.primary-navigation {
		top: 70px;
	}

	.hero {
		padding-top: 68px;
	}

	.hero h1 {
		font-size: clamp(2.8rem, 14vw, 4.5rem);
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.hero-actions .button {
		width: 100%;
	}

	.architecture-map {
		--orbit-radius: clamp(116px, 34vw, 158px);
		width: min(100%, 390px);
	}

	.architecture-node,
	.orbiting-node {
		width: 74px;
		height: 74px;
	}

	.orbiting-node {
		margin: -37px 0 0 -37px;
	}

	.node-core {
		width: 154px;
		height: 154px;
		padding: 30px;
	}

	.node-core img {
		width: 74px;
	}

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

	.metrics-grid > div,
	.metrics-grid > div:first-child {
		min-height: 130px;
		padding: 22px;
		border: 1px solid rgba(255, 255, 255, 0.12);
	}

	.principles-grid,
	.services-grid,
	.insights-grid,
	.archive-grid,
	.field-row {
		grid-template-columns: 1fr;
	}

	.principle-card,
	.service-card {
		min-height: 260px;
	}

	.principle-card > span,
	.service-number {
		margin-bottom: 45px;
	}

	.process-list {
		grid-template-columns: 1fr;
	}

	.process-route {
		display: none;
	}

	.process-list li {
		display: grid;
		min-height: auto;
		gap: 20px;
		padding: 26px 0 32px;
		border-top: 1px solid var(--df-border);
		grid-template-columns: 50px 1fr;
	}

	.process-list li::before {
		display: none;
	}

	.process-list span {
		padding: 0;
		margin: 0;
	}

	.insights-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.contact-details li {
		grid-template-columns: 1fr;
	}

	.form-card {
		padding: 24px 18px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-grid > div:first-child {
		grid-column: 1 / -1;
	}

	.footer-grid > div:last-child {
		grid-column: auto;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 20px;
	}
}

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

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

	.architecture-orbit,
	.node-core,
	.orbiting-node,
	.orbiting-node .architecture-node,
	.results-motion-fallback span,
	.process-route-progress {
		animation: none !important;
	}

	.motion-ready [data-reveal] {
		opacity: 1;
		translate: none;
	}
}
