/* American Regulators USA — redesign stylesheet */
:root {
  --navy: #0c1b33;
  --navy-2: #13264a;
  --navy-3: #1c3563;
  --red: #b8121b;
  --red-dark: #8c0c13;
  --gold: #d5a13a;
  --cream: #f6f3ec;
  --paper: #ffffff;
  --ink: #161a22;
  --muted: #5c6371;
  --line: #e4e0d6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 27, 51, 0.10);
  --wrap: 1180px;
  --font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 3px;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(184, 18, 27, .28); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { border-color: currentColor; color: #fff; background: rgba(255,255,255,.06); }
.btn-outline:hover { background: rgba(255,255,255,.16); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* Review ribbon (remove before go-live) */
.preview-ribbon {
  background: var(--gold); color: var(--navy); text-align: center; font-size: .9rem; font-weight: 600;
  padding: 6px 16px; letter-spacing: .02em;
}

/* Announcement bar */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: .95rem;
  text-align: center;
  padding: 7px 16px;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: underline; }
.topbar strong { font-family: var(--font-head); letter-spacing: .06em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
/* Header lockup: round badge + typed wordmark (the winged mark is too wide for a slim bar) */
.lockup { gap: 14px; }
.lockup img { height: 58px; width: 58px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b {
  font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: .04em;
  text-transform: uppercase; color: #fff;
}
.wordmark small {
  white-space: nowrap;
  font-family: var(--font-head); font-weight: 500; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: #ffd27a; margin-top: 5px;
}
@media (max-width: 1380px) {
  .nav a { font-size: .92rem; padding: 10px 10px; letter-spacing: .04em; }
  .wordmark small { display: none; }
}
@media (max-width: 1180px) {
  .nav a { font-size: .86rem; padding: 8px 7px; letter-spacing: .02em; }
  .nav .btn { margin-left: 6px; }
  .wordmark b { font-size: 1.25rem; }
}
.brand-full img { height: 96px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  white-space: nowrap;
  color: #d9dfea;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 10px 11px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: color .15s, background .15s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--red); border-radius: 6px 6px 0 0; }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn[aria-current="page"] { box-shadow: none; border-radius: 8px; }
.nav-toggle {
  display: none;
  background: none; border: 2px solid rgba(255,255,255,.3); color: #fff;
  border-radius: 8px; width: 46px; height: 42px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px auto; transition: .2s; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid; align-items: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  z-index: -2;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,27,51,.25) 0%, rgba(12,27,51,.55) 55%, rgba(12,27,51,.92) 100%),
    linear-gradient(90deg, rgba(12,27,51,.55) 0%, rgba(12,27,51,0) 70%);
}
.hero .wrap { padding: 120px 0 64px; }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: .3em; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero h1 em { font-style: normal; color: #ffb3b7; }
.hero p { font-size: 1.25rem; max-width: 60ch; color: #e6ebf5; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero .eyebrow { color: #ffd27a; }
.hero .eyebrow::before { background: #ffd27a; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.22);
  font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; font-size: .95rem;
  color: #cbd4e4;
}
.hero-stats b { color: #fff; font-size: 1.5rem; display: block; letter-spacing: 0; }

/* Quick-help strip */
.quick {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.quick .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.quick a {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; color: var(--navy); text-decoration: none !important;
  border-left: 1px solid var(--line);
  transition: background .15s;
}
.quick a:first-child { border-left: 0; }
.quick a:hover { background: #fff; }
.quick .num {
  font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--red); line-height: 1;
}
.quick small { display: block; color: var(--muted); font-size: .9rem; }
.quick strong { font-family: var(--font-head); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }

/* Sections */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #dfe5f0; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .lead { color: #b9c4d8; }
.bg-navy .eyebrow { color: #ffd27a; }
.bg-navy .eyebrow::before { background: #ffd27a; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.quote {
  border-left: 4px solid var(--red);
  padding: 8px 0 8px 22px;
  font-size: 1.25rem; font-style: italic; color: var(--navy);
  margin: 28px 0 0;
}
.quote cite { display: block; font-style: normal; font-size: .95rem; color: var(--muted); margin-top: 8px; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card.red .icon { background: var(--red); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card .more { display: inline-block; margin-top: 14px; font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }

/* Numbered values */
.values { counter-reset: v; display: grid; gap: 18px; }
.value {
  display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start;
  padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.value::before {
  counter-increment: v; content: "0" counter(v);
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1;
}
.value h3 { margin-bottom: .3em; }
.value p { margin: 0; color: var(--muted); }

/* Focus tiles with photos */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; color: #fff; display: grid; align-items: end;
  isolation: isolate; text-decoration: none !important;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,27,51,0) 30%, rgba(12,27,51,.92) 100%); }
.tile div { padding: 22px; }
.tile h3 { color: #fff; margin-bottom: .3em; }
.tile p { font-size: .98rem; color: #d7deea; margin: 0; }

/* Credential band */
.cred { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.cred-item { display: flex; align-items: center; gap: 16px; }
.cred-item img { width: 84px; height: 84px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; }
.cred-item b { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: #fff; font-size: 1.05rem; }
.cred-item span { color: #b9c4d8; font-size: .95rem; }
.cred-item .big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; min-width: 84px; text-align: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.gallery a { border-radius: 10px; overflow: hidden; display: block; position: relative; }
.gallery a:nth-child(1), .gallery a:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(6, 12, 24, .92);
  display: none; place-items: center; padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; top: 18px; right: 18px; background: #fff; border: 0; border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer;
}

/* News */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.post img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post .tag { font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--red); }
.post h3 { font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
.post time { color: var(--muted); font-size: .92rem; margin-top: auto; }

/* Fund cards */
.funds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fund { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 6px solid var(--red); box-shadow: var(--shadow); }
.fund:nth-child(2) { border-top-color: var(--navy); }
.fund:nth-child(3) { border-top-color: var(--gold); }
.fund:nth-child(4) { border-top-color: var(--navy-3); }
.fund h3 { font-size: 1.2rem; }
.fund p { color: var(--muted); margin: 0; }

/* CTA banner */
.cta {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  padding: 110px 0; text-align: center;
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12,27,51,.78); }
.cta h2 { color: #fff; }
.cta p { color: #d7deea; max-width: 60ch; margin-inline: auto; font-size: 1.15rem; }
.cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy); color: #fff; padding: 72px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,18,27,.45), transparent 70%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: #b9c4d8; max-width: 64ch; font-size: 1.2rem; margin: 0; }
.page-hero .eyebrow { color: #ffd27a; } .page-hero .eyebrow::before { background: #ffd27a; }
.crumbs { font-size: .9rem; color: #97a4bc; margin-bottom: 18px; }
.crumbs a { color: #cbd4e4; }

/* Prose */
.prose { max-width: 72ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.callout {
  background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: 10px; padding: 20px 24px; margin: 24px 0;
}
.callout.red { border-left-color: var(--red); }
.callout.navy { border-left-color: var(--navy); }
.callout h3 { margin-bottom: .3em; font-size: 1.1rem; }
.callout p:last-child { margin: 0; }
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; margin: 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600;
}

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.8rem; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #cfd4dc; border-radius: 8px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,27,51,.12); }
textarea { min-height: 110px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); flex: none; }
.req { color: var(--red); }
.form-note { font-size: .92rem; color: var(--muted); }
.form-ok { display: none; background: #eef8ee; border: 1px solid #b7dcb7; color: #1e5a25; padding: 16px 18px; border-radius: 10px; margin-top: 16px; }

/* Help directory */
.help-tools { position: sticky; top: 84px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.help-tools .wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.help-tools input { flex: 1 1 260px; max-width: 420px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--navy);
}
.pill.active, .pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.help-cat h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--cream); margin-bottom: 12px; }
.help-cat h3 svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.help-cat ul { list-style: none; padding: 0; margin: 0; }
.help-cat li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.help-cat li:last-child { border-bottom: 0; }
.help-cat li span { color: var(--ink); }
.help-cat li a { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.help-cat.hidden { display: none; }
.emergency {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.emergency a {
  background: #fff; border-radius: var(--radius); padding: 22px 24px; display: block; color: var(--navy); text-decoration: none !important;
  border: 1px solid var(--line); border-left: 6px solid var(--red);
}
.emergency a:nth-child(2) { border-left-color: var(--navy); }
.emergency a:nth-child(3) { border-left-color: var(--gold); }
.emergency .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--red); }
.emergency a:nth-child(2) .num { color: var(--navy); }
.emergency a:nth-child(3) .num { color: var(--gold); }
.emergency small { color: var(--muted); display: block; margin-top: 4px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red); }
.timeline b { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--red); display: block; }

/* Footer */
.site-footer { background: #0a1527; color: #b3bdd0; padding: 64px 0 28px; font-size: .98rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d7deea; }
.site-footer .brand-full img { height: 96px; }
@media (max-width: 420px) { .wordmark small { display: none; } .wordmark b { font-size: 1.25rem; } }
.site-footer .seals { display: flex; gap: 12px; margin-top: 18px; }
.site-footer .seals img { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 3px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--red); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: #8592ab; }
.legal a { color: #a9b4c9; margin-left: 16px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-3, .grid-4, .funds, .posts, .help-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .cred { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
/* site.js fitHeader(): when the menu would not fit beside the brand (big fonts, browser zoom),
   it first drops the subtitle (.no-sub), then falls back to the phone menu (.collapsed). */
.site-header.no-sub .wordmark small { display: none; }
.site-header.collapsed .nav-toggle { display: block; }
.site-header.collapsed .nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; align-items: stretch; background: var(--navy-2); padding: 12px 16px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.site-header.collapsed .nav.open { display: flex; }
.site-header.collapsed .nav a { padding: 14px 12px; font-size: 1rem; }
.site-header.collapsed .nav .btn { margin: 10px 0 0; justify-content: center; }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: var(--navy-2); padding: 12px 16px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1rem; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 60px 0; }
  .topbar .long { display: none; }
  .hero .wrap { padding: 90px 0 44px; }
  .hero-stats { gap: 16px 24px; }
  .quick .wrap { grid-template-columns: 1fr; }
  .quick a { border-left: 0; border-top: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4, .funds, .posts, .help-grid, .tiles, .cred, .emergency { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery a:nth-child(1), .gallery a:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .row, .checks { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .value { grid-template-columns: 52px 1fr; padding: 20px; }
  .help-tools { position: static; }
  .cta { padding: 72px 0; }
}

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.member { margin: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
.member figcaption { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; padding: 12px 16px; color: var(--navy); }

/* ---- Awards (Pillars of Success) ---- */
.gallery.awards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 22px; }
.gallery.awards a { display: block; position: static; aspect-ratio: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.gallery.awards a img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.gallery.awards a span { display: block; padding: 12px 16px 14px; font-weight: 600; font-size: .98rem; line-height: 1.35; border-top: 1px solid var(--line); }
.gallery.awards a small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.gallery.awards a:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s; }
@media (max-width: 900px) { .gallery.awards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery.awards { grid-template-columns: 1fr; } }

/* ---- Partners & sponsors ---- */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.partners-grid a, .partners-grid span { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-height: 96px; }
.partners-grid img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.site-footer .partners { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 22px; }
.site-footer .partners h4 { margin-bottom: 12px; }
.site-footer .partners-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .partners-logos a, .site-footer .partners-logos span { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 6px 10px; height: 48px; }
.site-footer .partners-logos img { height: 34px; width: auto; max-width: 140px; object-fit: contain; }
.gallery.awards a:nth-child(n) { grid-column: auto; grid-row: auto; }
.gallery.awards a img { height: auto; }
.gallery.awards a:hover img { transform: none; }
@media (max-width: 540px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .member figcaption { font-size: .95rem; padding: 10px 12px; } }

/* ---- Facebook feed (homepage) ---- */
.fb-split { align-items: start; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fb-col { width: 100%; max-width: 500px; justify-self: end; }
.fb-feed { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); min-height: 320px; }
.fb-feed iframe { display: block; border: 0; max-width: 100%; }
.fb-note { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--muted); font-size: .95rem; }
.fb-feed.loaded .fb-note { display: none; }
.fb-open { display: inline-block; margin-top: 14px; color: #ffd27a; font-weight: 600; }
@media (max-width: 1024px) { .fb-col { justify-self: center; } }
@media (min-width: 1025px) { .fb-split > div:first-child { position: sticky; top: 120px; } }

/* ---- Text to give + three focus tiles (2026-09-18) ---- */
.text-give { margin: 16px 0 0; font-size: 1.05rem; }
.page-hero .text-give a, .cta .text-give a { color: #ffd27a; }
.give-ways .card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.give-ways .card p { flex: 1; }
.give-ways .text-code { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.25; color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
.give-ways .text-code strong { color: var(--red); }
.tiles.tiles-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .tiles.tiles-3 { grid-template-columns: 1fr; } }

/* ---- Privacy & cookie policy page ---- */
.policy { max-width: 860px; }
.policy h2 { margin-top: 1.4em; }
.policy h2:first-child { margin-top: 0; }
.policy h3 { margin-top: 1.4em; font-size: 1.3rem; }
.policy h4 { margin-top: 1.1em; font-size: 1.08rem; }
.policy .updated { color: var(--muted); }
.policy a { overflow-wrap: anywhere; }

/* ---- Blog: cards, post pages (2026-09-18) ---- */
a.post { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
a.post:hover h3 { color: var(--red); }
.post p { color: var(--muted); margin: 0; font-size: .98rem; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 24ch; }
.post-meta { color: #c9d2e3; margin: 12px 0 0; }
.article { max-width: 780px; }
.article p, .article li { font-size: 1.08rem; }
.article h2 { margin-top: 1.5em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.article h3 { margin-top: 1.3em; font-size: 1.3rem; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: .35em 0; }
.article a { overflow-wrap: anywhere; }
.article figure { margin: 28px 0; }
.article figure img { width: 100%; height: auto; border-radius: 10px; }
.article figcaption { color: var(--muted); font-size: .92rem; margin-top: 8px; text-align: center; }
.article .post-cover img { width: auto; max-width: 100%; max-height: 720px; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.article .embed { position: relative; aspect-ratio: 16 / 9; margin: 28px 0; border-radius: 10px; overflow: hidden; background: #000; }
.article .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.post-gallery figure { margin: 0; }
.post-gallery img { aspect-ratio: 1; object-fit: cover; }
.post-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .post-gallery { grid-template-columns: repeat(2, 1fr); } .article p, .article li { font-size: 1.02rem; } }

/* ---- Ohio partnerships (homepage) ---- */
.partner-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 40px; align-items: stretch; }
.partner-logos a { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; min-height: 130px; }
.partner-logos a.dark { background: #111; border-color: #111; }
.partner-logos img { max-height: 104px; width: auto; max-width: 100%; object-fit: contain; }
.partner-logos a:hover { text-decoration: none; box-shadow: var(--shadow); }
.terms .card { padding: 24px 26px; }
.terms .term { display: inline-block; font-family: Oswald, sans-serif; font-weight: 700; letter-spacing: .06em; color: #fff; background: var(--red); border-radius: 6px; padding: 2px 10px; margin-bottom: 10px; }
.terms .card h3 { font-size: 1.15rem; }
.esf-split { margin-top: 56px; }
.esf-list { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 10px; }
.esf-list li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 12px 16px; }
.esf-list b { font-family: Oswald, sans-serif; font-size: 1.15rem; color: var(--navy); white-space: nowrap; min-width: 70px; }
.gallery.single { display: block; }
.gallery.single a { border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery.single img { height: auto; aspect-ratio: auto; }
.gallery.single a:hover img { transform: none; }
#weather-ready .gallery.single img { max-height: 560px; object-fit: contain; }
@media (max-width: 1000px) { .partner-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .partner-logos { grid-template-columns: repeat(2, 1fr); } .partner-logos a { min-height: 104px; } .partner-logos img { max-height: 80px; } }

/* Media page photo grid: two wide tiles fill out the last row */
#photos .gallery { grid-auto-flow: dense; }
#photos .gallery a.wide { grid-column: span 2; }

/* ---- Videos (media + volunteer) ---- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.video-play:hover img { opacity: 1; transform: scale(1.03); }
.video-play .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: var(--red); box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.video-play .play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video figcaption { padding: 14px 18px 16px; }
.video figcaption b { display: block; line-height: 1.35; }
.video figcaption small { color: var(--muted); }
.gallery.graphics a img { aspect-ratio: 1 / 1; object-fit: contain; background: #f4f5f7; }
@media (max-width: 1000px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* A news-station video shown as a play card inside a post (opens on the station's site) */
.article figure.news-video { max-width: 820px; }
.article figure.news-video img { border-radius: 0; height: 100%; }
.article figure.news-video figcaption small { display: block; overflow-wrap: anywhere; margin-top: 4px; }
.article p.external-link { margin: -14px 0 28px; font-weight: 600; }
.form-sent { display: none; background: #eef8ee; border: 1px solid #b7dcb7; color: #1e5a25; padding: 18px 20px; border-radius: 10px; margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Candid's 2026 seal is square with its own frame: show it square, not cropped to a circle */
.cred-item img.seal-square, .site-footer .seals img.seal-square { border-radius: 6px; padding: 0; object-fit: contain; }
