/* ==========================================================================
   Systems-OP — main stylesheet. Mobile-first. Every value comes from a token.
   ========================================================================== */

/* IBM Plex Sans, self-hosted (OFL). Chosen because it was drawn for a
   technology company: engineered, even and very readable in long text, with
   a sober character that suits a firm a bank or a tax office will read. One
   family for everything; hierarchy comes from weight, size and colour. */
@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/ibm-plex-sans.woff2") format("woff2");
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/ibm-plex-sans-italic.woff2") format("woff2");
	font-weight: 100 700;
	font-style: italic;
	font-display: swap;
}

/* --------------------------------------------------------------- Tokens */
:root {
	color-scheme: light dark;

	/* Brand, sampled from the Systems-OP logo (Sanil, 2026-10-11). */
	--navy: #001024;   /* "Systems" + 3 lines. 19.1:1 on white: headings, navy bands. */
	--slate: #47525c;  /* "Systems" + "Online Platform". 8:1 on white: secondary text. */
	--sky: #2b93ff;    /* "OP" + 3 circles. Only 3.1:1 on white: decoration and text on navy only. */
	--royal: #075aea;  /* 1 circle + cloud. 5.7:1 on white: THE accent (links, buttons). */

	/* Surfaces: a cool off-white tinted toward the navy, never pure white as ground. */
	--bg: #f6f8fb;
	--surface: #ffffff;
	--surface-2: #e9eff7;
	--band: var(--navy);

	/* Text */
	--text: #13202f;
	--text-2: var(--slate);
	--text-mute: #55606c;
	--heading: var(--navy);
	--on-band: #e7edf5;
	--on-band-2: #b4c2d4;
	--on-band-accent: var(--sky);

	/* Lines */
	--line: #d3dbe6;
	--line-strong: #75818f; /* input borders: >= 3:1 against surface */

	/* Accent: one, locked. */
	--accent: var(--royal);
	--accent-hover: #0047c2;
	--accent-text: var(--royal);
	--accent-tint: #e3ecfd;
	--on-accent: #ffffff;

	/* States */
	--danger-text: #b42318;
	--danger-tint: #fdeceb;
	--success-text: #146c3a;
	--success-tint: #e6f4ec;
	--focus: var(--royal);

	/* Type */
	--font: "IBM Plex Sans", ui-sans-serif, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-body: 1.0625rem;
	--fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	--fs-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
	--fs-h2: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem);
	--fs-h1: clamp(2.125rem, 1.45rem + 2.5vw, 3.5rem);
	--lh-body: 1.65;
	--lh-tight: 1.15;

	/* Space */
	--pad: clamp(20px, 5vw, 40px);
	--sec-lg: clamp(56px, 6vw, 96px);
	--sec: clamp(40px, 4.6vw, 72px);
	--sec-sm: clamp(24px, 3vw, 40px);
	--gap: clamp(16px, 2.5vw, 32px);
	--gap-lg: clamp(28px, 4vw, 64px);

	/* Containers */
	--maxw: 1320px;
	--maxw-content: 1200px;
	--maxw-narrow: 820px;
	--measure: 70ch;

	/* Shape */
	--r-sm: 6px;
	--r: 10px;
	--r-lg: 16px;
	--shadow: 0 1px 2px rgb(0 16 36 / 0.06), 0 8px 24px rgb(0 16 36 / 0.07);
	--shadow-lg: 0 2px 4px rgb(0 16 36 / 0.06), 0 18px 48px rgb(0 16 36 / 0.12);

	/* Motion */
	--dur-1: 120ms;
	--dur-2: 200ms;
	--dur-3: 320ms;
	--dur-4: 600ms;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

	--header-h: 72px;
}

/* Dark: the navy of the logo becomes the ground; the accent text moves to
   the brighter logo blue, which reads at 6:1 and more on these surfaces. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #030d1d;
		--surface: #081629;
		--surface-2: #0b1d35;
		--band: #0c2240;
		--text: #e1e8f1;
		--text-2: #b5c1d0;
		--text-mute: #9aa8ba;
		--heading: #f3f6fa;
		--line: #1b2e48;
		--line-strong: #6a7f9b;
		--accent: var(--royal);
		--accent-hover: #2a74f5;
		--accent-text: #5aa8ff;
		--accent-tint: #0f2a52;
		--danger-text: #ff9b91;
		--danger-tint: #3a1414;
		--success-text: #7fd6a1;
		--success-tint: #0f2c1d;
		--focus: #5aa8ff;
		--shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
		--shadow-lg: 0 2px 4px rgb(0 0 0 / 0.4), 0 18px 48px rgb(0 0 0 / 0.45);
	}
}
:root[data-theme="dark"] {
	--bg: #030d1d;
	--surface: #081629;
	--surface-2: #0b1d35;
	--band: #0c2240;
	--text: #e1e8f1;
	--text-2: #b5c1d0;
	--text-mute: #9aa8ba;
	--heading: #f3f6fa;
	--line: #1b2e48;
	--line-strong: #6a7f9b;
	--accent-hover: #2a74f5;
	--accent-text: #5aa8ff;
	--accent-tint: #0f2a52;
	--danger-text: #ff9b91;
	--danger-tint: #3a1414;
	--success-text: #7fd6a1;
	--success-tint: #0f2c1d;
	--focus: #5aa8ff;
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	color: var(--heading);
	font-weight: 600;
	line-height: var(--lh-tight);
	letter-spacing: -0.015em;
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.022em; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
address { font-style: normal; }
ul, ol { padding-inline-start: 1.25em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }

.sr-only {
	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 {
	position: absolute; inset-inline-start: 12px; top: -100px; z-index: 100;
	padding: 12px 18px; border-radius: var(--r-sm);
	background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ----------------------------------------------------------- Containers */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--content { max-width: var(--maxw-content); }
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--sec); }
.section--first { padding-top: var(--sec-sm); }
.section--tight { padding-block: var(--sec-sm) var(--sec); }
.section + .section { padding-top: var(--sec-sm); }
.band { padding-block: var(--sec-lg); }
.band--tint { background: var(--surface-2); }
.band--navy { background: var(--band); color: var(--on-band); }
.band--navy h2, .band--navy h3 { color: #ffffff; }

.section__head { margin-bottom: var(--gap-lg); max-width: 760px; }
.section__head > :last-child { margin-bottom: 0; }
.section__head p { color: var(--text-2); font-size: var(--fs-lead); }
.section__more { margin: var(--gap) 0 0; }

.lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 60ch; }

/* -------------------------------------------------------------- Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; white-space: nowrap;
	border: 1px solid transparent; border-radius: var(--r-sm);
	background: var(--accent); color: var(--on-accent);
	font: 600 var(--fs-body)/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out), border-color var(--dur-2);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--heading); }
.btn--light { background: #ffffff; color: var(--navy); }
.btn--light:hover { background: #e7edf5; }
.btn--sm { min-height: 44px; padding: 11px 18px; font-size: var(--fs-sm); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.link-arrow .icon { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover { text-decoration: underline; }
@media (hover: hover) { .link-arrow:hover .icon { transform: translateX(3px); } }

/* --------------------------------------------------------------- Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--heading); text-decoration: none; min-height: 44px; }
.brand__word { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.brand__op { color: var(--accent-text); }
.brand__logo img { height: 44px; width: auto; }
.brand__logo--footer { height: 68px; width: auto; }

.nav-toggle, .nav-close {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid var(--line); border-radius: var(--r-sm);
	background: var(--surface); color: var(--heading); cursor: pointer;
}

/* Mobile drawer (< 960px) */
.site-nav {
	position: fixed; inset: 0 0 0 auto; z-index: 60;
	width: min(380px, 100%); height: 100dvh; overflow-y: auto;
	display: flex; flex-direction: column; gap: 20px;
	padding: 16px var(--pad) 32px;
	background: var(--surface); box-shadow: var(--shadow-lg);
	transform: translateX(100%); visibility: hidden;
	transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.site-nav.is-open { transform: none; visibility: visible; transition: transform var(--dur-3) var(--ease-out), visibility 0s; }
.site-nav__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.site-nav__title { font-weight: 600; color: var(--heading); }
.nav-scrim { position: fixed; inset: 0; z-index: 55; background: rgb(0 16 36 / 0.45); }
.nav-scrim[hidden] { display: none; }
body.nav-locked { overflow: hidden; }

.menu, .submenu ul { list-style: none; margin: 0; padding: 0; }
.menu__item { border-bottom: 1px solid var(--line); }
.menu__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.menu a {
	display: flex; align-items: center; min-height: 48px; flex: 1;
	color: var(--heading); font-weight: 500; text-decoration: none;
}
.menu a[aria-current="page"] { color: var(--accent-text); }
.menu__toggle {
	display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
	border: 0; border-radius: var(--r-sm); background: transparent; color: var(--heading); cursor: pointer;
}
.menu__toggle .icon { transition: transform var(--dur-2) var(--ease-out); }
.menu__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-out); }
.submenu > ul { overflow: hidden; }
.menu__item.is-open .submenu { grid-template-rows: 1fr; }
.submenu a { padding-inline-start: 16px; font-weight: 400; color: var(--text); }
:root:not(.js) .submenu { grid-template-rows: 1fr; }
.site-nav__cta { align-self: flex-start; }

@media (min-width: 960px) {
	.nav-toggle, .nav-close, .site-nav__head, .nav-scrim { display: none !important; }
	.site-nav {
		position: static; width: auto; height: auto; overflow: visible;
		flex-direction: row; align-items: center; gap: 28px; padding: 0;
		background: none; box-shadow: none; transform: none; visibility: visible; transition: none;
	}
	.menu { display: flex; align-items: center; gap: 4px; }
	.menu__item { position: relative; border: 0; }
	.menu__row { gap: 0; }
	.menu a { min-height: 44px; padding: 0 12px; font-size: var(--fs-sm); border-radius: var(--r-sm); }
	.menu a:hover { background: var(--surface-2); }
	.menu__toggle { width: 28px; height: 44px; margin-inline-start: -8px; }
	.submenu {
		position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 260px;
		display: block; padding: 8px;
		background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(-4px);
		transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
	}
	.submenu > ul { overflow: visible; }
	.submenu a { padding: 0 12px; white-space: nowrap; }
	/* JS drives the toggle (and Esc); focus-within is only the no-JS fallback,
	   otherwise it held the menu open after Esc returned focus to the toggle. */
	.menu__item.is-open .submenu,
	:root:not(.js) .menu__item--parent:focus-within .submenu {
		opacity: 1; visibility: visible; transform: none;
		transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s;
	}
	@media (hover: hover) {
		.menu__item--parent:hover .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s; }
	}
	.site-nav__cta { align-self: center; }
}

/* ----------------------------------------------------------------- Hero */
.hero { padding-block: clamp(32px, 5vw, 72px) var(--sec); }
.hero__grid { display: grid; gap: var(--gap-lg); align-items: center; }
.hero h1 { max-width: 24ch; font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3.25rem); }
.hero .lead { margin-bottom: 0; }
.hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 960px) {
	.hero__grid { grid-template-columns: 1.2fr 1fr; }
	.hero__media img { aspect-ratio: 5 / 4; }
}

/* ------------------------------------------------------------- Services */
.services { display: grid; gap: var(--gap); }
.service {
	display: block; position: relative; color: inherit; text-decoration: none;
	border-radius: var(--r-lg);
	transition: box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.service h3 { margin-bottom: 0.4em; }
.service p { color: var(--text-2); margin-bottom: 16px; }
.service__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); }
@media (hover: hover) {
	.service:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
	.service:hover .service__more .icon { transform: translateX(3px); }
}
.service__more .icon { transition: transform var(--dur-2) var(--ease-out); }

.service--feature {
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 320px; padding: clamp(24px, 3.5vw, 44px);
	background: var(--navy); color: var(--on-band);
	background-image: radial-gradient(120% 90% at 100% 0%, rgb(43 147 255 / 0.22), transparent 60%);
}
.service--feature h3 { color: #ffffff; font-size: var(--fs-h2); }
.service--feature p { color: var(--on-band-2); font-size: var(--fs-lead); max-width: 46ch; }
.service--feature .service__more { color: var(--on-band-accent); }
.service__kicker { margin-bottom: auto; padding-bottom: 32px; color: var(--on-band-accent); font-size: var(--fs-sm); font-weight: 600; }

.service--row {
	display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start;
	padding: 18px; background: var(--surface); border: 1px solid var(--line);
}
.service__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.service__body p { font-size: var(--fs-sm); }
@media (min-width: 640px) {
	.service--row { grid-template-columns: 180px 1fr; padding: 22px; gap: 28px; }
	.service__img img { aspect-ratio: 4 / 3; }
}
@media (min-width: 960px) {
	.services { grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; }
	.service--feature { grid-row: 1 / span 2; min-height: 460px; }
}

/* ---------------------------------------------------- Split (King-OP band) */
.split { display: grid; gap: var(--gap-lg); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rounded { border-radius: var(--r-lg); }
.split__text > p { color: var(--text-2); font-size: var(--fs-lead); }
@media (min-width: 960px) {
	.split { grid-template-columns: 5fr 6fr; }
	.split__media img { aspect-ratio: 4 / 5; }
}
.features { list-style: none; margin: 28px 0 28px; padding: 0; display: grid; gap: 22px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; color: var(--text-2); }
.feature__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--surface); color: var(--accent-text); border: 1px solid var(--line);
}
.feature__title { display: block; color: var(--heading); font-size: var(--fs-body); margin-bottom: 2px; }

/* ----------------------------------------------------------- Principles */
.principles { display: grid; gap: var(--gap) var(--gap-lg); }
.principle { padding-top: 20px; border-top: 2px solid var(--heading); }
.principle h3 { font-size: var(--fs-h3); }
.principle p { color: var(--text-2); margin: 0; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- Place */
.place { position: relative; padding-block: 0 var(--sec); }
.place__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.place__inner { position: relative; margin-top: -64px; }
.place__panel {
	max-width: 560px; padding: clamp(24px, 3.5vw, 40px);
	background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.place__panel p { color: var(--text-2); }
@media (min-width: 960px) {
	.place { display: grid; min-height: 560px; align-items: center; padding: var(--sec-lg) 0; margin-block: var(--sec-sm); }
	.place__media { position: absolute; inset: 0; }
	.place__media img { height: 100%; aspect-ratio: auto; }
	.place__inner { margin-top: 0; }
}

/* ----------------------------------------------------------- Post cards */
.post-grid { display: grid; gap: var(--gap-lg) var(--gap); }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { position: relative; display: flex; flex-direction: column; }
.post-card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.post-card__body { padding-top: 18px; }
.post-card__date { margin: 0 0 6px; color: var(--text-mute); font-size: var(--fs-sm); }
.post-card__title { font-size: var(--fs-h3); }
.post-card__title a { color: var(--heading); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { text-decoration: underline; }
.post-card:focus-within { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: var(--r-lg); }
.post-card a:focus-visible { outline: none; }
.post-card p:last-child { color: var(--text-2); margin: 0; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--gap-lg); }
.nav-links .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--heading);
}
.nav-links .current { background: var(--heading); color: var(--bg); border-color: var(--heading); }
.empty { color: var(--text-2); }

/* -------------------------------------------------------------- CTA band */
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: var(--on-band-2); font-size: var(--fs-lead); max-width: 52ch; }
@media (min-width: 768px) {
	.cta-band__inner { grid-template-columns: 1fr auto; gap: var(--gap-lg); }
}

/* ------------------------------------------------------------ Page head */
.page-head { padding-block: clamp(24px, 3.5vw, 48px) var(--sec-sm); }
.page-head__grid { display: grid; gap: var(--gap-lg); align-items: center; }
.page-head h1 { max-width: 22ch; }
.page-head .lead { margin-bottom: 0; }
.page-head__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 960px) {
	.page-head--photo .page-head__grid { grid-template-columns: 1.15fr 1fr; }
	.page-head--photo { padding-bottom: var(--sec); }
}
.page-head--article { padding-bottom: var(--gap); }
.page-head--article h1 { max-width: none; font-size: clamp(1.875rem, 1.35rem + 2vw, 2.875rem); }
.article__meta { margin: 0; color: var(--text-mute); font-size: var(--fs-sm); }
.article__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 20px; padding: 0; font-size: var(--fs-sm); }
.crumbs li { display: inline-flex; align-items: center; color: var(--text-mute); }
.crumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--line-strong); }
.crumbs a { color: var(--text-2); }

/* ---------------------------------------------------------------- Prose */
.prose { overflow-wrap: break-word; }
.prose > * { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--accent-text); }
.prose--intro { margin-bottom: var(--gap-lg); font-size: var(--fs-lead); color: var(--text-2); }

.with-aside { display: grid; gap: var(--gap-lg); align-items: start; }
@media (min-width: 960px) {
	.with-aside { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(48px, 6vw, 96px); }
	.aside-panel { position: sticky; top: calc(var(--header-h) + 24px); }
}
.aside-panel {
	padding: clamp(22px, 3vw, 32px);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.aside-panel__h { font-size: var(--fs-h3); }
.aside-panel p { color: var(--text-2); }

.facts { margin: 0 0 20px; display: grid; gap: 0; }
.facts > div { display: grid; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; }
.facts dt { color: var(--text-mute); font-size: var(--fs-sm); }
.facts dd { margin: 0; color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }
.prose .facts { max-width: 560px; }
@media (min-width: 560px) {
	.prose .facts > div { grid-template-columns: 220px 1fr; gap: 16px; }
}

/* ------------------------------------------------- Service pages + hub */
.caps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: 48px 1fr; gap: 6px 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.cap__icon {
	grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px;
	border-radius: 50%; background: var(--accent-tint); color: var(--accent-text);
}
.cap h3 { margin: 0; align-self: center; }
.cap p { margin: 0; color: var(--text-2); max-width: 56ch; }
@media (min-width: 900px) {
	.cap { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: center; padding-block: 28px; }
	.cap__icon { grid-row: auto; }
}

.service-list { display: grid; gap: var(--gap); }
.service-item {
	position: relative; display: grid; gap: 20px;
	padding: clamp(16px, 2vw, 22px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
	transition: box-shadow var(--dur-2) var(--ease-out);
}
.service-item__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.service-item h2 { font-size: var(--fs-h2); }
.service-item h2 a { color: var(--heading); text-decoration: none; }
.service-item h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.service-item h2 a:focus-visible { outline: none; }
.service-item:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.service-item p { color: var(--text-2); }
@media (hover: hover) { .service-item:hover { box-shadow: var(--shadow-lg); } }
@media (min-width: 860px) {
	.service-item { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
}
.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; color: var(--text); }
.checks .icon { color: var(--accent-text); flex: none; }

.others { display: grid; gap: 12px; }
@media (min-width: 720px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); } }
.other {
	display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
	padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg);
	background: var(--surface); color: inherit; text-decoration: none;
	transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.other__title { color: var(--heading); font-weight: 600; font-size: var(--fs-h3); }
.other__text { grid-column: 1; color: var(--text-2); font-size: var(--fs-sm); }
.other .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--accent-text); }
.other:hover { border-color: var(--accent); }

/* -------------------------------------------------------------- Contact */
.contact { display: grid; gap: var(--gap-lg); align-items: start; }
@media (min-width: 960px) {
	.contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
}
.contact__form { max-width: 640px; }
.details { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 20px; }
.details li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; overflow-wrap: anywhere; }
.details .icon { color: var(--accent-text); margin-top: 2px; }
.details__label { display: block; color: var(--text-mute); font-size: var(--fs-sm); }
.contact__aside-note { color: var(--text-2); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- Forms */
.form { display: grid; gap: 22px; }
.form__req { margin: 0; color: var(--text-mute); font-size: var(--fs-sm); }
.field { display: grid; gap: 6px; }
.field label { color: var(--heading); font-weight: 600; font-size: var(--fs-sm); }
.field__opt { color: var(--text-mute); font-weight: 400; }
.field__help { color: var(--text-mute); font-size: var(--fs-sm); margin-top: -2px; }
.field input:not([type="file"]), .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px;
	border: 1px solid var(--line-strong); border-radius: var(--r-sm);
	background: var(--surface); color: var(--text);
	font: 400 1rem/1.4 var(--font);
	transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.field select {
	appearance: none; padding-inline-end: 44px;
	background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
	background-size: 6px 6px; background-repeat: no-repeat;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input[type="file"] {
	width: 100%; min-height: 48px; padding: 10px; font: inherit; font-size: 1rem; color: var(--text);
	border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--surface);
}
.field input[type="file"]::file-selector-button {
	margin-inline-end: 12px; min-height: 36px; padding: 0 14px;
	border: 1px solid var(--line-strong); border-radius: var(--r-sm);
	background: var(--surface-2); color: var(--heading); font: 600 var(--fs-sm) var(--font); cursor: pointer;
}
.field :is(input, select, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger-text) !important; }
.field__err { color: var(--danger-text); font-size: var(--fs-sm); font-weight: 500; }
.field__err:empty { display: none; }
.form__summary { padding: 14px 16px; border-radius: var(--r-sm); background: var(--danger-tint); color: var(--danger-text); font-weight: 500; }
.form__summary[hidden] { display: none; }
.form__foot { display: grid; gap: 14px; justify-items: start; margin-top: 4px; }
.form__note { margin: 0; color: var(--text-mute); font-size: var(--fs-sm); }
.form__foot .btn { width: 100%; }
@media (min-width: 560px) { .form__foot .btn { width: auto; } }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: 24px; border-radius: var(--r); background: var(--success-tint); }
.form-done h2 { color: var(--success-text); font-size: var(--fs-h3); }
.form-done p { margin: 0; color: var(--text); }
.form-done:focus { outline: none; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--navy); color: var(--on-band-2); font-size: var(--fs-sm); }
.site-footer a { color: var(--on-band); }
.site-footer__grid { display: grid; gap: 36px 24px; padding-block: var(--sec) var(--sec-sm); }
.site-footer__brand p { max-width: 34ch; margin: 16px 0; }
.site-footer address { line-height: 1.7; overflow-wrap: anywhere; }
.brand--footer { color: #ffffff; }
.brand--footer .brand__op { color: var(--sky); }
.site-footer__h { margin: 0 0 12px; color: #ffffff; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.socials { list-style: none; display: flex; gap: 8px; margin: 20px 0 0; padding: 0; }
.socials a, .socials__inert { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / 0.25); border-radius: 50%; color: var(--on-band); }
.socials__inert { cursor: default; }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-block: 20px 28px; border-top: 1px solid rgb(255 255 255 / 0.14);
}
.site-footer__base p { margin: 0; }
.credits { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer :focus-visible { outline-color: var(--sky); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: auto; } }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .site-footer { background: #020814; border-top: 1px solid var(--line); }
}
:root[data-theme="dark"] .site-footer { background: #020814; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------- Motion */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
	.js .reveal { opacity: 0; transform: translateY(16px); }
	.js .reveal.is-in {
		opacity: 1; transform: none;
		transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
	}
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important; scroll-behavior: auto !important;
	}
}

/* ---------------------------------------------------------------- Print */
@media print {
	.site-header, .site-footer, .cta-band, .skip { display: none; }
	body { background: #ffffff; color: #000000; }
}
