@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}

:root {
  --bg: #FDF8EE;
  --bg-soft: #F5EAD3;
  --ink: #24262A;
  --ink-muted: #6E6B63;
  --accent: #916A27;
  --accent-bright: #AB7D2E;
  --accent-wash: #F4ECDB;
  --border: rgba(36,38,42,0.10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 18px; z-index: 100; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'opsz' 144;
  font-weight: 500; line-height: 1.12; letter-spacing: 0; text-wrap: balance; margin: 0;
}
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); }
.icon { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- top bar ---------- */
.topbar { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 20; }
.topbar .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 500; font-size: 17px; text-decoration: none; color: inherit; }
.brand img { height: 30px; width: auto; }
nav.links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-muted); flex-wrap: wrap; }
nav.links a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 4px; }
nav.links .chev { width: 9px; height: 9px; stroke: var(--ink-muted); fill: none; stroke-width: 2; }
.nav-ctas { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.donate-link { font-size: 13.5px; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 10px 28px rgba(36,30,15,0.14); padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 5px; font-size: 13.5px;
  color: var(--ink); white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 3px; font-size: 14.5px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.85); }

/* ---------- photo hero ---------- */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: flex-end;
  background-image:
    linear-gradient(to top, rgba(46,34,16,0.88) 0%, rgba(46,34,16,0.60) 38%, rgba(46,34,16,0.08) 68%, rgba(46,34,16,0.08) 100%),
    url('../images/hero-palm.jpg');
  background-size: cover; background-position: center;
}
.hero-inner { position: relative; padding: 72px 0 60px; max-width: 780px; }
.hero .eyebrow { color: #F6E9C7; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-top: 16px; }
.hero .sub { color: rgba(255,255,255,0.95); font-size: 18.5px; max-width: 48ch; margin: 18px 0 6px; }
.hero .fine { color: rgba(255,255,255,0.78); font-size: 13px; margin-bottom: 30px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- star divider ---------- */
.stars { display: flex; justify-content: center; gap: 20px; padding: 40px 0; }
.stars svg { width: 15px; height: 15px; fill: var(--accent-bright); }
.stars svg:nth-child(1), .stars svg:nth-child(4) { opacity: 0.5; transform: translateY(3px) scale(0.82); }

/* ---------- mission (logo + copy) ---------- */
.mission { padding: 88px 0; }
.mission-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 72px; align-items: center; }
.mission-logo-image img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 900 / 835; margin: 0 auto; }
.mission-logo-image.round img { max-width: 300px; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 8px 28px rgba(36,30,15,0.14); }
.mission-copy .eyebrow { display: block; margin-bottom: 14px; }
.mission-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-style: italic; font-weight: 400;
  margin-bottom: 24px;
}
.mission-copy p { font-size: 16px; color: var(--ink-muted); margin: 0 0 18px; max-width: 58ch; }
.mission-copy p.logo-meaning { font-size: 14.5px; padding-top: 18px; border-top: 1px solid var(--border); }
.mission-copy p.logo-meaning strong { color: var(--ink); font-weight: 600; }

/* ---------- partners (lift cards) ---------- */
.partners-section { background: var(--bg-soft); padding: 80px 0; }
.partners-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.partners-head h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 8px; }
.tier-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 18px; }
.a-row { display: grid; gap: 20px; margin-bottom: 32px; }
.a-row.corp { grid-template-columns: repeat(3, 1fr); }
.a-row.mm { grid-template-columns: repeat(4, 1fr); }
.a-card {
  display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 32px 24px; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(36,30,15,0.04), 0 4px 12px rgba(36,30,15,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.a-row.corp .a-card { min-height: 130px; }
.a-row.mm .a-card { min-height: 100px; padding: 22px 20px; }
.a-card img { max-height: 56px; max-width: 100%; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s ease, opacity 0.3s ease; }
.a-row.mm .a-card img { max-height: 40px; }
.a-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(36,30,15,0.12); }
.a-card:hover img { filter: grayscale(0); opacity: 1; }
.a-underline { position: absolute; bottom: 14px; left: 50%; width: 0; height: 2px; background: var(--accent-bright); transition: width 0.3s ease, left 0.3s ease; }
.a-card:hover .a-underline { width: 36px; left: calc(50% - 18px); }
.view-all-row { display: flex; justify-content: center; margin-top: 8px; }
.view-all-btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--accent); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--accent);
  transition: gap 0.2s ease;
}
.view-all-btn:hover { gap: 12px; }
.view-all-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- goals hub ---------- */
.goals-banner { text-align: center; padding: 56px 0 44px; }
.goals-banner h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 10px; }
.goals-banner p { color: var(--ink-muted); max-width: 60ch; margin: 14px auto 0; }
.goals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 90px; }
.goal-card {
  position: relative; height: 340px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
  box-shadow: 0 4px 18px rgba(36,30,15,0.12);
}
.goal-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.goal-card .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,22,12,0.92) 0%, rgba(30,22,12,0.55) 45%, rgba(30,22,12,0.15) 75%);
}
.goal-card:hover .bg { transform: scale(1.06); }
.goal-card .content { position: relative; }
.goal-card .stars { display: flex; gap: 4px; margin-bottom: 14px; }
.goal-card .stars svg { width: 13px; height: 13px; fill: var(--accent-bright); opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.3s ease; }
.goal-card:hover .stars svg { opacity: 1; transform: translateY(0); }
.goal-card .stars svg:nth-child(1) { transition-delay: 0s; }
.goal-card .stars svg:nth-child(2) { transition-delay: 0.05s; }
.goal-card .stars svg:nth-child(3) { transition-delay: 0.1s; }
.goal-card .stars svg:nth-child(4) { transition-delay: 0.15s; }
.goal-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.goal-card p { color: rgba(255,255,255,0.88); font-size: 14.5px; max-width: 42ch; margin: 0 0 14px; }
.goal-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; }
.goal-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s ease; }
.goal-card:hover .goal-link svg { transform: translateX(4px); }
@media (max-width: 860px) {
  .goals-grid { grid-template-columns: 1fr; }
}

/* ---------- events page ---------- */
.events-banner { text-align: center; padding: 56px 0 44px; }
.events-banner h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 10px; }
.pd-upcoming { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 70px; }
.pd-feature {
  background: var(--ink); color: #fff; border-radius: 12px; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.pd-feature .eyebrow { color: #E9C88A; }
.pd-feature h3 { color: #fff; font-size: 1.5rem; margin: 12px 0 12px; }
.pd-feature p { color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 22px; max-width: 42ch; }
.pd-lift-panel { background: var(--bg-soft); border-radius: 12px; padding: 32px 36px; }
.lift-list { list-style: none; margin: 16px 0 0; padding: 0; }
.lift-list li {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13.5px;
}
.lift-list li:last-child { border-bottom: none; }
.lift-date { color: var(--accent); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.lift-title { color: var(--ink); font-weight: 500; }
.lift-loc { color: var(--ink-muted); font-size: 12.5px; text-align: right; }
.lift-note { font-size: 12px; color: var(--ink-muted); margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }
.pd-past-head { margin-bottom: 22px; }
.pd-scroll { display: flex; gap: 20px; overflow-x: auto; padding: 4px 0 90px; }
.pd-card { position: relative; flex: 0 0 auto; width: 220px; height: 275px; border-radius: 8px; overflow: hidden; text-decoration: none;
  box-shadow: 0 4px 14px rgba(20,18,10,0.08); }
.pd-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pd-card:hover img { transform: scale(1.05); }
.pd-card-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(46,34,16,0.88), transparent);
  color: #fff; font-size: 13px; font-weight: 500;
}
@media (max-width: 860px) {
  .pd-upcoming { grid-template-columns: 1fr; }
  .lift-list li { grid-template-columns: 90px 1fr; }
  .lift-loc { display: none; }
}

/* ---------- generic content pages (Programs, PVC, Jobs) ---------- */
.page-banner { text-align: center; padding: 56px 0 44px; }
.page-banner h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 10px; }
.page-banner p.lede { color: var(--ink-muted); max-width: 60ch; margin: 14px auto 0; }
.content-narrow { max-width: 720px; margin: 0 auto; }
.content-section { padding: 8px 0 64px; }
.content-section h2 { font-size: 1.5rem; margin-bottom: 16px; }
.content-section p { color: var(--ink-muted); font-size: 16px; margin: 0 0 16px; }

.two-col-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 8px 0 70px; }
.two-col-photo img { width: 100%; border-radius: 10px; }
.two-col-photo .copy h2 { font-size: 1.6rem; margin-bottom: 14px; }
.two-col-photo .copy p { color: var(--ink-muted); font-size: 15.5px; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-item .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.benefit-item .check svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 3; }
.benefit-item p { margin: 0; font-size: 15px; color: var(--ink); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 8px 0 70px; }
.stat-card { background: var(--bg-soft); border-radius: 10px; padding: 26px 22px; text-align: center; }
.stat-card b { display: block; font-family: 'Fraunces', serif; font-variation-settings: 'opsz' 144; font-size: 1.8rem; color: var(--accent); margin-bottom: 6px; }
.stat-card span { font-size: 13px; color: var(--ink-muted); }

.mentor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mentor-card { background: var(--bg-soft); border-radius: 8px; padding: 16px 18px; }
.mentor-card b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.mentor-card span { font-size: 12.5px; color: var(--ink-muted); }

.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px 26px; flex-wrap: wrap;
}
.job-card-main h3 { font-size: 1.05rem; margin-bottom: 5px; }
.job-card-main p { color: var(--ink-muted); font-size: 13.5px; margin: 0; }
.job-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); background: var(--accent-wash); padding: 4px 10px; border-radius: 12px;
  margin-bottom: 8px; display: inline-block;
}
.job-pay { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 4px; }

.pvc-seal-row { display: flex; align-items: center; gap: 28px; padding-bottom: 20px; }
.pvc-seal-row img { width: 110px; height: 110px; border-radius: 50%; flex-shrink: 0; }

@media (max-width: 860px) {
  .two-col-photo { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .mentor-grid { grid-template-columns: 1fr 1fr; }
  .pvc-seal-row { flex-direction: column; text-align: center; }
}

/* ---------- partners directory page ---------- */
.directory-hero { padding: 64px 0 40px; text-align: center; border-bottom: 1px solid var(--border); }
.directory-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 12px; }
.directory-hero p { color: var(--ink-muted); max-width: 60ch; margin: 14px auto 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-muted); text-decoration: none; margin-bottom: 20px; }
.back-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

.directory-controls { padding: 32px 0 8px; position: sticky; top: 63px; background: var(--bg); z-index: 15; border-bottom: 1px solid var(--border); }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.search-input {
  flex: 1; min-width: 220px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Inter'; font-size: 15px; background: var(--bg-soft); color: var(--ink);
}
.search-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.result-count { font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 18px; }
.filter-pill {
  font-family: 'Inter'; font-size: 13px; font-weight: 600; color: var(--ink-muted);
  background: var(--bg-soft); border: 1px solid var(--border); padding: 8px 16px; border-radius: 20px;
  cursor: pointer; transition: all 0.15s ease;
}
.filter-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.directory-body { padding: 40px 0 100px; }
.dir-tier { margin-bottom: 56px; }
.dir-tier-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.dir-tier-head h2 { font-size: 1.3rem; }
.dir-tier-count { font-size: 12.5px; color: var(--ink-muted); }
.dir-logo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dir-logo-row.mm { grid-template-columns: repeat(4, 1fr); }
.dir-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.dir-list li {
  font-size: 14px; color: var(--ink-muted); padding: 10px 0; break-inside: avoid;
  border-bottom: 1px solid var(--border);
}
.dir-empty { display: none; text-align: center; padding: 60px 0; color: var(--ink-muted); }
.dir-empty.show { display: block; }

@media (max-width: 860px) {
  .dir-logo-row, .dir-logo-row.mm { grid-template-columns: repeat(2, 1fr); }
  .dir-list { columns: 2; }
  .directory-controls { position: static; }
}

/* ---------- moments gallery (horizontal scroll) ---------- */
.moments { padding: 84px 0 90px; }
.moments-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.moments-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-top: 8px; }
.moments-hint { font-size: 13px; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; }
.moments-hint svg { width: 14px; height: 14px; stroke: var(--ink-muted); fill: none; stroke-width: 1.8; }
.mscroll {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px 48px 24px; margin: 0 auto; max-width: 1120px; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.mscroll::-webkit-scrollbar { height: 6px; }
.mscroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gcard {
  position: relative; flex: 0 0 auto; width: 220px; height: 275px; border-radius: 6px;
  overflow: hidden; scroll-snap-align: start; box-shadow: 0 1px 2px rgba(20,18,10,0.06), 0 6px 18px rgba(20,18,10,0.08);
}
.gcard img { width: 100%; height: 100%; object-fit: cover; }
.gcard-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(46,34,16,0.85), rgba(46,34,16,0));
  color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
}

/* ---------- press ---------- */
.press { background: var(--bg-soft); padding: 72px 0; }
.press-head { margin-bottom: 34px; }
.press-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.press-card {
  display: block; text-decoration: none; color: inherit; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(36,30,15,0.05), 0 6px 16px rgba(36,30,15,0.06);
}
.press-card img { width: 100%; height: 130px; object-fit: cover; }
.press-card-body { padding: 16px 18px 18px; }
.press-card .eyebrow { font-size: 11px; display: block; margin-bottom: 8px; }
.press-card h3 { font-size: 14.5px; font-weight: 500; line-height: 1.35; margin: 0; }
.press-card-text { display: flex; align-items: center; min-height: 130px; }
.press-card-text .press-card-body { padding: 18px; }

/* ---------- footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 32px; }
footer .frow { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 30px; }
footer .fcol h4 {
  font-family: 'Fraunces', serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 500; color: var(--ink-muted); margin-bottom: 14px;
}
footer .fcol div, footer .fcol a { display: block; font-size: 14px; color: var(--ink); text-decoration: none; margin-bottom: 8px; opacity: 0.85; }
footer .bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--ink-muted); flex-wrap: wrap; gap: 10px; }

/* ---------- mobile nav (hamburger + dropdown) ---------- */
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid var(--border); border-radius: 6px; background: none; cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav-panel {
  display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
  border-bottom: 1px solid var(--border); box-shadow: 0 14px 30px rgba(36,30,15,0.14);
  max-height: calc(100vh - 62px); overflow-y: auto; padding: 8px 0 18px; z-index: 25;
}
.mobile-nav-panel.open { display: block; }
.mobile-nav-panel a {
  display: block; padding: 13px 28px; font-size: 15px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-panel a:active { background: var(--bg-soft); }
.mobile-nav-panel .mnp-label {
  padding: 16px 28px 6px; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--accent);
}
.mobile-nav-panel .mnp-sub { padding-left: 40px; font-size: 14px; color: var(--ink-muted); }
.mobile-nav-panel .mnp-ctas { padding: 18px 28px 4px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 860px) {
  nav.links { display: none; }
  .nav-ctas .donate-link { display: none; }
  .nav-toggle { display: flex; }
  .topbar { position: sticky; }
  .a-row.corp, .a-row.mm { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .mission-logo-image img { max-width: 260px; }
  .mission-copy p { margin-left: auto; margin-right: auto; }
  .press-list { grid-template-columns: 1fr 1fr; }
  footer .frow { flex-direction: column; gap: 22px; }
  .hero { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- membership tier cards (upic-join.html) ---------- */
.tier-hero { padding: 64px 0 12px; text-align: center; }
.tier-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 12px; }
.tier-hero p { color: var(--ink-muted); max-width: 62ch; margin: 14px auto 0; }
.tier-hero .ctas { margin-top: 26px; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 48px 0 20px; align-items: stretch; }
.tier-card {
  display: flex; flex-direction: column; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 30px 26px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(36,30,15,0.10); }
.tier-card.featured { border-color: var(--accent); background: var(--accent-wash); }
.tier-name { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 500; margin: 0; }
.tier-subtitle { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.tier-price-row { margin: 18px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.tier-price { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--accent); font-weight: 500; }
.tier-period { font-size: 12.5px; color: var(--ink-muted); margin-left: 4px; }
.tier-bullets { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 11px; }
.tier-bullets li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.tier-bullets li svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 2.2; flex-shrink: 0; margin-top: 2px; }
.tier-bullets li.tier-cascade { font-weight: 600; color: var(--accent); font-style: italic; }
.tier-card .btn { margin-top: auto; width: 100%; }

.credit-banner {
  display: flex; align-items: center; gap: 20px; background: var(--accent-wash); border: 1px solid var(--border);
  border-radius: 12px; padding: 26px 30px; margin: 20px 0 70px; flex-wrap: wrap;
}
.credit-banner .c-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.credit-banner .c-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.credit-banner .c-text { flex: 1; min-width: 240px; }
.credit-banner h3 { font-size: 1.05rem; margin-bottom: 6px; }
.credit-banner p { font-size: 13.5px; color: var(--ink-muted); margin: 0 0 8px; }
.credit-banner ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-muted); }

@media (max-width: 980px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tier-grid { grid-template-columns: 1fr; } }

.form-input {
  width: 100%; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 11px 13px;
}
.form-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.newsletter-panel {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  padding: 30px 32px; margin: 30px 0 70px; text-align: center;
}
.newsletter-panel h3 { font-size: 1.15rem; margin-bottom: 6px; }
.newsletter-panel p { font-size: 14px; color: var(--ink-muted); margin: 0 0 18px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form .form-input { flex: 1; min-width: 200px; }
.newsletter-form .btn { flex-shrink: 0; }
.newsletter-note { font-size: 12px; color: var(--ink-muted); margin-top: 12px; }

/* ---------- mobile gutters (phones/tablets) ----------
   Several containers share the element with .wrap but reset its horizontal
   padding via shorthand (e.g. .topbar .row, .hero-inner), leaving content
   flush against the screen edge. Enforce one consistent side gutter. */
@media (max-width: 860px) {
  .wrap { padding-left: 22px !important; padding-right: 22px !important; }
  .mscroll { padding-left: 22px; padding-right: 22px; scroll-padding-left: 22px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
  .hero-inner { padding-top: 56px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.4rem); overflow-wrap: break-word; }
  .hero .sub { font-size: 17px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.08em; }
  #dirGrid { grid-template-columns: minmax(0, 1fr); }
  #dirGrid .card { min-width: 0; }
  #dirGrid .status-badge { flex-shrink: 1 !important; min-width: 0; }
}
@media (max-width: 400px) {
  .wrap { padding-left: 20px !important; padding-right: 20px !important; }
}
