/* ============================================================
   Site CSS Architecture

   This project uses a lightweight static CSS architecture:

   1. shared.css
      - global reset + base typography
      - design tokens (colors, spacing, layout)
      - shared components (header, footer, buttons, utilities)

   2. Page CSS files
      - index.css
      - about.css
      - get-involved.css
      - thank-you.css

      These contain only page-specific layout and overrides.

   Loading order (in HTML):

      shared.css
      → page.css

   The cascade handles overrides naturally. No CSS framework,
   preprocessor, or build step is used.

   Key shared utilities:
      .section-grid       → standard 2-column editorial layout
      .section-eyebrow    → section label pattern
      .pull-quote         → editorial quote block
      .dual-cta           → full-width action section

   Spacing system:
      Layout spacing uses tokens such as:
      --sp-2xl, --sp-xl, --sp-lg, --sp-md, --sp-sm

   This file is intentionally the single source of truth for
   global layout primitives and reusable UI patterns.

   ============================================================ */

/* ══ BASE ══ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --teal: #1a5c5a;
  --teal-mid: #2a7a78;
  --teal-pale: #eaf4f4;
  --teal-light: #c8e0df;
  --amber: #c17d3c;
  --linen: #f7f3ee;
  --white: #fdfaf7;
  --black: #1a1a1a;
  --text: #2c3e3e;
  --text-lt: #5a6e6d;
  --sp-2xl: 96px;
  --sp-xl: 80px;
  --sp-lg: 64px;
  --sp-md: 48px;
  --sp-sm: 32px;
  --sp-xs: 24px;
  --gap-grid: 80px;
  --pad-x: 64px;
  --content-max: 1280px;
}

/* ══ CONTAINER ══ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
}

/* ══ ANNOUNCEMENT BAR ══ */
.announce-bar {
  background: var(--teal-mid);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 10px var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.announce-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s;
}
.announce-bar a:hover {
  border-bottom-color: #fff;
}
.announce-inner {
  display: block;
  padding: 0 26px;
}
.announce-emoji {
  color: #fff;
}

/* ══ HEADER ══ */
header {
  background: var(--teal-pale);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(26, 92, 90, 0.08);
  border-left: 4px solid #c17d3c;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}
.logo-lisa {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 3px;
}
.logo-lopez {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.88;
  color: var(--teal);
}
.logo-rule {
  width: 100%;
  height: 1.5px;
  background: rgba(26, 92, 90, 0.15);
  margin: 7px 0;
}
.logo-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-lt);
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-lt);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--teal);
}
header nav a.active {
  color: var(--teal);
  font-weight: 600;
}
.nav-donate {
  background: var(--amber);
  color: #fff !important;
  padding: 11px 24px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-donate:hover {
  background: #a86a2e !important;
}

/* ══ FOOTER ══ */
footer {
  background: var(--black);
  padding: var(--sp-lg) var(--pad-x) 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-logo-lisa {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 3px;
}
.footer-logo-lopez {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 0.88;
}
.footer-logo-rule {
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.12);
  margin: 7px 0;
}
.footer-logo-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.footer-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 20px;
  line-height: 1.55;
}
.footer-col-title {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-item {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 6px;
}
.footer-contact-item a {
  color: var(--amber);
  text-decoration: none;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.footer-social-link:hover {
  opacity: 1;
}
.footer-social-link img {
  display: block;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}
.footer-legal {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1.6;
}
.footer-credit {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.18);
}
.footer-credit a {
  color: inherit;
  text-decoration: none;
}
.footer-credit a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ══ SECTION EYEBROW ══ */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}
.section-eyebrow-text {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.section-eyebrow--dark .section-eyebrow-line {
  background: rgba(255, 255, 255, 0.25);
}
.section-eyebrow--dark .section-eyebrow-text {
  color: rgba(255, 255, 255, 0.45);
}
.section-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 3.6vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.section-headline em {
  font-style: italic;
}

/* ══ SECTION GRID ══ */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid);
  align-items: start;
}

/* ══ PULL QUOTE ══ */
.pull-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--teal-mid);
  padding: 28px 0 28px 24px;
  border-left: 3px solid var(--amber);
  margin-top: 36px;
}
.pull-quote--light {
  color: rgba(255, 255, 255, 0.85);
}

/* ══ DUAL CTA ══ */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.cta-volunteer {
  background: var(--teal);
  padding: var(--sp-xl) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.cta-volunteer::before {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(42, 122, 120, 0.35);
}
.cta-donate {
  background: var(--amber);
  padding: var(--sp-xl) var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.cta-donate::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.cta-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}
.cta-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-headline em {
  font-style: italic;
}
.cta-body {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 380px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-check {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 380px;
}
.cta-check em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.65);
}
.btn-white {
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  position: relative;
  z-index: 1;
  align-self: flex-start;
  transition: opacity 0.2s;
}
.btn-white:hover {
  opacity: 0.9;
}
.btn-white-teal {
  color: var(--teal);
}
.btn-white-amber {
  color: var(--amber);
}

/* ══ BUTTONS ══ */
.btn-primary {
  background: var(--teal);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: var(--teal-mid);
}
.btn-secondary {
  background: transparent;
  color: var(--teal);
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1.5px solid rgba(26, 92, 90, 0.3);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost {
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes announcePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.announce-bar--animate .announce-inner {
  animation:
    slideInLeft 1.2s ease-out forwards,
    announcePulse 0.7s ease-in-out 1.2s forwards;
}
.announce-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.6;
  padding: 0 4px;
  transition: opacity 0.15s;
}
.announce-close:hover {
  opacity: 1;
}

/* ══ HAMBURGER BUTTON ══ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  transition:
    transform 0.25s,
    opacity 0.2s;
}
.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══ RESPONSIVE — TABLET (≤1024px) ══ */
@media (max-width: 1024px) {
  :root {
    --sp-2xl: 80px;
    --sp-xl: 64px;
    --pad-x: 40px;
  }
  .section-grid {
    gap: 48px;
  }
  footer {
    padding: 48px var(--pad-x) 32px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .dual-cta {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ══ RESPONSIVE — MOBILE (≤768px) ══ */
@media (max-width: 768px) {
  :root {
    --sp-2xl: 64px;
    --sp-xl: 56px;
    --pad-x: 24px;
  }
  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  header {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    align-items: center;
  }
  .logo {
    padding: 16px 0;
  }
  .logo-lopez {
    font-size: 44px;
  }
  .nav-toggle {
    display: flex;
    padding: 16px 8px;
  }
  header nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 20px;
    border-top: 1px solid rgba(26, 92, 90, 0.1);
  }
  header nav.nav-open {
    display: flex;
  }
  header nav a {
    padding: 13px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(26, 92, 90, 0.06);
    color: var(--teal);
    letter-spacing: 0.07em;
  }
  header nav a:last-child {
    border-bottom: none;
  }
  .nav-donate {
    background: transparent !important;
    color: var(--amber) !important;
    padding: 13px 0 !important;
  }
  .nav-donate:hover {
    background: transparent !important;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ══ RESPONSIVE — SMALL MOBILE (≤480px) ══ */
@media (max-width: 480px) {
  :root {
    --sp-2xl: 48px;
    --sp-xl: 48px;
    --pad-x: 20px;
  }
  footer {
    padding: 40px var(--pad-x) 28px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
