/* public-sector.css — /public-sector/, /public-sector/sb3/ and /public-sector/capability-statement/ (2026-11-20 sprint T3;
   2026-11-23 "Public Sector 2차": scannable layout — hero deadlines and SB 3 county map, four start doors, program
   timeline and cards, service cards with "Try first" tools, copy buttons, grouped tool list, SB 3 county page).
   Loaded only by those pages, after styles.css (same precedent as pilot.css).
   Tokens and components of styles.css only (--hero-navy, --hero-orange, --orange-90, --navy-90, --cream, --surface,
   --ink, --body, --muted, --hairline; .page-hero, .eyebrow, .btn, .text-link, .cred-bar, .conversion).
   No new colour, font, gradient, shadow or animation; hover changes colour and border only (150ms, design.md §6).
   Small orange text uses --orange-90 (4.91:1 on --surface, 4.67:1 on --cream). Every selector starts with .ps- or .cs-
   (print rules: body.cs-page). Screen text: body 16px minimum, captions/labels 12-14px (design.md §3.2, §7); spacing on
   the 8-pt scale (§4.2); cards 32px padding (§5.2), 24px at 720px and below; standalone links at least 44px tall on
   touch-size screens (§7). Print sizes live only in @media print. */

/* ---------- Hero: message + deadlines/map panel, contents line ---------- */
.ps-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.ps-hero__text { padding-top: 8px; }
.ps-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ps-hero__actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
.ps-crumb { color: inherit; transition: color 150ms ease-out; }
.ps-crumb:hover { color: var(--hero-navy); text-decoration: underline; }
.ps-toc { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.ps-toc__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ps-toc ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ps-toc a { display: inline-block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--hero-navy); transition: color 150ms ease-out; }
.ps-toc a:hover { text-decoration: underline; }
.ps-sec { scroll-margin-top: 121px; }   /* the "On this page" jumps land the section top just under the 121px sticky header */

.ps-due { background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; padding: 32px; }
.ps-due__title { margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-navy); }
.ps-due__list { list-style: none; }
.ps-due__item { border-top: 1px solid var(--hairline); }
.ps-due__item:first-child { border-top: 0; }
.ps-due__item a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 2px 16px; align-items: baseline; padding: 12px 0; color: var(--ink); transition: color 150ms ease-out; }
.ps-due__item a:hover .ps-due__label { color: var(--hero-navy); text-decoration: underline; }
.ps-due__item time { grid-row: 1 / span 2; white-space: nowrap; }
.ps-due__md { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: var(--hero-navy); }
.ps-due__y { display: block; font-size: 13px; color: var(--muted); }
.ps-due__label { font-size: 16px; line-height: 1.45; }
.ps-due__left { font-size: 13px; font-weight: 600; color: var(--orange-90); }
.ps-due__left:empty { display: none; }
.ps-due__src { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ps-due__src a { color: var(--hero-navy); }
.ps-due__src a:hover { text-decoration: underline; }

/* Static map (written by ps_build.mjs): state in cream with a navy line, SB 3 counties in navy */
.ps-txmap { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px 24px; align-items: center; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--hairline); }
.ps-txmap__svg { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.ps-txmap__state { fill: var(--cream); stroke: var(--hero-navy); stroke-width: 1; stroke-linejoin: round; }
.ps-txmap__sb3, .ps-txmap__county { fill: var(--hero-navy); stroke: var(--surface); stroke-width: .6; stroke-linejoin: round; }
.ps-txmap__county { transition: fill 150ms ease-out; }
.ps-txmap__county:hover { fill: var(--orange-90); }
.ps-txmap figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); }
.ps-txmap--large figcaption { margin-top: 8px; text-align: center; }
.ps-txmap figcaption a { display: inline-block; padding: 2px 0; color: var(--hero-navy); font-weight: 500; }
.ps-txmap figcaption a:hover { text-decoration: underline; }
.ps-txmap--large { display: block; margin: 0; padding: 0; border: 0; }
.ps-txmap__svg--large { max-width: 640px; }

/* ---------- Section intro (heading + short paragraph) and notes ---------- */
.ps-intro { max-width: 760px; margin-bottom: 40px; }
.ps-intro h2 { font-size: 32px; line-height: 1.25; margin-bottom: 16px; }
.ps-intro p { font-size: 18px; line-height: 1.65; color: var(--body); }
.ps-note { margin-top: 24px; max-width: 760px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.ps-note a { color: var(--hero-navy); }
.ps-note a:hover { text-decoration: underline; }
.ps-tag { display: inline-block; width: fit-content; margin-bottom: 12px; padding: 3px 10px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-90); border: 1px solid var(--orange-90); border-radius: 999px; }

/* ---------- Folded detail (<details>): plus / minus, no motion ---------- */
.ps-more { margin-top: 12px; }
.ps-more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--hero-navy); transition: color 150ms ease-out; }
.ps-more > summary::-webkit-details-marker { display: none; }
.ps-more > summary::before { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-size: 15px; line-height: 1; border: 1.5px solid var(--hero-navy); border-radius: 50%; }
.ps-more[open] > summary::before { content: '\2212'; }
.ps-more > summary:hover { text-decoration: underline; }
.ps-more > p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- Where to start: four doors ---------- */
.ps-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ps-door { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--hairline); border-top: 3px solid var(--hero-navy); border-radius: 4px; padding: 24px; transition: border-color 150ms ease-out; }
.ps-door:hover { border-color: var(--hero-navy); }
.ps-door__kicker { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ps-door h3 { margin-bottom: 8px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.ps-door p { font-size: 16px; line-height: 1.55; color: var(--body); }
.ps-door__links { margin-top: auto; padding-top: 16px; list-style: none; }
.ps-door__links .text-link { display: inline-block; padding: 6px 0; font-size: 15px; }
.ps-who { margin-top: 32px; }
.ps-who__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; margin-top: 16px; }
.ps-who__list dt { font-size: 16px; font-weight: 600; color: var(--ink); }
.ps-who__list dd { margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--body); }

/* ---------- Program watch: date rail + program cards ---------- */
.ps-rail__caption, .ps-watch__caption { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-navy); }
.ps-rail { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; list-style: none; }
.ps-rail::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; border-top: 2px solid var(--hairline); }
.ps-rail__step { position: relative; padding-top: 28px; }
.ps-rail__step::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; box-sizing: border-box; background: var(--surface); border: 2px solid var(--hero-navy); border-radius: 50%; }
.ps-rail__step.is-next::before { background: var(--hero-orange); border-color: var(--hero-orange); }
.ps-rail__step.is-past::before { border-color: var(--muted); }
.ps-rail__step.is-past { color: var(--muted); }
.ps-rail__step time { display: block; }
.ps-rail__md { display: block; font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: var(--hero-navy); }
.ps-rail__y { display: block; font-size: 13px; color: var(--muted); }
.ps-rail__step.is-past .ps-rail__md { color: var(--muted); }
.ps-rail__label { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.ps-rail__step.is-past .ps-rail__label { color: var(--muted); }
.ps-rail__prog { display: inline-block; margin-top: 4px; padding: 2px 0; font-size: 13px; line-height: 1.4; color: var(--hero-navy); }
.ps-rail__prog:hover { text-decoration: underline; }
.ps-progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ps-prog { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; padding: 24px; scroll-margin-top: 137px; transition: border-color 150ms ease-out; }
.ps-prog:hover, .ps-prog:target { border-color: var(--hero-navy); }
.ps-prog__agency { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ps-prog h3 { margin-bottom: 12px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.ps-prog__dates { font-size: 16px; line-height: 1.6; color: var(--ink); }
.ps-prog__dates strong { color: var(--hero-navy); }
.ps-prog__src { margin-top: 8px; font-size: 15px; line-height: 1.4; }
.ps-prog__src a { display: inline-block; margin-right: 16px; padding: 4px 0; color: var(--hero-navy); font-weight: 500; }
.ps-prog__src a:hover { text-decoration: underline; }
.ps-prog__src span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ps-prog__more { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 15px; }

/* ---------- How we help: icon cards with "Try first" ---------- */
.ps-svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ps-svc { display: flex; flex-direction: column; align-items: flex-start; background: var(--cream); border: 1px solid var(--hairline); border-radius: 4px; padding: 24px; transition: border-color 150ms ease-out; }
.ps-svc:hover { border-color: var(--hero-navy); }
.ps-svc__icon { flex: none; margin-bottom: 16px; color: var(--hero-navy); }
.ps-svc h3 { margin-bottom: 8px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.ps-svc__lead { font-size: 16px; line-height: 1.6; color: var(--body); }
.ps-svc__try { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.ps-svc__try a { display: inline-block; padding: 2px 0; color: var(--hero-navy); font-weight: 600; }
.ps-svc__try a:hover { text-decoration: underline; }
.ps-svc__note { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ps-svc__cta { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 16px; }

/* ---------- Procurement facts (definition list, copy buttons) + how we work ---------- */
.ps-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ps-proc { display: grid; gap: 48px; }
.ps-proc .ps-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.ps-proc .ps-facts div { grid-template-columns: minmax(0, 1fr); }
.ps-proc .ps-facts div:nth-child(2) { border-top: 0; }
.ps-proc .ps-steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ps-proc .ps-steps li { padding: 48px 0 0; }
.ps-proc__more { margin-top: -32px; }
.ps-proc__more .ps-facts { margin-top: 12px; }
.ps-facts { background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; padding: 8px 32px; }
.ps-facts div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--hairline); }
.ps-facts div:first-child { border-top: 0; }
.ps-facts dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; color: var(--muted); }
.ps-facts dd { font-size: 16px; line-height: 1.6; color: var(--ink); }
.ps-facts dd a, .ps-note a, .cs-data dd a { display: inline-block; padding: 2px 0; }   /* >= 24px targets on desktop (44px below 1024px) */
.ps-facts dd a { color: var(--hero-navy); }
.ps-facts dd a:hover { text-decoration: underline; }
.ps-copy { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.ps-copy__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; margin-left: 8px; padding: 0 8px; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--hero-navy); background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; cursor: pointer; vertical-align: 1px; transition: border-color 150ms ease-out, color 150ms ease-out; }
.ps-copy__btn:hover { border-color: var(--hero-navy); }
.ps-copy__btn[hidden] { display: none; }
.ps-copy__btn.is-done { color: var(--orange-90); border-color: var(--orange-90); }
.ps-steps h3, .ps-sb3help h3 { margin-bottom: 16px; font-size: 20px; font-weight: 600; color: var(--ink); }
.ps-steps ol { list-style: none; counter-reset: ps-step; }
.ps-steps li { position: relative; counter-increment: ps-step; padding: 0 0 24px 48px; font-size: 16px; line-height: 1.6; color: var(--body); }
.ps-steps li strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.ps-steps li::before { content: counter(ps-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--hero-navy); border: 1.5px solid var(--hero-navy); border-radius: 50%; }

/* ---------- Key personnel ---------- */
.ps-person { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 64px; align-items: start; }
.ps-person__photo { margin: 0; }
.ps-person__photo img { width: 100%; height: auto; border: 1px solid var(--hairline); border-radius: 4px; }
.ps-person__name { margin-bottom: 4px; font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 24px; font-weight: 700; color: var(--ink); }
.ps-person__role { margin-bottom: 24px; font-size: 16px; color: var(--muted); }
.ps-person p { max-width: 640px; margin-bottom: 16px; font-size: 18px; line-height: 1.65; color: var(--body); }
.ps-list { display: grid; gap: 12px; margin: 0 0 24px; list-style: none; max-width: 640px; }
.ps-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.ps-list li::before { content: ''; position: absolute; left: 0; top: calc(0.775em - 1px); width: 8px; height: 2px; background: var(--hero-navy); }
.ps-person .ps-note { margin-top: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
/* Field photo strip (2026-11-24): three 4:3 cells right under the experience notice — plain photos, no caption, hairline border only.
   width/height on each img plus aspect-ratio keep the cells' size before the files load. */
.ps-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 640px; margin-top: 24px; list-style: none; }
.ps-photos picture { display: block; }
.ps-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--hairline); border-radius: 4px; }
/* Current work at HERO E&C: a hairline sets the firm's own work apart from the earlier-experience block above */
.ps-current { max-width: 640px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.ps-current__title { margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-navy); }
.ps-current__links { display: flex; flex-wrap: wrap; gap: 0 32px; list-style: none; }
.ps-current__links .text-link { display: inline-block; padding: 6px 0; line-height: 1.4; }

/* ---------- Free tools: two groups ---------- */
.ps-toolgrid { display: grid; gap: 32px; }
.ps-toolgroup h3 { margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-navy); }
.ps-tools { list-style: none; border-top: 1px solid var(--hairline); }
.ps-toolgrid .ps-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.ps-tools li { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.ps-tools a { display: inline-block; padding: 2px 0; font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 17px; font-weight: 600; color: var(--hero-navy); }
.ps-tools a:hover { text-decoration: underline; }
.ps-tools p { margin-top: 2px; font-size: 16px; line-height: 1.55; color: var(--body); }
.ps-back { margin-top: 32px; font-size: 15px; color: var(--muted); }
.ps-back .text-link { display: inline-block; padding: 8px 0; }

/* ---------- Capability statement teaser ---------- */
.ps-cs { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 32px; background: var(--cream); border: 1px solid var(--hairline); border-radius: 4px; }
.ps-cs h2 { margin-bottom: 12px; font-size: 28px; line-height: 1.25; }
.ps-cs p { max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--body); }
.ps-cs__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ps-cs .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
.ps-cs .text-link { display: inline-block; padding: 8px 0; }

/* ---------- SB 3 page ---------- */
.ps-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.ps-stats div { padding: 16px 0; border-top: 1px solid var(--hairline); }
.ps-stats div:nth-child(-n+2) { border-top: 0; padding-top: 8px; }
.ps-stats dt { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.ps-stats dd { margin-top: 4px; font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--hero-navy); }
.ps-sb3map { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ps-sb3map__head { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-navy); }
.ps-counties { columns: 3; column-gap: 24px; margin-bottom: 16px; list-style: none; }
.ps-counties li { padding: 4px 0; font-size: 16px; line-height: 1.5; color: var(--ink); break-inside: avoid; }
.ps-sb3map .text-link { display: inline-block; padding: 8px 0; }
.ps-sb3__h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.25; }
.ps-sb3__need, .ps-sb3__dates { max-width: 640px; margin-bottom: 12px; font-size: 18px; line-height: 1.65; color: var(--body); }
.ps-sb3__dates strong { color: var(--hero-navy); }
.ps-sb3help { background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; padding: 32px; }
.ps-sb3__for { margin-bottom: 16px; font-size: 16px; line-height: 1.6; color: var(--body); }
.ps-sb3__not { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Mobile call to action (720px and below; ps.js removes [hidden]) ---------- */
.ps-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--hairline); }
.ps-sticky[hidden] { display: none; }
.ps-sticky .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; }
@media (min-width: 721px) { .ps-sticky { display: none !important; } }

@media (max-width: 1199px) {
  .ps-doors, .ps-svcs, .ps-progs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-toolgrid .ps-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-proc .ps-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .ps-hero__grid, .ps-split, .ps-person, .ps-sb3map { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ps-due { max-width: 560px; }
  .ps-who__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the date rail turns vertical */
  .ps-rail { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ps-rail::before { left: 7px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 2px solid var(--hairline); }
  .ps-rail__step { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px; padding: 0 0 20px 36px; }
  .ps-rail__step time { grid-row: 1 / span 2; }
  .ps-rail__label { margin-top: 2px; }
  /* touch-size screens: standalone links at least 44px tall (design.md §7) */
  .ps-door__links .text-link, .ps-prog__src a, .ps-prog__more, .ps-svc__try a, .ps-svc__cta, .ps-tools a, .ps-toc a, .ps-facts dd a, .ps-note a, .ps-due__src a, .ps-txmap figcaption a, .ps-rail__prog, .ps-back .text-link, .ps-cs .text-link, .ps-sb3map .text-link, .ps-crumb, .cs-toolbar .cs-back, .cs-data dd a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .ps-more > summary { min-height: 44px; }
  .ps-copy__btn { min-height: 44px; min-width: 56px; }
  .ps-sec { scroll-margin-top: 85px; }    /* header 85px */
  .ps-prog { scroll-margin-top: 101px; }
  .ps-person__photo { max-width: 320px; }
  .ps-current__links .text-link { padding: 12px 0; }   /* 21px line + 24px = 45px tall per line of text */
}
@media (max-width: 720px) {
  .ps-doors, .ps-progs, .ps-svcs, .ps-who__list, .ps-toolgrid .ps-tools, .ps-proc .ps-facts, .ps-proc .ps-steps ol { grid-template-columns: minmax(0, 1fr); }
  .ps-proc .ps-facts div:nth-child(2) { border-top: 1px solid var(--hairline); }
  .ps-proc .ps-steps li { padding: 0 0 8px 48px; }
  .ps-intro h2, .ps-sb3__h2 { font-size: 28px; }
  .ps-due, .ps-door, .ps-prog, .ps-svc, .ps-sb3help { padding: 24px; }
  .ps-hero__actions .btn { flex: 1 1 100%; }
  .ps-facts { padding: 8px 24px; }
  .ps-facts div { grid-template-columns: minmax(0, 1fr); }
  .ps-copy { white-space: normal; }
  .ps-rail__step { grid-template-columns: minmax(0, 1fr); }
  .ps-rail__step time { grid-row: auto; display: flex; gap: 8px; align-items: baseline; }
  .ps-counties { columns: 2; }
  .ps-txmap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ps-txmap__svg { max-width: 280px; }
  .ps-txmap figcaption { text-align: center; }
  .ps-cs { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .ps-cs__actions { align-items: stretch; }
  .ps-cs .btn { width: 100%; }
  .ps-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }   /* first photo takes the row, the other two share the next (as .proj-strip on Projects) */
  .ps-photos > :first-child { grid-column: 1 / -1; }
  .ps-sec { scroll-margin-top: 69px; }    /* header 69px */
  .ps-prog { scroll-margin-top: 85px; }
  body.ps-has-sticky .site-footer { padding-bottom: 88px; }   /* the fixed call to action never covers the footer's last line */
}

/* ==========================================================================
   Capability statement sheet (/public-sector/capability-statement/)
   On screen: one Letter-proportioned sheet between the normal header and footer.
   Printed (or saved as PDF from the browser): the sheet alone on one US Letter page.
   ========================================================================== */
.cs-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: 880px; margin: 0 auto 24px; }
.cs-toolbar p { flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cs-toolbar .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.cs-toolbar .btn[hidden] { display: none; }   /* shown by ps.js; .btn's display would otherwise beat the hidden attribute */
.cs-toolbar .cs-back { display: inline-flex; align-items: center; min-height: 44px; }
.cs-toolbar .cs-back::after { content: none; }
.cs-toolbar .cs-back::before { content: '\2190  '; }
.cs-sheet { max-width: 880px; margin: 0 auto; padding: 48px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; color: var(--body); }
.cs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; border-bottom: 2px solid var(--hero-navy); }
.cs-head img { width: 220px; height: auto; }
.cs-head__title { text-align: right; }
.cs-head__title h1 { font-size: 28px; line-height: 1.15; margin-bottom: 4px; }
.cs-head__title p { font-size: 13px; color: var(--muted); }
.cs-lede { margin: 24px 0; font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ink); }
.cs-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cs-block + .cs-block { margin-top: 24px; }
.cs-block h2 { margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--hairline); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-navy); }
.cs-block p { font-size: 16px; line-height: 1.55; }
.cs-block ul { display: grid; gap: 8px; list-style: none; }
.cs-block li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.cs-block li::before { content: ''; position: absolute; left: 0; top: calc(0.75em - 1px); width: 7px; height: 2px; background: var(--hero-navy); }
.cs-data { padding: 16px 24px; background: var(--cream); border: 1px solid var(--hairline); border-radius: 4px; }
.cs-data dl div { padding: 8px 0; border-top: 1px solid var(--hairline); }
.cs-data dl div:first-child { border-top: 0; padding-top: 0; }
.cs-data dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cs-data dd { font-size: 16px; line-height: 1.45; color: var(--ink); }
.cs-foot { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 720px) {
  .cs-sheet { padding: 24px; }
  .cs-head { flex-direction: column; align-items: flex-start; }
  .cs-head__title { text-align: left; }
  .cs-head img { width: 180px; }
  .cs-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cs-toolbar .btn { width: 100%; }
}

@media print {
  @page { size: letter; margin: 0.45in 0.5in; }
  body.cs-page { background: var(--surface); }
  body.cs-page .site-header,
  body.cs-page .site-footer,
  body.cs-page .conversion,
  body.cs-page .page-hero,
  body.cs-page .cs-toolbar,
  body.cs-page .news-toast { display: none !important; }
  body.cs-page main > section { padding: 0; background: var(--surface); }
  body.cs-page .container { max-width: none; padding: 0; }
  .cs-sheet { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; }
  .cs-head img { width: 190px; }
  .cs-head__title h1 { font-size: 22pt; }
  .cs-lede { margin: 12pt 0 14pt; font-size: 12.5pt; }
  .cs-body { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22pt; }
  .cs-block + .cs-block { margin-top: 12pt; }
  .cs-block h2 { font-size: 9pt; margin-bottom: 5pt; }
  .cs-block p, .cs-block li, .cs-data dd { font-size: 9.5pt; line-height: 1.42; }
  .cs-block ul { gap: 3pt; }
  .cs-data { padding: 10pt 12pt; }
  .cs-data dl div { padding: 5pt 0; }
  .cs-data dt { font-size: 7.5pt; }
  .cs-data dd a { display: inline; min-height: 0; }
  .cs-foot { margin-top: 14pt; font-size: 8pt; }
  .cs-sheet a { color: var(--ink); }
  .cs-block, .cs-data { break-inside: avoid; }
}
