/* Amplify Tyee — shared stylesheet
   Plain CSS, no build step. Edit directly. */

:root {
  --red:        #b3202e;
  --red-dark:   #8a1622;
  --red-soft:   #fdf2f3;
  --ink:        #1b1b1f;
  --ink-soft:   #4a4a55;
  --muted:      #6e6e7a;
  --line:       #e3e3ea;
  --bg:         #ffffff;
  --bg-alt:     #faf8f6;
  --gold:       #c8952b;
  --green:      #1c7a4d;
  --green-soft: #eefaf3;

  --radius:     12px;
  --radius-lg:  18px;
  --shadow:     0 1px 2px rgba(20, 20, 30, .06), 0 6px 20px rgba(20, 20, 30, .07);
  --shadow-lg:  0 2px 6px rgba(20, 20, 30, .08), 0 18px 46px rgba(20, 20, 30, .12);
  --wrap:       1080px;
  --font:       system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Keep the sticky header from covering a heading jumped to via #anchor. */
:target, section[id], [id^="order-"] { scroll-margin-top: 88px; }

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

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

a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.95rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

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

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  box-shadow: 0 2px 8px rgba(20, 20, 30, .18);
}
.brand-name { font-weight: 700; font-size: 1.16rem; letter-spacing: -.02em; line-height: 1.15; }
.brand-sub { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .94rem;
  padding: 8px 13px; border-radius: 8px;
}
.site-nav a:hover { background: var(--bg-alt); color: var(--ink); }
/* The highlighted menu item. aria-current="page" marks the page you're on; on the home page,
   assets/js/nav.js moves it between Home / Donate / Connect ("location") as you scroll. */
.site-nav a[aria-current] { color: var(--red); background: var(--red-soft); }
/* Facebook / YouTube icon links at the end of the menu. 40px square keeps them easy to tap. */
.site-nav a.nav-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
}
.site-nav a:not(.nav-icon) + a.nav-icon { margin-left: 4px; }
.nav-icon svg { width: 22px; height: 22px; display: block; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
/* Logo inside a button (e.g. PayPal / Zelle on the donate buttons). Drawn in the button's text
   colour (fill="currentColor"), so it stays readable on the red buttons. */
.btn-icon { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 2px 10px rgba(179, 32, 46, .3); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-secondary:hover { border-color: #c9c9d4; color: var(--ink); }

/* Hero ------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(179, 32, 46, .10), transparent 62%),
    radial-gradient(760px 380px at 92% 0%, rgba(200, 149, 43, .13), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 8vw, 86px) 0 clamp(40px, 6vw, 70px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--red);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.hero p.lede { font-size: clamp(1.04rem, 2.1vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Acronym ---------------------------------------------------------------- */
.acronym { margin: 0 0 14px; max-width: 760px; font-size: 1.08rem; }
.acronym b { color: var(--red); }
.acronym p:last-child { margin-bottom: 0; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(46px, 7vw, 76px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 66ch; margin-bottom: 30px; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

/* Cards ------------------------------------------------------------------ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }

/* SVG icons shown in front of a card title (wallet, Facebook, YouTube), sized like the emoji icons. */
.title-icon { width: 1.1em; height: 1.1em; vertical-align: -0.18em; margin-right: .35em; }

/* A card title that is itself a link (Facebook, YouTube). Always underlined so it
   reads as a link on phones too, not just on hover, and without relying on colour. */
.card h3 a {
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.card h3 a:hover { color: var(--red-dark); text-decoration-thickness: 2.5px; }
/* "Opens another site" arrow. inline-block keeps it out of the underline;
   the empty alt text stops screen readers announcing "north east arrow". */
.card h3 a[target="_blank"]::after {
  content: "\2197"; content: "\2197" / "";
  display: inline-block; margin-left: .3em; text-decoration: none; font-weight: 600;
}

.mission-quote {
  font-size: clamp(1.2rem, 2.8vw, 1.6rem); line-height: 1.45; font-weight: 600;
  color: var(--ink); border-left: 5px solid var(--red); padding: 4px 0 4px 22px;
  margin: 0; max-width: 34ch;
}

/* Lists ------------------------------------------------------------------ */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.check-list li::before {
  content: "\266A"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: #c9c9d6;
  padding: 46px 0 34px; font-size: .94rem;
}
.site-footer a { color: #fff; }
.site-footer .foot-grid {
  display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .13);
}
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { padding-top: 22px; color: #8f8f9e; font-size: .87rem; }

@media (max-width: 640px) {
  /* The header stacks on small screens, so anchors need more clearance. */
  :target, section[id], [id^="order-"] { scroll-margin-top: 140px; }
  .site-header .wrap { flex-direction: column; align-items: stretch; padding-block: 12px; gap: 10px; }
  .site-nav { justify-content: center; }
  .brand { justify-content: center; }
}
