/* Clarion Call Baltimore — site styles
   Fonts: Plus Jakarta Sans (headings and text), Anton (logo wordmark only). */

:root {
  --red: #d0282b;
  --red-dark: #a51d1f;
  --red-soft: #fdeceb;
  --red-logo: #d71f2a;
  --green: #0a7a37;
  --green-dark: #075e2a;
  --green-logo: #0a8a3e;
  --black: #111;
  /* Brand roles: primary = buttons, links and accents; secondary = outline buttons. Red stays for
     the logo and for warnings (required fields, errors, resource notes). */
  --primary: var(--green);
  --primary-dark: var(--green-dark);
  --secondary: var(--black);
  --ink: #1c1c1c;
  --muted: #555;
  --bg-soft: #f6f5f2;
  --line: #e3e1dc;
  --font-head: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-nav: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px rgba(17, 17, 17, .06);
  --shadow-lg: 0 2px 4px rgba(17, 17, 17, .05), 0 16px 40px rgba(17, 17, 17, .10);
  --max: 1180px;
  --read: 840px;
  --gutter: 24px;
  --section: 64px; /* vertical gap between page sections */
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--font-head); color: var(--black); margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .4em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: 16px; color: var(--muted); max-width: 680px; }

/* Keyboard focus: always visible */
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.site-footer :focus-visible, .video-band :focus-visible, .support :focus-visible { outline-color: #fff; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--black); color: #fff; padding: 10px 18px; border-radius: 4px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Logo wordmark ---------- */
.logo {
  font-family: var(--font-logo);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}
.logo .a { color: var(--red-logo); }
.logo .call { color: var(--green-logo); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 239, 232, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid #b8b5ad;
}
/* Logo and menu sit together as one centered group */
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: center;
}
.site-header .logo { margin-right: 40px; font-size: 24px; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.nav a {
  display: inline-block; padding: 6px 0;
  font: 500 15px/21px var(--font-nav); text-decoration: none; color: var(--ink);
  transition: color .15s;
}
.nav a:hover { color: var(--primary); }
.nav a[aria-current="page"] {
  color: var(--primary); font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 3px; text-underline-offset: 10px;
}
.nav .has-sub { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 0;
  background: none; border: 0; cursor: pointer;
  font: 500 15px/21px var(--font-nav); color: var(--ink); transition: color .15s;
}
.sub-toggle::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s;
}
.has-sub.open .sub-toggle::after { transform: translateY(1px) rotate(-135deg); }
.sub-toggle:hover, .sub-toggle.current { color: var(--primary); }
.sub-toggle.current { font-weight: 700; }
.nav .sub-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: -18px; z-index: 10;
  flex-direction: column; flex-wrap: nowrap; gap: 0; min-width: 200px; padding: 8px 0;
  background: #f2efe8; border: 1px solid #b8b5ad; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.nav .has-sub.open .sub-menu { display: flex; }
.nav .sub-menu a { display: block; padding: 10px 18px; }
.nav .sub-menu a[aria-current="page"] { text-underline-offset: 6px; }
.nav-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  background: transparent; border: 0; color: var(--black); cursor: pointer;
}
/* Three thin lines that fold into an X while the menu is open */
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; margin-top: -.75px;
  background: currentColor; border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
.nav.open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px var(--font-body);
  letter-spacing: .01em;
  padding: 13px 28px;
  border: 2px solid var(--black);
  border-radius: 4px;
  background: #fff;
  color: var(--black);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--black); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-secondary { border-color: var(--secondary); color: var(--secondary); background: #fff; padding: 9px 20px; font-size: 15px; }
.btn-secondary:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--black); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-wrap { margin-top: 28px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; z-index: 60;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 2px solid #fff; border-radius: 4px;
  background: var(--black); color: #fff; font: 600 15px var(--font-body); cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s, transform .2s, visibility .2s, background .15s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }
.to-top:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #e6e6e6; margin-top: var(--section); }
.site-footer.flush { margin-top: 0; } /* home page: green Support band runs straight into the footer */
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 36px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
}
.site-footer .logo { font-size: clamp(26px, 8.6vw, 34px); color: #fff; }
.footer-brand p { margin: 16px 0 24px; max-width: 380px; color: #cfcfcf; }
.footer-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-nav h2 { font-family: var(--font-nav); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 16px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.footer-nav a { font: 500 16px var(--font-nav); color: #fff; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 3px; text-underline-offset: 8px;
}
.copy {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 32px; border-top: 1px solid #2c2c2c; font-size: 14px; color: #a8a8a8;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.copy p { margin: 0; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: #cfcfcf; }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: #fff; }

/* ---------- Home ---------- */
.hero-banner { max-width: 780px; margin: 36px auto 48px; padding: 0 var(--gutter); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.heal h1 { color: var(--black); }
.heal p { font-size: 16px; color: var(--muted); max-width: 520px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: var(--section) 0; }
.story p { font-size: 17px; line-height: 1.6; margin: 0; }
.story img { max-width: min(100%, 360px); justify-self: center; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.support { background: var(--green); color: #fff; padding: 56px 0; margin-top: var(--section); }
.support .split { grid-template-columns: 1fr 1.6fr; align-items: center; }
.support h2 { color: #fff; margin: 0; }
.support p { font-size: 16px; margin: 0; color: #eaf6ee; }
.support .btn-row { margin-top: 24px; }
.support .btn:not(.btn-outline-light) { border-color: #fff; }
.support .btn:not(.btn-outline-light):hover { background: var(--black); border-color: var(--black); }

/* ---------- Mission ---------- */
.band-gray { background: var(--bg-soft); }
.section-title { text-align: center; margin: var(--section) 0 32px; }
.mission-photo { display: block; width: 100%; max-width: var(--read); height: auto; margin: 40px auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.team-sketch { margin: 0 auto 48px; width: 100%; max-width: min(100%, 1000px); border-radius: var(--radius); box-shadow: var(--shadow); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
.member { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.member-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.member-head img { width: 312px; max-width: 100%; height: auto; aspect-ratio: 1; flex: none; object-fit: cover; object-position: center 20%; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.member-head img.pos-face-low { object-position: center 56%; }
.member h3 { margin: 0 0 4px; }
.member .role { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--primary); }
.member .bio { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Newsletter ---------- */
.news-hero { margin: 36px auto 0; max-width: var(--max); padding: 0 var(--gutter); }
.news-banner {
  background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .35)), url("../img/crowd.jpg") center 60% / cover no-repeat;
  min-height: clamp(260px, 38vw, 480px); border-radius: 24px;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.news-banner h1 { color: #fff; text-align: center; margin: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .45); }
.news-body { padding: 56px 0 64px; margin-top: 24px; border-radius: 24px; }
.news-body .inner { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.news-body .lead { margin-bottom: 40px; }
.news-body h2 { margin: 40px 0 16px; }
.news-body h2.issue-title { margin-top: 0; }
.pad-x { padding: 0 var(--gutter); }
.archive-box {
  background: #fff; border: 1px dashed #cfccc5; border-radius: var(--radius); padding: 32px; text-align: center;
  color: var(--muted); max-width: 832px; margin: 0 auto;
}
.signup-card { background: #fff; max-width: 832px; margin: 48px auto 0; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.signup-card h2 { text-align: center; margin: 0 0 6px; }
.signup-card .sub { text-align: center; color: var(--muted); margin: 0 0 20px; }

/* ---------- Media ---------- */
.video-band { background: var(--black); color: #fff; padding: 40px var(--gutter) 44px; margin-top: var(--section); border-radius: var(--radius); }
.video-band h2 { color: #fff; text-align: center; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 24px; }
.video-frame { max-width: 720px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-band .watch { text-align: center; margin: 18px 0 0; font-size: 15px; }
.video-band .watch a { color: #fff; }
/* Photo gallery: justified rows. Each photo grows in proportion to its width/height ratio, so
   every photo in a row ends up the same height and nothing is cropped. */
.gallery-section { margin-top: 40px; }
.gallery-section h2 { margin-bottom: 20px; }
.gallery-event + .gallery-event { margin-top: 36px; }
.gallery-event h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 12px; }
.gallery-event h3 time { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.gallery { --row: 190px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gallery li { --r: 1.3333; flex: var(--r) 1 calc(var(--r) * var(--row)); }
.gallery li.tall { --r: .75; }
.gallery li.wide { --r: 1.7778; }
.gallery li.square { --r: 1; }
.gallery::after { content: ""; flex: 999 1 0; } /* keeps a short last row from stretching */
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; transition: transform .4s ease, opacity .2s; }
.gallery a:hover img { transform: scale(1.03); }
/* Play button on video stills */
.gallery a.video::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(17, 17, 17, .65); box-shadow: 0 2px 12px rgba(0, 0, 0, .3); transition: background .2s; }
.gallery a.video::after { content: ""; position: absolute; z-index: 2; top: 50%; left: 50%; margin: -11px 0 0 -6px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.gallery a.video:hover::before { background: var(--primary); }
.gallery a:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
@media (max-width: 700px) { .gallery { --row: 120px; gap: 6px; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 10, .94); color: #fff; }
.lightbox::backdrop { background: rgba(10, 10, 10, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; padding: 56px 72px 24px; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img, .lightbox video { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox [hidden] { display: none; }
.lightbox video { background: #000; }
.lightbox figcaption { margin-top: 14px; font-size: 15px; text-align: center; color: rgba(255, 255, 255, .85); max-width: 70ch; }
.lightbox figcaption span { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 700px) {
  .lightbox figure { padding: 64px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* In the news: compact rows */
.press { margin-top: var(--section); }
.press h2 { margin-bottom: 16px; }
.press-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.press-item:last-child { border-bottom: 1px solid var(--line); }
.press-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.press-meta { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.press-source { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.press-item h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.press-item h3 a { color: inherit; text-decoration: none; }
.press-item h3 a:hover { color: var(--primary); text-decoration: underline; }
.press-summary { font-size: 15px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.press-credit { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 600px) {
  .press-item { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .press-item h3 { font-size: 16px; }
  .press-summary { display: none; }
}

/* ---------- Page band (beige rounded page body) ---------- */
.page-band { margin: 48px auto 0; max-width: var(--max); }
.page-band .intro { font-size: 16px; color: var(--muted); margin-bottom: 24px; }
/* Headings, reading text and forms share one centered 760px column on desktop */
.page-band h1, .page-band .intro, .page-band .container > ul, .form-card { max-width: var(--read); margin-left: auto; margin-right: auto; }
.form-card { background: #fff; padding: 36px; margin-top: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Privacy / Terms ---------- */
.legal, .container.narrow { max-width: calc(var(--read) + 2 * var(--gutter)); }
.legal-date { color: var(--muted); font-size: 15px; margin: -4px 0 20px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 40px 0 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--primary); }

/* ---------- Resources ---------- */
.res-help { background: var(--green); color: #fff; padding: 14px 20px; border-radius: var(--radius-sm); font-size: 14px; }
.res-help a { color: #fff; font-weight: 700; white-space: nowrap; }
.res-help a:focus-visible { outline-color: #fff; }
.res-search {
  position: sticky; top: var(--header-h, 72px); z-index: 10;
  background: #fff; padding: 16px 0 6px; margin-top: 12px;
}
.res-search label { display: block; font-weight: 600; font-size: 15px; color: var(--black); margin-bottom: 6px; }
.res-search input {
  width: 100%; font: 18px var(--font-body); color: var(--ink);
  padding: 14px 18px 14px 50px; border: 1.5px solid #8a8780; border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23555' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6.5'/%3E%3Cpath d='m13.5 13.5 5 5'/%3E%3C/svg%3E") no-repeat 20px center;
  transition: border-color .15s, box-shadow .15s;
}
.res-search input::placeholder { color: #6b6b6b; opacity: 1; }
.res-search input:hover { border-color: #55534e; }
.res-search input:focus-visible { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(17, 17, 17, .18); }
.res-count { font-size: 14px; color: var(--muted); margin: 6px 0 0 4px; }
.res-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.res-jump a {
  display: inline-block; padding: 6px 14px; border-radius: 4px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .15s;
}
.res-jump a:hover { border-color: var(--black); }
.res-jump .n { color: var(--muted); font-weight: 600; margin-left: 2px; }
.res-section, .res-card { scroll-margin-top: calc(var(--header-h, 72px) + var(--search-h, 110px) + 16px); }
.res-section { margin-top: 48px; }
.res-section h2 { font-size: clamp(24px, 2.6vw, 30px); display: flex; align-items: center; gap: 12px; }
.res-section h2 .n { font: 600 14px var(--font-body); letter-spacing: 0; background: var(--black); color: #fff; padding: 3px 11px; border-radius: 999px; }
/* Accordion (added by main.js; without JavaScript every category stays open as above) */
.res-acc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 40px; }
.res-acc-bar p { margin: 0; font-size: 14px; color: var(--muted); }
.res-sections.is-acc { margin-top: 16px; border-top: 2px solid var(--black); }
.res-section.res-acc { margin-top: 0; border-bottom: 1px solid var(--line); }
.res-acc h2 { display: block; margin: 0; font-size: clamp(20px, 2.2vw, 25px); }
.res-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 20px 6px;
  background: none; border: 0; border-radius: 0; font: inherit; letter-spacing: inherit; color: inherit;
  text-align: left; cursor: pointer;
}
@media (hover: hover) { .res-toggle:hover { color: var(--primary); } }
.res-toggle:focus-visible { outline-offset: -3px; border-radius: 6px; }
.res-chev { flex: none; margin-left: auto; color: var(--primary); transition: transform .2s ease; }
.res-toggle[aria-expanded="true"] .res-chev { transform: rotate(180deg); }
.res-acc .res-list { padding: 4px 0 32px; }
/* Safari keeps the height of hidden="until-found" content, leaving blank gaps; collapse it everywhere. */
.res-acc .res-list[hidden] { height: 0; padding: 0; overflow: hidden; content-visibility: hidden; }
@media print {
  .res-acc-bar, .res-chev { display: none; }
  .res-acc .res-list[hidden] { display: grid !important; content-visibility: visible; height: auto; overflow: visible; padding: 4px 0 24px; }
}
.res-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.res-card { display: flex; flex-direction: column; background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--primary); }
.res-card h3 { font-size: 19px; margin-bottom: 6px; }
.res-meta { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.res-area { display: block; color: var(--green); font-weight: 600; }
.res-offers { font-size: 14px; }
.res-note { font-size: 15px; color: #8a1416; background: var(--red-soft); padding: 10px 14px; border-radius: var(--radius-sm); }
.res-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.res-card dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.res-card dd { margin: 0; }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; }
.res-actions .btn { overflow-wrap: anywhere; }
.btn-phone { border-color: var(--green); color: var(--green); background: #fff; padding: 9px 20px; font-size: 15px; }
.btn-phone:hover { background: var(--green); border-color: var(--green); color: #fff; }
.res-empty { background: #fff; padding: 32px; margin-top: 32px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.res-more { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.res-more p { margin: 16px 0 0; color: var(--muted); }
.res-more p a { color: var(--black); font-weight: 600; }
.res-dist { display: block; width: fit-content; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--black); color: #fff; font-size: 13px; font-weight: 600; }
.res-place-note { display: block; font-size: 14px; color: var(--muted); }
.res-place a, .res-places a { color: var(--primary); font-weight: 600; white-space: nowrap; }
.res-places summary { cursor: pointer; font-weight: 600; }
.res-places ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.res-places strong { display: block; }
.res-card.flash { animation: res-flash 2s ease-out; }
@keyframes res-flash { from { box-shadow: 0 0 0 4px var(--primary), var(--shadow-lg); } to { box-shadow: var(--shadow); } }
.res-card:focus { outline: none; }

/* Find places near you */
/* Lands just below the sticky header and search bar; html's 90px scroll-padding-top is added on top of this. */
.near, .near-map { scroll-margin-top: calc(var(--header-h, 72px) + var(--search-h, 110px) + 12px - 90px); }
.near {  margin-top: 28px; padding: 28px; background: var(--bg-soft); border-radius: var(--radius); }
.near-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.near-head h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 6px; }
.near-head h2:focus { outline: none; }
.near-head p { margin: 0; color: var(--muted); max-width: 640px; }
.near-form { margin-top: 20px; }
.near-form label { display: block; font-weight: 600; font-size: 15px; color: var(--black); margin-bottom: 6px; }
.near-row { display: flex; flex-wrap: wrap; gap: 10px; }
.near-row input {
  flex: 1 1 280px; min-width: 0; font: 18px var(--font-body); color: var(--ink);
  padding: 12px 18px; border: 1.5px solid #8a8780; border-radius: 4px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.near-row input::placeholder { color: #6b6b6b; opacity: 1; }
.near-row input:hover { border-color: #55534e; }
.near-row input:focus-visible { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(17, 17, 17, .18); }
.near-row .btn { padding: 11px 22px; }
.near-row .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.near-status { min-height: 1.5em; margin: 8px 0 0 4px; font-size: 15px; color: var(--ink); font-weight: 500; }
.near-body { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 12px; }
.near-body.has-origin { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.near-map { height: 460px; border-radius: var(--radius-sm); overflow: hidden; background: #e8e6e0; box-shadow: var(--shadow); z-index: 0; }
.near-map-error { padding: 24px; margin: 0; color: var(--muted); }
.near-results { display: none; }
.has-origin .near-results { display: flex; flex-direction: column; max-height: 460px; }
.near-results-title { font-size: 17px; margin-bottom: 8px; }
.near-list { list-style: none; margin: 0; padding: 0 4px 0 0; overflow-y: auto; flex: 1 1 auto; }
.near-list li { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 10px; }
.near-item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; }
.near-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.near-txt { display: grid; font-size: 14px; line-height: 1.4; color: var(--muted); }
.near-name { font-size: 16px; font-weight: 700; color: var(--black); text-decoration: none; }
.near-name:hover { color: var(--primary); text-decoration: underline; }
.near-cat { color: var(--green); font-weight: 600; font-size: 13px; }
.near-dist { font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--black); }
.near-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 14px; }
.near-links a, .near-links button, .near .near-pop-links a { color: var(--primary); font-weight: 600; }
.near-links button { padding: 0; background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.near-none { padding: 16px; color: var(--muted); }
.near-more { align-self: flex-start; margin-top: 4px; }
.near-pin { background: none; border: 0; }
.near-pin span {
  display: grid; place-items: center; width: 30px; height: 30px; box-sizing: border-box;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--primary); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  color: #fff; font: 700 13px/1 var(--font-body);
}
.near-pin b { transform: rotate(45deg); font-weight: 700; }
.near-pin.is-multi span { background: var(--primary-dark); }
.near-pin.is-you span { background: var(--black); border-radius: 50%; transform: none; width: 22px; height: 22px; margin: 8px 0 0 4px; box-shadow: 0 0 0 6px rgba(17, 17, 17, .2); }
.near-pop { display: grid; gap: 2px; font: 14px/1.45 var(--font-body); color: var(--muted); }
.near-pop + .near-pop { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.near-pop strong, .near .near-pop-name { color: var(--black); font-size: 15px; font-weight: 700; }
.near .near-pop-name:hover { color: var(--primary); }
.near-pop-dist { color: var(--black); font-weight: 600; }
.near-pop-links { display: flex; gap: 14px; margin-top: 4px; }
[hidden]:not([hidden="until-found" i]) { display: none !important; }

/* ---------- Forms ---------- */
.form { font-size: 15px; }
.form label, .form .label { display: block; margin: 0 0 6px; color: var(--black); font-weight: 600; font-size: 15px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.form legend { padding: 0; }
.field { margin-bottom: 20px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form input[type="number"], .form input[type="time"], .form select, .form textarea {
  width: 100%;
  font: 16px var(--font-body);
  padding: 12px 14px;
  border: 1.5px solid #8a8780;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
/* iOS Safari gives time inputs a native min-width that ignores width: 100%, so they spill past the card */
.form input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; height: 47px; text-align: left; }
.form input[type="time"]::-webkit-date-and-time-value { text-align: left; }
.form ::placeholder { color: #6b6b6b; opacity: 1; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #55534e; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(17, 17, 17, .18);
}
.form .narrow { max-width: 420px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.phone { display: flex; border: 1.5px solid #8a8780; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.phone:focus-within { border-color: var(--black); box-shadow: 0 0 0 3px rgba(17, 17, 17, .18); }
.phone select { width: auto !important; border: 0 !important; border-radius: 0 !important; padding: 12px 6px 12px 12px !important; background: var(--bg-soft) !important; }
.phone input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.form h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 40px 0 16px; }
.check-group .label { margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checks label, .radios label { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; cursor: pointer; }
.radios { display: grid; gap: 10px; }
.form input[type="checkbox"], .form input[type="radio"] { width: 19px; height: 19px; margin: 0; accent-color: var(--primary); flex: none; cursor: pointer; }
.form .hint { margin: 0 0 12px; color: var(--muted); font-weight: 400; }
.form .consent { display: flex; align-items: center; gap: 10px; margin: 4px 0 20px; font-weight: 400; }
.form button[type="submit"] { padding: 14px; font-size: 16px; margin-top: 10px; }
.form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.req { color: var(--red); font-weight: 700; }
.req-note { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.form-privacy { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.form-privacy a { color: var(--black); }
.form-success, .form-error { display: none; padding: 14px 16px; margin-top: 16px; font-size: 16px; border-radius: var(--radius-sm); }
.form-success { background: #e9f5ec; border: 1px solid var(--green); color: #0b4d0b; }
.form-error { background: var(--red-soft); border: 1px solid var(--red); color: #8a1416; }
.form.sent .form-success, .form.failed .form-error { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Volunteer ---------- */
.vol-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; max-width: var(--max); margin: 48px auto 0; padding: 0 var(--gutter); }
.vol-hero p { color: var(--muted); font-size: 16px; }
.vol-hero img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.vol-form-band { background: var(--bg-soft); padding: 56px var(--gutter) 64px; margin: var(--section) auto 0; max-width: var(--max); border-radius: 24px; }
.vol-form-band .section-title { margin-top: 0; }
.vol-form-band .form { max-width: 780px; margin: 0 auto; background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.vol-form-band .form-title { font-size: 22px; margin: 0 0 18px; }
.ways { padding: var(--section) 0 0; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.way {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 5px solid var(--primary);
  transition: transform .15s, box-shadow .15s;
}
.way:nth-child(3n+2) { border-top-color: var(--black); }
.way:nth-child(3n) { border-top-color: var(--green-logo); }
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.way h3 { margin-bottom: 10px; }
.way p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .header-inner { justify-content: space-between; }
  .site-header .logo { margin-right: 0; }
  /* Dropdown: full-width beige panel under the header, same look as the desktop menu */
  .nav > ul {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 1px);
    flex-direction: column; gap: 0; padding: 4px var(--gutter) 12px;
    background: #f2efe8; border-bottom: 1px solid #b8b5ad; box-shadow: 0 12px 24px rgba(17, 17, 17, .08);
  }
  .nav.open > ul { display: flex; }
  .nav li + li { border-top: 1px solid #dcd8ce; }
  .nav a { display: block; padding: 14px 0; font-size: 17px; line-height: 24px; }
  .nav a[aria-current="page"] { text-underline-offset: 6px; }
  .sub-toggle { display: flex; width: 100%; justify-content: space-between; padding: 14px 0; font-size: 17px; line-height: 24px; }
  .nav .sub-menu { position: static; min-width: 0; padding: 0 0 8px 16px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .nav .sub-menu li { border-top: 0; }
  .nav .sub-menu a { padding: 10px 0; }
}
@media (max-width: 1220px) {
  .vol-form-band { border-radius: 0; }
  .news-banner, .news-body { border-radius: var(--radius); }
}
@media (max-width: 900px) {
  :root { --section: 48px; }
  .split, .vol-hero, .support .split, .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .ways-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 680px; }
}
@media (max-width: 700px) {
  .res-list { grid-template-columns: 1fr; }
  .res-card { padding: 20px; }
  .res-card dl { grid-template-columns: 1fr; gap: 0; }
  .res-card dd { margin-bottom: 8px; }
  .res-search input { font-size: 17px; }
}
@media (max-width: 900px) {
  .near-body.has-origin { grid-template-columns: 1fr; }
  .near-map { height: 360px; }
  .has-origin .near-results { max-height: none; }
  .near-list { overflow: visible; padding: 0; }
}
@media (max-width: 640px) {
  .near { padding: 20px 16px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0; }
  .near-toggle { width: 100%; }
  .near-row .btn { flex: 1 1 auto; }
  .near-map { height: 320px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 32px; }
  /* Tighter vertical rhythm on phones: photos sit closer to the text around them */
  .hero-banner { margin: 20px auto 28px; }
  .split, .vol-hero, .support .split { gap: 24px; }
  .page-band, .vol-hero { margin-top: 32px; }
  .vol-hero p:last-child { margin-bottom: 0; }
  .mission-photo { margin: 28px auto; }
  .team-sketch { margin-bottom: 32px; }
  body { font-size: 14px; }
  .site-header .logo { font-size: 24px; }
  .team-grid, .ways-grid, .checks, .form .row-2, .footer-nav ul { grid-template-columns: 1fr; }
  .form .row-2 { gap: 0; }
  .vol-form-band .form, .signup-card, .form-card, .member { padding: 24px 18px; }
  .member-head img { width: 240px; }
  .support { padding: 40px 0; }
  .news-banner, .news-body { border-radius: 0; }
  .news-hero { padding: 0; margin-top: 0; }
  .to-top { width: 52px; height: 52px; padding: 0; justify-content: center; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .to-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Longer wordmark: keep it clear of the menu button on the narrowest phones */
@media (max-width: 360px) {
  .site-header .logo { font-size: 19px; }
}
