/* Simplar site styles.
   Brand colors and fonts live ONLY in :root below. Templates use these classes and tokens, never raw hex. */

:root {
  --navy: #14213d;
  --navy-deep: #0d1629;
  --navy-hover: #1c2f57;
  --brass: #d4a72c;
  --brass-ink: #7a5d0e;
  --text-muted: #4a5568;
  --text-body-alt: #2a3444;
  --hero-muted: #c3cbd9;
  --footer-text: #aab4c6;
  --line: #dbe0e8;
  --line-soft: #eef1f5;
  --input-border: #c9d0db;
  --panel: #f3f5f8;
  --panel-hover: #e9edf3;
  --white: #ffffff;

  --font: 'Public Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --header-gutter: var(--gutter);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-menu: 0 12px 24px rgba(13, 22, 41, 0.12);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
/* Keeps anchor jumps and keyboard focus clear of the sticky header. */
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brass-ink); }
a:hover { color: var(--navy); }
input, select, textarea, button { font-family: inherit; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Short pages (thank-you, 404): the footer reaches the bottom of the window. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

@media (max-width: 859.98px) { .only-wide { display: none !important; } }
@media (min-width: 860px) { .only-narrow { display: none !important; } }

/* ---------- Shared type ---------- */
.kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); }
.kicker--on-navy { color: var(--brass); }
.kicker--ink { color: var(--navy); }
.kicker--dot { display: flex; align-items: center; gap: 10px; }
.dot { display: block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--brass); }

.bullet { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

.text-link { position: relative; align-self: flex-start; font-size: 15.5px; font-weight: 700; text-decoration: none; color: var(--brass-ink); }
.text-link:hover { color: var(--navy); }
/* 45px tap target without moving the link. */
.text-link::after { content: ""; position: absolute; inset: -11px -4px; }

.section-title { margin: 0 0 28px; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.025em; color: var(--navy); }
@media (max-width: 399.98px) { .section-title { font-size: 28px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-size: 16px; font-weight: 700; border-radius: 4px; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--brass-ink); color: var(--white); }
.btn--brass { padding: 13px 22px; background: var(--brass); color: var(--navy); }
.btn--outline-light { padding: 12px 22px; border: 1px solid rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--brass:hover, .btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--submit { margin-top: 4px; align-self: flex-start; cursor: pointer; border: 0; padding: 13px 22px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__bar { max-width: calc(1200px + 2 * var(--header-gutter)); margin: 0 auto; padding: 12px var(--header-gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; }
.site-header__logo { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; min-height: 44px; }
.site-header__logo img { height: clamp(34px, 9vw, 36px); width: auto; max-width: 100%; display: block; object-fit: contain; object-position: left center; }
.site-header__narrow { display: flex; align-items: center; gap: 8px; flex: none; }
.site-header__present-sm { font-size: 14.5px; padding: 12px 14px; white-space: nowrap; }
@media (max-width: 859.98px) { .site-header__bar { column-gap: 16px; } }
@media (max-width: 339.98px) { .site-header__present-sm { padding: 12px 10px; } }

.menu-toggle { width: 44px; height: 44px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; background: var(--white); border: 1px solid var(--input-border); border-radius: 4px; padding: 0; }
.menu-toggle__bar { display: block; width: 20px; height: 2px; background: var(--navy); }
.menu-toggle__close { position: relative; width: 20px; height: 20px; display: none; }
.menu-toggle__close span { position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--navy); transform: rotate(45deg); }
.menu-toggle__close span + span { transform: rotate(-45deg); }
.site-header.is-open .menu-toggle__bar { display: none; }
.site-header.is-open .menu-toggle__close { display: block; }

.nav-wide { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; justify-content: flex-end; }
.nav-wide__link { position: relative; text-decoration: none; font-size: 15.5px; font-weight: 600; padding: 6px 0; border-bottom: 3px solid transparent; color: var(--navy); }
.nav-wide__link::after { content: ""; position: absolute; inset: -4px 0 -7px; }
.nav-wide__link:hover { color: var(--brass-ink); }
.nav-wide__link[aria-current="page"] { border-bottom-color: var(--brass); }
.nav-wide__present { font-size: 15.5px; padding: 11px 18px; }

.mobile-menu { display: none; flex-direction: column; border-top: 1px solid var(--line); background: var(--white); padding: 4px var(--header-gutter) 12px; box-shadow: var(--shadow-menu); }
.site-header.is-open .mobile-menu { display: flex; }
.mobile-menu a { text-decoration: none; font-size: 17px; font-weight: 700; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a[aria-current="page"] { color: var(--brass-ink); text-decoration-line: underline; text-decoration-thickness: 3px; text-decoration-color: var(--brass); text-underline-offset: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--footer-text); }
.site-footer__inner { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(28px, 4vw, 44px) var(--gutter) 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.site-footer__logo { height: 40px; width: auto; display: block; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; }
.site-footer__nav a { text-decoration: none; color: var(--white); font-weight: 600; display: inline-block; padding: 11px 0; margin: -3px 0; }
.site-footer__nav a:hover { color: var(--brass); }
/* The five links need about 634px on one line (plus a classic scrollbar); below that, two even columns of 44px rows. */
@media (max-width: 659.98px) {
  .site-footer__nav { flex-basis: 100%; display: grid; grid-template-columns: repeat(2, max-content); column-gap: clamp(24px, 6vw, 40px); }
  .site-footer__nav a { margin: 0; }
}
.site-footer__copy { margin: 0; font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--panel); padding: clamp(40px, 5vw, 64px) var(--gutter); }
.cta-band__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 48px; }
.cta-band__item { border-top: 3px solid var(--brass); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.cta-band__item h2 { margin: 0; font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
.cta-band__item p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-muted); max-width: 46ch; }
.cta-band__item .text-link { margin-top: 6px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero__inner { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter); display: flex; flex-direction: column; gap: 14px; }
.page-hero__title { margin: 0; font-weight: 800; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.025em; max-width: 20ch; text-wrap: balance; }
.page-hero__lede { margin: 0; max-width: 64ch; font-size: 18px; line-height: 1.5; color: var(--hero-muted); }
/* Thank-you pages: a hero with nothing after it fills the window down to the footer. */
main:has(> .page-hero:only-child) { display: flex; flex-direction: column; }
main > .page-hero:only-child { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
main > .page-hero:only-child > .page-hero__inner { width: 100%; }

/* ---------- Home ---------- */
.home-hero { position: relative; isolation: isolate; background: var(--navy); color: var(--white); overflow: hidden; }
.home-hero__inner { position: relative; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(44px, 5.5vw, 72px) var(--gutter) clamp(96px, 10vw, 136px); display: flex; flex-direction: column; gap: 22px; }
.home-hero__title { margin: 0; font-weight: 800; font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.025em; }
.home-hero__title .accent { color: var(--brass); }
.home-hero__lede { margin: 0; max-width: 66ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.home-hero__sub { margin: 0; max-width: 66ch; font-size: 17px; line-height: 1.5; color: var(--hero-muted); }
.home-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 479.98px) {
  .home-hero__title { width: min-content; }
  .home-hero__actions .btn { flex: 1 1 auto; text-align: center; }
}

.service-cards { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(48px, 6vw, 80px); }
.service-cards__grid { max-width: 1200px; margin: -64px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--brass); border-radius: 6px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card); }
.service-card__title { margin: 0; min-height: 2.24em; font-weight: 800; font-size: 25px; line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); }
.service-card__blurb { margin: 0; min-height: 4.5em; font-size: 15.5px; line-height: 1.5; color: var(--text-muted); }
.service-card__list { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; font-weight: 600; color: var(--navy); }
.service-card__list .bullet { margin-top: 7px; }
.service-card .text-link { margin-top: 10px; }
/* One card per row below the 3-up width; from 700px the bullets sit beside the text. */
@media (max-width: 947.98px) {
  .service-cards__grid { grid-template-columns: 1fr; }
  .service-card__title, .service-card__blurb { min-height: 0; }
}
@media (min-width: 700px) and (max-width: 947.98px) {
  .service-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 32px; row-gap: 12px; }
  .service-card > .kicker { grid-area: 1 / 1; }
  .service-card__title { grid-area: 2 / 1; }
  .service-card__blurb { grid-area: 3 / 1; }
  .service-card .text-link { grid-area: 4 / 1; justify-self: start; margin-top: 4px; }
  .service-card__list { grid-area: 1 / 2 / 5 / 3; margin: 0; padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--line); }
}
@media (min-width: 948px) { .service-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- What We Do ---------- */
.services { padding: 0 var(--gutter); }
.service-section { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 56px; align-items: start; }
.service-section:last-child { border-bottom: 0; }
.service-section__text { display: flex; flex-direction: column; gap: 14px; }
.service-section__title { margin: 0; font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.025em; color: var(--navy); }
.service-section__outcome { margin: 0; font-size: 17px; font-weight: 700; color: var(--brass-ink); }
.service-section__blurb { margin: 0; font-size: 17px; line-height: 1.55; color: var(--navy); }
.service-section__detail { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.support-panel { background: var(--panel); border-radius: 6px; padding: 26px 26px 22px; }
.support-panel .kicker { margin: 0 0 8px; }
.support-panel__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 24px; }
.support-panel__list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; color: var(--navy); }
.support-panel__list .bullet { margin-top: 8px; }
@media (max-width: 1023.98px) {
  .service-section { grid-template-columns: 1fr; }
  .service-section__text { max-width: 40rem; }
}

/* ---------- Why Simplar ---------- */
.page-hero__inner--stats-follow { padding-bottom: clamp(32px, 4vw, 48px); }
.stats { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(44px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.stat { border-top: 3px solid var(--brass); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat__value { margin: 0; font-weight: 800; font-size: clamp(44px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.03em; color: var(--brass); }
.stat__label { margin: 0; font-size: 17px; font-weight: 700; }
/* The three stats share one row from 600px (never 2 + 1). */
@media (min-width: 620px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.logo-band { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 36px) var(--gutter); }
.logo-band__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; padding-right: 40px; animation: logo-marquee 140s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__logo { flex: none; width: 180px; height: 72px; display: flex; align-items: center; justify-content: center; }
.marquee__logo--dark { padding: 10px 14px; border-radius: 4px; background: var(--navy); }
.marquee__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
@keyframes logo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__dupe { display: none; }
}

.tiles-section { padding: clamp(48px, 6vw, 72px) var(--gutter); }
.tiles-section--tail { padding: 0 var(--gutter) clamp(48px, 6vw, 80px); }
.tiles-section .kicker { margin: 0 0 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.result-tile { background: var(--panel); border-radius: 6px; padding: 24px 22px; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 8px; }
/* Values in a row share a baseline, each right above its text. */
.result-tile__value { margin: 0; align-self: end; font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; color: var(--navy); }
.result-tile__text { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text-muted); }
.how-tile { border: 1px solid var(--line); border-top: 5px solid var(--brass); border-radius: 6px; padding: 24px 24px 26px; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
.how-tile__num { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: var(--brass-ink); }
.how-tile__title { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; color: var(--navy); }
.how-tile__text { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); }
.section-title--narrow { max-width: 24ch; text-wrap: balance; }
/* Four tiles: one per row on phones, 2 x 2 on tablets (never 3 + 1). Tiles in a row share title and text lines (subgrid). */
@media (max-width: 599.98px) { .tiles-section .tiles { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 600px) and (max-width: 1099.98px) { .tiles-section .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .tiles-section .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .result-tile__value { font-size: clamp(24px, 2.2vw, 28px); }
}
@media (max-width: 1279.98px) { .tiles-section .how-tile__title { text-wrap: balance; } }

/* ---------- Forms ---------- */
.content-section { padding: clamp(48px, 6vw, 72px) var(--gutter); }
.split { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 32px 64px; align-items: start; }
.narrow { max-width: 760px; margin: 0 auto; }

.form-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--brass); border-radius: 6px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
/* Phones: fields use the full content width, so the select text isn't clipped. */
@media (max-width: 479.98px) {
  .form-card { border-width: 5px 0 0; border-radius: 0; padding: 22px 0 0; }
  .split { row-gap: 48px; }
}
.form-card__title { margin: 0 0 4px; font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
@media (min-width: 937px) { .split .form-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.field__input { width: 100%; min-height: 46px; padding: 10px 12px; font-size: 16px; border: 1px solid var(--input-border); border-radius: 4px; background: var(--white); color: var(--navy); }
textarea.field__input { line-height: 1.5; resize: vertical; }
.field__input:focus { outline: 2px solid var(--brass); outline-offset: 2px; }
/* A required select still on its empty placeholder reads as unfilled. */
select.field__input:invalid { color: var(--text-muted); }
select.field__input option { color: var(--navy); }
.honeypot { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; margin: -12px 0; font-size: 14.5px; line-height: 1.45; font-weight: 400; color: var(--text-muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.form-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }

/* ---------- Seen Us Present: area links ---------- */
.area-links { display: flex; flex-direction: column; gap: 16px; }
.content-section > .container > .area-links { max-width: 760px; }
.area-links__title { margin: 0; font-weight: 800; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.area-links__list { display: flex; flex-direction: column; gap: 10px; }
.area-link { text-decoration: none; color: var(--navy); background: var(--panel); border-radius: 6px; padding: 18px 20px; display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: start; }
.area-link:hover { background: var(--panel-hover); color: var(--navy); }
.area-link .dot { margin-top: 6px; }
.area-link__text { display: flex; flex-direction: column; gap: 2px; }
.area-link__title { font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.area-link__blurb { font-size: 15px; line-height: 1.45; color: var(--text-muted); }

/* ---------- Ideas & Resources ---------- */
.resource-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* Cards in a row share logo, kicker, title, text and link lines (subgrid). */
.resource-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 14px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; }
.resource-card__logo { height: 96px; display: flex; align-items: center; justify-content: center; padding: 8px 0; }
/* Wide wordmarks are capped so they don't outweigh the square marks. */
.resource-card__logo img { max-width: min(100%, 240px); max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* The journal file has blank space right of the mark: show the mark only, centred. */
.resource-card__logo--journal img { height: 100%; aspect-ratio: 834 / 300; object-fit: cover; object-position: left center; }
.resource-card .kicker { margin: 6px 0 0; }
.resource-card__title { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; color: var(--navy); }
.resource-card__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.resource-card__link { margin-top: 4px; padding: 14px 0 6px; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 700; text-decoration: none; color: var(--brass-ink); }
.resource-card__link:hover { color: var(--navy); }
/* Column counts are pinned per range, so a scrollbar can't change them.
   Two columns: the odd last card is centred. Three columns: a short last row is centred. */
@media (min-width: 670px) and (max-width: 1012.98px) {
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
}
@media (min-width: 1013px) {
  .resource-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .resource-card { grid-column: span 2; }
  .resource-card:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .resource-card:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}

.agencies { background: var(--panel); padding: clamp(44px, 5vw, 64px) var(--gutter); }
.agencies + .cta-band { background: var(--white); }
.agencies .kicker { margin: 0 0 10px; }
.agencies__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 16px; }
.agency-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.agency-card__title { margin: 0; font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
.agency-card__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-muted); }
.agency-card__text--grow { flex: 1; }
.agency-card .btn { align-self: flex-start; padding: 12px 20px; }
.coop-logos { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 4px; }
.coop-logo { display: flex; align-items: center; justify-content: center; width: 220px; height: 80px; padding: 12px 16px; }
.coop-logo--txshare { padding: 6px 16px; }
.coop-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.coop-logo--txshare img { transform: scale(1.35); }
/* Tablets: one agency card per row, so the two logos sit side by side. */
@media (min-width: 600px) and (max-width: 979.98px) {
  .agencies__grid { grid-template-columns: minmax(0, 1fr); }
  .agency-card__text { max-width: 68ch; }
  .coop-logos { justify-content: flex-start; }
}
@media (min-width: 980px) { .coop-logo { width: min(220px, calc(50% - 6px)); } }

/* ---------- Shared: split hero, section heads, closing band (Australia, NASPO) ---------- */
.split-hero { background: var(--navy); color: var(--white); }
.split-hero__inner { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter); display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.split-hero__main { flex: 1.8 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split-hero__aside { flex: 1 1 320px; min-width: 0; }
.split-hero__inner--even { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.split-hero .btn { align-self: flex-start; margin-top: 6px; }
.split-hero__logo { align-self: flex-start; background: var(--white); border-radius: 6px; padding: 14px 20px; margin-bottom: 6px; }
.split-hero__logo img { width: 240px; max-width: 100%; height: auto; display: block; }
.split-hero__title { margin: 0; font-weight: 800; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.025em; max-width: 20ch; text-wrap: balance; }
.split-hero__title--long { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.04; max-width: none; }
/* Phones: the <br> goes and the title wraps in four even lines. From 448px it returns, and each half fits one line at 32px. */
@media (max-width: 479.98px) { .split-hero__title--long { font-size: 32px; } }
@media (max-width: 447.98px) {
  .split-hero__title--long { font-size: clamp(28px, 7.6vw, 34px); }
  .split-hero__title--long br { display: none; }
}
/* Small tablets: a narrower measure keeps the last word off its own line. */
@media (min-width: 600px) and (max-width: 779.98px) { .split-hero__title--long { max-width: 13.6em; } }

.hero-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--brass); border-radius: 6px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; color: var(--navy); }
.hero-card__title { margin: 0; font-weight: 800; font-size: 25px; line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); }
.hero-card__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-muted); }
.hero-card .btn--navy { align-self: flex-start; margin-top: 4px; padding: 13px 22px; }
@media (max-width: 479.98px) { .hero-card:not(.doc-list) { padding: 22px 20px; } }

.content-section--panel { background: var(--panel); }
.content-section--compact { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.content-section .kicker--dot { margin: 0 0 10px; }
.section-title--tight { margin-bottom: 12px; }
.section-intro { margin: 0 0 28px; max-width: 64ch; font-size: 17px; line-height: 1.55; color: var(--text-muted); }
.body-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--navy); }
.body-text strong { font-weight: 800; }

.closing-band { background: var(--navy); color: var(--white); }
.closing-band__inner { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--gutter); display: flex; flex-direction: column; gap: 14px; }
.closing-band__title { margin: 0; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.025em; color: var(--white); max-width: 24ch; text-wrap: balance; }
.closing-band__text { margin: 0; max-width: 64ch; font-size: 18px; line-height: 1.5; color: var(--hero-muted); }
.closing-band__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.closing-band__inner > .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 479.98px) { .closing-band__actions .btn { flex: 1 1 auto; text-align: center; } }
@media (max-width: 439.98px) { .closing-band__text br { display: none; } }

/* ---------- NASPO ---------- */
.doc-list { padding: 24px 26px 14px; gap: 0; }
.doc-list .kicker { margin: 0 0 6px; }
.doc-list__link { text-decoration: none; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.doc-list__link:last-child { border-bottom: 0; }
.doc-list__link:hover { color: var(--brass-ink); }
.doc-list__title { font-size: 17px; font-weight: 800; line-height: 1.3; }
.doc-list__meta { font-size: 14px; font-weight: 600; color: var(--text-muted); }

.naspo-intro { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 56px; align-items: start; }
.naspo-intro__col { display: flex; flex-direction: column; gap: 18px; }
.naspo-intro__col--rule { border-top: 3px solid var(--brass); padding-top: 18px; gap: 14px; }

.offer-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.offer-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--brass); border-radius: 6px; padding: 26px 26px 28px; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 12px; }
.offer-card__title { margin: 0; font-weight: 800; font-size: clamp(20px, 2vw, 23px); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
.offer-card__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-muted); }

.section-intro--spaced { margin-bottom: 32px; }
.list-heading { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(320px, calc(50% - 24px))), 1fr)); gap: 0 48px; }
.detail-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.detail-list .bullet { width: 6px; height: 6px; margin-top: 29px; }
.detail-list__body { display: flex; flex-direction: column; gap: 3px; }
.detail-list__num { font-size: 12.5px; line-height: 1.4; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-ink); }
.detail-list__title { font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.detail-list__text { font-size: 15.5px; line-height: 1.5; color: var(--text-muted); }
.detail-panel { margin-top: 40px; background: var(--panel); border-radius: 6px; padding: 26px 26px 22px; }
.detail-panel .detail-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.detail-panel .detail-list li { padding: 14px 0; }
.detail-panel .detail-list .bullet { margin-top: 9px; }

.section-lead { margin: 0 0 28px; max-width: 72ch; font-size: 17px; line-height: 1.6; color: var(--navy); }
/* Steps in a row share title and text lines (subgrid). */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.step { border-top: 3px solid var(--brass); padding-top: 16px; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; }
.step__num { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: var(--brass-ink); }
.step__title { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); text-wrap: balance; }
.step__text { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); }
/* Column counts are pinned, so a scrollbar can't leave a step alone on a row. */
@media (min-width: 560px) and (max-width: 1121.98px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1122px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.docs__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.docs__head { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.docs__head .kicker--dot, .docs__head .section-title { margin: 0; }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.doc-card { text-decoration: none; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.doc-card:hover { background: var(--panel-hover); color: var(--navy); }
.doc-card:focus-visible { background: var(--panel-hover); outline: 3px solid var(--navy); outline-offset: 3px; }
.doc-card .kicker { margin: 0; }
.doc-card__title { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; flex: 1; }
.doc-card__action { padding-top: 12px; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 700; color: var(--brass-ink); }
/* Three offer or document cards need about 980px for two-line titles; below that, one per row (no 2 + 1). */
@media (max-width: 979.98px) { .offer-cards, .doc-cards { grid-template-columns: 1fr; } }

.map-split { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; }
.map-split__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.map-split__text .kicker--dot, .map-split__text .section-title { margin: 0; }
.map-split__text .body-text { max-width: 72ch; }
.map-split__text .text-link { display: inline-block; padding: 12px 0; }
.map-split__map { flex: 1.25 1 400px; min-width: 0; }
.map-split__map img { width: 100%; height: auto; display: block; }

/* ---------- Australia ---------- */
.video-placeholder { max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; background: var(--line); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.video-placeholder__play { position: relative; display: block; width: 68px; height: 68px; border-radius: 50%; background: var(--navy); }
.video-placeholder__play::after { content: ""; position: absolute; left: 27px; top: 21px; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 20px solid var(--white); }
.video-placeholder__text { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--navy); max-width: 44ch; text-wrap: balance; }

.profile { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.profile__photo { flex: 1 1 280px; max-width: 400px; }
.profile__photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; display: block; background: var(--line); }
.profile__body { flex: 2 1 360px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1023.98px) { .profile { column-gap: 40px; } }
/* From 600px the photo and text sit side by side (also with a scrollbar); below 740px the photo takes a fixed share. */
@media (min-width: 600px) { .profile { flex-wrap: nowrap; } }
@media (min-width: 600px) and (max-width: 739.98px) {
  .profile__photo { flex: 0 0 38%; }
  .profile__body { flex: 1 1 0; min-width: 0; }
}
.profile__body .section-title { margin: 0; }
.profile__body .body-text { max-width: 68ch; }
.profile__quote { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brass); font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); max-width: 44ch; }
.profile__body .btn--navy { align-self: flex-start; margin-top: 6px; padding: 13px 22px; }

.landscape { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.landscape__head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.landscape__head .section-title { margin: 0; }
.landscape__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: stretch; }
.landscape__photo { display: block; }
.landscape__photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 22% center; border-radius: 6px; display: block; background: var(--line); }
.landscape__notes { display: flex; flex-direction: column; gap: 16px; }
.landscape__note { flex: 1; background: var(--navy); border-radius: 6px; padding: clamp(22px, 3vw, 30px); display: flex; align-items: center; }
.landscape__note p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--white); }

.au-services .tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 639.98px) { .au-services .tiles { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) and (max-width: 1259.98px) { .au-services .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.email-split { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px 64px; align-items: center; }
.email-split .section-title { margin: 0; max-width: 16ch; text-wrap: balance; }
.email-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--brass); border-radius: 6px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-card); }
.email-card .kicker--dot { margin: 0; }
.email-card .dot { width: 10px; height: 10px; }
.email-card__address { align-self: flex-start; display: inline-block; padding: 9px 0; margin: -3px 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; color: var(--navy); overflow-wrap: anywhere; }
.email-card__address:hover { color: var(--brass-ink); }
.email-card .btn--navy { align-self: flex-start; margin-top: 8px; padding: 13px 22px; }

/* ---------- Line breaks ----------
   balance evens out titles, short blurbs and list items; pretty keeps longer copy from ending on a one-word line.
   Templates keep "&" and hyphenated terms with their words (keepAmp, keepHyphens filters). */
.section-title, .service-card__title, .service-section__title, .form-card__title, .hero-card__title, .au-services .how-tile__title,
.offer-card__title, .detail-list__title, .doc-list__title, .doc-card__title, .resource-card__title, .resource-card .kicker, .agencies .kicker,
.area-link__title, .area-link__blurb, .profile__quote, .result-tile__value, .service-card__blurb, .service-card__list li, .support-panel__list li { text-wrap: balance; }
.home-hero__lede, .home-hero__sub, .page-hero__lede, .section-intro, .section-lead, .body-text, .closing-band__text, .cta-band__item p, .hero-card__text,
.service-section__blurb, .service-section__detail, .result-tile__text, .how-tile__title, .how-tile__text, .landscape__note p, .resource-card__text,
.agency-card__text, .offer-card__text, .step__text, .detail-list__text, .field, .consent, .form-note { text-wrap: pretty; }
@media (max-width: 479.98px) { .section-intro { text-wrap: balance; } }
/* Balance would leave "Procurement" alone on the first line of this title. */
.resource-card__title--wrap { text-wrap: wrap; }
