/* ==========================================================================
   Ngital — global design system
   Tokens, base, layout, type, buttons, pills, cards, header, footer, forms.
   Page-specific styles live in assets/css/pages/*.css.
   ========================================================================== */

:root {
	--navy: #1E1B4B;
	--cream: #FFF7F0;
	--white: #FFFFFF;
	--paper: #FFFFFF;
	--orange: #FF3D00;
	--orange-hover: #E63600;
	--orange-soft: #FF8A5C;
	--violet: #5B3FF5;
	--yellow: #FFD600;
	--pink: #FF8FC7;
	--ink-2: #45426B;
	--ink-3: #6A6790;
	--on-navy: #DEDCEA;
	--on-navy-2: #D6D4E6;
	--on-navy-muted: #B9B6D0;
	--line-cream: #F2DDD0;
	--line-tile: #ECE4DA;
	--line-violet: #DEDCEA;
	--line-violet-2: #E7E6EF;
	--line-violet-3: #F1F0F6;
	--lilac: #F0EFF7;
	--lilac-2: #F6F5FA;
	--chevron-muted: #B8B6CC;

	--font-body: 'Bricolage Grotesque', system-ui, sans-serif;
	--font-head: 'Gabarito', system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, monospace;

	--container: 1280px;
	--gutter: clamp(20px, 4vw, 48px);
	--section-y: clamp(56px, 7vw, 100px);
	--header-h: 77px;

	--shadow-menu: 0 24px 48px -28px rgba(30, 27, 75, 0.35);
	--shadow-card: 0 24px 48px -28px rgba(30, 27, 75, 0.55);
	--shadow-tile: 0 12px 24px -16px rgba(30, 27, 75, 0.3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--cream);
	color: var(--navy);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; margin: 0; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--paper); clip: auto !important; clip-path: none; color: var(--navy);
	display: block; font-weight: 700; height: auto; left: 8px; top: 8px; padding: 12px 20px;
	width: auto; z-index: 100000; border-radius: 999px;
}
.list-reset { list-style: none; margin: 0; padding: 0; }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
/* Low specificity on purpose: a page class on the container (e.g. a grid) always wins. */
:where(.section) > :where(.container),
.section-stack { display: flex; flex-direction: column; gap: 48px; }
.gap-40 { gap: 40px !important; }
.gap-56 { gap: 56px !important; }

.bg-cream { background: var(--cream); }
.bg-white { background: var(--paper); }
.bg-lilac { background: var(--lilac); }
.bg-navy {
	/* Former navy sections render light (brand update: fewer heavy blue blocks).
	   Remapping the colour tokens flips every component inside to dark-on-light. */
	--white: var(--navy);
	--on-navy: var(--ink-2);
	--on-navy-2: var(--ink-2);
	--on-navy-muted: var(--ink-3);
	--orange-soft: var(--orange);
	background: var(--paper);
	color: var(--navy);
	border-block: 1px solid var(--line-cream);
}
/* Dark components keep white text wherever they sit. */
.bg-navy :is(.ab-numbers__grid, .stat--navy, .card--navy, .svc-card--navy, .case-card, .quote-card--navy, .pricing-card--navy, .pf-quote-feature, .pf-office__card, .home-awards__feature, .cred-feature, .btn--primary, .dt-btn--navy, .avatar--initials, [class*="--navy"]) {
	--white: #FFFFFF;
	--on-navy: #DEDCEA;
	--on-navy-2: #D6D4E6;
	--on-navy-muted: #B9B6D0;
	--orange-soft: #FF8A5C;
}
.bg-orange { background: var(--orange); color: var(--white); }
.rule-y { border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }

.grid { display: grid; gap: 16px; }
.grid-200 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.grid-220 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid-240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid-300 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-460 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }

/* ---------- Type ---------- */
.eyebrow {
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--orange);
	margin: 0;
}
.bg-navy .eyebrow { color: var(--orange); }
.bg-orange .eyebrow { color: var(--white); }
.mono {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.h1, .page-title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(32px, 3.8vw, 55px);
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-wrap: balance;
	margin: 0;
}
.h2-lg {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(32px, 4.01vw, 55px);
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-wrap: balance;
	margin: 0;
}
.h2-md {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(32px, 3.65vw, 50px);
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-wrap: balance;
	margin: 0;
}
.h2-sm {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(29px, 3.36vw, 47px);
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-wrap: balance;
	margin: 0;
}
.h2-cta {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(35px, 4.38vw, 61px);
	line-height: 0.92;
	letter-spacing: -0.035em;
	margin: 0;
}
.accent { color: var(--orange); }
.accent-soft { color: var(--orange-soft); }
.lead {
	font-size: clamp(16px, 1.23vw, 18px);
	line-height: 1.55;
	text-wrap: pretty;
	margin: 0;
}
.body-lg { font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; margin: 0; }
.body-lg strong { color: var(--navy); }
.bg-navy .body-lg { color: var(--on-navy); }
.muted { color: var(--ink-2); }
.muted-3 { color: var(--ink-3); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head__title { display: flex; flex-direction: column; gap: 16px; }
.section-head--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px; align-items: end; }
.mw-12 { max-width: 12ch; }
.mw-14 { max-width: 14ch; }
.mw-15 { max-width: 15ch; }
.mw-16 { max-width: 16ch; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn--primary-y:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--yellow); color: var(--navy); }
.btn--orange { background: var(--orange); color: var(--white); border-width: 0; padding: 15px 26px; font-weight: 600; }
.btn--orange:hover { background: var(--orange-hover); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border: 1px solid var(--white); font-weight: 600; }
.btn--ghost-light:hover { background: var(--paper); color: var(--navy); }
.btn--yellow { background: var(--yellow); color: var(--navy); border-color: var(--yellow); padding-inline: 24px; }
.btn--yellow:hover { background: var(--paper); border-color: var(--white); color: var(--navy); }
.btn--white { background: var(--paper); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.text-cta {
	font-weight: 700;
	font-size: 16px;
	color: var(--navy);
	border-bottom: 2px solid var(--orange);
	padding-bottom: 2px;
	align-self: flex-end;
}
.text-cta:hover { color: var(--orange); }
.bg-navy .text-cta { color: var(--navy); border-color: var(--orange); }

/* ---------- Pills & tags ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pill {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.5;
}
.pill--orange { background: var(--orange); color: var(--white); }
.pill--violet { background: var(--violet); color: var(--white); }
.pill--white { background: var(--paper); color: var(--navy); }
.pill--yellow { background: var(--yellow); color: var(--navy); }
.pill--outline { border: 2px solid var(--navy); padding: 6px 12px; }
.bg-navy .pill--outline { border-color: var(--ink-3); color: var(--white); }
.chip {
	display: inline-block;
	background: var(--paper);
	border: 2px solid var(--navy);
	border-radius: 999px;
	padding: 8px 14px;
	font-weight: 700;
	font-size: 15px;
	color: var(--navy);
	line-height: 1.3;
}
.chip--cream { background: var(--cream); border-color: var(--cream); }

/* ---------- Cards ---------- */
.card {
	background: var(--paper);
	border: 2px solid var(--navy);
	border-radius: 24px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.card--cream { background: var(--cream); }
.card--navy { background: var(--navy); color: var(--white); }
.card--outline-navy { background: transparent; border-color: var(--ink-3); }
.card__index { font-family: var(--font-mono); font-size: 13px; color: var(--orange); }
.bg-navy .card__index { color: var(--orange); }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.card__text { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.bg-navy .card__text, .card--navy .card__text { color: var(--on-navy); }
a.card:hover, .card--hover:hover { background: var(--yellow); color: var(--navy); }
a.card:hover .card__text { color: var(--navy); }

/* Stat tiles */
.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.stat { border-radius: 28px; padding: 28px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stat dt, .stat__label { font-size: 16px; font-weight: 500; }
.stat dd, .stat__value { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 56px; letter-spacing: -0.04em; line-height: 1; }
.stat--orange { background: var(--orange); color: var(--white); }
.stat--navy { background: var(--navy); color: var(--white); }
.stat--navy dt { color: var(--on-navy); }
.stat--yellow { background: var(--yellow); color: var(--navy); }
.stat--pink { background: var(--pink); color: var(--navy); }
.stat--violet { background: var(--violet); color: var(--white); }
.stat--white { background: var(--paper); color: var(--navy); border: 2px solid var(--navy); }

/* Service cards */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.svc-grid > li { display: flex; }
.svc-card {
	flex: 1;
	background: var(--paper);
	color: var(--navy);
	border: 2px solid var(--navy);
	border-radius: 22px;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.svc-card--navy { background: var(--navy); color: var(--white); }
.svc-card:hover { background: var(--yellow); color: var(--navy); }
.svc-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc-card__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.05; }
.svc-card__arrow { font-size: 16px; }
.svc-card__desc { margin: 0; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.svc-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 40px; padding-top: 32px; border-top: 2px solid var(--navy); }
.svc-group { display: flex; flex-direction: column; gap: 12px; }
.svc-group__title { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.svc-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-group a { font-weight: 600; font-size: 16px; line-height: 1.3; }

.more-panel { border: 2px solid var(--navy); border-radius: 24px; background: var(--paper); padding: 0 clamp(20px, 3vw, 32px); }
.more-panel > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 16px; }
.plus-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1; flex: none; transition: transform .2s; }
details[open] > summary .plus-dot { transform: rotate(45deg); }
.more-panel__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; border-top: 1px solid var(--line-violet); padding-bottom: 12px; }
.more-panel__item { padding: 20px 0; border-bottom: 1px solid var(--line-violet); display: flex; flex-direction: column; gap: 8px; }
.more-panel__item h4 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.15; }
.more-panel__item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Case study colour cards */
.case-grid > * { min-width: 0; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.case-card {
	--bg: var(--navy); --fg: var(--white); --chip: rgba(255,255,255,.16); --line: rgba(255,255,255,.35);
	background: var(--bg);
	color: var(--fg);
	border-radius: 22px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 280px;
	transition: transform .25s, box-shadow .25s;
}
.case-card:hover { color: var(--fg); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.case-card--light { --chip: rgba(30,27,75,.1); --line: rgba(30,27,75,.3); }
.case-card--orange { --bg: var(--orange); --fg: var(--white); }
.case-card--navy { --bg: var(--navy); --fg: var(--white); }
.case-card--yellow { --bg: var(--yellow); --fg: var(--navy); --chip: rgba(30,27,75,.1); --line: rgba(30,27,75,.3); }
.case-card--violet { --bg: var(--violet); --fg: var(--white); }
.case-card--pink { --bg: var(--pink); --fg: var(--navy); --chip: rgba(30,27,75,.1); --line: rgba(30,27,75,.3); }
.case-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case-card__tag { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 10px; border-radius: 999px; background: var(--chip); color: var(--fg); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.case-card__go { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--fg); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.case-card__metric { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.case-card__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(35px, 2.92vw, 41px); letter-spacing: -0.04em; line-height: 0.95; }
.case-card__label { font-size: 15px; font-weight: 600; }
.case-card__foot { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.case-card__name { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; }
.case-card__summary { margin: 0; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Industry cards */
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.ind-grid > li { display: flex; }
.ind-card {
	flex: 1;
	background: var(--cream);
	color: var(--navy);
	border: 2px solid var(--navy);
	border-radius: 24px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 220px;
}
.ind-card:hover { background: var(--yellow); color: var(--navy); }
.ind-card__top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 13px; color: var(--orange); }
.ind-card__top span[aria-hidden] { color: var(--navy); font-size: 16px; }
.ind-card__name { margin: auto 0 0; display: flex; flex-direction: column; gap: 4px; }
.ind-card__pre, .ind-card__post { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.ind-card__short { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 1.9vw, 26px); letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance; }
.ind-card__desc { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ind-card--all { background: var(--navy); color: var(--white); border-color: var(--navy); justify-content: space-between; }
.ind-card--all:hover { color: var(--navy); }
.ind-card--all .ind-card__eyebrow { font-family: var(--font-mono); font-size: 13px; }
.ind-card--all .ind-card__cta { font-family: var(--font-head); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; line-height: 1.05; }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: 24px; border: 2px solid var(--navy); overflow: hidden; background: var(--pink); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__meta { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.post-card__cat { color: var(--orange); font-weight: 500; }
.post-card__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.post-card__excerpt { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* Testimonials */
.quote-card { margin: 0; background: var(--paper); border: 2px solid var(--navy); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote-card--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.quote-card figcaption > span:last-child { display: flex; flex-direction: column; }
.quote-card figcaption b { font-size: 16px; }
.quote-card__role { font-size: 15px; color: var(--ink-2); }
.quote-card--navy .quote-card__role { color: var(--on-navy-muted); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--pink); flex: none; }
.avatar--initials { background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Logo tiles */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.logo-tile { background: var(--paper); border: 2px solid var(--line-cream); border-radius: 20px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 18px; }
.logo-tile a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.partner-tile { height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--paper); border: 1px solid var(--line-tile); border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.partner-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-tile); }
.partner-tile img { max-height: 48px; max-width: 100%; width: auto; display: block; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 2px solid var(--navy); }
.process li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.process__num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--orange); }
.process h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.process p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.bg-navy .process { border-color: var(--navy); }
.bg-navy .process__num { color: var(--orange); }
.bg-navy .process p { color: var(--on-navy); }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; border-top: 2px solid var(--ink-3); }
.faq details { border-bottom: 2px solid var(--ink-3); padding: 22px 0; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 18px; }
.faq summary h3 { margin: 0; font: inherit; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.faq__plus { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 23px; line-height: 1; color: var(--yellow); transition: transform .2s; flex: none; }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq details p, .faq__answer { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--on-navy); max-width: 58ch; }
.faq--light { border-color: var(--navy); }
.faq--light details { border-color: var(--navy); }
.faq--light .faq__plus { color: var(--orange); }
.faq--light details p, .faq--light .faq__answer { color: var(--ink-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 7vw, 104px); }
.page-hero .container { display: flex; flex-direction: column; gap: 28px; }
.page-hero.bg-navy .lead { color: var(--on-navy-2); }
.page-hero .lead { color: var(--ink-2); }
.breadcrumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--orange); }
.bg-navy .breadcrumbs { color: var(--on-navy-muted); }
.stripe { height: 8px; display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; }
.stripe span:nth-child(1) { background: var(--orange); }
.stripe span:nth-child(2) { background: var(--violet); }
.stripe span:nth-child(3) { background: var(--yellow); }
.stripe span:nth-child(4) { background: var(--pink); }

/* ---------- Forms ---------- */
.form-card { background: var(--cream); color: var(--navy); border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.form-card--white { background: var(--paper); border: 2px solid var(--navy); }
.form-card h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.field input, .field textarea, .field select {
	font: inherit;
	font-weight: 400;
	font-size: 16px;
	padding: 14px 16px;
	border: 2px solid var(--navy);
	border-radius: 14px;
	background: var(--paper);
	color: var(--navy);
	width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 61, 0, .35); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.form-submit { margin-top: 6px; font: inherit; font-weight: 700; font-size: 16px; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 18px 28px; cursor: pointer; transition: background .2s, color .2s; }
.form-submit:hover { background: var(--yellow); color: var(--navy); }
.form-note { font-size: 14px; color: var(--ink-2); margin: 0; }
.form-msg { border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 15px; margin: 0; }
.form-msg--ok { background: #E3F8EC; color: #0B6B3A; border: 2px solid #0B6B3A; }
.form-msg--err { background: #FFE7DF; color: #A82800; border: 2px solid #A82800; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band (orange) ---------- */
.cta-band .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: start; }
.cta-band__copy { display: flex; flex-direction: column; gap: 22px; }
.cta-band__copy .lead { color: var(--white); }
.cta-band--simple .container { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }

/* ==========================================================================
   Header + mega menu
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line-cream); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.nav-bar { max-width: var(--container); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wordmark {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 25px;
	letter-spacing: -0.035em;
	line-height: 1;
	color: var(--navy);
	font-variation-settings: 'opsz' 96;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}
.wordmark:hover { color: var(--navy); }
.wordmark img { max-height: 40px; width: auto; display: block; }
.wordmark--xl { font-size: 44px; color: var(--white); }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); flex-wrap: wrap; font-size: 16px; font-weight: 500; }
.main-nav__list > li > a,
.main-nav__toggle { display: flex; align-items: center; gap: 6px; padding: 8px 0; color: var(--navy); background: none; border: 0; cursor: pointer; font: inherit; }
.main-nav__list > li > a:hover, .main-nav__toggle:hover { color: var(--ink-3); }
.main-nav__list > li.current-menu-item > a,
.main-nav__list > li.current-menu-ancestor > a { color: var(--orange); }
.chev { font-size: 10px; display: inline-block; transition: transform .2s; }
.main-nav__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line-cream); border-bottom: 1px solid var(--line-violet-2); box-shadow: var(--shadow-menu); }
.mega[hidden] { display: none; }
.mega__inner { max-width: var(--container); margin: 0 auto; padding: 32px var(--gutter); display: grid; gap: 32px; }
.mega__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.mega--services .mega__inner { grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); }
.mega__core { display: flex; flex-direction: column; gap: 14px; padding-right: 24px; border-right: 1px solid var(--line-violet-2); }
.mega__core a { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--navy); }
.mega__core a:hover { color: var(--ink-3); }
.mega__col { display: flex; flex-direction: column; gap: 10px; }
.mega__col a { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.mega__col a:hover { color: var(--navy); }
.mega__foot { border-top: 1px solid var(--line-violet-2); }
.mega__foot-inner { max-width: var(--container); margin: 0 auto; padding: 16px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.mega__foot-inner span { color: var(--ink-3); }
.mega__foot-inner a { font-weight: 600; }
.mega__foot-inner a:hover { color: var(--ink-3); }
.mega--industries .mega__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; }
.mega__intro { display: flex; flex-direction: column; gap: 12px; padding-right: 24px; border-right: 1px solid var(--line-violet-2); }
.mega__intro p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.mega__intro a { margin-top: auto; font-weight: 600; font-size: 15px; }
.mega__intro a:hover { color: var(--ink-3); }
.mega__ind-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 32px; align-content: start; }
.mega__ind-list a { padding: 10px 0; border-bottom: 1px solid var(--line-violet-3); font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.mega__ind-list a:hover { color: var(--ink-3); }
.mega__ind-list a span { color: var(--chevron-muted); }
.mega--about .mega__inner { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.mega__tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: var(--cream); color: var(--navy); }
.mega__tile:hover { background: var(--lilac-2); color: var(--navy); }
.mega__tile b { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.mega__tile span { font-size: 14px; line-height: 1.45; color: var(--ink-3); }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ''; }
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

/* Mobile sheet */
.mobile-sheet { position: fixed; inset: 0; z-index: 50; background: var(--cream); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-sheet[hidden] { display: none; }
.mobile-sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-bottom: 1px solid var(--line-cream); position: sticky; top: 0; background: var(--cream); }
.mobile-sheet__close { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); font-size: 19px; cursor: pointer; line-height: 1; }
.mobile-sheet__body { flex: 1; padding: 8px var(--gutter) 24px; }
.mobile-sheet__body > a, .mobile-acc > summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-cream); font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--navy); }
.mobile-acc[open] > summary .chev { transform: rotate(180deg); }
.mobile-acc__list { display: flex; flex-direction: column; gap: 2px; padding: 8px 0 18px; }
.mobile-acc__list a { padding: 8px 0; font-size: 16px; color: var(--ink-2); }
.mobile-acc__list .mono { color: var(--ink-3); margin-top: 12px; }
.mobile-sheet__foot { position: sticky; bottom: 0; padding: 16px var(--gutter) 24px; background: var(--cream); border-top: 1px solid var(--line-cream); }
body.sheet-open { overflow: hidden; }

@media (max-width: 1080px) {
	.mega--services .mega__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mega__core { grid-column: 1 / -1; border-right: 0; padding-right: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mega__core .mega__label { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.main-nav, .nav-bar > .header-cta, .mega { display: none !important; }
	.nav-burger { display: inline-flex; }
	.nav-bar { flex-wrap: nowrap; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.footer__inner { max-width: var(--container); margin: 0 auto; padding: 72px var(--gutter) 36px; display: flex; flex-direction: column; gap: 56px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; grid-column: span 2; min-width: 0; }
@media (max-width: 440px) { .footer__brand { grid-column: auto; } }
.footer__brand p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-navy); max-width: 40ch; }
.footer__brand address { font-style: normal; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__heading { font-family: var(--font-mono); font-size: 13px; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 10px; font-weight: 400; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--ink-3); font-size: 14px; color: var(--on-navy-muted); }
.footer__bottom a { color: var(--on-navy-muted); }
.footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer__social { gap: 16px !important; }

/* ==========================================================================
   Prose (post / page content)
   ========================================================================== */
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.19vw, 28px); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 1.94vw, 23px); line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); margin-top: 1.5em; }
.prose h4 { font-size: 17px; color: var(--navy); margin-top: 1.3em; }
.prose a { color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--orange); }
.prose a:hover { color: var(--orange); }
.prose strong { color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { border-left: 4px solid var(--orange); padding: 4px 0 4px 20px; font-size: 18px; font-weight: 500; color: var(--navy); }
.prose img, .prose figure img { border-radius: 20px; }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--paper); border: 2px solid var(--navy); border-radius: 16px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-violet); vertical-align: top; }
.prose th { background: var(--lilac); color: var(--navy); font-weight: 700; }
.prose hr { border: 0; border-top: 2px solid var(--navy); margin: 2em 0; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--lilac); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--navy); color: var(--on-navy); padding: 20px; border-radius: 16px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }

/* WordPress core alignment / blocks */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { margin-inline: calc(-1 * min(80px, 6vw)); }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--ink-3); }
.sticky, .bypostauthor, .gallery-caption { }

/* Pagination */
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; background: var(--paper); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); color: var(--white); }
.pagination .page-numbers.dots { border: 0; background: none; }

/* Comments */
.comments-area { display: flex; flex-direction: column; gap: 24px; }
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.comment-list .children { list-style: none; padding-left: 24px; margin-top: 16px; }
.comment-body { background: var(--paper); border: 2px solid var(--navy); border-radius: 22px; padding: 20px 24px; }
.comment-meta { font-size: 14px; color: var(--ink-3); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.comment-meta img { border-radius: 50%; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { font: inherit; font-size: 16px; padding: 14px 16px; border: 2px solid var(--navy); border-radius: 14px; background: var(--paper); color: var(--navy); width: 100%; }
.comment-form .submit { font: inherit; font-weight: 700; font-size: 16px; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; }
.comment-form .submit:hover { background: var(--orange); }

/* Search form */
.search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.search-form input[type=search] { flex: 1; min-width: 200px; font: inherit; font-size: 16px; padding: 14px 18px; border: 2px solid var(--navy); border-radius: 999px; background: var(--paper); color: var(--navy); }
.search-form button { font: inherit; font-weight: 700; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; }
.search-form button:hover { background: var(--orange); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Light-section fixes for components designed for a navy background. */
.bg-navy .faq__plus { color: var(--orange); }
.bg-navy .btn--ghost-light { color: var(--navy); border: 2px solid var(--navy); }
.bg-navy .btn--ghost-light:hover { background: var(--yellow); color: #1E1B4B; border-color: var(--navy); }
.bg-navy .btn--white { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.bg-navy .btn--white:hover { background: var(--orange); border-color: var(--orange); color: #FFFFFF; }
.bg-navy .btn--yellow:hover { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.bg-navy .card--outline-navy { border-color: var(--line-violet); background: var(--cream); }
.bg-navy :is(.ab-yellow, .ab-numbers__label, .cs-accent-y, .cs-step__label, .dt-steps__n, .dt-segments__n, .dt-explore__col > h3, .dt-explore__more, .svx-yellow, .tm-yellow, .pf-stars) { color: var(--orange); }
.bg-navy .dt-explore__col li a:hover, .bg-navy .card__title a:hover { color: var(--orange); }
.bg-navy .ab-numbers__grid { color: #FFFFFF; }

/* Footer: brand + four link columns on one row on desktop. */
@media (min-width: 1024px) {
	.footer__cols { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
	.footer__brand { grid-column: auto; padding-right: 24px; }
}
.bg-navy :is(.pill--orange, .pill--violet) { color: #FFFFFF; }
.bg-navy .pill--white { border: 1px solid var(--line-violet); padding: 5px 13px; }
