/* JBW Public Relations — site styles */
:root {
  --navy: #27417a;
  --navy-deep: #1a2d57;
  --navy-ink: #0f1d3d;
  --blue: #0570ad;
  --blue-bright: #2b9be0;
  --star: #f6f1dc;
  --gold: #f2b65a;
  --gold-soft: #f8d9a0;
  --paper: #f7f8fb;
  --white: #ffffff;
  --ink: #16213a;
  --muted: #5a6680;
  --line: #dfe4ee;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--navy-ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; display: inline-block;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { height: 82px; width: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark strong { font-family: var(--serif); font-weight: 700; font-size: 2rem; letter-spacing: .02em; color: var(--white); }
.wordmark em { font-family: var(--serif); font-style: normal; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: #cfe3f5; margin-top: 4px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--white); }
.nav .btn { padding: .6em 1.15em; font-size: .9rem; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; padding: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy-ink); padding: 0; min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: url("/assets/img/hero-voices.jpg") center right / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,29,61,.94) 0%, rgba(15,29,61,.82) 38%, rgba(15,29,61,.25) 70%, rgba(15,29,61,.10) 100%),
              linear-gradient(0deg, rgba(15,29,61,.65) 0%, rgba(15,29,61,0) 30%); }
.hero-inner { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { color: var(--white); max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .eyebrow { color: var(--gold-soft); }
.hero .lede { color: rgba(255,255,255,.88); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }
.rotator { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 1.25rem; min-height: 1.8em; margin-top: .5rem; transition: opacity .4s; }
.crowd-band {
  height: 120px; background-color: var(--navy-ink); background-repeat: repeat-x; background-position: bottom; background-size: 260px 120px; opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 140' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='3'%3E%3Ccircle cx='60' cy='52' r='16'/%3E%3Cpath d='M30 140 C34 100 40 84 60 78 C80 84 86 100 90 140 M40 86 L22 20 M80 86 L98 22'/%3E%3Ccircle cx='190' cy='60' r='15'/%3E%3Cpath d='M162 140 C166 104 172 90 190 85 C208 90 214 104 218 140 M170 92 L150 32 M210 92 L232 30'/%3E%3C/svg%3E");
}
.eyebrow::before { content: "\2726"; margin-right: .5em; color: var(--gold); }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .92rem; }

/* Sections */
section { padding: 100px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.alt { background: var(--white); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.about-copy p { font-size: 1.08rem; }
.values { display: grid; gap: 16px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; border-left: 4px solid var(--blue); }
.value h3 { margin-bottom: .3em; font-size: 1.08rem; }
.value p { margin: 0; color: var(--muted); font-size: .97rem; }
.offices { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.office { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 18px 20px; }
.office strong { font-family: var(--serif); font-size: 1.15rem; display: block; }
.office small { color: #a9cdec; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .2s, transform .2s; }
.service:hover { box-shadow: 0 18px 40px rgba(20,40,90,.10); transform: translateY(-3px); }
.service .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; margin-bottom: 18px; font-size: 1.3rem; }
.service ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.service li { margin: .3em 0; }
.process { margin-top: 70px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px 20px; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.85); font-size: .93rem; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 1.6rem; color: #8cc8f0; display: block; margin-bottom: 6px; }
.step h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .35em; }

/* Media wall */
.media { background: linear-gradient(180deg, var(--navy-deep), var(--navy-ink)); color: var(--white); }
.media h2, .media h3 { color: var(--white); }
.media .lede { color: rgba(255,255,255,.75); }
.media .eyebrow { color: #9fd3f5; }
.media-group { margin-top: 44px; }
.media-group h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #8cc8f0; margin-bottom: 16px; font-weight: 700; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.mark {
  height: 92px; display: grid; place-items: center; text-align: center; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.92); line-height: 1.05; transition: background .2s, border-color .2s;
}
.mark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.w-blackletter { font-family: "UnifrakturMaguntia", "Old English Text MT", serif; font-size: 1.35rem; }
.w-classic { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.25rem; }
.w-classic-i { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; font-size: 1.3rem; }
.w-didone { font-family: "Playfair Display", serif; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 1.02rem; }
.w-bold { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; font-size: 1.55rem; letter-spacing: .02em; text-transform: uppercase; }
.w-bold-sm { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.w-sans { font-family: var(--sans); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.w-sans-light { font-family: var(--sans); font-weight: 300; font-size: 1.2rem; letter-spacing: .02em; }
.w-serif { font-family: var(--serif); font-size: 1.12rem; }
.w-box { font-family: var(--sans); font-weight: 800; letter-spacing: .02em; border: 2px solid currentColor; padding: 2px 10px; font-size: 1.15rem; }
.media-note { margin-top: 40px; font-size: .82rem; color: rgba(255,255,255,.5); max-width: 80ch; }

/* Results band */
.impact { background: var(--white); }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.impact-card { padding: 30px; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: rgba(255,255,255,.85); }
.impact-card h3 { color: var(--white); }
.causes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.causes span { padding: .45em 1em; border-radius: 999px; background: #e9f3fb; color: var(--navy); font-weight: 600; font-size: .9rem; }


/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-aside ul { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-aside li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-aside li strong { display: block; color: var(--navy); }
form.engage { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: 0 20px 50px rgba(20,40,90,.07); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em .9em; border: 1px solid #c9d1e0; border-radius: 10px; font: inherit; font-size: 1rem; background: #fbfcfe; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(6,125,191,.25); border-color: var(--blue); }
.field textarea { min-height: 130px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.checks label, .consent { font-weight: 400 !important; font-size: .93rem !important; display: flex !important; gap: 8px; align-items: flex-start; }
.checks input, .consent input { width: auto; margin-top: .3em; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #13804b; }
.form-status.err { color: #b42318; }

/* Footer */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.72); padding: 64px 0 34px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45em 0; }
.footer-logo { width: 220px; height: auto; margin-bottom: 18px; }
.legal-line { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }

/* Legal pages */
.legal-hero { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: var(--white); padding: 70px 0 54px; }
.legal-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.legal-hero p { color: rgba(255,255,255,.75); margin: 0; }
.legal { padding: 60px 0 90px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; }
.legal li { margin: .35em 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: #eef2f8; }
.notice { background: #fff8e6; border: 1px solid #f3dca0; border-radius: 10px; padding: 14px 18px; font-size: .92rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; }
  .services, .impact-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 104px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 70px 0; }

  .services, .impact-grid, .process, .row, .checks, .offices { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  form.engage { padding: 22px; }
  .wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .stat strong { font-size: 1.45rem; white-space: nowrap; } .stat { padding: 24px 12px; } }
.mark.logo { grid-template-rows: auto auto; gap: 6px; align-content: center; }
.mark.logo img { height: 34px; width: auto; opacity: .95; }
.mark.logo span { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.75); }

/* Newsletter */
form.subscribe { margin-top: 18px; }
form.subscribe label { display: block; color: var(--white); font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.sub-row { display: flex; gap: 8px; }
.sub-row input { flex: 1; min-width: 0; padding: .7em .9em; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--white); font: inherit; font-size: .92rem; }
.sub-row input::placeholder { color: rgba(255,255,255,.5); }
.sub-row .btn { padding: .65em 1.1em; font-size: .88rem; }
.sub-status { min-height: 1.2em; margin: 8px 0 0; font-size: .85rem; color: #a9cdec; }

/* Admin */
.admin { padding: 40px 0 80px; }
.admin .container { max-width: 1400px; }
.admin-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.admin-bar input { padding: .6em .8em; border: 1px solid #c9d1e0; border-radius: 8px; font: inherit; min-width: 260px; }
.admin table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .88rem; }
.admin th, .admin td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.admin th { background: #eef2f8; position: sticky; top: 104px; }
.admin td.msg { max-width: 420px; white-space: pre-wrap; }
.tabs button { background: #e9eef7; border: 0; padding: .55em 1em; border-radius: 999px; font: inherit; cursor: pointer; }
.tabs button.on { background: var(--navy); color: var(--white); }
.table-wrap { overflow-x: auto; }

/* Media reach */
.reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.reach { padding: 28px 26px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-top: 3px solid var(--blue-bright); }
.reach h3 { font-size: 1.15rem; margin-bottom: .5em; }
.reach p { color: rgba(255,255,255,.75); font-size: .97rem; margin: 0; }
.reach-band { margin-top: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px; border-radius: 18px; background: linear-gradient(135deg, rgba(6,125,191,.35), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); }
.reach-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--white); margin: 0; }
.reach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reach-list li { color: rgba(255,255,255,.8); padding-left: 26px; position: relative; }
.reach-list li::before { content: "\2605"; position: absolute; left: 0; color: #8cc8f0; }
.reach-list strong { color: var(--white); }
@media (max-width: 980px) { .reach-grid { grid-template-columns: 1fr 1fr; } .reach-band { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 640px) { .reach-grid { grid-template-columns: 1fr; } }

/* Photo placeholders (swap in automatically when the file exists in /assets/img) */
.ph { margin: 0; }
.ph-box { position: relative; aspect-ratio: var(--ratio, 4/3); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 18% 10%, rgba(242,182,90,.55), rgba(242,182,90,0) 55%), linear-gradient(150deg, #2b4a86 0%, var(--navy-deep) 55%, var(--navy-ink) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; color: rgba(255,255,255,.92); box-shadow: 0 18px 40px rgba(15,29,61,.18); }
.ph-box::before { content: "\2726"; position: absolute; top: 14px; right: 18px; font-size: 1.3rem; color: var(--gold-soft); opacity: .8; }
.ph-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; font-weight: 700; }
.ph-label { font-family: var(--serif); font-size: 1rem; line-height: 1.35; max-width: 52ch; }
.ph.has-img .ph-box { background-size: cover; background-position: center; }
.ph.has-img .ph-box > span, .ph.has-img .ph-box::before { display: none; }
.ph figcaption { font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--muted); margin-top: 10px; }
.ph.wide { margin: 0 0 44px; }
.media .ph figcaption { color: rgba(255,255,255,.65); }
.ph.in-card { margin: -30px -30px 22px; }
.ph.in-card .ph-box { border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
.ph.in-card figcaption { display: none; }
.impact-card { overflow: hidden; }
.values .ph { margin-bottom: 6px; }
.contact-aside .ph { margin-top: 28px; }
.office { position: relative; overflow: hidden; min-height: 110px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(ellipse at 85% 0%, rgba(242,182,90,.35), rgba(242,182,90,0) 60%), var(--navy); }
.office.has-img { background-size: cover; background-position: center; }
.office.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,29,61,.85), rgba(15,29,61,.2)); }
.office > * { position: relative; }
@media (max-width: 820px) {
  .site-header .container { height: 72px; }
  .nav { top: 72px !important; }
  .brand img { height: 60px; }
  .wordmark strong { font-size: 1.7rem; }
  .wordmark em { font-size: .74rem; }
  html { scroll-padding-top: 84px; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; padding: 0; }
  .hero-bg { position: relative; inset: auto; height: 260px; background-position: 62% center; }
  .hero-bg::after { background: linear-gradient(0deg, var(--navy-ink) 0%, rgba(15,29,61,0) 45%); }
  .hero-inner { padding-top: 8px; padding-bottom: 64px; }
  .ph.in-card { margin: -30px -30px 18px; }
  .ph.wide .ph-box { aspect-ratio: 16/10; }
}

/* About: quiet-firm voice */
.about-copy .about-lead { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--navy-ink); }
.about-sign { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--blue); margin-top: 1.4em; }
.about-sign::before { content: "\2726  "; color: var(--gold); font-style: normal; }

/* On the ground */
#ground { background: var(--paper); }
.ground-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ground { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; border-top: 3px solid var(--gold); }
.ground h3 { font-size: 1.12rem; margin-bottom: .45em; }
.ground p { margin: 0; color: var(--muted); font-size: .97rem; }
.ground-media { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.ground-cities { margin: 34px 0 0; text-align: center; font-family: var(--serif); color: var(--navy); font-size: 1.05rem; line-height: 1.8; }
.ground-cities span { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
@media (max-width: 980px) { .ground-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ground-media { grid-template-columns: 1fr; } }

/* Pull quotes */
.pull-band { padding: 72px 0; }
.pull-band.dark { background: linear-gradient(135deg, var(--navy-ink), var(--navy-deep)); color: var(--white); }
.pull-band.light { background: linear-gradient(180deg, #fbf5e8, var(--paper)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pull { margin: 0 auto; max-width: 860px; text-align: center; position: relative; }
.pull::before { content: "\2726"; display: block; color: var(--gold); font-size: 1.4rem; margin-bottom: 14px; }
.pull blockquote { margin: 0; }
.pull blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.95rem); line-height: 1.45; margin: 0; color: var(--navy-ink); text-wrap: balance; }
.pull figcaption { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.pull figcaption strong { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.pull figcaption span { font-size: .9rem; color: var(--muted); }
.pull-note { margin: 18px auto 0; max-width: 60ch; font-size: .95rem; color: var(--muted); }
.pull-band.dark .pull blockquote p { color: var(--white); }
.pull-band.dark .pull figcaption strong { color: var(--gold-soft); }
.pull-band.dark .pull figcaption span, .pull-band.dark .pull-note { color: rgba(255,255,255,.7); }
.services ~ .pull, .process + .pull, .causes + .pull { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .pull-band { padding: 52px 0; } }

/* National footprint (replaces stats strip) */
.footprint { background: radial-gradient(120% 140% at 85% 0%, #22397a 0%, var(--navy-ink) 60%); color: var(--white); padding: 84px 0; position: relative; overflow: hidden; }
.fp-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.footprint h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 28px; text-wrap: balance; }
.footprint .eyebrow { color: var(--gold-soft); }
.fp-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.fp-stats > div { padding: 20px 18px 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.fp-stats > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); }
.fp-stats > div:nth-child(even) { padding-left: 22px; }
.fp-stats dt { font-family: var(--serif); font-size: 1.9rem; color: var(--gold-soft); line-height: 1.15; }
.fp-stats dd { margin: 6px 0 0; color: rgba(255,255,255,.82); font-size: .93rem; line-height: 1.45; }
.fp-legend { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .8rem; letter-spacing: .06em; color: rgba(255,255,255,.75); }
.fp-legend li { display: flex; align-items: center; gap: 8px; }
.lg-star { width: 12px; height: 12px; background: var(--gold); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.lg-dot { width: 9px; height: 9px; border-radius: 50%; background: #8cc8f0; }
.lg-line { width: 22px; border-top: 1.5px dashed var(--gold); opacity: .8; }
.fp-map { width: 100%; height: auto; display: block; overflow: visible; }
.fp-nation { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.38); stroke-width: 1.2; }
.fp-borders { fill: none; stroke: rgba(255,255,255,.12); stroke-width: .7; }
.fp-arc { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-opacity: .55; stroke-dasharray: 4 5; }
.fp-arc-intl { stroke-opacity: .4; }
.fp-hq polygon { fill: var(--gold); stroke: var(--navy-ink); stroke-width: 1.5; }
.fp-office circle:not(.fp-pulse) { fill: #8cc8f0; stroke: var(--navy-ink); stroke-width: 2; }
.fp-pulse { fill: none; stroke: var(--gold-soft); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: fpPulse 3.2s ease-out infinite; }
.fp-office .fp-pulse { stroke: #8cc8f0; animation-delay: 1.2s; }
@keyframes fpPulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.fp-label { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: rgba(255,255,255,.88); letter-spacing: .02em; paint-order: stroke; stroke: var(--navy-ink); stroke-width: 4px; stroke-linejoin: round; }
.fp-label-hq { fill: var(--gold-soft); font-size: 17px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .fp-pulse { animation: none; } }
@media (max-width: 980px) { .fp-grid { grid-template-columns: 1fr; gap: 36px; } .footprint { padding: 64px 0; } }
@media (max-width: 640px) { .fp-stats dt { font-size: 1.45rem; } .fp-stats > div:nth-child(even) { padding-left: 14px; } .fp-stats > div { padding-right: 10px; } .fp-label { font-size: 22px; } .fp-label-hq { font-size: 24px; } }

/* Services: brand badge + number, tighter and higher contrast */
.services { gap: 18px; }
.service { padding: 26px 24px 24px; background: var(--white); border-color: #d3dae7; }
#services .service { background: var(--paper); }
.svc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.svc-badge { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 4px 12px rgba(15,29,61,.18); }
.svc-num { font-family: var(--serif); font-size: 1.05rem; color: #b07a1e; letter-spacing: .08em; }
.service h3 { font-size: 1.12rem; margin-bottom: .55em; }
.service ul { color: #34405a; font-size: .93rem; padding-left: 1em; }
.service li { margin: .22em 0; }
.service li::marker { color: var(--blue); }
.svc-head { margin-bottom: 12px; }
/* Values: quieter list instead of stacked boxes */
.value { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0 16px 30px; position: relative; }
.value:last-child { border-bottom: 0; }
.value::before { content: "\2726"; position: absolute; left: 2px; top: 17px; color: var(--gold); font-size: .95rem; }
.value p { color: #46526b; }
.values .ph { margin-bottom: 10px; }
/* Map legibility */
.fp-arc { stroke-opacity: .75; stroke-width: 1.6; }
.fp-label { font-size: 17px; }
.fp-label-hq { font-size: 19px; }
@media (max-width: 640px) { .fp-label { font-size: 28px; } .fp-label-hq { font-size: 30px; } .fp-hq polygon { transform-box: fill-box; transform-origin: center; transform: scale(1.5); } .fp-office circle:not(.fp-pulse) { r: 9; } }
/* Optional portrait on quotes: appears only once the image file exists */
.pull-portrait { display: none; width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; background-size: cover; background-position: center 20%; filter: grayscale(1) contrast(1.05); box-shadow: 0 0 0 3px var(--gold-soft), 0 10px 24px rgba(15,29,61,.25); }
.pull-portrait.has-img { display: block; }
.pull:has(.pull-portrait.has-img)::before { display: none; }
/* Photo-backed quote band */
.pull-band.has-photo { position: relative; padding: 110px 0 70px; background: var(--navy-ink); overflow: hidden; }
.pull-band.has-photo::before { content: ""; position: absolute; inset: 0; background: var(--band-img) center 60% / cover no-repeat; filter: grayscale(.6); opacity: .9; }
.pull-band.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,29,61,.92) 0%, rgba(15,29,61,.72) 45%, rgba(15,29,61,.9) 100%); }
.pull-band.has-photo .container { position: relative; z-index: 1; }
.band-credit { margin: 46px 0 0; text-align: center; font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.6); }
figcaption .credit { display: block; font-style: normal; font-size: .72rem; letter-spacing: .03em; opacity: .85; margin-top: 2px; }
@media (max-width: 640px) { .pull-band.has-photo { padding: 80px 0 50px; } }
.ph.in-card { position: relative; }
.ph.in-card.has-img figcaption { display: block; position: absolute; right: 8px; top: 8px; margin: 0; font-size: 0; line-height: 1; }
.ph.in-card.has-img figcaption .credit { font-size: .64rem; font-style: normal; color: #fff; background: rgba(15,29,61,.72); padding: 4px 7px; border-radius: 4px; margin: 0; opacity: 1; }
/* Moments strip */
.moments { margin-top: 64px; }
.moments-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.moments-head h3 { font-size: 1.45rem; margin: 0; }
.moments-head p { margin: 0; color: #46526b; max-width: 46ch; font-size: .97rem; }
.moments-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.moment { margin: 0; scroll-snap-align: start; }
.moment img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: saturate(.85); transition: filter .3s, transform .3s; }
.moment:hover img { filter: saturate(1); transform: translateY(-3px); }
.moment figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.moment figcaption strong { color: var(--navy-ink); font-weight: 600; line-height: 1.35; }
.moment figcaption span { color: #8a5a0c; font-family: var(--serif); white-space: nowrap; }
@media (max-width: 640px) { .moments-row { grid-auto-columns: 72%; } }
.moments + .pull { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.moments-row { grid-auto-columns: minmax(170px, 1fr); }
.moment img[src*="moment-capitol"] { object-position: 70% center; }
