/* ---------------------------------------------------------------------------
   TechLedger Solutions — prospectus design system.

   The treatment is institutional rather than promotional: a flat navy field
   instead of a photographic hero, an editorial serif carrying the reading, a
   single accent, and rules instead of cards and shadows. The work speaks
   through evidence — numbers, named clients, plain description — not through
   gradients and glow.

   Scope: public-facing pages. The dashboard keeps dashboard.css untouched.
   --------------------------------------------------------------------------- */

:root {
	/* Light only, and declared so the browser does not auto-darken form
	   controls and scrollbars for a visitor whose system is set to dark. */
	color-scheme: light;

	/* Navy is the brand blue (#1A4A8A) darkened into a flat field that white
	   text sits on at full contrast. */
	--site-navy:        #0f2c52;
	--site-navy-2:      #17396a;

	--site-paper:       #ffffff;
	--site-paper-2:     #f7f8fa;
	--site-ink:         #15192b;
	--site-ink-2:       #454c62;
	--site-muted:       #6b7385;
	--site-rule:        #dcdfe7;

	/* One accent, used sparingly: calls to action, section markers, hover.
	   Taken from the existing brand palette so the navy/red pairing this
	   treatment depends on stays inside TechLedger's own colours. */
	--site-accent:      #c0392b;
	--site-accent-ink:  #9e2f23;

	--site-onnavy:      #e8ecf6;
	--site-onnavy-mute: #a9b5d0;

	--site-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--site-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--site-measure: 66ch;
}

/* --------------------------------------------------------------- base ---- */

/* Scoped to the public shell rather than a global `*`, so the dashboard's own
   stylesheet is unaffected. */
.site-body,
.site-body *,
.site-body *::before,
.site-body *::after {
	box-sizing: border-box;
}

.site-body {
	margin: 0;
	background: var(--site-paper);
	color: var(--site-ink);
	font-family: var(--site-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* The serif carries every heading. It is the single largest reason this reads
   as a document rather than a landing page. */
:where(.site-body) :where(h1, h2, h3),
.site-serif {
	font-family: var(--site-serif);
	font-weight: 400;
	letter-spacing: -0.005em;
	text-wrap: balance;
	margin: 0;
}

.site-body img { max-width: 100%; }

.site-wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 28px;
}

.site-skip {
	position: absolute;
	left: -9999px;
}
.site-skip:focus {
	left: 12px;
	top: 12px;
	z-index: 100;
	background: #fff;
	color: var(--site-ink);
	padding: 10px 16px;
}

/* Small uppercase label used above headings and in the utility bar. */
.site-label {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--site-muted);
}

/* -------------------------------------------------------------- buttons --- */

.site-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--site-sans);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	padding: 14px 30px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.site-btn:focus-visible { outline: 3px solid var(--site-accent); outline-offset: 3px; }
.site-btn--accent  { background: var(--site-accent); color: #fff; }
.site-btn--accent:hover { background: var(--site-accent-ink); }
.site-btn--outline { border-color: var(--site-accent); color: #fff; }
.site-btn--outline:hover { background: var(--site-accent); }
.site-btn--quiet   { border-color: var(--site-navy); color: var(--site-ink); }
.site-btn--quiet:hover { border-color: var(--site-accent); color: var(--site-accent); }
.site-btn--block   { width: 100%; }

/* -------------------------------------------------------------- header ---- */

.site-util {
	background: var(--site-navy);
	color: var(--site-onnavy-mute);
	font-size: 0.78rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.site-util .site-wrap {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	align-items: center;
	flex-wrap: wrap;
}
.site-util a { text-decoration: none; color: inherit; }
.site-util a:hover { color: #fff; text-decoration: underline; }

.site-header { background: var(--site-navy); color: #fff; }
.site-header .site-wrap {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 82px;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	margin-right: auto;
	color: #fff;
}
.site-brand__mark {
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
	padding: 4px;
}
.site-brand__name {
	display: block;
	font-family: var(--site-serif);
	font-size: 1.16rem;
	line-height: 1.15;
	letter-spacing: 0.01em;
}
.site-brand__sub {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--site-onnavy-mute);
}

.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
	text-decoration: none;
	font-size: 0.88rem;
	color: var(--site-onnavy);
	padding: 4px 0;
	border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--site-accent); }

.site-nav-toggle {
	display: none;
	background: none;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	padding: 9px 14px;
	font-family: var(--site-sans);
	font-size: 0.85rem;
	cursor: pointer;
}

/* ---------------------------------------------------------------- hero ---- */

.site-hero {
	background: var(--site-navy);
	color: #fff;
	text-align: center;
	padding: 76px 0 96px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	--hero-cycle: 28s;
	--hero-count: 3;
	--hero-fade: 1.68s;
}
.site-hero__stage { position: absolute; inset: 0; z-index: -3; }
.site-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
}
.site-hero__slide:first-child { opacity: 1; }
.js-motion .site-hero__slide { animation: site-hero-fade var(--hero-cycle, 28s) infinite; }
.js-motion .site-hero__slide:nth-child(1) { animation-delay: calc(var(--hero-cycle) / var(--hero-count) * 0 - var(--hero-fade)); }
.js-motion .site-hero__slide:nth-child(2) { animation-delay: calc(var(--hero-cycle) / var(--hero-count) * 1 - var(--hero-fade)); }
.js-motion .site-hero__slide:nth-child(3) { animation-delay: calc(var(--hero-cycle) / var(--hero-count) * 2 - var(--hero-fade)); }

@keyframes site-hero-fade {
	0%   { opacity: 0; }
	4%   { opacity: 1; }
	33%  { opacity: 1; }
	38%  { opacity: 0; }
	100% { opacity: 0; }
}

.site-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(85% 70% at 50% 46%, rgba(9, 26, 62, 0.66) 0%, rgba(9, 26, 62, 0.54) 55%, rgba(9, 26, 62, 0.38) 100%),
		linear-gradient(rgba(6, 18, 44, 0.6) 0%, rgba(6, 18, 44, 0.2) 38%, rgba(6, 18, 44, 0.6) 100%);
}
.site-hero__controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; }
.site-hero__controls .site-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.site-hero__dots { display: flex; gap: 9px; list-style: none; margin: 0; padding: 0; }
.site-hero__dots button {
	width: 34px;
	height: 3px;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.36);
}
.site-hero__dots button[aria-current="true"] { background: var(--site-accent); }
.site-hero__dots button:focus-visible { outline: #fff solid 2px; outline-offset: 3px; }

/* The accent rule cutting across the top-right corner. */
.site-hero::after {
	content: "";
	position: absolute;
	top: -120px;
	right: -60px;
	width: 520px;
	height: 320px;
	border-top: 2px solid var(--site-accent);
	transform: rotate(-24deg);
	opacity: 0.85;
	pointer-events: none;
}
.site-hero .site-wrap { position: relative; z-index: 1; }
.site-hero h1 {
	font-size: clamp(2.3rem, 5vw, 3.7rem);
	line-height: 1.08;
	margin-bottom: 20px;
	text-shadow: rgba(4, 12, 30, 0.5) 0 2px 30px;
}

.site-modes {
	display: flex;
	gap: 22px;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	font-size: 0.85rem;
	color: var(--site-onnavy-mute);
}

.site-lead {
	font-family: var(--site-serif);
	font-size: clamp(1.12rem, 2vw, 1.5rem);
	line-height: 1.5;
	color: #fff;
	max-width: 40ch;
	margin: 0 auto 32px;
	text-shadow: rgba(4, 12, 30, 0.45) 0 1px 18px;
}

.site-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------ masthead ---- */

/* Inner pages get a flat navy band rather than the photographic hero. */
.site-masthead {
	background: var(--site-navy);
	color: #fff;
	padding: 54px 0 58px;
	position: relative;
	overflow: hidden;
}
.site-masthead::after {
	content: "";
	position: absolute;
	top: -90px;
	right: -40px;
	width: 380px;
	height: 240px;
	border-top: 2px solid var(--site-accent);
	transform: rotate(-24deg);
	opacity: 0.8;
	pointer-events: none;
}
.site-masthead .site-wrap { position: relative; z-index: 1; }
.site-masthead h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	margin: 10px 0 0;
	max-width: 22ch;
}
.site-masthead__label { color: var(--site-onnavy-mute); }
.site-masthead p { color: var(--site-onnavy); max-width: 58ch; margin-top: 16px; }

/* ------------------------------------------------------------- crumbs ----- */

.site-crumbs {
	border-bottom: 1px solid var(--site-rule);
	font-size: 0.8rem;
	color: var(--site-muted);
}
.site-crumbs .site-wrap {
	min-height: 48px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.site-crumbs a { text-decoration: none; color: var(--site-ink-2); }
.site-crumbs a:hover { text-decoration: underline; }

/* --------------------------------------------------------- body layout ---- */

.site-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 64px;
	padding: 56px 0 96px;
	align-items: start;
}

.site-article > section {
	padding-bottom: 52px;
	margin-bottom: 52px;
	border-bottom: 1px solid var(--site-rule);
}
.site-article > section:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}
.site-article h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.18; margin-bottom: 20px; }
.site-article h3 { font-size: 1.18rem; margin-bottom: 8px; }
.site-article p { color: var(--site-ink-2); margin-bottom: 18px; max-width: var(--site-measure); }
.site-article p:last-child { margin-bottom: 0; }

.site-column { padding-top: 56px; padding-bottom: 88px; }
.site-column--narrow { max-width: 820px; }

/* ---------------------------------------------------------------- rail ---- */

.site-rail {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.site-rail__box { border: 1px solid var(--site-rule); padding: 24px; }
.site-rail__box--accent { border-color: var(--site-accent); }
.site-rail__box h2, .site-rail__box h3 { font-size: 1.15rem; margin-bottom: 16px; }
.site-rail__box dl { margin: 0; display: flex; flex-direction: column; }
.site-rail__box dl > div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid var(--site-rule);
	font-size: 0.88rem;
}
.site-rail__box dl > div:last-child { border-bottom: 0; }
.site-rail__box dt { color: var(--site-muted); }
.site-rail__box dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.site-rail__actions { display: flex; flex-direction: column; gap: 12px; }
.site-rail__links { display: flex; flex-direction: column; gap: 11px; font-size: 0.9rem; margin-top: 12px; }
.site-rail__links a { color: var(--site-accent); text-decoration: none; font-weight: 600; }
.site-rail__links a:hover { text-decoration: underline; }

.site-contents ol {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: site-toc 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.site-contents li { counter-increment: site-toc 1; font-size: 0.9rem; }
.site-contents li a { text-decoration: none; display: flex; gap: 12px; color: var(--site-ink-2); }
.site-contents li a::before {
	content: counter(site-toc);
	color: var(--site-muted);
	font-variant-numeric: tabular-nums;
	min-width: 14px;
}
.site-contents li a:hover { color: var(--site-accent); }

/* ------------------------------------------------------- article pieces --- */

.site-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: site-step 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.site-steps li {
	counter-increment: site-step 1;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 18px;
	align-items: start;
}
.site-steps li::before {
	content: counter(site-step);
	font-family: var(--site-serif);
	font-size: 1.4rem;
	color: var(--site-accent);
	border-top: 2px solid var(--site-accent);
	padding-top: 8px;
}
.site-steps b { display: block; margin-bottom: 3px; }
.site-steps span { color: var(--site-ink-2); font-size: 0.94rem; }

.site-rows { display: flex; flex-direction: column; }
.site-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	padding: 22px 0;
	border-bottom: 1px solid var(--site-rule);
	text-decoration: none;
	color: inherit;
}
.site-row:hover h3 { color: var(--site-accent); }
.site-row p { margin: 4px 0 0; font-size: 0.9rem; color: var(--site-muted); }
.site-row__meta {
	font-size: 0.85rem;
	color: var(--site-muted);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.site-table-wrap { overflow-x: auto; }
.site-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.site-table th, .site-table td {
	text-align: left;
	padding: 14px 10px;
	border-bottom: 1px solid var(--site-rule);
}
.site-table th {
	font-family: var(--site-sans);
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--site-muted);
	font-weight: 700;
}
.site-table td:last-child { font-variant-numeric: tabular-nums; }

.site-quote { border-left: 3px solid var(--site-accent); padding-left: 26px; }
.site-quote p {
	font-family: var(--site-serif);
	font-size: 1.3rem;
	line-height: 1.45;
	color: var(--site-ink);
	max-width: 52ch;
}
.site-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.86rem; color: var(--site-muted); }

.site-defs { margin: 0; }
.site-defs > div { padding: 18px 0; border-bottom: 1px solid var(--site-rule); }
.site-defs > div:last-child { border-bottom: 0; padding-bottom: 0; }
.site-defs dt { font-family: var(--site-serif); font-size: 1.18rem; margin-bottom: 5px; }
.site-defs dd { margin: 0; color: var(--site-ink-2); font-size: 0.95rem; max-width: var(--site-measure); }

/* --------------------------------------------------------------- lists ---- */

.site-ticks { list-style: none; margin: 0; padding: 0; }
.site-ticks li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 11px;
	color: var(--site-ink-2);
	max-width: var(--site-measure);
}
.site-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 9px;
	height: 9px;
	background: var(--site-accent);
}
.site-ticks strong { color: var(--site-ink); }

/* ---------------------------------------------------------------- cards --- */

.site-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}
.site-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.site-card__media {
	aspect-ratio: 3 / 2;
	background: var(--site-paper-2);
	border: 1px solid var(--site-rule);
	overflow: hidden;
	margin-bottom: 14px;
}
.site-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-card__meta {
	font-size: 0.76rem;
	color: var(--site-muted);
	font-variant-numeric: tabular-nums;
	margin-bottom: 6px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.site-card h2, .site-card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; }
.site-card:hover h2, .site-card:hover h3 { color: var(--site-accent); }
.site-card p { font-size: 0.9rem; color: var(--site-muted); }

/* --------------------------------------------------------------- prose ---- */

.site-prose { max-width: var(--site-measure); }
.site-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 40px 0 16px; }
.site-prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.site-prose p { color: var(--site-ink-2); margin-bottom: 18px; }
.site-prose ul, .site-prose ol { color: var(--site-ink-2); margin: 0 0 18px; padding-left: 22px; }
.site-prose li { margin-bottom: 8px; }
.site-prose a { color: var(--site-accent); }

.site-figure { margin: 0 0 34px; }
.site-figure img { width: 100%; display: block; border: 1px solid var(--site-rule); }
.site-figure figcaption { font-size: 0.8rem; color: var(--site-muted); margin-top: 8px; }

/* ------------------------------------------------------------- numbers ---- */

.site-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 2px;
	background: var(--site-rule);
	border: 1px solid var(--site-rule);
	margin: 8px 0 40px;
}
.site-stat { background: var(--site-paper); padding: 24px 22px; }
.site-stat b {
	display: block;
	font-family: var(--site-serif);
	font-size: 2.1rem;
	line-height: 1.1;
	color: var(--site-navy);
	font-variant-numeric: tabular-nums;
}
.site-stat span { font-size: 0.84rem; color: var(--site-muted); }

/* ------------------------------------------------------------ chipnav ----- */

.site-filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	padding: 22px 0;
	border-bottom: 1px solid var(--site-rule);
	margin-bottom: 34px;
}
.site-chipnav { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.site-chipnav a {
	display: inline-block;
	font-size: 0.84rem;
	padding: 8px 15px;
	border: 1px solid var(--site-rule);
	text-decoration: none;
	color: var(--site-ink-2);
}
.site-chipnav a:hover { border-color: var(--site-accent); color: var(--site-accent); }
.site-chipnav a[aria-current="true"] {
	background: var(--site-navy);
	border-color: var(--site-navy);
	color: #fff;
}

/* --------------------------------------------------------------- forms ---- */

.site-form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.site-field { display: flex; flex-direction: column; gap: 7px; }
.site-field label { font-size: 0.86rem; font-weight: 600; }
.site-field input,
.site-field select,
.site-field textarea {
	font-family: var(--site-sans);
	font-size: 0.95rem;
	padding: 12px 14px;
	border: 1px solid var(--site-rule);
	background: var(--site-paper);
	color: var(--site-ink);
	width: 100%;
	border-radius: 0;
}
.site-field textarea { min-height: 160px; resize: vertical; }
.site-field input:focus-visible,
.site-field select:focus-visible,
.site-field textarea:focus-visible {
	outline: 2px solid var(--site-accent);
	outline-offset: 1px;
}
.site-field .helptext { font-size: 0.82rem; color: var(--site-muted); }
.site-field .errorlist {
	font-size: 0.82rem;
	color: var(--site-accent);
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-note {
	border-left: 3px solid var(--site-accent);
	background: var(--site-paper-2);
	padding: 18px 22px;
	margin-bottom: 28px;
}
.site-note--ok { border-left-color: #1f7a3d; }
.site-note p { margin: 0; color: var(--site-ink-2); }
.site-note strong { color: var(--site-ink); }

/* ------------------------------------------------------------- endband ---- */

.site-endband {
	background: var(--site-navy);
	color: #fff;
	text-align: center;
	padding: 76px 0;
}
.site-endband h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.site-endband p { color: var(--site-onnavy-mute); max-width: 48ch; margin: 0 auto 28px; }

/* -------------------------------------------------------------- footer ---- */

.site-footer {
	background: var(--site-paper-2);
	border-top: 1px solid var(--site-rule);
	padding: 56px 0 30px;
	font-size: 0.88rem;
}
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h2 {
	font-family: var(--site-sans);
	font-size: 0.71rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--site-muted);
	margin: 0 0 14px;
	font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { text-decoration: none; color: var(--site-ink-2); }
.site-footer a:hover { color: var(--site-accent); }
.site-footer__name { font-size: 1.15rem; margin: 0 0 10px; }
.site-footer__blurb { color: var(--site-muted); max-width: 34ch; }
.site-footer__bottom {
	margin-top: 38px;
	padding-top: 20px;
	border-top: 1px solid var(--site-rule);
	color: var(--site-muted);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.8rem;
}

/* --------------------------------------------------------- breakpoints ---- */

@media (max-width: 960px) {
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--site-navy-2);
		flex-direction: column;
		gap: 0;
		padding: 8px 28px 20px;
		z-index: 30;
	}
	.site-nav[data-open="true"] { display: flex; }
	.site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.site-nav-toggle { display: inline-block; }
	.site-header .site-wrap { position: relative; }
	.site-grid { grid-template-columns: 1fr; gap: 40px; }
	.site-rail { position: static; order: -1; }
	.site-row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-hero { padding: 56px 0 64px; }
}

@media (max-width: 560px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-cta-row .site-btn { width: 100%; }

	/* The brand sits between the mark and the menu button on a narrow screen,
	   and at full size the two words break onto separate lines. */
	.site-header .site-wrap { gap: 14px; }
	.site-brand { gap: 10px; }
	.site-brand__mark { width: 42px; height: 42px; }
	.site-brand__name { font-size: 0.98rem; }
	/* Both the name and the descriptor wrap at this width, which stacks four
	   lines of header before the page has said anything. The name alone
	   identifies the company; the descriptor returns above 560px. */
	.site-brand__sub { display: none; }
	.site-util { font-size: 0.72rem; }
	.site-modes { gap: 6px 18px; }
}

/* ==========================================================================
   Motion. The movement is deliberately small — this is a prospectus, and text
   sliding about undermines the tone it is trying to set.
   ========================================================================== */

.site-reveal { --reveal-shift: 14px; }

.js-motion .site-reveal {
	opacity: 0;
	transform: translateY(var(--reveal-shift));
	transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js-motion .site-reveal.is-in { opacity: 1; transform: none; }

.js-motion .site-reveal-group > * {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js-motion .site-reveal-group.is-in > * { opacity: 1; transform: none; }
.js-motion .site-reveal-group.is-in > *:nth-child(1) { transition-delay: 0ms; }
.js-motion .site-reveal-group.is-in > *:nth-child(2) { transition-delay: 70ms; }
.js-motion .site-reveal-group.is-in > *:nth-child(3) { transition-delay: 140ms; }
.js-motion .site-reveal-group.is-in > *:nth-child(4) { transition-delay: 210ms; }
.js-motion .site-reveal-group.is-in > *:nth-child(5) { transition-delay: 280ms; }
.js-motion .site-reveal-group.is-in > *:nth-child(6) { transition-delay: 350ms; }
.js-motion .site-reveal-group.is-in > *:nth-child(n + 7) { transition-delay: 420ms; }

/* The hero is above the fold, so it plays on load rather than on scroll. */
.js-motion .site-hero h1,
.js-motion .site-hero .site-modes,
.js-motion .site-hero .site-lead,
.js-motion .site-hero .site-cta-row,
.js-motion .site-masthead .site-label,
.js-motion .site-masthead h1,
.js-motion .site-masthead p {
	animation: site-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
/* The heading now leads the hero, so it starts without a delay; the rest keep
   the same spacing behind it. */
.js-motion .site-hero .site-modes   { animation-delay: 80ms; }
.js-motion .site-hero .site-lead    { animation-delay: 140ms; }
.js-motion .site-hero .site-cta-row { animation-delay: 220ms; }
.js-motion .site-masthead h1        { animation-delay: 70ms; }
.js-motion .site-masthead p         { animation-delay: 140ms; }

@keyframes site-rise {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

/* The accent rule draws itself once, rather than simply appearing. */
.js-motion .site-hero::after { animation: site-rule 1.1s ease-out 0.25s both; }
@keyframes site-rule {
	from { opacity: 0; width: 0; }
	to   { opacity: 0.85; width: 520px; }
}

.site-header { transition: box-shadow 0.25s ease; }
.site-header.is-stuck { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 20px rgba(4, 12, 30, 0.28); }

.site-row,
.site-card__media img { transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
.site-card:hover .site-card__media img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
	.site-body * { transition: none !important; animation: none !important; }
	.js-motion .site-reveal,
	.js-motion .site-reveal-group > * {
		opacity: 1 !important;
		transform: none !important;
	}
	.site-hero__slide { animation: none !important; opacity: 0 !important; }
	.site-hero__slide:first-child { opacity: 1 !important; }
	.site-hero__controls { display: none; }
}
