/* ==========================================================================
   Grandt Defense – main stylesheet (mobile first)
   ========================================================================== */

/* Fonts – self-hosted (no requests to Google = GDPR friendly) */
@font-face { font-family: "Rajdhani"; font-weight: 400; font-display: swap; src: url("../fonts/rajdhani-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url("../fonts/rajdhani-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); }

/* Design tokens */
:root {
	--c-bg: #000;
	--c-surface: #111;
	--c-surface-2: #1a1a1a;
	--c-line: #2a2a2a;
	--c-text: #fff;
	--c-muted: #a6a6a6;
	--c-accent: #e8731e;        /* Logo orange – replace with exact HEX from the customer */
	--c-accent-hover: #ff8a33;

	--font: "Rajdhani", "Arial Narrow", system-ui, sans-serif;

	--gutter: 1rem;
	--container: 1440px;
	--container-narrow: 860px;
	--header-h: 72px;
	--section-space: clamp(4rem, 10vw, 8rem);

	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
	:root { --gutter: 2rem; --header-h: 96px; }
}
@media (min-width: 1200px) {
	:root { --gutter: 3rem; --header-h: 120px; }
}

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

/* The hidden attribute always wins over display rules. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open { overflow: hidden; }

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

a { color: inherit; text-decoration-color: var(--c-accent); text-underline-offset: .2em; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: .01em;
	text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }

p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

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

.skip-link {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 200;
	padding: .75rem 1rem;
	background: var(--c-accent);
	color: #000;
	font-weight: 700;
}
.skip-link:focus { top: 1rem; }

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

.site-main { padding-top: var(--header-h); min-height: 60vh; }
.has-hero .site-main { padding-top: 0; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 3.5rem;
	padding: .75rem 2.5rem;
	border: 2px solid transparent;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--outline { border-color: currentColor; color: var(--c-text); background: transparent; }
.btn--outline:hover { background: var(--c-text); color: var(--c-bg); }
.btn--accent { background: var(--c-accent); color: #000; }
.btn--accent:hover { background: var(--c-accent-hover); color: #000; }
.btn--large { min-height: 4.25rem; padding-inline: 3.5rem; font-size: 1.25rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	background: rgba(0, 0, 0, .55);
	transition: background-color .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(0, 0, 0, .96); }

@media (min-width: 1200px) {
	.site-header.is-scrolled { height: 88px; }
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 100%;
	padding-inline: var(--gutter);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: var(--c-text);
	text-decoration: none;
}
.site-logo:hover { color: var(--c-text); }
.site-logo__mark { width: 2.5rem; height: 2.5rem; color: var(--c-accent); }
.site-logo__text { font-size: 1.125rem; font-weight: 700; line-height: .95; letter-spacing: .02em; }
.site-logo__img { max-height: calc(var(--header-h) - 24px); width: auto; }

@media (min-width: 1200px) {
	.site-logo__mark { width: 4rem; height: 4rem; }
	.site-logo__text { font-size: 1.75rem; }
}

.site-header__actions { display: flex; align-items: center; gap: 1rem; }

.site-header__link {
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
}
@media (min-width: 768px) {
	.site-header__link { font-size: 1.5rem; }
	.site-header__actions { gap: 1.5rem; }
}

.menu-toggle {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-text);
	cursor: pointer;
}
.menu-toggle:hover { color: var(--c-accent); }
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 2.25rem;
	height: 3px;
	background: currentColor;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -10px; }
.menu-toggle__bars::after { top: 10px; }

/* ==========================================================================
   Menu panel (opens from the hamburger)
   ========================================================================== */
.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 150;
	display: flex;
	align-items: stretch;
	justify-content: center;
	background: rgba(0, 0, 0, .7);
	opacity: 0;
	transition: opacity .25s var(--ease);
}
.menu-overlay[hidden] { display: none; }
.menu-overlay.is-open { opacity: 1; }

.menu-panel {
	position: relative;
	width: 100%;
	overflow-y: auto;
	padding: 5rem 1.5rem 3rem;
	background: #000;
	border: 2px solid var(--c-accent);
	transform: translateY(-12px);
	transition: transform .3s var(--ease);
}
.menu-overlay.is-open .menu-panel { transform: none; }

@media (min-width: 768px) {
	.menu-overlay { align-items: center; padding: 2.5rem; }
	.menu-panel { width: min(600px, 100%); max-height: calc(100vh - 5rem); padding: 6rem 2.5rem 4rem; }
}

.menu-panel__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: .35rem;
	border: 2px solid var(--c-accent);
	background: none;
	color: var(--c-accent);
	cursor: pointer;
}
.menu-panel__close:hover { background: var(--c-accent); color: #000; }

.menu-panel__list {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.menu-panel__list a {
	display: block;
	padding: .55rem 0;
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
}
.menu-panel__list .current-menu-item > a,
.menu-panel__list a[aria-current="page"] {
	color: var(--c-accent);
	border-bottom: 3px solid var(--c-accent);
	margin-bottom: .5rem;
}

/* ==========================================================================
   Page head + content
   ========================================================================== */
.page-head { padding-block: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem); text-align: center; }
.page-head__title { margin: 0; }

.entry-content { padding-bottom: var(--section-space); color: #e6e6e6; }
.entry-content > * + * { margin-top: 1.25em; }
/* Links inside running text only (not cards, buttons or section lists). */
.entry-content p > a:not(.btn),
.page-blocks > :is(ul, ol) a { color: var(--c-accent); }

/* Ordinary WordPress blocks (paragraphs, headings, lists …) between the
   full-width Grandt sections get a comfortable reading width. */
.page-blocks > :not(.section):not(.hero):not(.alignfull):not(.alignwide):not(.values) {
	max-width: var(--container-narrow);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.page-blocks > .section + .section,
.page-blocks > .hero + .section { margin-top: 0; }

.entry-summary { padding-block: 2rem; border-bottom: 1px solid var(--c-line); }
.entry-summary h2 { font-size: 1.75rem; }
.entry-summary h2 a { text-decoration: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	padding-top: clamp(3rem, 8vw, 5rem);
	border-top: 1px solid var(--c-line);
	background: var(--c-bg);
	color: var(--c-muted);
	font-size: 1.0625rem;
}

.site-footer__grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.site-footer__heading {
	margin-bottom: 1rem;
	color: var(--c-text);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .15em;
}
.site-footer address { font-style: normal; }
.site-footer__list { margin: 0; padding: 0; list-style: none; }
.site-footer__list li + li { margin-top: .4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__tagline { margin-top: 1rem; max-width: 28ch; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(3rem, 6vw, 4rem);
	padding-block: 1.5rem;
	border-top: 1px solid var(--c-line);
	font-size: .9375rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__social { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; text-transform: uppercase; letter-spacing: .1em; }

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding-block: var(--section-space); }
.section + .section { border-top: 1px solid var(--c-line); }

.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section__head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
}
.section__title { margin: 0; }
.section__intro {
	max-width: 62ch;
	margin: 1.25rem auto 0;
	color: #d0d0d0;
	font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}
.section__cta { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }

.eyebrow {
	margin-bottom: .75rem;
	color: var(--c-accent);
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.text-link {
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--c-accent);
	padding-bottom: .15rem;
}

/* Shown to logged-in editors only, when a block has nothing to display yet */
.block-notice {
	margin-block: 2rem;
	padding: 1rem 1.25rem;
	border: 1px dashed var(--c-accent);
	color: var(--c-accent);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 100svh, 1080px);
	padding-block: calc(var(--header-h) + 3rem) 4rem;
	overflow: hidden;
	isolation: isolate;
}
.hero--compact { min-height: clamp(420px, 60svh, 640px); }
.hero--compact .hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero--compact .hero__text { text-transform: none; font-size: clamp(1.125rem, 1.8vw, 1.5rem); line-height: 1.4; max-width: 52ch; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center; /* keep the subject (right side) in view on phones */
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%);
}
.hero__content { position: relative; }
.hero__title { max-width: 16ch; margin-bottom: 1.5rem; font-size: clamp(2.75rem, 7vw, 5.5rem); }
.hero__text {
	max-width: 40ch;
	margin-bottom: 2.5rem;
	color: #e0e0e0;
	font-size: clamp(1.25rem, 2.2vw, 2rem);
	line-height: 1.25;
	text-transform: uppercase;
}

@media (min-width: 1200px) {
	.hero__content { padding-left: calc(var(--gutter) + 8vw); }
}

/* ==========================================================================
   Card grid + feature cards (categories, news)
   ========================================================================== */
.card-grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem) clamp(1rem, 2.5vw, 2rem);
	margin-block: 0;
	list-style: none;
}
@media (min-width: 640px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.feature-card { display: block; height: 100%; text-decoration: none; }
.feature-card:hover { color: var(--c-text); }
.feature-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface); }
.feature-card__media--wide { aspect-ratio: 16 / 9; }
.feature-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}
.feature-card:hover .feature-card__media img { transform: scale(1.04); }
.feature-card__meta { display: block; margin-top: 1.25rem; color: var(--c-muted); font-size: .9375rem; }
.feature-card__title { margin: 1.25rem 0 .5rem; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.feature-card__meta + .feature-card__title { margin-top: .25rem; }
.feature-card__text { margin-bottom: .75rem; color: var(--c-muted); }
.feature-card__link {
	display: inline-block;
	color: var(--c-text);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--c-accent);
	padding-bottom: .15rem;
}
.feature-card:hover .feature-card__link { color: var(--c-accent); }

/* ==========================================================================
   Product card + carousel
   ========================================================================== */
.product-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.product-card:hover { color: var(--c-text); }
.product-card__media {
	aspect-ratio: 1;
	overflow: hidden;
	background: #fff; /* product photos are shot on white */
}
.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding-top: 1.25rem; text-align: center; }
.product-card__title { margin-bottom: .4rem; font-size: 1.375rem; text-transform: none; letter-spacing: 0; }
.product-card__text { margin-bottom: .6rem; color: var(--c-muted); font-size: 1.0625rem; line-height: 1.4; }
.product-card__price { margin: 0; font-size: 1.25rem; font-weight: 700; }
.product-card__price del { color: var(--c-muted); font-weight: 500; margin-right: .4rem; }
.product-card__price ins { text-decoration: none; color: var(--c-accent); }

.carousel-nav { display: flex; gap: .5rem; }
.carousel-nav__btn {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: .7rem;
	border: 2px solid var(--c-line);
	background: none;
	color: var(--c-text);
	cursor: pointer;
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.carousel-nav__btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.carousel-nav__btn:disabled { opacity: .3; cursor: default; border-color: var(--c-line); color: var(--c-text); }

.carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 78%;
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0 var(--gutter) 1rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
	list-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track__item { scroll-snap-align: start; }

@media (min-width: 640px)  { .carousel-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 1.5rem) / 2.2); } }
@media (min-width: 1024px) { .carousel-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 3rem) / 3.2); } }
@media (min-width: 1400px) {
	.carousel-track {
		grid-auto-columns: calc((min(100%, var(--container)) - 2 * var(--gutter) - 4.5rem) / 4);
		padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
		scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
	}
}

/* ==========================================================================
   Text + image
   ========================================================================== */
.text-image__inner { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.text-image__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface); }
.text-image__media img { width: 100%; height: 100%; object-fit: cover; }
.text-image__content .section__title { margin-bottom: 1.5rem; }
.text-image__text { color: #d0d0d0; font-size: clamp(1.125rem, 1.5vw, 1.25rem); }
.text-image__text p:last-child { margin-bottom: 0; }
.text-image__content .btn { margin-top: 2rem; }

@media (min-width: 1024px) {
	.text-image--image-left .text-image__inner,
	.text-image--image-right .text-image__inner { grid-template-columns: 1fr 1fr; }
	.text-image--image-right .text-image__media { order: 2; }
}

.text-image--background { position: relative; padding: 0; isolation: isolate; }
.text-image--background .text-image__inner {
	display: flex;
	align-items: center;
	min-height: clamp(480px, 80vh, 860px);
	padding-block: var(--section-space);
}
.text-image--background .text-image__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
.text-image--background .text-image__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 70%);
}
.text-image--background .text-image__content > * { max-width: 46rem; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	margin-block: 0;
	list-style: none;
}
@media (min-width: 640px)  { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1400px) { .partners__grid { grid-template-columns: repeat(6, 1fr); } }

.partners__item { background: var(--c-bg); outline: 1px solid var(--c-line); }
.partners__item > a,
.partners__item > img,
.partners__item > span {
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	padding: 1.5rem;
}
/* Logos come in many colours; showing them all in white keeps the page calm
   and makes dark logos visible on the black background. */
.partners__logo,
.partner__logo img {
	filter: brightness(0) invert(1);
}
.partners__logo {
	width: 100%;
	max-width: 180px;
	height: 100%;
	min-height: 0;
	object-fit: contain;
	opacity: .7;
	transition: opacity .25s var(--ease);
}
.partners__item a:hover .partners__logo { opacity: 1; }
/* Badge-style logos with their own background keep their colours. */
.partners__logo.is-color,
.partner__logo img.is-color { filter: none; opacity: .9; }
.partners__name { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; color: var(--c-muted); }

/* ==========================================================================
   Contact block
   ========================================================================== */
.contact-block__inner { display: grid; gap: 3rem; }
.contact-block__intro .section__intro { margin: 1.25rem 0 2rem; }
.contact-block__details { display: grid; gap: 2rem; margin: 0; }
.contact-block__details dt {
	margin-bottom: .25rem;
	color: var(--c-muted);
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
}
.contact-block__details dd { margin: 0; font-size: clamp(1.375rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.25; }
.contact-block__details a { text-decoration: none; }

@media (min-width: 1024px) {
	.contact-block__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ==========================================================================
   Forms (contact, quote)
   ========================================================================== */
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
	.form__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
	.form__field--full { grid-column: 1 / -1; }
}
.form input,
.form textarea,
.form select {
	width: 100%;
	min-height: 4.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid #1f1f1f;
	border-radius: 0;
	background: var(--c-surface);
	color: var(--c-text);
	font: inherit;
	font-size: 1.25rem;
	transition: border-color .2s var(--ease);
}
.form textarea { min-height: 16rem; resize: vertical; }
.form select {
	appearance: none;
	padding-right: 3.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23e8731e' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.25rem center;
	background-size: 1.5rem;
	cursor: pointer;
}
.form select:invalid { color: #9a9a9a; }
.form select option { color: var(--c-text); background: var(--c-surface); }
.form ::placeholder { color: #9a9a9a; opacity: 1; }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--c-accent); }
.form__field.has-error input,
.form__field.has-error textarea { border-color: #ff5a4f; }
.form__error { margin: .4rem 0 0; color: #ff8a80; font-size: 1rem; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 2px solid var(--c-accent);
}
.form__note { margin: 0; max-width: 60ch; color: var(--c-muted); font-size: 1rem; }
.form__note a { color: var(--c-text); }

.form-message { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border-left: 4px solid; font-size: 1.25rem; }
.form-message--success { border-color: var(--c-accent); background: var(--c-surface); }
.form-message--error { border-color: #ff5a4f; background: #1a0d0c; }

/* ==========================================================================
   Values (Our Expertise) – WordPress columns block with class "values"
   ========================================================================== */
.page-blocks > .wp-block-columns.values {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
	padding-block: var(--section-space);
	gap: clamp(2rem, 4vw, 4rem);
}
.values .wp-block-column { border-top: 2px solid var(--c-accent); padding-top: 1.5rem; }
.values h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.values p { color: #d0d0d0; }

/* ==========================================================================
   Partner cards + single partner
   ========================================================================== */
.partners__logo-wrap { display: grid; place-items: center; width: 100%; height: 100%; }
.partners--cards .partners__grid { gap: 1px; }
@media (min-width: 1400px) { .partners--cards .partners__grid { grid-template-columns: repeat(4, 1fr); } }
.partners--cards .partners__item > a,
.partners--cards .partners__item > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	aspect-ratio: auto;
	height: 100%;
	padding: 2rem;
	text-decoration: none;
}
.partners--cards .partners__logo-wrap { height: 7rem; margin-bottom: 1.5rem; place-items: center start; overflow: hidden; }
.partners--cards .partners__logo { width: auto; height: auto; max-width: 200px; max-height: 7rem; }
.partners__card-title { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.partners__card-text { margin-top: .5rem; color: var(--c-muted); font-size: 1.0625rem; line-height: 1.45; }
.partners--cards a:hover .partners__card-title { color: var(--c-accent); }

.partner__head { padding-block: clamp(3rem, 8vw, 6rem) 2rem; text-align: center; }
.partner__logo { display: grid; place-items: center; height: 10rem; margin: 2rem 0; }
.partner__logo img { max-height: 100%; width: auto; max-width: min(360px, 80%); }
.partner__title { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.partner__body { color: #d0d0d0; font-size: 1.1875rem; }

@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   News article + pagination
   ========================================================================== */
.section--flush-top { padding-top: 0; }

.article__head { padding-block: clamp(3rem, 8vw, 6rem) 2.5rem; }
.article__back {
	display: inline-block;
	margin-bottom: 2rem;
	color: var(--c-muted);
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
}
.article__date { display: block; margin-bottom: .75rem; color: var(--c-accent); font-weight: 700; letter-spacing: .1em; }
.article__title { font-size: clamp(2rem, 5vw, 3.75rem); }
.article__image { margin: 0 auto 3rem; }
.article__image img { width: 100%; max-height: 75vh; object-fit: cover; }
.article__body { font-size: 1.1875rem; }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 4rem; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 3rem;
	height: 3rem;
	padding-inline: .75rem;
	border: 1px solid var(--c-line);
	text-decoration: none;
	font-weight: 600;
}
.pagination .page-numbers.current { border-color: var(--c-accent); color: var(--c-accent); }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
	position: fixed;
	inset: auto 0 0;
	z-index: 140;
	padding: 1.25rem var(--gutter);
	background: #0d0d0d;
	border-top: 2px solid var(--c-accent);
	color: var(--c-text);
	box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
	display: grid;
	gap: 1.25rem;
	max-width: var(--container);
	margin-inline: auto;
}
@media (min-width: 1024px) {
	.cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
}
.cookie-banner__title { margin: 0 0 .35rem; font-size: 1.25rem; }
.cookie-banner__text { margin: 0; color: #d0d0d0; font-size: 1.0625rem; max-width: 80ch; }
.cookie-banner__text a { color: var(--c-text); }
.cookie-banner__settings { display: grid; gap: .5rem; margin-top: 1rem; }
.cookie-choice { display: flex; gap: .65rem; align-items: flex-start; color: #d0d0d0; cursor: pointer; }
.cookie-choice input { width: 1.1rem; height: 1.1rem; margin-top: .3rem; accent-color: var(--c-accent); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cookie-banner__actions .btn { min-height: 3rem; padding-inline: 1.5rem; }
.cookie-banner__link {
	padding: .5rem;
	border: 0;
	background: none;
	color: var(--c-text);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--c-accent);
	text-underline-offset: .2em;
	cursor: pointer;
}

/* Legal pages: readable text with headings */
.legal h2 { margin-top: 2.5rem; font-size: 1.75rem; }
.legal h3 { margin-top: 1.75rem; font-size: 1.25rem; }
.legal ul { padding-left: 1.25rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.legal th, .legal td { padding: .6rem .5rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.legal-placeholder { padding: 1rem 1.25rem; border: 1px dashed var(--c-accent); color: var(--c-accent); }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
