/* ==========================================================================
   CTPL — front-end styles
   Direction: corporate technology. Inset dark-navy hero and CTA panels,
   centred eyebrow + heading on every section, white cards floating over
   tinted backgrounds, a full-bleed navy figures band.
   Order: tokens → reset → typography → layout → components → breakpoints.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — both blues are sampled from the Concord Technosoft logo.
   -------------------------------------------------------------------------- */
:root {
	--blue-deep:   #2860a8;
	--blue-bright: #18b8f8;
	--blue-ink:    #1c4a86;

	--navy:      #0b1e42;
	--navy-2:    #14295a;
	--navy-line: rgba(255, 255, 255, 0.12);

	--ink:       #101a2b;
	--ink-soft:  #56637a;
	--ink-faint: #8792a5;

	--paper:     #ffffff;
	--paper-alt: #f4f7fb;
	--paper-tint:#eef3fa;
	--line:      #e2e8f1;

	/* Inter for reading, Plus Jakarta Sans for headings and UI. Loaded in
	   inc/assets.php — see assets/fonts/README.md to self-host instead. */
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
	--step-0:  clamp(1rem, 0.97rem + 0.18vw, 1.06rem);
	--step-1:  clamp(1.18rem, 1.09rem + 0.45vw, 1.4rem);
	--step-2:  clamp(1.5rem, 1.29rem + 1vw, 2.05rem);
	--step-3:  clamp(1.85rem, 1.45rem + 1.9vw, 2.75rem);
	--step-4:  clamp(2.2rem, 1.55rem + 3vw, 3.6rem);

	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2.5rem;
	--space-5: 4.5rem;
	--space-6: 6.5rem;

	--shell: 1320px;
	--shell-narrow: 820px;
	--radius: 6px;
	--radius-lg: 14px;
	--header-h: 82px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--shadow-card: 0 18px 45px rgba(16, 26, 43, 0.08);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.7;
	letter-spacing: -0.003em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-ink); }
button { font: inherit; }
ul, ol { padding-left: 1.1rem; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -0.028em;
	font-feature-settings: "ss01", "cv05";
	margin: 0 0 var(--space-2);
	text-wrap: balance;
}

p { margin: 0 0 var(--space-2); }

.lede { font-size: var(--step-1); line-height: 1.6; color: var(--ink-soft); }

/* The recurring marker: a small bright-blue uppercase label above the heading. */
.eyebrow {
	font-family: var(--font-display);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--blue-bright);
	margin: 0 0 var(--space-1);
}

.eyebrow__tick { display: none; }

.section__intro { text-align: center; max-width: 720px; margin: 0 auto var(--space-4); }
.section__intro .section__title { font-size: var(--step-2); margin: 0; }
.section__intro .lede { margin-top: var(--space-2); }

.section__title { font-size: var(--step-2); }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-3); }
.prose img { margin: var(--space-3) 0; border-radius: var(--radius); }
.prose blockquote {
	margin: var(--space-3) 0;
	padding-left: var(--space-3);
	border-left: 3px solid var(--blue-bright);
	font-size: var(--step-1);
	color: var(--ink-soft);
}
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--paper-alt); padding: 0.15em 0.4em; }
.prose pre { background: var(--navy); color: #e8f1fb; padding: var(--space-3); overflow-x: auto; font-size: var(--step--1); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 0.65rem 0.5rem; text-align: left; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.shell--narrow { width: min(100% - 2.5rem, var(--shell-narrow)); }

.section { padding-block: var(--space-5); }
.section--narrow { padding-block: var(--space-4); }
.section--tint { background: var(--paper-alt); }
.section--quote { background: var(--paper-alt); }
.section--newsletter { background: var(--paper-alt); }

.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-2);
	flex-wrap: wrap;
	margin-bottom: var(--space-3);
}

.skip-link:focus {
	position: fixed;
	inset-block-start: 0.5rem;
	inset-inline-start: 0.5rem;
	z-index: 999;
	background: var(--navy);
	color: #fff;
	padding: 0.6rem 1rem;
	clip: auto;
	width: auto;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. Header — logo left, navigation centred, actions right
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	height: var(--header-h);
	transition: height 0.25s var(--ease);
}

.site-header.is-compressed .site-header__inner { height: 64px; }

.site-header__brand { flex: none; }
.site-header__brand img { max-height: 40px; width: auto; }

.wordmark {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--blue-deep);
	text-decoration: none;
}

.site-nav { margin-inline: auto; }

.site-nav__list { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }

.site-nav__list a {
	color: var(--ink);
	text-decoration: none;
	font-family: var(--font-display);
	font-size: var(--step--1);
	font-weight: 600;
	padding-block: 0.5rem;
	border-bottom: 2px solid transparent;
	transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a { color: var(--blue-deep); border-bottom-color: var(--blue-bright); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px; height: 1.5px;
	background: var(--ink);
	margin-inline: auto;
	transition: transform 0.2s var(--ease);
}
.nav-toggle__bars::before { content: ""; transform: translateY(-6px); }
.nav-toggle__bars::after  { content: ""; transform: translateY(4.5px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(1.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-1.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: var(--step--1);
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn--sm { padding: 0.6rem 1.1rem; }
.btn--primary { background: var(--blue-bright); color: #06243a; }
.btn--primary:hover { background: #0fa5e2; color: #06243a; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.btn--invert { background: #fff; color: var(--blue-deep); }
.btn--invert:hover { background: var(--paper-tint); color: var(--blue-ink); }

.hero .btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; }

.link-arrow {
	font-size: var(--step--1);
	font-weight: 600;
	text-decoration: none;
	color: var(--blue-deep);
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--blue-ink); }

.ext {
	display: inline-block;
	width: 0.5em; height: 0.5em;
	margin-inline-start: 0.2em;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-0.15em) rotate(45deg);
}

/* --------------------------------------------------------------------------
   7. Hero — inset rounded navy panel
   -------------------------------------------------------------------------- */
.hero { padding: var(--space-2) 0 0; }

.hero__panel {
	background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-ink) 100%);
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	color: #fff;
}

/* Faint dot field, drawn in CSS so it costs nothing in page weight. */
.hero__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: 0.5;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	align-items: center;
	padding: var(--space-5) var(--space-4);
}

.hero .eyebrow { color: var(--blue-bright); }

.hero__headline { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; color: #fff; max-width: 16ch; margin-bottom: var(--space-3); }
.hero__headline em { font-style: normal; color: var(--blue-bright); }

.hero__sub { font-size: var(--step-1); color: rgba(255, 255, 255, 0.78); max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

.hero__visual img { border-radius: var(--radius); width: 100%; }
.hero__visual img[src$=".svg"] { border-radius: 0; }

/* The static SVG is the fallback; the canvas replaces it once JS runs. */
.hero__network { position: relative; aspect-ratio: 9 / 7; }
.hero__network img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s var(--ease); }
.hero__canvas.is-live { opacity: 1; }
.hero__network:has(.is-live) img { opacity: 0; transition: opacity 0.6s var(--ease); }

/* --------------------------------------------------------------------------
   8. Who we are
   Two columns that both carry content, so the section holds up whether or not
   images have been added. Heading left, substance right.
   -------------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: center; }

.about__heading {
	font-size: var(--step-2);
	margin: 0;
	text-wrap: pretty;
}

.about__lead { position: relative; }

.about__lead::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	background: var(--blue-bright);
	margin-top: var(--space-3);
}

/* With images present the column gets tall, so pin the copy to the top. */
.about__grid:has(.about__media) { align-items: start; }

.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-3); }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.about__media img:last-child:nth-child(2) { margin-top: var(--space-3); }

.about__body .lede { margin-bottom: var(--space-3); max-width: 58ch; }
.about__link { margin: var(--space-3) 0 0; }

.about-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2);
}

.about-point {
	display: flex;
	gap: var(--space-2);
	align-items: flex-start;
	background: var(--paper-alt);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.about-point:hover { background: var(--paper-tint); transform: translateY(-2px); }

.about-point__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius);
	background: var(--blue-deep);
	color: #fff;
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.about-point__title { font-size: var(--step-0); margin: 0 0 0.25rem; }
.about-point__text { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   9. Capability panel — white card raised over the tinted band
   -------------------------------------------------------------------------- */
.section--panel { background: var(--paper-tint); }

.panel-card {
	background: var(--paper);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: var(--space-4) var(--space-3);
}

.cap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-3); }

.cap-grid__item { padding: var(--space-2); border-radius: var(--radius); transition: background-color 0.2s var(--ease); }
.cap-grid__item:hover { background: var(--paper-alt); }

.cap-grid__marker {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: var(--radius);
	background: var(--paper-tint);
	color: var(--blue-deep);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: var(--space-2);
}

.cap-grid__title { font-size: var(--step-0); margin-bottom: 0.35rem; }
.cap-grid__text { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   10. Figures band — full-bleed navy
   -------------------------------------------------------------------------- */
.stats { background: var(--navy); padding-block: var(--space-4); position: relative; overflow: hidden; }

.stats::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 26px 26px;
	opacity: 0.45;
}

.stats .shell { position: relative; z-index: 1; }

.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: 0; text-align: center; }

.stats__value {
	font-family: var(--font-display);
	font-size: var(--step-3);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--blue-bright);
}

.stats__label { margin: 0.5rem 0 0; font-size: var(--step--1); color: rgba(255, 255, 255, 0.72); }

/* Outcome metrics on portfolio pages reuse the list on a light background. */
.section--outcome { background: var(--paper-alt); }
.section--outcome .stats__value { color: var(--blue-deep); }
.section--outcome .stats__label { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.card-grid, .post-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }

.card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

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

.card__media { display: block; background: var(--paper-alt); aspect-ratio: 10 / 7; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--navy-2);
	background-size: cover;
	background-position: center;
}

.card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.55rem; }
.card__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0; }

.tag {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--blue-deep);
	background: var(--paper-tint);
	padding: 0.28rem 0.55rem;
	border-radius: 3px;
	text-decoration: none;
}

.tag--muted { color: var(--ink-faint); background: var(--paper-alt); }

.card__title { font-size: var(--step-1); margin: 0; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--blue-deep); }

.card__tagline, .card__excerpt { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

.card__meta { margin: 0; font-size: 0.78rem; color: var(--ink-faint); display: flex; gap: 0.4rem; }
.card__outbound { font-size: var(--step--1); font-weight: 600; text-decoration: none; margin-top: auto; }

/* --------------------------------------------------------------------------
   12. Insights feature — one large post beside two stacked
   -------------------------------------------------------------------------- */
.insight-feature { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.insight-feature__side { display: grid; gap: var(--space-3); }

.insight-tile {
	position: relative;
	display: flex;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--navy);
	min-height: 220px;
	text-decoration: none;
	color: #fff;
}

.insight-tile--lead { min-height: 340px; }
.insight-tile, .insight-tile * { text-decoration: none; }

.insight-tile img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0.62;
	transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}

.insight-tile:hover img { transform: scale(1.04); opacity: 0.5; }

.insight-tile__body {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: var(--space-3);
	background: linear-gradient(to top, rgba(11, 30, 66, 0.9) 0%, rgba(11, 30, 66, 0.15) 70%);
}

.insight-tile__cat {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue-bright);
	margin: 0 0 0.4rem;
}

.insight-tile__title { display: block; font-size: var(--step-1); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: #fff; margin: 0 0 0.5rem; max-width: 24ch; }
.insight-tile--lead .insight-tile__title { font-size: var(--step-2); }
.insight-tile__meta { display: block; margin: 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   13. Feature list, chips
   -------------------------------------------------------------------------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.feature-list li { padding-left: 1.5rem; position: relative; color: var(--ink-soft); }
.feature-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.62em;
	width: 9px; height: 9px;
	border-radius: 2px;
	background: var(--blue-bright);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chip { font-size: 0.8rem; border: 1px solid var(--line); border-radius: 20px; padding: 0.32rem 0.8rem; color: var(--ink-soft); background: var(--paper); }

/* --------------------------------------------------------------------------
   14. Logo strip
   -------------------------------------------------------------------------- */
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }

.logo-strip__item { display: grid; place-items: center; padding: var(--space-2); min-height: 80px; }

.logo-strip__item img {
	max-height: 40px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.55;
	transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}

.logo-strip__item:hover img { filter: grayscale(0); opacity: 1; }

/* --------------------------------------------------------------------------
   15. Quotes
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }

.quote {
	margin: 0;
	background: var(--paper);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: var(--space-3);
}

.quote__text { margin: 0 0 var(--space-3); padding: 0; border: 0; font-size: var(--step-0); color: var(--ink-soft); line-height: 1.7; }
.quote__text p { margin: 0; }
.quote__text p::before { content: "“"; }
.quote__text p::after { content: "”"; }

.quote__meta { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.quote__photo img { width: 52px; height: 52px; border-radius: var(--radius); object-fit: cover; }
.quote__who { display: flex; flex-direction: column; font-size: var(--step--1); }
.quote__who span { color: var(--ink-faint); }
.quote__logo { margin-inline-start: auto; }
.quote__logo img { max-height: 26px; width: auto; filter: grayscale(1); opacity: 0.55; }

/* --------------------------------------------------------------------------
   16. Page header, filters, pagination
   -------------------------------------------------------------------------- */
/* Every inner page gets the same banner treatment as the hero, so the site
   reads as one thing rather than a homepage plus some documents. */
.page-header { padding: var(--space-2) 0 0; }

.page-header__panel {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 58%, var(--blue-ink) 100%);
	color: #fff;
	padding: var(--space-5) var(--space-4);
	text-align: center;
}

.page-header__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: 0.45;
	pointer-events: none;
}

.page-header__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.55;
	pointer-events: none;
	/* Fade the centre so the heading always has clean ground under it. */
	mask-image: radial-gradient(ellipse 55% 75% at 50% 50%, transparent 20%, #000 78%);
	-webkit-mask-image: radial-gradient(ellipse 55% 75% at 50% 50%, transparent 20%, #000 78%);
}

.page-header__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.page-header .eyebrow { justify-content: center; }
.page-header__title { font-size: var(--step-3); color: #fff; margin-bottom: var(--space-2); }
.page-header__subtitle { font-size: var(--step-1); color: rgba(255, 255, 255, 0.78); max-width: 56ch; margin: 0 auto; }

/* Templates that follow the banner with a white panel need the gap closed. */
.page-header + .section { padding-top: var(--space-4); }

.filters { border-bottom: 1px solid var(--line); background: var(--paper); }
.filters__list { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; overflow-x: auto; justify-content: center; }
.filters__link {
	display: block;
	padding: 1rem 0;
	font-size: var(--step--1);
	font-weight: 500;
	color: var(--ink-faint);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.filters__link:hover { color: var(--ink); }
.filters__link.is-active { color: var(--blue-deep); border-bottom-color: var(--blue-bright); }

.pagination { margin-top: var(--space-4); text-align: center; }
.pagination .page-numbers {
	display: inline-block;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	font-size: var(--step--1);
	color: var(--ink);
}
.pagination .page-numbers.current { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }

/* --------------------------------------------------------------------------
   17. Portfolio detail
   -------------------------------------------------------------------------- */
.work__hero { padding: var(--space-2) 0 0; }

.work__hero-inner {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
	align-items: center;
	background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue-ink) 100%);
	border-radius: var(--radius-lg);
	padding: var(--space-5) var(--space-4);
	color: #fff;
}

.work__hero-inner .tag { background: rgba(255, 255, 255, 0.14); color: var(--blue-bright); }
.work__title { font-size: var(--step-3); color: #fff; margin-bottom: 0.6rem; }
.work__tagline { font-size: var(--step-1); color: rgba(255, 255, 255, 0.78); margin-bottom: var(--space-3); }
.work__hero-visual img { border-radius: var(--radius); }

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.gallery-grid__item { margin: 0; }
.gallery-grid__item img { border: 1px solid var(--line); border-radius: var(--radius); width: 100%; }
.gallery-grid figcaption { font-size: var(--step--1); color: var(--ink-faint); margin-top: 0.5rem; }

.section--visit { text-align: center; }

/* --------------------------------------------------------------------------
   18. Blog single
   -------------------------------------------------------------------------- */
.post-single__header { padding-block: var(--space-5) var(--space-3); text-align: center; background: var(--paper-alt); border-radius: 0; }
.post-single__header .card__tags { justify-content: center; }
.post-single__title { font-size: var(--step-3); margin-inline: auto; max-width: 22ch; }
.post-single__meta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: var(--step--1); color: var(--ink-faint); margin: 0; }
.post-single__avatar { border-radius: 50%; }
.post-single__figure { margin: 0 0 var(--space-4); }
.post-single__figure img { width: 100%; border-radius: var(--radius-lg); }

.author-box {
	display: flex;
	gap: var(--space-2);
	align-items: flex-start;
	background: var(--paper-alt);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	margin-block: var(--space-4);
}
.author-box img { border-radius: 50%; }
.author-box__name { font-weight: 600; margin: 0 0 0.25rem; }
.author-box__bio { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   19. Newsletter, search, results
   -------------------------------------------------------------------------- */
.newsletter { padding: var(--space-3) 0; }
.newsletter__heading { font-size: var(--step-2); }
.newsletter__text { color: var(--ink-soft); max-width: 48ch; }

.newsletter__form, .search-form { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-block: var(--space-2); }

.newsletter__form input, .search-form input {
	flex: 1 1 220px;
	padding: 0.8rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: var(--step--1);
}

.newsletter__consent, .newsletter__pending { font-size: var(--step--1); color: var(--ink-faint); margin: 0; }
.newsletter--compact .newsletter__form { flex-direction: column; }
.newsletter--compact input { flex: 1 1 auto; background: rgba(255, 255, 255, 0.08); border-color: var(--navy-line); color: #fff; }
.newsletter--compact .newsletter__consent { color: rgba(255, 255, 255, 0.5); }

.result-list { list-style: none; margin: 0; padding: 0; }
.result { border-bottom: 1px solid var(--line); padding-block: var(--space-3); }
.result__type { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 0.35rem; }
.result__title { font-size: var(--step-1); margin: 0 0 0.35rem; }
.result__title a { color: var(--ink); text-decoration: none; }
.result__title a:hover { color: var(--blue-deep); }
.result__excerpt { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

.empty { color: var(--ink-soft); }
.link-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.section--404 { text-align: center; }

/* --------------------------------------------------------------------------
   20. CTA band — inset rounded blue panel
   -------------------------------------------------------------------------- */
.cta-band { padding-block: var(--space-5) 0; background: var(--paper); }

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	flex-wrap: wrap;
	background: linear-gradient(110deg, var(--blue-ink) 0%, var(--blue-deep) 60%, #2f7fd0 100%);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.cta-band__inner::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 24px 24px;
	opacity: 0.5;
	pointer-events: none;
}

.cta-band__inner > * { position: relative; z-index: 1; }

.cta-band__heading {
	font-size: var(--step-2);
	color: #fff;
	margin: 0 0 0.5rem;
	max-width: 20ch;
	padding-left: var(--space-2);
	border-left: 3px solid var(--blue-bright);
}

.cta-band__text { margin: 0 0 0 var(--space-2); color: rgba(255, 255, 255, 0.8); max-width: 46ch; }

.cta-band__actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.cta-band__phone { margin: 0; display: flex; flex-direction: column; }
.cta-band__phone span { font-size: var(--step--1); color: rgba(255, 255, 255, 0.7); }
.cta-band__phone a { font-size: var(--step-1); font-weight: 700; color: var(--blue-bright); text-decoration: none; }

/* --------------------------------------------------------------------------
   21. Footer — navy
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding-block: var(--space-5) var(--space-3); margin-top: var(--space-5); }

.site-footer .wordmark { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.site-footer__positioning { color: rgba(255, 255, 255, 0.6); font-size: var(--step--1); max-width: 34ch; margin-top: var(--space-2); }

.site-footer__heading { font-size: var(--step-0); font-weight: 600; color: #fff; margin: 0 0 var(--space-2); }

.site-footer__list, .social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.social { flex-direction: row; gap: var(--space-2); margin-top: var(--space-2); }

.site-footer__list a, .social a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: var(--step--1); }
.site-footer__list a:hover, .social a:hover { color: var(--blue-bright); }

.site-footer__address { font-style: normal; font-size: var(--step--1); color: rgba(255, 255, 255, 0.6); margin-bottom: var(--space-2); }

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: var(--space-2);
	flex-wrap: wrap;
	align-items: center;
	border-top: 1px solid var(--navy-line);
	margin-top: var(--space-4);
	padding-top: var(--space-3);
}

.site-footer__legal { margin: 0; font-size: var(--step--1); color: rgba(255, 255, 255, 0.55); }
.site-footer__reg { margin-inline-start: 0.5rem; }
.site-footer__legal-list { list-style: none; display: flex; gap: var(--space-2); margin: 0; padding: 0; flex-wrap: wrap; }
.site-footer__legal-list a { font-size: var(--step--1); color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.site-footer__legal-list a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   22. Breakpoints — mobile-first, so these only add
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
	.card-grid, .post-grid, .gallery-grid, .feature-list, .quotes { grid-template-columns: repeat(2, 1fr); }
	.cap-grid { grid-template-columns: repeat(2, 1fr); }
	.logo-strip { grid-template-columns: repeat(3, 1fr); }
	.stats__list { grid-template-columns: repeat(4, 1fr); }
	.newsletter--compact .newsletter__form { flex-direction: row; }
	.about-points { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
	.card-grid, .post-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.cap-grid { grid-template-columns: repeat(4, 1fr); }
	.logo-strip { grid-template-columns: repeat(5, 1fr); }
	.hero__inner, .work__hero-inner { grid-template-columns: 1.05fr 1fr; padding: var(--space-6) var(--space-5); }
	.about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-5); }
	.about-points { grid-template-columns: 1fr; }
	.insight-feature { grid-template-columns: 1.15fr 1fr; }
	.insight-tile--lead { min-height: 100%; }
	.panel-card { padding: var(--space-5) var(--space-4); }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (max-width: 479px) {
	.site-header__actions .btn { display: none; }
}

@media (max-width: 959px) {
	.nav-toggle { display: grid; place-items: center; }

	/*
	 * backdrop-filter makes the header a containing block for any fixed
	 * descendant, which traps the nav overlay inside the header. A solid
	 * background costs nothing here and lets the overlay fill the screen.
	 */
	.site-header {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: var(--paper);
	}

	.site-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		height: 100dvh;
		background: var(--paper);
		padding: calc(var(--header-h) + var(--space-3)) var(--space-3) var(--space-5);
		transform: translateX(100%);
		transition: transform 0.28s var(--ease);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 95;
		margin: 0;
	}

	.site-nav.is-open { transform: translateX(0); }

	/* Keep the logo and the toggle above the overlay, or there is no way to
	   close the menu once it is open. */
	.site-header__brand,
	.site-header__actions {
		position: relative;
		z-index: 96;
	}
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; font-size: var(--step-1); padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
	body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   23. Motion and print
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
	body { color: #000; }
}

/* --------------------------------------------------------------------------
   24. Sidebar layout
   -------------------------------------------------------------------------- */
.with-sidebar { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
.with-sidebar__main { min-width: 0; }

.sidebar { display: grid; gap: var(--space-3); }

.widget {
	background: var(--paper-alt);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
}

.widget__title {
	font-size: var(--step-0);
	font-weight: 600;
	margin: 0 0 var(--space-2);
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--line);
}

.widget-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.widget-post { display: flex; gap: 0.85rem; align-items: flex-start; }
.widget-post__media { flex: none; width: 68px; }
.widget-post__media img { width: 68px; height: 60px; object-fit: cover; border-radius: var(--radius); }
.widget-post__title { font-size: 0.95rem; line-height: 1.35; margin: 0 0 0.2rem; font-weight: 500; }
.widget-post__title a { color: var(--ink); text-decoration: none; }
.widget-post__title a:hover { color: var(--blue-deep); }
.widget-post__meta { margin: 0; font-size: 0.76rem; color: var(--ink-faint); }

.widget-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.widget-cats a {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	font-size: var(--step--1);
}
.widget-cats li:last-child a { border-bottom: 0; }
.widget-cats a:hover { color: var(--blue-deep); }
.widget-cats span { color: var(--ink-faint); font-size: 0.78rem; }

.widget--cta { background: var(--navy); color: rgba(255, 255, 255, 0.75); }
.widget--cta .widget__title { color: #fff; border-bottom-color: var(--navy-line); }
.widget--cta p { font-size: var(--step--1); }

.widget .newsletter { padding: 0; }
.widget .newsletter__heading { font-size: var(--step-0); }
.widget .newsletter__text { font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   25. Load more
   -------------------------------------------------------------------------- */
.load-more { text-align: center; margin-top: var(--space-4); }
.load-more button[disabled] { opacity: 0.6; cursor: progress; }
.load-more__status { margin: var(--space-2) 0 0; font-size: var(--step--1); color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   26. Post navigation and sharing
   -------------------------------------------------------------------------- */
.post-nav { display: grid; grid-template-columns: 1fr; gap: var(--space-2); margin-top: var(--space-4); }

.post-nav__link {
	display: block;
	padding: var(--space-3);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.post-nav__link:hover { border-color: var(--blue-bright); background: var(--paper-alt); }
.post-nav__link--next { text-align: right; }

.post-nav__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue-deep);
	margin-bottom: 0.35rem;
}
.post-nav__title { display: block; color: var(--ink); font-weight: 500; line-height: 1.4; }

.share { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.share__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.share a { font-size: var(--step--1); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.share a:hover { color: var(--blue-deep); border-bottom-color: var(--blue-bright); }

/* --------------------------------------------------------------------------
   27. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-3); margin-block: var(--space-3); }
.form > .btn { justify-self: start; }
.form .cf-turnstile { min-height: 65px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.form-field { display: grid; gap: 0.4rem; }

.form-field label { font-size: var(--step--1); font-weight: 600; }
.form-field label span { color: var(--blue-deep); }

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: var(--step--1);
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	border-color: var(--blue-bright);
	box-shadow: 0 0 0 3px rgba(24, 184, 248, 0.16);
	outline: none;
}

.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input[type="file"] { padding: 0.6rem; background: var(--paper-alt); }

.form-hint { margin: 0; font-size: 0.78rem; color: var(--ink-faint); }
.form-consent { margin: 0; font-size: 0.8rem; color: var(--ink-faint); }

.form-error { margin: 0; font-size: 0.82rem; color: #b3261e; font-weight: 500; }
.form-error--top {
	background: #fdecea;
	border: 1px solid #f5c6c2;
	border-radius: var(--radius);
	padding: 0.85rem 1rem;
	font-size: var(--step--1);
}

.form-success {
	background: var(--paper-alt);
	border-left: 4px solid var(--blue-bright);
	border-radius: 0;
	padding: var(--space-3);
	margin-block: var(--space-3);
}
.form-success h2 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.form-success p { margin: 0; color: var(--ink-soft); }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   28. Contact details, map, jobs, clients
   -------------------------------------------------------------------------- */
.contact-details { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.contact-details__block { background: var(--paper-alt); border-radius: var(--radius-lg); padding: var(--space-3); }
.contact-details__title { font-size: var(--step-0); margin-bottom: 0.6rem; }
.contact-details__block address { font-style: normal; color: var(--ink-soft); font-size: var(--step--1); }
.contact-details__block p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
.contact-details__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: var(--step--1); }
.contact-details__list a { text-decoration: none; }

.contact-map { margin-top: var(--space-3); border-radius: var(--radius-lg); overflow: hidden; }
.contact-map iframe { width: 100%; height: 340px; border: 0; display: block; }

.job-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }
.job {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
}
.job:hover { border-color: var(--blue-bright); }
.job__main { flex: 1 1 320px; min-width: 0; }
.job__title { font-size: var(--step-1); margin-bottom: 0.3rem; }
.job__meta { margin: 0; font-size: var(--step--1); color: var(--ink-faint); }
.job__body { margin-top: var(--space-2); font-size: var(--step--1); }

.longevity { font-size: var(--step-1); color: var(--ink-soft); margin-block: var(--space-3); }
.longevity strong { color: var(--blue-deep); }

.client-group { margin-block: var(--space-4); }
.client-group__title { font-size: var(--step-1); padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); margin-bottom: var(--space-3); }

.prose--wide { max-width: none; }
.post-grid.post-grid--two { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   29. Breakpoints for the additions above
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
	.form-row { grid-template-columns: 1fr 1fr; }
	.post-nav { grid-template-columns: 1fr 1fr; }
	.contact-details { grid-template-columns: repeat(3, 1fr); }
	.post-grid.post-grid--two { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.with-sidebar {
		width: min(100%, 1160px);
		margin-inline: auto;
		grid-template-columns: minmax(0, 1fr) 330px;
		gap: var(--space-5);
	}

	/* The column now sets the measure, so the prose cap would only re-introduce
	   the gap it was meant to prevent. */
	.with-sidebar__main .prose { max-width: none; }
	.sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
	.post-grid.post-grid--two { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   30. Capability listing and detail
   -------------------------------------------------------------------------- */
.cap-grid--listing { gap: var(--space-2); }

.cap-grid__item--linked {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.cap-grid__item--linked:hover {
	background: var(--paper);
	border-color: var(--blue-bright);
	box-shadow: var(--shadow-card);
	transform: translateY(-2px);
}

.cap-grid__title a { color: var(--ink); text-decoration: none; }
.cap-grid__title a:hover { color: var(--blue-deep); }
.cap-grid__title a::after { content: " →"; color: var(--blue-bright); }

.process { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-2); counter-reset: stage; }

.process__step {
	position: relative;
	padding: var(--space-3) var(--space-3) var(--space-3) 3.6rem;
	background: var(--paper-alt);
	border-radius: var(--radius-lg);
	counter-increment: stage;
}

.process__step::before {
	content: counter( stage );
	position: absolute;
	left: var(--space-3);
	top: var(--space-3);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--blue-deep);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.process__title { font-size: var(--step-0); margin: 0 0 0.3rem; }
.process__text { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

@media (min-width: 640px) {
	.cap-grid--listing { grid-template-columns: repeat(2, 1fr); }
}

/* Headings that break up a long single-column page need air above them. */
.with-sidebar__main > .section__title { margin-top: var(--space-4); }
.with-sidebar__main > .section__title:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   31. Footer logo
   -------------------------------------------------------------------------- */
.site-footer__logo { display: inline-block; }
.site-footer__logo img { max-height: 46px; width: auto; }

/* No dedicated white logo uploaded: knock the main one to white. Works on any
   logo, but a real white file with a transparent background always looks
   better — upload one under Customize → Site Identity. */
.site-footer__logo--filtered img {
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

/* --------------------------------------------------------------------------
   32. Banner artwork on narrow screens
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.page-header__art { inset-inline-end: -25%; width: 110%; opacity: 0.28; }
	.page-header__panel { padding: var(--space-4) var(--space-3); }
}

/* Portfolio hero actions: product link plus optional store links. */
.work__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0; }
.contact-extra { margin-top: var(--space-4); }
