/* ============================================================
   Feeding In The Midst
   Palette pulled from the organization's logo: light-blue mark
   on near-black navy, warmed with a cream paper + amber action.
   ============================================================ */

:root {
  --ink:        #0B1723;
  --ink-2:      #122334;
  --ink-3:      #1B3247;
  --paper:      #FBF9F5;
  --paper-2:    #F3EDE3;
  --line:       #E3DACB;

  --brand-100:  #DCEBF7;
  --brand-300:  #A8CDE8;
  --brand-400:  #78A8D0;
  --brand-600:  #3E71A0;
  --brand-800:  #24486B;

  --amber:      #E8973A;
  --amber-600:  #CD7C22;

  --text:       #16242F;
  --text-soft:  #4C5F6E;
  --text-light: #C8D8E4;

  --wrap: 1180px;
  --r:    16px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11,23,35,.06), 0 4px 12px rgba(11,23,35,.05);
  --shadow-md: 0 2px 6px rgba(11,23,35,.07), 0 16px 40px rgba(11,23,35,.09);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.15rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.32rem; letter-spacing: -0.01em; }
h4 { font-size: .95rem; }

p { margin: 0 0 1.1em; }
a { color: var(--brand-600); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--amber);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: .97rem; font-weight: 600; letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-amber { background: var(--amber); color: #23150A; box-shadow: 0 4px 14px rgba(232,151,58,.32); }
.btn-amber:hover { background: #F0A551; box-shadow: 0 8px 22px rgba(232,151,58,.42); }

.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.42); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand-400); background: #fff; box-shadow: var(--shadow-sm); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(168,205,232,.42); }
.btn-outline-light:hover { border-color: var(--brand-300); background: rgba(168,205,232,.14); }

.btn-sm { padding: .65rem 1.2rem; font-size: .88rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .93rem; text-decoration: none;
  color: var(--brand-600);
}
.link-arrow span { transition: transform .22s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,23,35,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168,205,232,.14);
  transition: padding .28s var(--ease), background-color .28s var(--ease);
}
.site-header.scrolled { background: rgba(11,23,35,.99); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; }
.site-header.scrolled .header-inner { padding: .6rem 0; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; transition: width .28s var(--ease), height .28s var(--ease); }
.site-header.scrolled .brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: "Inter", sans-serif; font-weight: 700; font-size: .93rem;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.brand-tag { font-size: .72rem; letter-spacing: .06em; color: var(--brand-300); }

.nav { display: flex; align-items: center; gap: 1.85rem; }
.nav > a {
  color: var(--text-light); text-decoration: none;
  font-size: .93rem; font-weight: 500;
  position: relative; padding: .25rem 0;
  transition: color .2s var(--ease);
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: var(--brand-300);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav > a:not(.btn):hover { color: #fff; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { color: #23150A !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .55rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .28s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; color: #fff; padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,23,35,.90) 0%, rgba(11,23,35,.72) 45%, rgba(11,23,35,.93) 100%),
    linear-gradient(100deg, rgba(11,23,35,.86) 12%, rgba(11,23,35,.28) 72%);
}

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-300); margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--brand-300); }
.hero-lede { max-width: 54ch; font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: #DFE9F1; margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 3.4rem; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.6rem);
  list-style: none; margin: 0; padding: 1.7rem 0 0;
  border-top: 1px solid rgba(168,205,232,.24);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong {
  font-family: "Fraunces", serif; font-size: 1.85rem; font-weight: 600;
  color: var(--brand-300); line-height: 1.1;
}
.hero-facts span { font-size: .82rem; letter-spacing: .04em; color: #B6C7D6; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-paper { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--text-light); }
.section-dark h2, .section-dark h3 { color: #fff; }

.kicker {
  font-size: .76rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: .85rem;
}
.kicker-light { color: var(--brand-300); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-sub { color: var(--text-soft); font-size: 1.05rem; margin: 0; }
.section-dark .section-sub { color: #A9BECD; }

.grid-2 {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center;
}
.grid-2-rev .figure { order: -1; }

.figure { margin: 0; }
.figure img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.figure figcaption { margin-top: .85rem; font-size: .85rem; color: var(--text-soft); }

.pull {
  border-left: 3px solid var(--brand-400);
  padding-left: 1.2rem; margin-top: 1.6rem;
  font-family: "Fraunces", serif; font-size: 1.16rem; line-height: 1.5;
  color: var(--ink);
}

.goal-card {
  margin-top: 2rem; padding: 1.6rem 1.7rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.goal-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.goal-card p { font-size: .96rem; color: var(--text-soft); margin-bottom: .8rem; }

/* ── Impact band ─────────────────────────────────────────── */
.band { background: var(--ink-2); color: var(--text-light); padding: clamp(2.8rem, 5vw, 4rem) 0; }
.band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); }
.band-item h3 { color: var(--brand-300); font-size: 1.12rem; margin-bottom: .45rem; }
.band-item p { font-size: .92rem; color: #A9BECD; margin: 0; }

/* ── Cards ───────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 1.7rem 1.75rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--text-soft); font-size: .97rem; flex: 1; }

.tag {
  display: inline-block; align-self: flex-start;
  background: var(--brand-100); color: var(--brand-800);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 999px; margin-bottom: .7rem;
}

/* ── Quote ───────────────────────────────────────────────── */
.quote-section {
  background: linear-gradient(135deg, var(--brand-800), var(--ink));
  padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center;
}
.quote-section blockquote { margin: 0; max-width: 24ch; margin-inline: auto; }
.quote-section p {
  font-family: "Fraunces", serif; font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.7rem); line-height: 1.25;
  color: #fff; margin-bottom: 1rem;
}
.quote-section cite {
  font-style: normal; font-size: .84rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; color: var(--brand-300);
}

/* ── Events ──────────────────────────────────────────────── */
.events { list-style: none; margin: 0; padding: 0; }
.event {
  display: grid; grid-template-columns: 90px 1fr auto;
  gap: clamp(1.1rem, 3vw, 2.2rem); align-items: center;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
}
.event:last-child { border-bottom: 1px solid var(--line); }
.event-when {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: .7rem .4rem; text-align: center;
}
.event-month {
  font-family: "Fraunces", serif; font-size: 1.28rem; font-weight: 600;
  color: var(--brand-600); line-height: 1;
}
.event-year { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-top: .2rem; }
.event-what h3 { margin-bottom: .3rem; font-size: 1.18rem; }
.event-what p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ── Ways to give ────────────────────────────────────────── */
.give-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.3rem, 3vw, 2rem); }
.give-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(168,205,232,.18);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2.1rem;
  display: flex; flex-direction: column;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.give-card:hover { background: rgba(255,255,255,.075); border-color: rgba(168,205,232,.4); transform: translateY(-4px); }
.give-num {
  font-family: "Fraunces", serif; font-size: .95rem; font-weight: 600;
  color: var(--brand-400); letter-spacing: .1em; margin-bottom: .7rem;
}
.give-card p { color: #A9BECD; font-size: .97rem; flex: 1; margin-bottom: 1.4rem; }
.give-card .btn { align-self: flex-start; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { align-items: start; }

.contact-list { list-style: none; margin: 2rem 0 1.8rem; padding: 0; }
.contact-list li {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
}
.ci-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft); width: 68px; flex-shrink: 0;
}
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1.5px solid var(--brand-300); }
.contact-list a:hover { border-color: var(--brand-600); color: var(--brand-600); }

.copy-btn {
  margin-left: auto; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: .32rem .8rem; font-size: .76rem; font-weight: 600;
  color: var(--text-soft); cursor: pointer; font-family: inherit;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.copy-btn:hover { background: #fff; color: var(--brand-600); border-color: var(--brand-300); }
.copy-btn.copied { background: var(--brand-100); color: var(--brand-800); border-color: var(--brand-300); }

.socials { display: flex; gap: .7rem; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text-soft); background: #fff;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { color: var(--brand-600); border-color: var(--brand-300); transform: translateY(-2px); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.7rem, 3vw, 2.3rem); box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 1.3rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: .42rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem 1rem;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--paper); color: var(--text);
  font-family: inherit; font-size: .97rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400); background: #fff;
  box-shadow: 0 0 0 4px rgba(120,168,208,.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C8553D; }
.form-note { font-size: .82rem; color: var(--text-soft); text-align: center; margin: .9rem 0 0; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--text-light); padding: clamp(3.2rem, 6vw, 4.6rem) 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.footer-brand img { width: 240px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .93rem; color: #93A9B9; max-width: 34ch; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav h4 {
  color: #fff; font-family: "Inter", sans-serif; font-size: .76rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-nav a, .footer-nav span {
  display: block; color: #93A9B9; text-decoration: none;
  font-size: .93rem; padding: .3rem 0;
  transition: color .2s var(--ease);
}
.footer-nav a:hover { color: var(--brand-300); }

.footer-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0; border-top: 1px solid rgba(168,205,232,.14);
}
.footer-base p { margin: 0; font-size: .85rem; color: #7A90A1; }
.footer-socials { display: flex; gap: 1.4rem; }
.footer-socials a { color: #7A90A1; text-decoration: none; font-size: .85rem; }
.footer-socials a:hover { color: var(--brand-300); }

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .band-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .brand-tag { display: none; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 64px 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid rgba(168,205,232,.16);
    padding: .5rem 1.25rem 1.5rem;
    transform: translateY(-120%); transition: transform .38s var(--ease);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav > a { padding: .95rem .25rem; border-bottom: 1px solid rgba(168,205,232,.1); font-size: 1rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1.1rem; border-bottom: 0 !important; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-rev .figure { order: 0; }
  .cards, .give-grid { grid-template-columns: 1fr; }

  .event { grid-template-columns: 72px 1fr; }
  .event .btn { grid-column: 2; justify-self: start; }

  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .band-inner { grid-template-columns: 1fr; }
  .hero-facts { gap: 1.4rem 2.2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

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