/* NBCS site stylesheet (new design). Plain CSS, no build step, no framework.
   Tokens first; change colours/fonts here and they apply everywhere. */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy-900: #0f1d3d;
	--navy-800: #14264f;
	--brand: #2b4c99;
	--brand-dark: #223d7a;
	--green: #007a5f;
	--green-dark: #00634d;
	--sky: #7fbfe3;
	--paper: #f6f7f4;
	--white: #ffffff;
	--ink: #1d2530;
	--muted: #4b5565;
	--line: #dfe4ea;

	--font-head: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 12px;
	--container: 72rem;
	--shadow: 0 1px 2px rgba(15, 29, 61, 0.06), 0 6px 20px rgba(15, 29, 61, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 0.2em; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; color: var(--navy-800); }
h1 { font-size: clamp(2.1rem, 1rem + 3.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy-800); color: #fff; padding: 0.6rem 1rem; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--paper { background: var(--paper); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-head p.eyebrow { color: var(--green); font-size: 0.85rem; }
.eyebrow { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin: 0 0 0.8rem; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: 0.8rem 1.5rem; border-radius: 8px; border: 2px solid transparent;
	font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy-800); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-text span { font-size: 0.72rem; color: var(--muted); }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.site-nav a:not(.btn) { display: block; padding: 0.5rem 0.85rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--paper); color: var(--brand); }
.site-nav li:last-child { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--navy-800); content: ""; margin: 0 auto; position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after { position: absolute; top: 6px; left: 0; }

@media (max-width: 62rem) {
	.js .nav-toggle { display: block; }
	.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 0.75rem 1.25rem 1.25rem; box-shadow: var(--shadow); }
	.js .site-nav[data-open="true"] { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; }
	.site-nav li:last-child { margin: 0.5rem 0 0; }
	.site-nav .btn { width: 100%; }
	.no-js .site-nav ul { flex-wrap: wrap; justify-content: flex-end; }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-800); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 29, 61, 0.94) 0%, rgba(20, 38, 79, 0.82) 48%, rgba(20, 38, 79, 0.4) 100%); }
.hero-inner { padding-block: clamp(3.5rem, 8vw, 6.5rem); max-width: 44rem; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; color: #e3e9f4; max-width: 38rem; margin-bottom: 2rem; }

/* Fact strip */
.facts { background: var(--navy-900); color: #fff; }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts div { padding: 1.4rem 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font: 800 1.2rem/1.2 var(--font-head); margin-bottom: 0.25rem; }
.facts dd { margin: 0; font-size: 0.92rem; color: #c9d3e6; line-height: 1.45; }
@media (max-width: 62rem) {
	.facts dl { grid-template-columns: repeat(2, 1fr); }
	.facts div:nth-child(3) { border-left: 0; padding-left: 0; }
	.facts div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
}
@media (max-width: 34rem) {
	.facts dl { grid-template-columns: 1fr; }
	.facts div { border-left: 0; padding-left: 0; }
	.facts div:nth-child(n + 2) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
}

/* Cards */
.grid-3 { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); list-style: none; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.card-body p { color: var(--muted); font-size: 0.98rem; }
.card-body p.card-tag { color: var(--green); font-size: 0.78rem; }
.card-body p.card-meta { font-size: 0.85rem; margin-bottom: 0.5rem; }
.card-tag { font: 700 0.78rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); text-decoration: underline; }
.card-link { margin-top: auto; font-weight: 600; font-family: var(--font-head); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.more { margin-top: 2.25rem; }
@media (prefers-reduced-motion: no-preference) {
	.card { transition: transform 0.2s, box-shadow 0.2s; }
	.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 29, 61, 0.08), 0 14px 32px rgba(15, 29, 61, 0.1); }
}

/* Split section */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.checks { list-style: none; margin: 1.5rem 0 2rem; display: grid; gap: 0.7rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green); }
.checks li::after { content: ""; position: absolute; left: 0.4rem; top: 0.62em; width: 0.32rem; height: 0.58rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

/* Partners */
.logos { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; }
.logos a { display: flex; align-items: center; justify-content: center; width: 9.5rem; height: 9.5rem; padding: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.logos a:hover { border-color: var(--brand); }
.logos img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 38rem; margin-inline: auto; margin-bottom: 1.75rem; color: #e6ecf8; font-size: 1.15rem; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-900); color: #c9d3e6; padding-top: 4rem; font-size: 0.97rem; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-underline-offset: 0.2em; }
.site-footer a:hover { color: var(--sky); }
.site-footer a[href^="tel:"] { white-space: nowrap; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1.3fr 0.8fr 0.8fr; }
.footer-grid ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer address { font-style: normal; display: grid; gap: 0.5rem; }
.footer-legal { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; }
@media (max-width: 62rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }

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


/* ==========================================================================
   Inner pages: page header, components, filters, forms
   ========================================================================== */

[hidden] { display: none !important; }

.page-hero { background: var(--navy-800); color: #fff; padding-block: clamp(2.75rem, 6vw, 4.5rem); border-bottom: 4px solid var(--green); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1rem + 2.8vw, 3rem); margin-bottom: 0.5rem; max-width: 52rem; }
.page-hero p { color: #d6def0; font-size: 1.15rem; max-width: 46rem; margin: 0; }
.page-hero .eyebrow { color: var(--sky); }

.text-center { text-align: center; }
.text-center .section-head { margin-inline: auto; }
.section-head h2:last-child { margin-bottom: 0; }

.btn-row--center { justify-content: center; }
.section-actions { margin-top: 2.25rem; }
.text-center .section-actions { justify-content: center; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 1rem; list-style: none; margin: 0 0 2rem; }
.stats li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 1.25rem 1.1rem; text-align: left; font-size: 0.95rem; color: var(--muted); line-height: 1.4; }
.stats strong { display: block; font: 800 1.3rem/1.2 var(--font-head); color: var(--navy-800); margin-bottom: 0.3rem; }
.section--paper .stats li { background: #fff; }

/* Text cards (cards without photos) */
.card--plain .card-body { padding: 1.6rem; }
.card--plain h3 { margin-bottom: 0.5rem; }
.card--plain { border-top: 4px solid var(--brand); }

.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; }
.profile { display: flex; gap: 1.75rem; align-items: center; text-align: left; max-width: 46rem; margin-inline: auto; }
.profile-photo { width: 9rem; height: 9rem; flex: none; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); }
.profile h3 { margin-bottom: 0.25rem; }
@media (max-width: 34rem) { .profile { flex-direction: column; text-align: center; } }

.lead-copy { max-width: 52rem; }
.text-center .lead-copy { margin-inline: auto; }
.note, .service-note, .story-note, .project-update-note { border-left: 4px solid var(--green); background: var(--paper); border-radius: 8px; padding: 1.1rem 1.4rem; margin: 2rem 0; }
.story-note { border-left-color: var(--sky); }
.project-update-note h2 { font-size: 1.3rem; }
.service-cta, .story-cta, .story-index-cta { background: var(--navy-800); color: #d6def0; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); text-align: center; margin-top: 3rem; }
.service-cta h2, .story-cta h2, .story-index-cta h2 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); }
.service-cta .btn-row, .story-cta .btn-row, .story-index-cta .btn-row { justify-content: center; }

/* Services */
.services-intro { max-width: 52rem; margin: 0 auto 2.25rem; font-size: 1.15rem; }
.service-kicker, .project-kicker, .story-kicker, .story-card-category { font: 700 0.78rem/1.3 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18.5rem, 1fr)); gap: 1.5rem; margin-top: 2rem; text-align: left; }
.service-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.97rem; color: var(--muted); }
.service-card li { position: relative; padding-left: 1.3rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); }
.service-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem; margin-top: 2rem; text-align: left; }
.service-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.service-step strong { display: block; font: 800 2rem/1 var(--font-head); color: var(--green); margin-bottom: 0.5rem; }
.service-list-columns { columns: 2; column-gap: 2.5rem; list-style: none; margin: 1.5rem 0; text-align: left; }
.service-list-columns li { break-inside: avoid; position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; }
.service-list-columns li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); }
@media (max-width: 40rem) { .service-list-columns { columns: 1; } }
.project-map-wrapper, .story-video, .form-embed { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.project-map-wrapper iframe, .story-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.form-embed { padding-bottom: 0; background: #fff; box-shadow: var(--shadow); }
.form-embed iframe { display: block; width: 100%; height: 1520px; border: 0; }
@media (max-width: 40rem) { .form-embed iframe { height: 1750px; } }
.project-map-note { max-width: 46rem; margin: 1rem auto 0; font-size: 0.92rem; color: var(--muted); }
.split .content > :last-child { margin-bottom: 0; }

/* Filters (projects and stories) */
.filter-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.filter-search, .project-search, .story-search { flex: 1 1 16rem; max-width: 26rem; }
.filter-search input, .project-search input, input.story-search, .review-form input[type="text"], .review-form textarea {
	width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9c2cf; border-radius: 8px; padding: 0.7rem 0.95rem;
}
.filter-search input:focus, input.story-search:focus, .review-form input:focus, .review-form textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--brand); }
.filter-buttons, .project-filters, .story-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-toolbar, .stories-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.project-filter, .story-filter { font: 700 0.8rem/1.2 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1.1rem; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.project-filter:hover, .story-filter:hover { border-color: var(--brand); color: var(--brand); }
.project-filter.active, .story-filter.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.project-empty, .story-empty { text-align: center; padding: 2rem; border: 1px dashed #b9c2cf; border-radius: var(--radius); color: var(--muted); }

.project-grid, .story-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); gap: 1.75rem; margin-bottom: 2rem; }
.project-card, .story-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-card-image, .story-card-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.project-card-image img, .story-card-image img { width: 100%; height: 100%; object-fit: cover; }
.project-card-content, .story-card-content { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.project-card h3, .story-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 0.6rem; }
.story-card h3 a { color: inherit; text-decoration: none; }
.story-card h3 a:hover { color: var(--brand); text-decoration: underline; }
.project-card p, .story-card p { color: var(--muted); font-size: 0.96rem; }
.project-meta { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.project-meta .project-category { color: var(--green); font-weight: 700; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.project-tag { background: rgba(43, 76, 153, 0.09); color: var(--brand-dark); font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 999px; }
.story-card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.featured-story { margin-bottom: 3.5rem; }

/* Story articles */
.prose { max-width: 48rem; margin-inline: auto; }
.prose h2 { margin-top: 2.25rem; font-size: clamp(1.5rem, 1rem + 1.3vw, 2rem); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .story-lead { font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem); margin: 0 0 1rem; }
.story-hero { margin: 0 0 1.75rem; }
.story-hero img, .story-image img { width: 100%; border-radius: var(--radius); }
.story-image { margin: 2.25rem 0; }
.story-image figcaption { font-size: 0.88rem; color: var(--muted); text-align: center; margin-top: 0.6rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.5rem; }
.story-meta span + span { padding-left: 0.9rem; border-left: 1px solid var(--line); }
.story-toc { background: var(--paper); margin: 0 0 2rem; }
.story-toc ul { margin: 0.5rem 0 0; }
.story-checklist { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 2rem 0; }
.story-checklist ul { margin-bottom: 0; }
.story-video { margin: 2.25rem 0; }
.story-references { margin-top: 3rem; }
.story-references ul { font-size: 0.95rem; }
.story-cta h2 { margin-top: 0; }
.story-cta a.btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.story-cta a.btn-outline:hover, .service-cta a.btn-outline:hover, .story-index-cta a.btn-outline:hover { background: #fff; color: var(--navy-800); }
.service-cta a.btn-outline, .story-index-cta a.btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.75); }

/* Reviews */
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.review-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.review-name { margin: 0; font-size: 1.1rem; }
.review-meta { margin: 0.3rem 0 0; font-size: 0.92rem; color: var(--muted); }
.review-stars { letter-spacing: 0.12em; white-space: nowrap; color: #b7791f; }
.review-comment { margin: 1rem 0 0; }
.review-empty { grid-column: 1 / -1; border: 1px dashed #b9c2cf; border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--muted); }
.review-form { max-width: 40rem; display: grid; gap: 1.25rem; }
.review-form textarea { resize: vertical; }
.rating-label { display: block; font-weight: 600; margin-bottom: 0.6rem; }
.rating-pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rating-pill { font: 700 0.85rem/1.2 var(--font-head); color: var(--ink); background: #fff; border: 1px solid #b9c2cf; border-radius: 999px; padding: 0.6rem 1.1rem; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.rating-pill:hover { border-color: var(--brand); color: var(--brand); }
.rating-pill.primary, .rating-pill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.review-note { margin: 0.5rem 0 0; font-size: 0.92rem; color: var(--muted); }
input[type="submit"].btn { font-family: var(--font-head); }
.review-status { display: none; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 8px; font-weight: 600; }
.review-status.is-success, .review-status.is-error, .review-status.is-loading { display: block; }
.review-status.is-success { background: #e8f5ee; border: 1px solid #9bd0b3; color: #17653a; }
.review-status.is-error { background: #fbeceb; border: 1px solid #e2a8a2; color: #9b2c22; }
.review-status.is-loading { background: #e9f1fa; border: 1px solid #a9c6e6; color: #1d578c; }


/* Refinements */
h1 a, h2 a, h3 a { color: inherit; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover { color: var(--brand); text-decoration: underline; }
.story-card p.story-card-category, .project-card p.project-kicker { color: var(--green); font-size: 0.78rem; }
.text-center .card, .text-center .service-card, .text-center .service-step, .text-center .stats li, .text-center .service-grid { text-align: left; }
.section .container > p, .section .container > .lead-copy { max-width: 54rem; }
.text-center .container > p { margin-inline: auto; }
.container > p + .section-head, .container > ul + .section-head { margin-top: 2.75rem; }
.profile-text p { margin-bottom: 0.5rem; }
.profile-text p:last-child { margin-bottom: 0; }
.project-map-note + .btn-row, .section-actions { margin-top: 2rem; }
.page-hero--article .container { width: min(100% - 2.5rem, 48rem); }
.text-center .logos { justify-content: center; }
