/* Meals on Wheels of Evansville: site styles
   Colors follow the Meals on Wheels logo: navy, sky blue and lime.
   Look: warm and welcoming. Navy heroes with a sky-blue sun, a lime dot and white rings,
   scalloped photo frames, Fraunces serif headlines, DM Sans text,
   Courgette script for small section labels, lime Donate buttons with navy text.
   Motion: gentle fade-up on scroll, count-up numbers, soft hover lift.
   Every animation turns off for visitors whose device asks for reduced motion. */

:root {
  --bg: #F9FAF7;
  --bg-2: #F2F7FC;          /* pale sky section tint */
  --paper: #FFFFFF;
  --ink: #15243B;
  --ink-2: #3A4A60;
  --muted: #4F5D70;
  --line: #E3E8EF;
  --line-strong: #C6D0DC;

  --navy-950: #0F2748;
  --navy-900: #1D3E6E;      /* logo navy; panels: white text 10.7:1 */
  --navy-800: #1F4476;      /* hero: white text 9.8:1 */
  --blue: #1A6BA3;          /* links + accents on white: 5.7:1 */
  --blue-dark: #14578A;
  --sky-50: #EAF4FB;
  --sky-100: #D4EAF8;
  --on-navy: #E4EEF8;       /* body text on navy: 8.3:1 */

  --lime: #C3D52E;          /* logo lime; buttons with navy text 6.5:1 */
  --lime-hover: #B3C51F;
  --sky: #40A6DE;           /* logo sky blue; shapes and underlines only, never behind text */
  --blue-script: #1F78B4;   /* script labels: 4.6:1 */
  --lime-accent: #CFE04A;   /* accent words on navy: 6.7:1 */
  --butter: #F3F7DA;
  --sand: #E9EEF4;
  --sage: #E3F1FA;
  --error: #A12D12;

  /* legacy names still used inline in page markup */
  --green: var(--blue);
  --green-900: var(--navy-900);
  --cream: var(--bg);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Courgette", "Brush Script MT", cursive;

  --radius-sm: 16px;
  --radius: 22px;
  --radius-lg: 30px;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1200px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(15, 39, 72, .05), 0 4px 12px -6px rgba(15, 39, 72, .10);
  --shadow-md: 0 26px 50px -26px rgba(15, 39, 72, .35);
  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--butter); color: var(--ink); }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; color: inherit; font-optical-sizing: auto; }
h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; }
h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 600; line-height: 1.22; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--blue); }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 36em; line-height: 1.65; }
.muted { color: var(--ink-2); }
.small { font-size: 16px; }
.fine { font-size: 14px; color: var(--muted); }
strong, b { font-weight: 600; }

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

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.center { text-align: center; margin-inline: auto; align-items: center; }

/* Section label: blue script, like "Who we are" in the reference */
.eyebrow { font-family: var(--script); font-size: 24px; line-height: 1.3; color: var(--blue-script); letter-spacing: .01em; align-self: flex-start; }
.center .eyebrow, .eyebrow.center { align-self: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 12px;
  font: 600 17px/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-dot::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease); }
.btn-dot:hover::before { transform: scale(1.12); }
.btn-primary { background: var(--lime); color: var(--navy-900); box-shadow: 0 12px 22px -14px rgba(120, 140, 20, .9); }
.btn-primary:hover { background: var(--lime-hover); color: var(--navy-900); box-shadow: 0 16px 28px -14px rgba(120, 140, 20, .95); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-950); color: #fff; }
.btn-light, .btn-footer { background: #fff; color: var(--navy-900); }
.btn-light:hover, .btn-footer:hover { background: var(--butter); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.text-link { font-weight: 600; font-size: 17px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header: clean white bar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .35s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(15, 39, 72, .4); }
.nav-shell { position: relative; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { display: block; width: auto; height: 52px; transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: translateY(-2px); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-name { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--navy-900); }
.brand-sub { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-script); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { position: relative; padding: 10px 11px; font-size: 16px; font-weight: 500; color: var(--navy-900); text-decoration: none; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--blue-dark); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav a[aria-current="page"]:not(.btn) { font-weight: 700; }
.nav .nav-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600 !important; margin-left: 6px; white-space: nowrap; }
.nav .nav-phone::after { display: none; }
.nav .btn { margin-left: 10px; min-height: 46px; padding: 0 20px; }
.nav a.btn[aria-current="page"] { box-shadow: 0 0 0 3px var(--butter); }

.header-actions { display: none; }
.menu-toggle, .icon-btn { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--navy-900); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s; }
.menu-toggle:hover, .icon-btn:hover { background: var(--sky-50); }

@media (max-width: 1180px) {
  .header-actions { display: flex; gap: 6px; align-items: center; }
  .header-donate { min-height: 46px; padding: 0 18px; font-size: 16px; }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 18px; border-radius: 12px; }
  .nav a:not(.btn)::after { left: 16px; right: auto; width: 28px; bottom: 8px; }
  .nav a:not(.btn):hover { background: var(--sky-50); }
  .nav .nav-phone { margin: 6px 0 0; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 520px) {
  .nav-shell { gap: 8px; min-height: 70px; }
  .brand-logo { height: 44px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; }
  .header-donate { padding: 0 14px; }
  .icon-btn { display: none; }
}
/* Small phones (360–400px wide): tighten the header so it never pushes the page sideways. */
@media (max-width: 400px) {
  .nav-shell { gap: 6px; }
  .brand { gap: 8px; }
  .brand-logo { height: 38px; }
  .brand-name { font-size: 15.5px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.12em; }
  .header-actions { gap: 5px; }
  .header-donate { padding: 0 11px; font-size: 15px; }
}
@media (max-width: 340px) {
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-logo { height: 34px; }
  .brand-text { white-space: normal; }
  .brand-name { font-size: 14.5px; line-height: 1.1; }
  .brand-sub { display: none; }
  .header-donate { padding: 0 9px; }
}

/* ---------- Hero (every page) ----------
   Navy ground, a sky-blue "sun" with a lime dot (the logo colors), and thin white rings, all drawn in CSS. */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background-color: var(--navy-800);
  background-image:
    radial-gradient(circle at 3% 104%, transparent 0 70px, rgba(255,255,255,.9) 70px 75px, transparent 76px),
    radial-gradient(circle at 97% 92%, transparent 0 58px, rgba(255,255,255,.85) 58px 62px, transparent 63px),
    radial-gradient(circle at 96% 62%, var(--lime) 0 2.2vw, transparent calc(2.6vw + 1px)),
    radial-gradient(circle at 90% 4%, #7CC4EA 0 13vw, transparent calc(13vw + 1px)),
    radial-gradient(circle at 100% 0%, var(--sky) 0 34vw, transparent calc(34vw + 1px)),
    radial-gradient(90% 80% at 20% 30%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(160deg, #24508A 0%, #1F4476 55%, #1A3A66 100%);
  padding-block: clamp(56px, 7vw, 104px);
}
@media (max-width: 1000px) {
  .hero { background-image:
    radial-gradient(circle at 3% 104%, transparent 0 60px, rgba(255,255,255,.9) 60px 64px, transparent 65px),
    radial-gradient(circle at 100% 0%, var(--sky) 0 18vw, transparent calc(18vw + 1px)),
    linear-gradient(160deg, #24508A 0%, #1F4476 55%, #1A3A66 100%); }
}
.hero h1 em, .hero h2 em { color: var(--lime-accent); }
/* Hero label: soft translucent pill, uppercase, like "EDUCATION FOR EVERY CHILD" */
.hero .eyebrow { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 9px 18px; border-radius: 12px; }
.hero .lede, .hero .muted, .hero p { color: var(--on-navy); }
.hero .lede strong, .hero p strong { color: #fff; }
.hero a:not(.btn) { color: #fff; }
.hero .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.hero .check-list svg { stroke: var(--lime-accent); }
.hero .check-list strong { color: #fff; }
.hero .updated { color: var(--on-navy); }
/* white surfaces inside the hero go back to dark text */
.hero :is(.card, .form-card, .panel-white, .hero-badge) { color: var(--ink); }
.hero :is(.card, .form-card, .panel-white) :is(p, .muted, .lede) { color: var(--ink-2); }
.hero :is(.card, .form-card, .panel-white) a:not(.btn) { color: var(--blue); }
.hero :is(.card, .form-card) .check-list svg { stroke: var(--blue); }
.hero :is(.card, .form-card) strong { color: inherit; }
.hero .form-card .impact, .hero .form-card .impact span { color: var(--navy-900); }
.hero .form-card :is(.fine, .secure, .pay-slot span) { color: var(--muted); }
.hero .form-card .eyebrow { color: var(--blue-script); }

/* Home hero: scalloped photo with a floating stat badge */
.hero-media { position: relative; max-width: 540px; width: 100%; justify-self: end; }
.hero-badge { position: absolute; left: -6%; bottom: 8%; display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-md); max-width: 230px; }
.hero-badge .n { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.hero-badge .l { font-size: 15px; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 1000px) { .hero-media { justify-self: center; } .hero-badge { left: 0; } }

/* statement under the hero */
.statement { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.3; max-width: 960px; margin-inline: auto; text-align: center; text-wrap: balance; }
.statement em { font-style: italic; color: var(--blue); }

/* ---------- Layout helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-2.top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.split-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.split-4-8 { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row p { max-width: 460px; }
@media (max-width: 1000px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .split-5-7, .split-7-5, .split-4-8 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .grid-4, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Surfaces ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card h3 { font-size: 24px; }
.card-title { font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); }
.card p { color: var(--ink-2); font-size: 17px; }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 16px; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; color: var(--blue); }
a.card { text-decoration: none; color: var(--ink); cursor: pointer; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--ink); }
a.card .more { transition: gap .3s var(--ease); }
a.card:hover .more { gap: 10px; }
.card-accent { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.card-accent p, a.card-accent, a.card-accent:hover { color: var(--ink); }
.card-accent h3, .card-accent .more { color: var(--ink); }
.card-accent .icon { background: rgba(255,255,255,.35); stroke: var(--ink); }
.card-green { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.card-green p { color: var(--on-navy); }
.card-green a, .card-green .card-title, .card-green h3, .card-green .more { color: #fff; }
.card-green .icon { background: rgba(255,255,255,.12); stroke: #fff; }

/* Navy panel with a soft ring, echoing the hero */
.panel-green, .stats-red, .footer-cta, .marquee, .phone-card {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(circle at 102% -10%, transparent 0 120px, rgba(255,255,255,.18) 120px 123px, transparent 124px),
    linear-gradient(160deg, #22497F 0%, #1D3E6E 60%, #183460 100%);
  color: #fff;
}
.panel-green { border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); }
.panel-green p, .panel-green .muted { color: var(--on-navy); }
.panel-green a:not(.btn) { color: #fff; }
.panel-green .eyebrow { color: var(--lime-accent); }
.panel-green h2 em { color: var(--lime-accent); }
.panel-butter { background: var(--butter); border: 1px solid #E4ECB0; border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); }
.panel-white { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); box-shadow: var(--shadow-sm); }

/* Photo placeholders: swap for <img class="photo"> when real photos arrive.
   Square photos get the scalloped frame from the reference; wide ones stay rounded. */
.photo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); color: #3A4A60;
  background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.6), transparent 55%), linear-gradient(150deg, #EEF5FB, #D6E7F4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 18%; font-weight: 600; font-size: 16px; line-height: 1.45;
  aspect-ratio: 1 / 1; max-width: 100%; width: 100%;
}
.photo:not(.wide):not(.short) { border-radius: 0; -webkit-mask: url("scallop.svg") center / 100% 100% no-repeat; mask: url("scallop.svg") center / 100% 100% no-repeat; }
.photo.wide, .photo.short { padding: 28px; }
img.photo { object-fit: cover; padding: 0; }
.photo svg { opacity: .7; }
.photo span { font-weight: 400; font-size: 14px; opacity: .85; }
.photo.sage { background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.6), transparent 55%), linear-gradient(150deg, #F7FAE8, #E5EDBC); color: #1D3E6E; }
.photo.butter { background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.6), transparent 55%), linear-gradient(150deg, #FFFFFF, #D8E9F6); color: #1D3E6E; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.short { aspect-ratio: 16 / 7; }

/* About page: "How we've grown" route map (assets/route-map.js draws the SVG). */
.route-map { margin: 0; width: 100%; max-width: 560px; justify-self: end; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 20px 20px 18px; box-shadow: var(--shadow-md); }
.hero .wrap > .route-map { animation: bloom 1.1s var(--ease) .25s both; }
.rm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.rm-kicker { font-family: var(--script); font-size: 18px; color: var(--blue-script); }
.rm-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 14px; }
.rm-num { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.rm-unit { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.rm-toggle { display: inline-flex; padding: 4px; background: var(--sky-50); border-radius: 999px; }
.rm-toggle button { min-height: 44px; min-width: 72px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 600 15px/1 var(--body); color: var(--navy-900); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.rm-toggle button:hover { background: var(--sky-100); }
.rm-toggle button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.rm-toggle button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.rm-svg { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--bg-2); }
.rm-streets line { stroke: #DCE6F0; stroke-width: 1.2; }
.rm-river { fill: var(--sky-100); }
.rm-label { font: 600 12px var(--body); fill: var(--muted); }
.rm-label-river { font-style: italic; fill: var(--blue-dark); }
.rm-map { position: relative; }
.rm-tag { position: absolute; top: 10px; left: 10px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.94); border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.rm-route { fill: none; stroke: var(--sky); stroke-width: 3.5; stroke-linecap: round; opacity: .85; }
.rm-house { fill: #fff; stroke: var(--line-strong); stroke-width: 1.2; transition: fill .35s var(--ease), stroke .35s var(--ease), opacity .35s var(--ease); }
.rm-house.is-lit { fill: var(--lime); stroke: var(--navy-900); }
.rm-house.is-hidden, .rm-van.is-hidden { opacity: 0; }
.rm-van { transition: opacity .4s var(--ease); }
.rm-van rect { fill: var(--navy-900); }
.rm-van .rm-van-window { fill: var(--lime); }
.rm-kitchen circle { fill: var(--navy-900); stroke: #fff; stroke-width: 3; }
.rm-kitchen-icon { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-map figcaption { display: grid; gap: 4px; margin-top: 12px; }
.rm-caption { font-size: 15px; line-height: 1.5; color: var(--ink-2); min-height: 3em; }
.rm-note { font-size: 13px; color: var(--muted); }
.hero .route-map a { color: var(--blue); font-weight: 600; }
@media (max-width: 1000px) { .route-map { justify-self: center; } }
@media (max-width: 520px) { .route-map { padding: 14px 14px 12px; } .rm-toggle button { min-width: 64px; padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .rm-house, .rm-van, .rm-toggle button { transition: none; } }

/* Spam trap: hidden from people and screen readers; bots fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact page map: live Google Maps embed with a directions link underneath. */
.map-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.map-embed { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: #E8EEF4; }
.map-link { display: block; padding: 14px 18px; font-weight: 600; text-decoration: none; }
.map-link:hover { text-decoration: underline; }

.icon { width: 44px; height: 44px; flex-shrink: 0; padding: 10px; border-radius: 14px; background: var(--sky-50); box-sizing: content-box; margin-bottom: 4px; stroke: var(--blue); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex-shrink: 0; margin-top: 3px; stroke: var(--blue); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--lime); }
.stat-num { font-family: var(--display); font-size: clamp(32px, 3.2vw, 42px); font-weight: 600; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.stat-label { font-size: 16px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stat-num { font-size: 28px; } .stat { padding: 20px 18px; } }

.stats-red { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.stats-red .n { font-family: var(--display); font-size: clamp(36px, 4vw, 52px); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats-red .l { font-size: 16px; color: var(--on-navy); margin-top: 6px; }
@media (max-width: 900px) { .stats-red { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.num-card .big { font-family: var(--display); font-size: clamp(38px, 4vw, 50px); font-weight: 600; color: var(--blue); line-height: 1.05; font-variant-numeric: tabular-nums; }
.num-card .card-title { font-size: 18px; }

/* ---------- Home pieces ---------- */
.callout { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius-sm); padding: 20px 22px; font-size: 17px; box-shadow: var(--shadow-sm); }
.callout svg { stroke: var(--blue); }
.callout p { margin: 0; }
.callout .callout-title { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--navy-900); margin: 0 0 6px; }
.hero .callout { color: var(--ink-2); }
.hero .callout p { color: var(--ink-2); }
.hero .callout .callout-title { color: var(--navy-900); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; font-size: 16.5px; }
.features > div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px; transition: background-color .3s var(--ease); }
.features > div:hover { background: rgba(255,255,255,.11); }
.features strong { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 8px; color: #fff; font-weight: 600; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

.amount-links { display: flex; flex-direction: column; gap: 12px; }
.amount-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.amount-link:hover { border-color: var(--lime); color: var(--ink); transform: translateX(3px); }
.amount-link.featured { border-color: var(--lime); background: #F6F9DF; }
.amount-link b { font-family: var(--display); font-size: 28px; font-weight: 600; }
.amount-link span { font-size: 16px; color: var(--ink-2); text-align: right; }

.quote-mark { width: 44px; height: 34px; fill: var(--lime); }
.quote { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.38; font-weight: 400; }
.story { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .story { grid-template-columns: minmax(0, 1fr); } .story .photo { max-width: 360px; } }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band > div:first-child { max-width: 760px; min-width: 0; overflow-wrap: anywhere; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* Word marquee */
.marquee { overflow: hidden; padding-block: clamp(26px, 3.5vw, 40px); border-radius: var(--radius-lg); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span { font-family: var(--display); font-size: clamp(26px, 3.2vw, 42px); font-weight: 600; white-space: nowrap; padding-inline: clamp(18px, 2.4vw, 32px); }
.marquee-group span:nth-child(even) { font-style: italic; font-weight: 400; color: var(--lime-accent); }
.marquee-group span::after { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--sky); margin-left: clamp(36px, 4.8vw, 64px); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Get Meals ---------- */
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; font-size: 17px; }
.glance b { display: block; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 10px; font-size: 16.5px; counter-increment: step; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 999px; background: var(--lime); color: var(--navy-900); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 6px; }
.steps strong { font-size: 19px; color: #fff; font-weight: 600; }
.steps span { color: var(--on-navy); }
.steps-light { margin-top: 0; }
.steps-light li { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.steps-light strong { color: var(--ink); }
.steps-light li span { color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.price-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 18px 10px; text-align: center; font-size: 15px; color: var(--ink-2); }
.tier b { display: block; font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.tier.base { border: 2px solid var(--lime); background: #F6F9DF; color: var(--ink); font-weight: 600; }
.note-green { background: var(--sky-50); color: var(--navy-900); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 17px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 16.5px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.optional { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  font: 400 17px/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 16px; width: 100%; min-height: 54px;
  transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover, textarea:hover { border-color: #A7B3C2; }
textarea { padding: 13px 16px; min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2315243B' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(26, 107, 163, .18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.error-msg { color: var(--error); font-size: 15px; font-weight: 600; }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--blue); margin: 0; flex-shrink: 0; cursor: pointer; }
.check { display: flex; gap: 14px; align-items: center; font-size: 16.5px; font-weight: 500; min-height: 44px; cursor: pointer; }
.group-label { font-weight: 600; font-size: 17px; margin-bottom: 10px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font: 600 16px/1.2 var(--body); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip.square { border-radius: 12px; min-width: 72px; padding: 0 12px; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -32px rgba(15, 39, 72, .45); }
.subpanel { padding: 20px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.success { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; animation: rise .6s var(--ease) both; }
.success svg { stroke: var(--blue); }
.success ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }

/* Donation form */
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--sky-50); border-radius: 14px; padding: 5px; }
.seg button { min-height: 50px; border: 0; border-radius: 10px; background: transparent; color: var(--navy-900); font: 600 16px/1.2 var(--body); cursor: pointer; padding: 0 10px; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s; }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: 0 6px 14px -8px rgba(15, 39, 72,.6); }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amount { min-height: 66px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font: 600 24px/1 var(--display); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease); }
.amount:hover { border-color: var(--lime); transform: translateY(-1px); }
.amount[aria-pressed="true"] { border: 2px solid var(--lime); background: #F6F9DF; color: var(--ink); }
.impact { display: flex; gap: 14px; align-items: center; background: var(--sky-50); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--navy-900); font-size: 16.5px; font-weight: 500; }
.impact svg { stroke: var(--blue); }
.pay-slot { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 18px; font-size: 15px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.pay-slot strong { color: var(--ink); }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 14.5px; color: var(--muted); text-align: center; }

/* ---------- FAQ: card accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; background: #EEF4C8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231D3E6E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: #E2EC9F; }
.faq details p { padding-bottom: 20px; color: var(--ink-2); font-size: 17px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Data / bars ---------- */
.bar { display: flex; height: 44px; border-radius: 12px; overflow: hidden; gap: 3px; }
.bar i { display: block; transform-origin: left; }
.legend { display: flex; flex-direction: column; gap: 8px; font-size: 16.5px; }
.legend div { display: flex; gap: 10px; align-items: center; }
.swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.c-fees { background: var(--line-strong); }
.c-gifts { background: var(--blue); }
.c-other { background: var(--lime); }

.cost-rows { display: flex; flex-direction: column; gap: 14px; }
.cost-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 12px; }
.cost-rows div:last-child { border-bottom: 0; }
.cost-rows strong { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- About ---------- */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.timeline li { position: relative; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 16.5px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline .yr { font-family: var(--display); font-size: 36px; font-weight: 600; color: var(--blue); line-height: 1.1; }
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .timeline { grid-template-columns: minmax(0, 1fr); } }

.mission { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.42; font-weight: 400; }
/* Rows of 3 (2 on tablets, 1 on phones); a short last row sits centered so any count looks balanced. */
.partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 40px; margin-top: 30px; font-size: 16.5px; }
.partner-list > div { flex: 0 1 calc((100% - 80px) / 3); min-width: 0; }
.partner-list b { display: block; font-size: 18px; }
@media (max-width: 900px) { .partner-list > div { flex-basis: calc((100% - 40px) / 2); } }
@media (max-width: 560px) { .partner-list > div { flex-basis: 100%; } }

.person { flex-direction: row; align-items: center; gap: 20px; }
.avatar { width: 84px; height: 84px; border-radius: 999px; background: var(--sand); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #3A4A60; font-weight: 600; }
.person b { display: block; font-size: 20px; }
.board-officers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.board-officers > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.board-officers span { display: block; color: var(--ink-2); font-size: 15px; }
.board-list { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 20px; font-size: 17px; }
@media (max-width: 800px) { .board-officers, .board-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */
.phone-card { border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 4px; }
.phone-card a { font-family: var(--display); font-size: clamp(32px, 3.6vw, 44px); font-weight: 600; color: #fff; text-decoration: none; }
.phone-card .l { color: var(--on-navy); font-size: 16px; }
.dl { display: flex; flex-direction: column; gap: 16px; font-size: 17px; }
.dl b { display: block; }

/* ---------- Footer: card style ---------- */
.site-footer { padding-block: clamp(48px, 7vw, 88px) 32px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); }
.footer-cta-title { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1.18; max-width: 620px; color: #fff; }
.eyebrow-light { color: var(--lime-accent); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2.6fr 1.1fr; gap: 16px; margin-top: 16px; }
.footer-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.footer-card h2 { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); margin-bottom: 12px; }
.footer-org p { margin-top: 16px; font-size: 15.5px; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.footer-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-card a:not(.brand) { color: var(--ink-2); text-decoration: none; }
.footer-card a:not(.brand):hover { color: var(--blue); text-decoration: underline; }
.footer-contact p + p { margin-top: 12px; }
.footer-card .footer-phone { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--navy-900); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 24px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-links { grid-column: 1 / -1; order: 3; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer-links { grid-template-columns: 1fr 1fr; } }

/* ---------- Misc ---------- */
.placeholder { background: #FFF6D6; outline: 1px dashed #C9A227; border-radius: 4px; padding: 0 4px; color: var(--ink); }
.phone-card .placeholder { background: rgba(255,255,255,.12); outline-color: var(--lime); color: #fff; }
.noon-list li span { color: var(--on-navy); }
.noon-list strong { color: #fff; }
.noon-list svg { stroke: var(--lime-accent); }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 16px; font-weight: 600; }
.updated { font-size: 14px; color: var(--muted); }
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 40px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.person a, .dl a { overflow-wrap: anywhere; }
.person .muted { display: block; }
.card.person > div:last-child { min-width: 0; }
[hidden] { display: none !important; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bloom { from { opacity: 0; transform: scale(.94) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Hero content eases in on page load */
.hero .stack > * { animation: rise .9s var(--ease) both; }
.hero .stack > :nth-child(2) { animation-delay: .08s; }
.hero .stack > :nth-child(3) { animation-delay: .16s; }
.hero .stack > :nth-child(4) { animation-delay: .24s; }
.hero .stack > :nth-child(n+5) { animation-delay: .32s; }
.hero .wrap > :is(.card, .form-card), .hero .wrap > .photo, .hero-media .photo { animation: bloom 1.1s var(--ease) .25s both; }
.hero-badge { animation: rise .9s var(--ease) .7s both, drift 7s ease-in-out 1.6s infinite; }

/* Scroll reveal (main.js adds .reveal, then .in when visible) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .bar.reveal i { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.js .bar.reveal.in i { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .bar.reveal i { opacity: 1; transform: none; }
}

/* Breathing room after every hero, even where a section sets padding-top:0 inline */
.hero + section { padding-top: clamp(48px, 6vw, 80px) !important; }
@media (max-width: 560px) { .hero-badge { padding: 14px 16px; } .hero-badge .n { font-size: 28px; } }
