/* ==========================================================================
   Prime Source Employment — main stylesheet
   Colours are taken from the Prime Source logo. Navy carries the brand,
   green is the secondary, and the four dot colours are used only as small
   accents (eyebrow dots, hero dot field).
   ========================================================================== */

:root {
	--navy: #2c3691;
	--navy-dark: #1f2770;
	--blue: #3853a4;
	--green: #0e6937;
	--green-bright: #0d9347;
	--red: #c3262e;
	--orange: #f79420;
	--sky: #6ecddd;

	--ink: #171a33;
	--text: #3c4058;
	--muted: #6a6f88;
	--line: #e4e6ef;
	--mist: #f6f7fb;
	--paper: #ffffff;

	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 10px;
	--radius-lg: 16px;
	--container: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--shadow: 0 1px 2px rgba(23, 26, 51, .04), 0 8px 24px rgba(23, 26, 51, .06);
}

/* Base ---------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, video, iframe { max-width: 100%; height: auto; }
.icon { flex-shrink: 0; width: 20px; height: 20px; }
img { display: block; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }

h1, h2, h3, h4 {
	font-family: var(--serif);
	color: var(--ink);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

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

.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.small { font-size: .925rem; color: var(--muted); }

/* Buttons ------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .85em 1.5em;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font: 600 1rem/1.2 var(--sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { padding: .6em 1.15em; font-size: .925rem; }

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }

.btn--outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); color: var(--navy-dark); }

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

.text-link {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 600;
	text-decoration: none;
}
.text-link .icon { width: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* Eyebrow with logo dots --------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	margin: 0 0 1rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--green);
}
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); }
.dots i:nth-child(2) { background: var(--red); }
.dots i:nth-child(3) { background: var(--blue); }
.dots i:nth-child(4) { background: var(--orange); }

/* Header ------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgba(23, 26, 51, .05); }
.admin-bar .site-header { top: 32px; }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
}

.site-brand .custom-logo { width: auto; height: 52px; max-width: 240px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu a {
	display: block;
	padding: 8px 12px;
	font-size: .95rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	border-radius: 8px;
}
.site-nav .menu a:hover { color: var(--navy); background: var(--mist); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a { color: var(--navy); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }

/* One level of dropdowns */
.site-nav .menu li { position: relative; }
.site-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	margin: 0; padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden;
	transform: translateY(6px);
	transition: .15s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after,
.nav-toggle__bars span {
	display: block;
	width: 20px; height: 2px;
	margin: 0 auto;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { position: relative; background: transparent; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars span { opacity: 0; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Dot fields (echo the logo) ---------------------------------------- */

.hero__dots,
.page-hero__dots {
	position: absolute;
	pointer-events: none;
	background:
		radial-gradient(circle, var(--green-bright) 3px, transparent 3.5px) 0 0 / 44px 44px,
		radial-gradient(circle, var(--red) 3px, transparent 3.5px) 22px 0 / 44px 44px,
		radial-gradient(circle, var(--blue) 3px, transparent 3.5px) 0 22px / 44px 44px,
		radial-gradient(circle, var(--orange) 3px, transparent 3.5px) 22px 22px / 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse at 100% 0, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse at 100% 0, #000 0%, transparent 70%);
	opacity: .35;
}

/* Hero --------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
	border-bottom: 1px solid var(--line);
}
.hero__dots { top: 0; right: 0; width: 46%; height: 100%; }
.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: end;
}
.hero h1 { max-width: 13em; }
.hero h1::after {
	content: "";
	display: block;
	width: 64px; height: 3px;
	margin-top: 28px;
	background: var(--green);
	border-radius: 2px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__panel {
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 8px 28px;
	box-shadow: var(--shadow);
}
.hero__facts { margin: 0; padding: 0; list-style: none; }
.hero__facts li { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; }
.hero__facts li + li { border-top: 1px solid var(--line); }
.hero__facts strong {
	flex: 0 0 auto;
	min-width: 4.4em;
	font-family: var(--serif);
	font-size: 1.6rem;
	color: var(--navy);
}
.hero__facts span { color: var(--muted); font-size: .975rem; }

/* Roles strip */
.roles-strip { padding: 20px 0; border-bottom: 1px solid var(--line); }
.roles-strip ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 0;
	margin: 0; padding: 0;
	list-style: none;
	font-size: .925rem;
	color: var(--muted);
}
.roles-strip li { white-space: nowrap; }
.roles-strip li:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 5px; height: 5px;
	margin: 0 14px 2px;
	border-radius: 50%;
	background: var(--line);
	vertical-align: middle;
}

/* Inner page hero */
.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
	background: var(--mist);
	border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16em; font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
.page-hero .lead { margin-bottom: 0; }
.page-hero__dots { top: 0; right: 0; width: 40%; height: 100%; opacity: .3; }

/* Sections ----------------------------------------------------------- */

.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--mist { background: var(--mist); }

.section-head { max-width: 44em; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); }
.section-head--side { margin-bottom: 0; }
.section-head--side .contact-list { margin-top: 28px; }
.section-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px 32px;
	max-width: none;
}
.section-head--row h2 { margin-bottom: 0; }

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.split--center { align-items: center; }

/* Services */
.services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
}
.service { padding: 32px 32px 8px 0; }
.service + .service { padding-left: 32px; border-left: 1px solid var(--line); }
.service__num {
	display: block;
	margin-bottom: 18px;
	font: 600 .85rem/1 var(--sans);
	letter-spacing: .1em;
	color: var(--green);
}
.service p { color: var(--muted); }

.checks { margin: 20px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; padding: 6px 0; font-size: .975rem; color: var(--ink); }
.checks .icon { flex: 0 0 auto; width: 18px; margin-top: 4px; color: var(--green); }

/* Two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 4vw, 48px);
	border-radius: var(--radius-lg);
	background: var(--navy);
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
	overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
.door:hover { color: rgba(255, 255, 255, .82); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(44, 54, 145, .22); }
.door--green { background: var(--green); }
.door--green:hover { box-shadow: 0 18px 40px rgba(14, 105, 55, .22); }
.door h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 14em; }
.door__label { margin-bottom: 18px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.door__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; font-weight: 600; color: #fff; }
.door__more .icon { transition: transform .2s; }
.door:hover .door__more .icon { transform: translateX(4px); }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.industry {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}
.industry h3 { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.industry ul { margin: 0; padding: 0; list-style: none; }
.industry li { padding: 5px 0 5px 18px; position: relative; font-size: .975rem; }
.industry li::before {
	content: "";
	position: absolute;
	left: 0; top: .95em;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--green);
}

/* Reasons */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 0; padding: 0; list-style: none; }
.reason { display: flex; gap: 16px; }
.reason__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(14, 105, 55, .1);
	color: var(--green);
}
.reason__icon .icon { width: 18px; }
.reason h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 650; margin-bottom: .3em; letter-spacing: 0; }
.reason p { font-size: .975rem; color: var(--muted); }

/* Steps */
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0; padding: 0;
	list-style: none;
	counter-reset: step;
}
.step {
	position: relative;
	padding: 28px 28px 28px 28px;
	border-radius: var(--radius-lg);
	background: var(--paper);
	border: 1px solid var(--line);
	counter-increment: step;
}
.step::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	margin-bottom: 20px;
	border-radius: 50%;
	border: 1.5px solid var(--navy);
	font: 600 1.05rem/1 var(--serif);
	color: var(--navy);
}
.step p { color: var(--muted); font-size: .975rem; }

/* Pills */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pill-list li {
	padding: 12px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-weight: 500;
	color: var(--ink);
}

/* Jobs */
.job-list { display: grid; gap: 12px; }
.job-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	transition: border-color .2s, box-shadow .2s;
}
.job-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.job-card__title { font-family: var(--sans); font-size: 1.1rem; font-weight: 650; margin: 0 0 8px; letter-spacing: 0; }
.job-card__title a { color: var(--ink); text-decoration: none; }
.job-card__link { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-weight: 600; text-decoration: none; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.job-card .job-meta { margin-bottom: 0; }
.tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--mist);
	font-size: .85rem;
	color: var(--text);
}
.tag--pay { background: rgba(14, 105, 55, .1); color: var(--green); font-weight: 600; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter a {
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .925rem;
	color: var(--ink);
	text-decoration: none;
}
.filter a:hover,
.filter a[aria-current] { border-color: var(--navy); background: var(--navy); color: #fff; }

.empty {
	max-width: 36em;
	margin: 0 auto;
	padding: 48px 24px;
	text-align: center;
}
.empty p { color: var(--muted); }
.empty .btn { margin-top: 12px; }

/* About */
.mission-cards { display: grid; gap: 16px; }
.mission-card { padding: 28px; border-radius: var(--radius-lg); border-left: 3px solid var(--green); background: var(--mist); }
.mission-card:first-child { border-left-color: var(--navy); }
.mission-card p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.value { padding-top: 20px; border-top: 2px solid var(--navy); }
.value:nth-child(2) { border-color: var(--green); }
.value:nth-child(3) { border-color: var(--red); }
.value:nth-child(4) { border-color: var(--orange); }
.value p { color: var(--muted); font-size: .975rem; }

/* Job seekers */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.benefit { padding: 28px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit h3 { color: var(--navy); }
.benefit p { color: var(--muted); font-size: .975rem; }

.numbered { margin: 0; padding: 0; list-style: none; counter-reset: rule; }
.numbered li {
	position: relative;
	padding: 16px 0 16px 52px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	counter-increment: rule;
}
.numbered li::before {
	content: counter(rule, decimal-leading-zero);
	position: absolute;
	left: 0; top: 16px;
	font: 600 .9rem/1.8 var(--sans);
	letter-spacing: .05em;
	color: var(--green);
}

/* Training */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.module { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.module p { color: var(--muted); font-size: .975rem; }

/* Forms -------------------------------------------------------------- */

.form-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}
.form-card {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow);
}
.form-card__title { font-size: 1.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--red); }

.ps-form input:not([type="file"]):not([type="hidden"]),
.ps-form select,
.ps-form textarea,
.search-form input[type="search"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cfd3e1;
	border-radius: var(--radius);
	background: #fff;
	font: 1rem/1.4 var(--sans);
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.ps-form input:focus,
.ps-form select:focus,
.ps-form textarea:focus,
.search-form input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(44, 54, 145, .15); }
.ps-form textarea { resize: vertical; min-height: 120px; }
.ps-form input[type="file"] { padding: 12px; border: 1px dashed #cfd3e1; border-radius: var(--radius); background: var(--mist); font-size: .925rem; }
.ps-form .btn { margin-top: 8px; }
.form-note { margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 16px 20px; margin-bottom: 20px; border-radius: var(--radius); font-size: .975rem; }
.notice--success { background: rgba(14, 105, 55, .08); border: 1px solid rgba(14, 105, 55, .25); color: var(--green); }
.notice--error { background: rgba(195, 38, 46, .06); border: 1px solid rgba(195, 38, 46, .25); color: var(--red); }

.search-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 24px; }

/* Contact list */
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 12px; padding: 8px 0; }
.contact-list .icon { flex: 0 0 auto; margin-top: 3px; color: var(--green); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--navy); text-decoration: underline; }

.social-links { display: flex; gap: 8px; margin-top: 20px; }
.social-links a {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--navy);
}
.social-links a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* CTA band ------------------------------------------------------------ */

.cta-band { padding: clamp(48px, 6vw, 72px) 0; background: var(--navy); color: rgba(255, 255, 255, .8); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Blog & prose -------------------------------------------------------- */

.prose { max-width: 760px; }
.container.prose { margin-left: auto; margin-right: auto; }
.split .prose,
.form-layout .prose { max-width: none; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.prose img { border-radius: var(--radius); }
.featured { margin: 0 0 32px; }
.featured img { border-radius: var(--radius-lg); }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: .875rem; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__date { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--navy); }

.pagination, .post-navigation, .comments { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-navigation .nav-links { justify-content: space-between; }

.widget { margin-bottom: 32px; }

/* Footer -------------------------------------------------------------- */

.site-footer { background: var(--mist); border-top: 1px solid var(--line); font-size: .975rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(40px, 5vw, 64px);
}
.site-footer__brand .custom-logo { width: auto; height: 48px; margin-bottom: 20px; }
.site-footer__brand p { color: var(--muted); max-width: 26em; }
.site-footer__title { font: 700 .8rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.site-footer__links { margin: 0; padding: 0; list-style: none; }
.site-footer__links li { padding: 5px 0; }
.site-footer__links a { color: var(--text); text-decoration: none; }
.site-footer__links a:hover { color: var(--navy); text-decoration: underline; }

.site-footer__bar { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .875rem; }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.site-footer__bar a { color: #fff; }
.site-footer__bar .credit a { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.site-footer__bar .credit a:hover { border-color: #fff; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }

/* Responsive ---------------------------------------------------------- */

@media (max-width: 1100px) {
	.industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-nav .menu a { padding: 8px 9px; }
}

@media (max-width: 960px) {
	.nav-toggle { display: block; }

	.site-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		height: calc(100vh - 84px);
		height: calc(100dvh - 84px);
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px var(--gutter) 32px;
		background: #fff;
		border-top: 1px solid var(--line);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: .2s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }

	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.site-nav .menu a:hover { background: none; }
	.site-nav .current-menu-item > a,
	.site-nav .current_page_item > a { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.site-nav__cta { align-self: flex-start; }

	.hero__inner,
	.split,
	.form-layout { grid-template-columns: 1fr; }
	.hero__panel { max-width: 520px; }
	.hero__dots { width: 80%; opacity: .2; }

	.services { grid-template-columns: 1fr; border-top: 0; }
	.service,
	.service + .service { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }

	.steps,
	.modules,
	.post-grid { grid-template-columns: 1fr 1fr; }
	.values { grid-template-columns: 1fr 1fr; }
	.benefits { grid-template-columns: 1fr 1fr; }
	.benefit:nth-child(3) { border-left: 0; }
	.benefit:nth-child(n+3) { border-top: 1px solid var(--line); }

	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.site-header__inner { min-height: 72px; }
	.site-nav { height: calc(100vh - 72px); height: calc(100dvh - 72px); }
	.site-brand .custom-logo { height: 40px; max-width: 180px; }

	.hero__actions .btn { flex: 1 1 100%; }
	.doors,
	.industries,
	.reasons,
	.steps,
	.modules,
	.values,
	.post-grid,
	.form-grid { grid-template-columns: 1fr; }
	.benefits { grid-template-columns: 1fr; }
	.benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }

	.roles-strip ul { justify-content: flex-start; }
	.job-card { flex-direction: column; align-items: flex-start; }
	.cta-band__actions,
	.cta-band__actions .btn { width: 100%; }

	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__bar-inner { flex-direction: column; align-items: flex-start; }
}

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