/* ==========================================================================
   Lockline theme v2
   Light grey and white, Rubik, rounded cards and pill buttons.
   Charcoal panels (Kill Chain, call to action, footer) set their own colours below.
   ========================================================================== */

@font-face {
	font-family: "Rubik";
	font-style: normal;
	font-display: swap;
	font-weight: 300 900;
	src: url(../fonts/rubik-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Rubik";
	font-style: normal;
	font-display: swap;
	font-weight: 300 900;
	src: url(../fonts/rubik-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Rubik";
	font-style: italic;
	font-display: swap;
	font-weight: 300 900;
	src: url(../fonts/rubik-latin-wght-italic.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Rubik";
	font-style: italic;
	font-display: swap;
	font-weight: 300 900;
	src: url(../fonts/rubik-latin-ext-wght-italic.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Martian Mono";
	font-style: normal;
	font-display: swap;
	font-weight: 100 800;
	font-stretch: 75% 112.5%;
	src: url(../fonts/martian-mono-latin-standard-normal.woff2) format("woff2-variations");
}

:root {
	--bg: #efefee;
	--surface: #ffffff;
	--surface-2: #f6f6f5;
	--surface-3: #ebebea;
	--line: #e4e2e0;
	--line-2: #d3d0cd;
	--text: #1e1d1d;
	--body: #3f3d3d;
	--muted: #6b6866;
	--faint: #85817e;
	--ink: #1e1d1d;
	--ink-hi: #363435;
	--amber: #ffb224;
	--accent-text: #9a5b00;
	--red: #d93636;
	--blue: #2f6fdb;
	--panel: #ffffff;
	--console: #141313;

	--font: "Rubik", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--wrap: 1320px;
	--gutter: clamp(1.25rem, 3.5vw, 2.5rem);
	--header-h: 84px;
	--r-xs: 8px;
	--r-sm: 14px;
	--r: 20px;
	--r-lg: 28px;
	--shadow-sm: 0 4px 14px rgba(30, 29, 29, 0.06);
	--shadow: 0 1px 2px rgba(30, 29, 29, 0.03), 0 14px 36px rgba(30, 29, 29, 0.06);
}

/* Charcoal sections */
.kc, .cta, .site-footer {
	--bg: #1e1d1d;
	--surface: #2a2929;
	--surface-2: #2a2929;
	--panel: #1e1d1d;
	--line: rgba(255, 255, 255, 0.1);
	--line-2: rgba(255, 255, 255, 0.2);
	--text: #ffffff;
	--body: #d9d7d5;
	--muted: #a3a09e;
	--faint: #7d7a78;
	--accent-text: #ffb224;
	--red: #ff5a4e;
	--blue: #7fb2ff;
	color: var(--text);
}

/* Reset --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body {
	margin: 0;
	background:
		radial-gradient(1100px 820px at 74% 430px, #fbfbfb 0%, rgba(251, 251, 251, 0) 70%) no-repeat,
		var(--bg);
	color: var(--body);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 600; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.kc :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.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;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(50rem + 2 * var(--gutter)); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.panel {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
}

/* Eyebrow pill (the small spaced label from the design) */
.eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem; min-height: 34px; padding: 0.3rem 1rem;
	border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.55);
	font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow a { color: var(--muted); text-decoration: none; }
.eyebrow a:hover { color: var(--text); }

/* Buttons ------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem;
	min-height: 50px; padding: 0 1.4rem;
	border: 1px solid transparent; border-radius: 999px;
	font-size: 0.9375rem; font-weight: 500; line-height: 1.1; white-space: nowrap;
	text-decoration: none; cursor: pointer; background: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:has(.btn__arrow) { padding: 0 6px 0 1.4rem; }
.btn__arrow {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	transition: transform 0.25s ease;
}
.btn__arrow svg { width: 16px; height: 16px; }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-hi); }
.btn--primary .btn__arrow { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #f6f6f5; }
.btn--light .btn__arrow { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--lg { min-height: 58px; font-size: 1rem; }
.btn--lg:has(.btn__arrow) { padding-left: 1.75rem; padding-right: 7px; }
.btn--lg .btn__arrow { width: 44px; height: 44px; }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: 0.875rem; }

.icon-btn {
	display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
	border: 0; border-radius: 50%; background: #fff; color: var(--text);
	box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.18s ease;
}
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn--lg { width: 56px; height: 56px; }

.text-link { color: var(--text); font-weight: 500; }

/* Header -------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: transparent;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled, .nav-open .site-header {
	background: rgba(239, 239, 238, 0.86);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	box-shadow: 0 1px 0 rgba(30, 29, 29, 0.06);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--text); text-decoration: none; justify-self: start; }
.brand__mark { width: 36px; height: 36px; color: var(--text); }
.brand__name { font-size: 1rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; }
.custom-logo-link { justify-self: start; }
.custom-logo-link img { max-height: 44px; width: auto; }

.site-nav .menu { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { position: relative; display: block; padding: 0.4rem 0; color: #4a4847; font-size: 0.9375rem; text-decoration: none; }
.site-nav .menu a:hover { color: var(--text); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_parent > a { color: var(--text); font-weight: 500; }
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav .current-menu-ancestor > a::after,
.site-nav .current_page_parent > a::after {
	content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--text);
}
.site-nav .sub-menu { display: none; }
.site-nav__cta-mobile { display: none; }

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.nav-toggle .icon { display: block; width: 20px; height: 20px; }

.site-search { padding-bottom: 1rem; }
.site-search .search-form { margin: 0 auto; max-width: 40rem; }

@media (max-width: 1080px) {
	.site-nav .menu { gap: 1.75rem; }
}
@media (max-width: 960px) {
	.site-header__inner { grid-template-columns: 1fr auto; }
	.nav-toggle { display: inline-grid; }
	.site-nav {
		display: none;
		position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) - 6px);
		flex-direction: column; gap: 1.25rem;
		padding: 1rem 1.5rem 1.5rem;
		background: #fff; border-radius: var(--r); box-shadow: 0 20px 50px rgba(30, 29, 29, 0.14);
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { font-size: 1.125rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
	.site-nav .menu li:last-child a { border-bottom: 0; }
	.site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after,
	.site-nav .current-menu-ancestor > a::after, .site-nav .current_page_parent > a::after { left: auto; right: 0; bottom: 50%; margin-bottom: -2.5px; }
	.site-nav .sub-menu { display: block; list-style: none; padding-left: 1rem; }
}
@media (max-width: 600px) {
	:root { --header-h: 72px; }
	.site-header__cta { display: none; }
	.site-nav__cta-mobile { display: inline-flex; align-self: flex-start; }
	.brand__name { font-size: 0.875rem; letter-spacing: 0.22em; }
	.brand__mark { width: 30px; height: 30px; }
	.icon-btn { width: 42px; height: 42px; }
}

/* Hero ---------------------------------------------------------------------- */
.hero {
	position: relative;
	padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center;
	min-height: clamp(560px, 58vw, 720px);
}
.hero__copy { position: relative; z-index: 2; padding-block: 1.5rem 3rem; }
.hero__title {
	margin-top: 1.6rem; max-width: 7.6em;
	font-size: clamp(3rem, 6.4vw, 6rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.025em;
	text-transform: uppercase; color: var(--text);
}
.hero__title-muted { display: block; color: var(--faint); }
.hero__rule { position: relative; display: block; width: 58px; height: 2px; margin: 2.25rem 0 1.6rem; background: var(--text); }
.hero__rule::after { content: ""; position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--text); }
.hero__text { max-width: 27rem; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; margin-top: 2.25rem; }
.hero__sep { width: 1px; height: 48px; background: var(--line-2); }
.round-link { display: inline-flex; align-items: center; gap: 0.9rem; font-weight: 500; color: var(--text); text-decoration: none; }
.round-link:hover .icon-btn { transform: translateY(-1px); }

.hero__visual { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 520px; --halo: min(46vw, 760px); }

.print { position: relative; z-index: 1; width: calc(var(--halo) * 0.88); max-width: 600px; aspect-ratio: 1100 / 1060; }
.print__svg { width: 100%; height: 100%; overflow: visible; color: var(--text); filter: drop-shadow(0 18px 30px rgba(30, 29, 29, 0.1)); }
.print .ridge { fill: currentColor; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
.js-anim .print .ridge { opacity: 0; animation: ridge-show 0s linear 3s forwards; }
.print-ready .print .ridge { opacity: 1; animation: none; }
@keyframes ridge-show { to { opacity: 1; } }
.print__scan {
	position: absolute; left: -6%; right: -6%; top: 0; height: 3px; opacity: 0; border-radius: 2px; pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 178, 36, 0), #ffb224 18%, #ffb224 82%, rgba(255, 178, 36, 0));
	box-shadow: 0 0 18px 4px rgba(255, 178, 36, 0.45);
}
.print__scan::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 90px;
	background: linear-gradient(to top, rgba(255, 178, 36, 0.16), rgba(255, 178, 36, 0));
}
.hero__padlock { position: relative; z-index: 1; width: auto; height: min(calc(var(--halo) * 1.12), 840px); margin-bottom: -7rem; filter: drop-shadow(0 30px 40px rgba(30, 29, 29, 0.08)); }

/* Feature strip under the hero */
.strip {
	position: relative; z-index: 3; margin-top: -3rem;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 2rem 1.5rem; border-radius: 26px;
	background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	box-shadow: 0 10px 40px rgba(30, 29, 29, 0.06);
}
.hero--padlock .strip { margin-top: -5rem; }
.strip__item { display: flex; align-items: center; gap: 1.25rem; padding: 0.75rem 1.5rem; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.tile {
	display: grid; place-items: center; width: 70px; height: 70px; flex: none;
	border-radius: 18px; background: #fff; color: var(--text);
	box-shadow: 0 6px 18px rgba(30, 29, 29, 0.07), inset 0 0 0 1px #efeeec;
}
.tile .icon { width: 28px; height: 28px; }
.strip__title { display: block; margin-bottom: 0.3rem; font-size: 1rem; font-weight: 600; color: var(--text); text-decoration: none; }
.strip__title:hover { text-decoration: underline; }
.strip__text { display: block; max-width: 15em; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 1180px) {
	.strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.strip__item { padding: 1rem 1.25rem; }
	.strip__item:nth-child(odd) { border-left: 0; }
	.strip__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.hero__copy { padding-bottom: 1rem; }
	.hero__visual { --halo: min(88vw, 560px); min-height: calc(var(--halo) + 2rem); }
	.hero__padlock { height: calc(var(--halo) * 1.05); margin-bottom: -4rem; }
	.strip { margin-top: 0; }
	.hero--padlock .strip { margin-top: -3rem; }
}
@media (max-width: 600px) {
	.strip { grid-template-columns: 1fr; padding: 0.75rem 1rem; }
	.strip__item { border-left: 0; padding: 0.9rem 0.25rem; }
	.strip__item + .strip__item { border-top: 1px solid var(--line); }
	.tile { width: 54px; height: 54px; border-radius: 16px; }
	.hero__sep { display: none; }
}

/* Standards row ------------------------------------------------------------- */
.standards { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.standards__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.standards__title { font-size: 0.9375rem; font-weight: 400; color: var(--muted); white-space: nowrap; }
.standards__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.standards__list li { padding: 0.45rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid #fff; font-size: 0.9375rem; font-weight: 500; color: var(--text); }

/* Sections ------------------------------------------------------------------ */
.section { padding-block: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem) 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section__title { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; color: var(--text); text-wrap: balance; }
.section__title--sm { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1.5rem; }
.section__lede { max-width: 34rem; font-size: 1.125rem; color: var(--muted); }
.section__head--split .section__lede { justify-self: end; }
@media (max-width: 860px) {
	.section__head--split { grid-template-columns: 1fr; }
	.section__head--split .section__lede { justify-self: start; }
}

/* Services ------------------------------------------------------------------ */
.svc-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1.5rem 3rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.svc-group + .svc-group { margin-top: 1rem; }
.svc-group__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.svc-group__intro { margin-top: 0.65rem; max-width: 22rem; font-size: 0.975rem; color: var(--muted); }

.svc-row {
	position: relative; display: grid; grid-template-columns: 52px minmax(12rem, 1fr) minmax(0, 1.35fr);
	gap: 0.25rem 1.25rem; align-items: center; padding: 1rem 0.75rem; margin-inline: -0.75rem;
	border-radius: var(--r-sm); transition: background-color 0.18s ease;
}
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:hover { background: var(--surface-2); }
.svc-row__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); color: var(--text); }
.svc-row:hover .svc-row__icon { background: #fff; box-shadow: var(--shadow-sm); }
.svc-row__icon .icon { width: 24px; height: 24px; }
.svc-row__title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.svc-row__title a { text-decoration: none; }
.svc-row__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-sm); }
.svc-row__text { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.svc-row:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.svc-row__title a:focus-visible { outline: none; }

.svc-list--compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 0 2rem; padding: 1rem 1.75rem; }
.svc-list--compact .svc-row { grid-template-columns: 52px minmax(0, 1fr); }
.svc-list--compact .svc-row + .svc-row { border-top: 0; }
.svc-list--compact .svc-row__text { grid-column: 2; }

@media (max-width: 960px) {
	.svc-group { grid-template-columns: 1fr; }
	.svc-row { grid-template-columns: 52px minmax(0, 1fr); }
	.svc-row__text { grid-column: 2; }
}

/* Process steps ------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.step { counter-increment: step; padding: 1.75rem 1.6rem 2rem; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.step::before {
	content: counter(step, decimal-leading-zero);
	display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.5rem;
	border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.9375rem; font-weight: 500;
}
.step__title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.975rem; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Training ------------------------------------------------------------------ */
.training-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(1.75rem, 4.5vw, 3.75rem); }
.training-band__copy p { margin-top: 1.25rem; max-width: 30rem; color: var(--muted); }
.training-band__copy .btn { margin-top: 0.5rem; }
.course-list li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--text); }
.course-list li:first-child { border-top: 1px solid var(--line); }
.course-list__who { font-weight: 400; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 860px) { .training-band { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .course-list li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* Kill Chain section wrapper */
.killchain .kc { margin-top: 0; box-shadow: 0 24px 60px rgba(30, 29, 29, 0.16); }

/* Blog cards ---------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.25rem 1.4rem 1.6rem; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: 0.8125rem; color: var(--muted); }
.card__title { font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__excerpt { font-size: 0.9375rem; color: var(--muted); }

.card__media--blank {
	--cell: 28px; position: relative;
	background-color: var(--surface-2);
	background-image:
		linear-gradient(to right, rgba(30, 29, 29, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(30, 29, 29, 0.06) 1px, transparent 1px);
	background-size: var(--cell) var(--cell);
	background-position: -1px -1px;
}
.card__cover-cell {
	position: absolute; left: calc(var(--x) * var(--cell) - 1px); top: calc(var(--y) * var(--cell) - 1px);
	width: calc(var(--cell) + 1px); height: calc(var(--cell) + 1px);
	border-radius: 4px; background: var(--ink); transition: transform 0.3s ease;
}
.card:hover .card__cover-cell { transform: scale(0.8); }
.card__cover-label { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }

.card--featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; margin-bottom: 1.25rem; }
.card--featured .card__media { aspect-ratio: auto; min-height: 340px; }
.card--featured .card__body { justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); gap: 1rem; }
.card--featured .card__title { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.card--featured .card__excerpt { font-size: 1.0625rem; }
.card--featured .card__media--blank { --cell: 36px; }
.card--featured .card__cover-label { font-size: clamp(1.5rem, 3vw, 2.25rem); left: 1.75rem; bottom: 1.5rem; }
@media (max-width: 860px) { .card--featured { grid-template-columns: 1fr; } .card--featured .card__media { min-height: 0; aspect-ratio: 16 / 9; } }

.tag {
	display: inline-flex; align-items: center; padding: 0.2rem 0.75rem; border-radius: 999px;
	border: 1px solid var(--line-2); font-size: 0.75rem; font-weight: 500; color: var(--text); text-decoration: none; line-height: 1.6;
}
a.tag:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.meta { display: inline-flex; gap: 1rem; }

/* Call to action ------------------------------------------------------------ */
.site-main { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.cta-wrap { padding-top: clamp(4rem, 8vw, 6.5rem); }
.cta {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: end;
	padding: clamp(2.25rem, 6vw, 4.5rem); border-radius: var(--r-lg); background: var(--bg);
}
.cta__mark { position: absolute; right: -4%; top: -18%; width: min(46%, 460px); color: #fff; opacity: 0.06; pointer-events: none; }
.cta__mark svg { width: 100%; height: auto; }
.cta__title { position: relative; font-size: clamp(2.25rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.cta__side { position: relative; }
.cta__side p { color: var(--muted); font-size: 1.0625rem; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.cta__mail { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); }
.cta__mail:hover { text-decoration-color: var(--text); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* Hero: Cyber Kill Chain ------------------------------------------------- */
.kc {
	--kc-gap: 0.9rem;
	--kc-pad: 1.25rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--panel);
	overflow: hidden;
}
.kc__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1.5rem;
	padding: 0.8rem var(--kc-pad);
	border-bottom: 1px solid var(--line);
	font-size: 0.875rem;
}
.kc__title { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 620; color: var(--text); }
.kc__rec { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red); }
.kc.is-running .kc__rec { animation: kc-blink 1.6s steps(1) infinite; }
.kc__status { font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); }

.kc .kc__stages {
	display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 var(--kc-gap);
	padding: 1.6rem var(--kc-pad) 1.5rem;
	list-style: none; margin: 0;
	border-bottom: 1px solid var(--line);
}
.kc__stage { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.kc__node { position: relative; height: 14px; margin-bottom: 0.7rem; }
.kc__marker {
	position: absolute; left: 0; top: 0; z-index: 1;
	width: 14px; height: 14px; border-radius: 2px;
	border: 1px solid var(--line-2); background: var(--panel);
	transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.kc__link {
	position: absolute; top: 6.5px; left: 14px; height: 1px;
	width: calc(100% + var(--kc-gap) - 14px);
	background: var(--line-2);
}
.kc__link::after {
	content: ""; position: absolute; inset: -0.5px 0;
	background: var(--red);
	transform: scaleX(0); transform-origin: left center;
	transition: transform 0.6s ease;
}
.kc__num { font-family: var(--mono); font-size: 0.6875rem; color: var(--faint); transition: color 0.35s ease; }
.kc__name { font-size: 0.9375rem; font-weight: 660; font-stretch: 106%; line-height: 1.2; color: var(--muted); overflow-wrap: break-word; transition: color 0.35s ease; }
.kc__name-short { display: none; }
.kc__desc { font-size: 0.8125rem; line-height: 1.35; color: var(--faint); transition: color 0.35s ease; }

.kc__stage.is-active .kc__marker { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 90, 78, 0.18); }
.kc__stage.is-active .kc__name { color: var(--text); }
.kc__stage.is-active .kc__num { color: var(--red); }
.kc__stage.is-active .kc__desc { color: var(--muted); }

.kc__stage.is-done .kc__marker { background: var(--red); border-color: var(--red); }
.kc__stage.is-done .kc__link::after { transform: scaleX(1); }
.kc__stage.is-done .kc__name { color: var(--text); }
.kc__stage.is-done .kc__num { color: var(--red); }
.kc__stage.is-done .kc__desc { color: var(--muted); }

.kc__stage.is-objective .kc__marker { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.2); }
.kc__stage.is-objective .kc__name { color: var(--accent-text); }
.kc__stage.is-objective .kc__num { color: var(--accent-text); }
.kc__stage.is-objective .kc__desc { color: var(--muted); }

.kc__console {
	display: flex; flex-direction: column; justify-content: flex-end;
	height: calc(0.75rem * 1.85 * 7 + 1.9rem);
	padding: 0.95rem var(--kc-pad);
	overflow: hidden;
	background: var(--console);
	font-family: var(--mono); font-size: 0.75rem; line-height: 1.85;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.6rem);
	mask-image: linear-gradient(to bottom, transparent 0, #000 1.6rem);
}
.kc__ln { display: flex; gap: 0.75em; color: var(--muted); min-width: 0; }
.kc__tag { flex: none; width: 2.6em; color: var(--faint); }
.kc__pre { flex: none; }
.kc__txt { min-width: 0; overflow-wrap: anywhere; }
.kc__ln--cmd { color: var(--text); }
.kc__ln--cmd .kc__pre { color: var(--faint); }
.kc__ln--out .kc__txt { padding-left: 1.35em; }
.kc__ln--ok .kc__pre { color: var(--red); }
.kc__ln--ok { color: #ffb4ae; }
.kc__ln--goal, .kc__ln--goal .kc__pre { color: var(--accent-text); }
.kc__cursor { display: inline-block; width: 0.6em; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: var(--text); animation: kc-blink 1s steps(1) infinite; }
@keyframes kc-blink { 50% { opacity: 0; } }

.kc__foot { padding: 0.85rem var(--kc-pad); border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }

@media (max-width: 1080px) {
	.kc { --kc-gap: 0.6rem; }
	.kc__desc { display: none; }
	.kc__name { font-size: 0.875rem; }
	.kc__name-long { display: none; }
	.kc__name-short { display: inline; }
}
@media (max-width: 760px) {
	.kc { --kc-pad: 1rem; --kc-gap: 0.4rem; }
	.kc__name { font-size: 0.75rem; font-stretch: 100%; }
	.kc__console { font-size: 0.6875rem; height: calc(0.6875rem * 1.75 * 8 + 1.9rem); line-height: 1.75; }
	.kc__tag { display: none; }
}
@media (max-width: 520px) {
	.kc__name { display: none; }
	.kc .kc__stages { padding-block: 1.25rem 1rem; }
	.kc__node { margin-bottom: 0.45rem; }
	.kc__num { font-size: 0.75rem; }
}


/* Page heads ---------------------------------------------------------------- */
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head__title { font-size: clamp(2.5rem, 5.6vw, 4.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
.page-head__lede { margin-top: 1.25rem; max-width: 42rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.page-head__lede p { margin: 0; }
.page-head__crumb { margin-bottom: 1.5rem; }
.page-head__crumb span { color: var(--faint); }
.page-head__actions { margin-top: 2rem; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.page-head__icon { display: grid; place-items: center; width: clamp(7rem, 12vw, 10rem); height: clamp(7rem, 12vw, 10rem); border-radius: 36px; background: #fff; box-shadow: var(--shadow); color: var(--text); }
.page-head__icon .icon { width: 45%; height: 45%; stroke-width: 1.2; }
@media (max-width: 720px) { .page-head__grid { grid-template-columns: 1fr; } .page-head__icon { display: none; } }

/* Service page -------------------------------------------------------------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: 1.25rem; align-items: start; }
.service-layout > .prose { max-width: none; padding: clamp(1.75rem, 4vw, 3rem); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.service-aside { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1rem; }
.spec { padding: 1.5rem 1.6rem; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.spec__title { margin-bottom: 1rem; font-size: 1rem; font-weight: 600; }
.checklist li { display: flex; gap: 0.7rem; padding-block: 0.35rem; font-size: 0.9375rem; line-height: 1.45; color: var(--body); }
.checklist .icon { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.1rem; padding: 2px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.4; }
.deliverables li { padding: 0.5rem 0.9rem; border-radius: 10px; background: var(--surface-2); font-size: 0.9375rem; line-height: 1.45; color: var(--body); }
.deliverables li + li { margin-top: 0.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips li { padding: 0.3rem 0.8rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.8125rem; color: var(--text); }
.related-services .section__title--sm { margin-bottom: 1.25rem; }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } .service-aside { position: static; } }

/* Prose --------------------------------------------------------------------- */
.prose { max-width: 46rem; font-size: 1.0625rem; line-height: 1.75; color: var(--body); }
.prose--page { padding: clamp(1.75rem, 4vw, 3rem); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); letter-spacing: -0.015em; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2 { margin-top: 2.1em; font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.prose h3 { margin-top: 1.9em; font-size: 1.3125rem; font-weight: 600; line-height: 1.3; }
.prose h4 { margin-top: 1.75em; font-size: 1.0625rem; font-weight: 600; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.75em; }
.prose a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); }
.prose a:hover { text-decoration-color: var(--text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--faint); }
.prose blockquote, .prose .wp-block-quote { padding: 0.25em 0 0.25em 1.25em; border-left: 3px solid var(--ink); font-size: 1.1875rem; font-style: italic; color: var(--text); }
.prose blockquote cite { display: block; margin-top: 0.75em; font-size: 0.9rem; font-style: normal; color: var(--muted); }
.prose .wp-block-pullquote { padding: 1.5em 0; border-block: 1px solid var(--line-2); text-align: left; }
.prose code, .prose kbd { padding: 0.12em 0.4em; border-radius: 6px; background: var(--surface-3); font-family: var(--mono); font-size: 0.82em; color: var(--text); }
.prose pre, .prose .wp-block-code {
	padding: 1.15rem 1.35rem; overflow-x: auto; border-radius: var(--r-sm); background: #1e1d1d;
	font-family: var(--mono); font-size: 0.8125rem; line-height: 1.7; color: #ebe9e6;
}
.prose pre code, .prose .wp-block-code code { padding: 0; background: none; color: inherit; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose .wp-block-table { overflow-x: auto; }
.prose th, .prose td, .prose .wp-block-table th, .prose .wp-block-table td { padding: 0.7rem 0.75rem; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th, .prose .wp-block-table th { color: var(--text); font-weight: 600; border-bottom-color: var(--line-2); }
.prose .wp-block-table thead { border-bottom: 0; }
.prose figcaption, .prose .wp-caption-text { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted); }
.prose img { border-radius: var(--r-sm); }
.prose hr, .prose .wp-block-separator { margin-block: 2.5em; border: 0; border-top: 1px solid var(--line-2); }
.prose .alignwide { max-width: none; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; max-width: 50%; margin: 0.3em 1.5em 1em 0; }
.prose .alignright { float: right; max-width: 50%; margin: 0.3em 0 1em 1.5em; }
.prose .wp-block-button__link { border-radius: 999px; background: var(--ink); color: #fff; padding: 0.8rem 1.4rem; font-weight: 500; text-decoration: none; }
.prose .wp-block-embed iframe { width: 100%; }
.prose::after { content: ""; display: table; clear: both; }

/* Article ------------------------------------------------------------------- */
.article__head { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 1.5rem; font-size: 0.9375rem; color: var(--muted); }
.article__title { font-size: clamp(2.25rem, 4.8vw, 3.75rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.article__lede { margin-top: 1.25rem; font-size: 1.25rem; line-height: 1.5; color: var(--muted); }
.article__byline { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; font-size: 0.975rem; font-weight: 500; color: var(--text); }
.article__avatar { border-radius: 50%; }
.article__hero { margin-block: 0.5rem 1.25rem; }
.article__hero img { width: 100%; border-radius: var(--r-lg); }
.article__hero figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted); }
.article__layout { display: grid; grid-template-columns: minmax(0, 50rem); justify-content: center; gap: 1.25rem; }
.article__layout.has-toc { grid-template-columns: 16rem minmax(0, 50rem); }
.article__aside { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
.article__body { padding: clamp(1.5rem, 4vw, 3.25rem); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.article__body .prose { max-width: none; }
@media (max-width: 1080px) {
	.article__layout.has-toc { grid-template-columns: minmax(0, 50rem); }
	.article__aside { position: static; }
}
.toc { padding: 1.4rem 1.5rem; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.toc__title { margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.toc ol { margin: 0; padding-left: 1.1rem; list-style: decimal; font-size: 0.875rem; color: var(--faint); }
.toc li + li { margin-top: 0.5rem; }
.toc a { display: inline-block; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--text); font-weight: 500; }

.article__foot { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.article__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article__tags a { padding: 0.25rem 0.8rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.8125rem; color: var(--muted); text-decoration: none; }
.article__tags a:hover { border-color: var(--text); color: var(--text); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding-block: 1.25rem; border-block: 1px solid var(--line); }
.share__label { font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.share__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share__list a, .share__copy {
	display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem;
	border: 1px solid var(--line-2); border-radius: 999px; background: none;
	font-size: 0.875rem; color: var(--text); text-decoration: none; cursor: pointer;
}
.share__list a:hover, .share__copy:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.share__list .icon { width: 1rem; height: 1rem; }
.author-box { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--r); background: var(--surface-2); }
.author-box img { flex: none; border-radius: 50%; }
.author-box__name { margin-bottom: 0.25rem; font-weight: 600; color: var(--text); }
.author-box p { font-size: 0.95rem; color: var(--muted); }

/* Blog filters, pagination, empty states, search ---------------------------- */
.cat-nav { margin-top: 2rem; }
.cat-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.cat-nav a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px;
	background: rgba(255, 255, 255, 0.7); border: 1px solid #fff; font-size: 0.9rem; color: var(--body); text-decoration: none;
}
.cat-nav a:hover { background: #fff; color: var(--text); }
.cat-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.pagination { margin-top: 3rem; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 1rem;
	border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 0.95rem; color: var(--body); text-decoration: none;
}
.pagination a.page-numbers:hover { color: var(--text); }
.pagination .current { background: var(--ink); color: #fff; }
.pagination .dots { background: none; box-shadow: none; }

.empty { max-width: 46rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.empty h2 { margin-bottom: 0.5rem; font-size: 1.5rem; font-weight: 600; }
.empty p { color: var(--muted); }
.empty p + p { margin-top: 1.25rem; }
.empty .search-form { margin-top: 1.5rem; }

.results { display: grid; gap: 0.75rem; }
.result { padding: 1.4rem 1.6rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.result__type { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); }
.result__title { margin-block: 0.25rem 0.4rem; font-size: 1.3125rem; font-weight: 600; }
.result__title a { text-decoration: none; }
.result__title a:hover { text-decoration: underline; }
.result__text { max-width: 46rem; color: var(--muted); }

.search-form { display: flex; gap: 0.5rem; max-width: 34rem; margin-top: 1.5rem; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.search-form input[type="search"] { flex: 1; min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; box-shadow: none; }
.search-form input[type="search"]:focus { box-shadow: none; outline: none; }
.search-form:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.search-form .btn { min-height: 44px; border: 0; background: var(--ink); color: #fff; }

.notfound { padding-block: clamp(3.5rem, 8vw, 7rem) 0; }
.notfound__code { margin-bottom: 1.5rem; font-size: clamp(6rem, 18vw, 12rem); font-weight: 700; line-height: 0.85; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }

/* Contact and forms --------------------------------------------------------- */
.contact { padding-top: clamp(3rem, 6vw, 5rem); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro { margin-top: 1.25rem; max-width: 30rem; font-size: 1.125rem; color: var(--muted); }
.contact__intro p + p { margin-top: 1em; }
.contact__form { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--muted); }
.contact-list .icon { flex: none; width: 1.1rem; height: 1.1rem; color: var(--text); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--lg { gap: 0.6rem; margin-top: 2rem; }
.contact-list--lg li { padding: 0.9rem 1.1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.7); font-size: 1rem; }
.contact-list--lg .icon { width: 2.25rem; height: 2.25rem; padding: 0.55rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }

.incident-box { margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--red); }
.incident-box__title { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--text); }
.incident-box p + p { margin-top: 0.25rem; font-size: 0.95rem; color: var(--muted); }
.incident-box__phone { display: inline-block; margin-top: 0.6rem; font-size: 1.375rem; font-weight: 600; color: var(--text); text-decoration: none; }
.incident-box__phone:hover { color: var(--red); }

.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.field__opt { font-weight: 400; color: var(--faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%; min-height: 52px; padding: 0.8rem 1rem;
	border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text);
	font-size: 1rem; line-height: 1.4; transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
textarea { min-height: 9rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(30, 29, 29, 0.08); }
select {
	-webkit-appearance: none; appearance: none; padding-right: 2.75rem; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231e1d1d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1.1rem center;
}
.enquiry__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.5rem; }
.enquiry__note { font-size: 0.875rem; color: var(--muted); }

.notice { display: flex; gap: 0.85rem; margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: var(--r-sm); }
.notice:focus { outline: none; }
.notice--ok { margin-bottom: 0; background: var(--surface-2); border: 1px solid var(--line); }
.notice--ok .icon { margin-top: 0.15rem; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.4; }
.notice__title { margin-bottom: 0.25rem; font-weight: 600; color: var(--text); }
.notice--ok p + p { color: var(--muted); }
.notice--error { border: 1px solid rgba(217, 54, 54, 0.4); background: rgba(217, 54, 54, 0.05); color: var(--text); }

/* Footer -------------------------------------------------------------------- */
.site-footer { margin-top: 0; padding-top: clamp(3rem, 6vw, 4.5rem); border-radius: 32px 32px 0 0; background: var(--bg); }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { color: #fff; }
.incident-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.incident-line a { color: var(--red); text-decoration: none; }
.incident-line a:hover { text-decoration: underline; }
.incident-line__dot { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--red); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 90, 78, 0.55); }
	70% { box-shadow: 0 0 0 0.6rem rgba(255, 90, 78, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 90, 78, 0); }
}
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__about p { margin-top: 1.1rem; max-width: 22rem; font-size: 0.95rem; color: var(--muted); }
.site-footer__title { margin-bottom: 1rem; font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.site-footer__col ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.site-footer__col a { font-size: 0.9375rem; color: var(--muted); text-decoration: none; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col .contact-list a { color: #fff; }
.site-footer__col .contact-list .icon { color: #fff; }
.site-footer__col .btn { margin-top: 0.25rem; }
.site-footer__col .btn--light { color: #1e1d1d; }
.site-footer__col .btn--light:hover { color: #1e1d1d; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--faint); }
.site-footer__base a { color: var(--muted); text-decoration: none; }
.site-footer__base a:hover { color: #fff; }
.social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; }
.social a:hover { background: #fff; color: #1e1d1d; }
.social .icon { width: 1.05rem; height: 1.05rem; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer { border-radius: 24px 24px 0 0; } }

/* Comments ------------------------------------------------------------------ */
.comments { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.comments__title { margin-bottom: 1.5rem; font-size: 1.375rem; font-weight: 600; }
.comment-list { margin: 0 0 3rem; padding: 0; list-style: none; }
.comment-list .children { padding-left: 1.5rem; border-left: 1px solid var(--line); list-style: none; }
.comment-body { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: 0.875rem; color: var(--muted); }
.comment-author { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--text); }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content { margin-top: 0.75rem; color: var(--body); }
.comment-content p + p { margin-top: 0.8em; }
.reply a { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: 0.4rem; font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; color: var(--muted); }
.comment-form .submit { min-height: 52px; padding: 0 1.6rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; cursor: pointer; }
.comment-notes, .logged-in-as { font-size: 0.9rem; color: var(--muted); }
.comments__closed { color: var(--muted); }

/* WordPress core ------------------------------------------------------------ */
.page-media { margin-bottom: 1.25rem; }
.page-media img { width: 100%; border-radius: var(--r-lg); }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; }
.page-links { display: flex; gap: 0.5rem; margin-top: 2rem; }

/* Motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
