/* =============================================================================
   WINNEMUCCA MAIN STREET — SHARED STYLESHEET
   Extracted from index.html · Built by The 23 Eleven (Buck Matthews Designs LLC)

   Design language: MainStreet.org visual reference
   Brand palette: Sarah Bilant intake questionnaire
     Primary   #3E6C6A  teal
     Secondary #F94D02  orange-red
     Accent    #6F806D  sage
     Addl 1    #E5E4E0  warm gray
     Addl 2    #FDFDFD  near-white
   MSA Gold CTA color adopted: #E8B84B

   REQUIRED on every page — load BEFORE this file in <head>:
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
   ============================================================================= */


/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */
:root {
  --primary:      #3E6C6A;
  --primary-dark: #2A4E4C;
  --primary-deep: #1a3432;
  --primary-mid:  #4d8583;
  --primary-lt:   #6fa8a6;
  --primary-wash: #e8f2f1;
  --primary-mint: #f0f8f7;

  --secondary:    #F94D02;
  --sec-dark:     #c93d00;
  --sec-wash:     #fff1eb;

  --accent:       #6F806D;
  --accent-dark:  #4d5e4b;
  --accent-wash:  #eaeeea;

  --warm-gray:    #E5E4E0;
  --off-white:    #FDFDFD;

  --gold:         #E8B84B;
  --gold-dark:    #c99a30;
  --gold-lt:      #f5d48a;

  --ink:          #0f1a19;
  --ink-800:      #162220;
  --ink-700:      #1e2e2c;
  --ink-500:      #3d5a57;
  --ink-400:      #6a8a87;

  --stone-200:    #dedad4;
  --stone-100:    #efecea;

  --ff-h: 'Barlow Condensed', Impact, sans-serif;
  --ff-b: 'Nunito Sans', system-ui, sans-serif;

  --nav-h: 72px;
  --max-w: 1240px;
}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-b); color: var(--ink-700); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }


/* =============================================================================
   3. LAYOUT UTILITIES
   ============================================================================= */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1.5rem, 4vw, 2.5rem); }

.skip-nav { position: absolute; top: -100%; left: 1rem; background: var(--primary-dark); color: #fff; padding: .5rem 1rem; font-size: .85rem; z-index: 9999; transition: top .15s; }
.skip-nav:focus { top: 0; }


/* =============================================================================
   4. TYPE UTILITIES
   ============================================================================= */

/* Eyebrow labels */
.ew { font-family: var(--ff-h); font-size: .82rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: .6rem; }
.ew-teal  { color: var(--primary); }
.ew-white { color: rgba(255,255,255,.6); }
.ew-gold  { color: var(--gold); }
.ew-sec   { color: var(--secondary); }

/* Display headlines — Barlow Condensed 800, all-caps, tight */
.hd       { font-family: var(--ff-h); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: .98; }
.hd-white { color: #fff; }
.hd-dark  { color: var(--primary-deep); }
.hd-teal  { color: var(--primary); }


/* =============================================================================
   5. BUTTONS
   ============================================================================= */
.btn        { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--ff-h); font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .82rem 1.65rem; border: 2.5px solid transparent; cursor: pointer; transition: all .18s; white-space: nowrap; line-height: 1; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold       { background: var(--gold); color: var(--primary-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: 0 6px 20px rgba(232,184,75,.4); }

.btn-ow       { background: transparent; color: #fff; border-color: #fff; }
.btn-ow:hover { background: rgba(255,255,255,.1); }

.btn-sec       { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-sec:hover { background: var(--sec-dark); box-shadow: 0 6px 20px rgba(249,77,2,.35); }

.btn-op       { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-op:hover { background: var(--primary); color: #fff; }

.btn-wh       { background: #fff; color: var(--primary-deep); border-color: #fff; }
.btn-wh:hover { background: var(--warm-gray); box-shadow: 0 4px 16px rgba(0,0,0,.15); }

.btn-sm { padding: .58rem 1.15rem; font-size: .78rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: .98rem; }


/* =============================================================================
   6. UNDERLINE LINKS
   ============================================================================= */
.ul-link         { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--ff-b); font-size: 1rem; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: .1rem; transition: color .18s; }
.ul-link-teal    { color: var(--primary); }
.ul-link-teal:hover   { color: var(--primary-dark); }
.ul-link-white   { color: rgba(255,255,255,.8); }
.ul-link-white:hover  { color: var(--gold); }


/* =============================================================================
   7. SCROLL REVEAL
   ============================================================================= */
.rv    { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }


/* =============================================================================
   8. NAVIGATION
   ============================================================================= */
#nav { position: sticky; top: 0; z-index: 500; background: #fff; height: var(--nav-h); border-bottom: 1px solid var(--stone-200); transition: box-shadow .25s; }
#nav.up { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
#nav .container { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

/* Brand lockup */
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-hex { width: 40px; height: 40px; background: var(--primary); display: flex; align-items: center; justify-content: center; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.brand-hex span { font-family: var(--ff-h); font-size: .78rem; font-weight: 800; color: #fff; letter-spacing: .05em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--ff-h); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--primary-deep); }
.brand-sub  { font-family: var(--ff-b); font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); }

/* Nav links */
.nav-ul { display: flex; align-items: center; gap: 0; list-style: none; flex: 1; justify-content: center; }
.nav-ul > li { position: relative; }
.nav-ul > li > a { display: flex; align-items: center; gap: .28rem; font-family: var(--ff-b); font-size: .84rem; font-weight: 600; color: var(--ink-500); padding: 0 .95rem; height: var(--nav-h); transition: color .18s; white-space: nowrap; }
.nav-ul > li > a:hover { color: var(--primary); }
.nav-ul > li > a::after { content: ''; position: absolute; bottom: 0; left: .95rem; right: .95rem; height: 3px; background: var(--secondary); transform: scaleX(0); transform-origin: center; transition: transform .2s; }
.nav-ul > li > a:hover::after { transform: scaleX(1); }

/* Active page nav state — add style="color:var(--primary)" to link and this rule forces underline */
.nav-ul > li > a.active { color: var(--primary); }
.nav-ul > li > a.active::after { transform: scaleX(1); }

.chv { font-size: .55rem; opacity: .5; transition: transform .2s; display: inline-block; }
.nav-ul > li:hover .chv { transform: rotate(180deg); }

/* Dropdown */
.drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 205px; background: #fff; border-top: 3px solid var(--secondary); box-shadow: 0 8px 32px rgba(0,0,0,.13); padding: .5rem 0 .5rem; padding-top: calc(.5rem + 4px); margin-top: -4px; opacity: 0; visibility: hidden; pointer-events: none; z-index: 600; transition: opacity .2s .05s, transform .2s .05s, visibility .2s .05s; }
.nav-ul > li:hover .drop,
.nav-ul > li:focus-within .drop { opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0); transition: opacity .18s, transform .18s, visibility .18s; }
.drop a { display: block; padding: .62rem 1.2rem; font-size: .82rem; font-weight: 500; color: var(--ink-500); transition: background .15s, color .15s; }
.drop a:hover { background: var(--primary-mint); color: var(--primary-dark); }
.drop hr { height: 1px; background: var(--stone-200); margin: .35rem 0; border: none; }

/* Right CTAs */
.nav-r { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }

/* Mobile-only CTA row inside the hamburger menu — hidden on desktop */
.nav-mobile-cta { display: none; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .35rem; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink-700); border-radius: 2px; transition: all .28s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =============================================================================
   9. HERO SECTION
   Screenshot ref: dark teal bg, diagonal-clip photo LEFT,
   bold all-caps headline RIGHT, gold CTA, teal diamond decorations.
   ============================================================================= */
.hero { background: var(--primary-deep); min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: minmax(0, 580px) 1fr; align-items: stretch; position: relative; overflow: hidden; }

/* Diamond decorations — MSA signature element */
.hero-d1 { position: absolute; top: -70px; right: 60px; width: 210px; height: 210px; background: var(--primary); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .3; pointer-events: none; z-index: 1; }
.hero-d2 { position: absolute; top: 30px; right: -10px; width: 140px; height: 140px; background: var(--primary-mid); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .5; pointer-events: none; z-index: 1; }
.hero-d3 { position: absolute; bottom: -20px; right: 140px; width: 90px; height: 90px; background: var(--primary-lt); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .3; pointer-events: none; z-index: 1; }

/* Left photo panel — diagonal right edge clip */
.hero-photo { position: relative; z-index: 2; overflow: hidden; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.hero-photo-bg { position: absolute; inset: -2px; background: url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?w=1000&q=85&auto=format') center/cover no-repeat; filter: brightness(.85) saturate(1.1); animation: hzoom 14s ease-out both; }
@keyframes hzoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Right content panel */
.hero-content { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding: 5rem 3rem 6rem 2rem; margin-left: -55px; }
.hero h1 { font-family: var(--ff-h); font-weight: 800; font-size: clamp(3rem, 5.2vw, 5.8rem); text-transform: uppercase; color: #fff; line-height: .98; letter-spacing: .02em; margin-bottom: 1.5rem; animation: fup .8s .1s both; }
.hero-sub { font-family: var(--ff-b); font-size: 1.05rem; font-weight: 400; line-height: 1.72; color: rgba(255,255,255,.72); max-width: 460px; margin-bottom: 2.25rem; animation: fup .8s .22s both; }
.hero-btns { display: flex; gap: .85rem; flex-wrap: wrap; animation: fup .8s .34s both; }
@keyframes fup { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* Stats bar at hero bottom */
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; background: rgba(20,46,44,.9); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.08); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.2rem 2rem; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--ff-h); font-size: 2rem; font-weight: 800; color: var(--gold); letter-spacing: .03em; display: block; line-height: 1; margin-bottom: .22rem; }
.stat-l { font-family: var(--ff-b); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); line-height: 1.35; }


/* =============================================================================
   10. INNER PAGE HERO
   Smaller dark-teal hero for all non-homepage inner pages.
   ============================================================================= */
.page-hero { background: var(--primary-deep); padding: 4rem 0 3.5rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: -40px; right: -30px; width: 180px; height: 180px; background: var(--primary); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .25; pointer-events: none; }
.page-hero .ew { color: var(--gold); }
.page-hero h1 { font-family: var(--ff-h); font-size: clamp(2.8rem, 4.5vw, 5rem); font-weight: 800; text-transform: uppercase; color: #fff; line-height: .98; max-width: 700px; margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.68); max-width: 560px; line-height: 1.72; }


/* =============================================================================
   11. WHO WE ARE / MISSION (light mint bg)
   ============================================================================= */
.mission { padding: 6rem 0; background: var(--primary-mint); border-bottom: 1px solid var(--primary-wash); }
.mission-g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.mission-g h2 { font-size: clamp(2.4rem, 3.8vw, 4rem); color: var(--primary-deep); margin-bottom: 1.4rem; }
.mission-g p { font-size: .98rem; line-height: 1.8; color: var(--ink-500); margin-bottom: 1rem; }
.mission-btns { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.mission-r { padding-left: 2rem; border-left: 3px solid var(--primary-wash); }
.mlink-item { margin-bottom: 1.75rem; }
.mlink-item:last-child { margin-bottom: 0; }
.mlink-item h4 { font-family: var(--ff-b); font-size: 1.02rem; font-weight: 700; color: var(--primary-dark); margin-bottom: .35rem; }
.mlink-item h4 a { display: inline-flex; align-items: center; gap: .3rem; border-bottom: 1.5px solid var(--primary); padding-bottom: .08rem; transition: color .18s, border-color .18s; }
.mlink-item h4 a:hover { color: var(--secondary); border-color: var(--secondary); }
.mlink-item p { font-size: .87rem; line-height: 1.7; color: var(--ink-400); }
.msa-box { margin-top: 2rem; padding: 1.2rem 1.4rem; background: var(--primary-wash); border-left: 3px solid var(--primary); }
.msa-box p { font-size: .84rem; line-height: 1.75; color: var(--ink-500); }
.msa-box strong { color: var(--primary-dark); font-weight: 700; }


/* =============================================================================
   12. PROGRAMS & INITIATIVES (dark teal bg)
   Screenshot ref: large headline + linked items left, photo right w/ diamond overlay.
   ============================================================================= */
.programs { background: var(--primary-deep); padding: 5.5rem 0; position: relative; overflow: hidden; }
.programs .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.programs-l h2 { font-size: clamp(2.8rem, 4.8vw, 5.2rem); color: #fff; line-height: .95; margin-bottom: 2.25rem; }
.prog-links { display: flex; flex-direction: column; gap: 1.7rem; }
.prog-item h4 { font-family: var(--ff-b); font-size: 1.02rem; font-weight: 700; color: rgba(255,255,255,.88); margin-bottom: .3rem; }
.prog-item h4 a { display: inline-flex; align-items: center; gap: .32rem; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: .08rem; transition: color .2s, border-color .2s; }
.prog-item h4 a:hover { color: var(--gold); border-color: var(--gold); }
.prog-item p { font-size: .87rem; line-height: 1.7; color: rgba(255,255,255,.48); }

/* Photo with diagonal clip + diamond overlay */
.programs-r { position: relative; }
.prog-photo { width: 100%; aspect-ratio: 4/3; background: url('https://images.unsplash.com/photo-1530521954074-e64f6810b32d?w=800&q=80&auto=format') center/cover no-repeat; clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%); }
.prog-diam-1 { position: absolute; bottom: -28px; right: -28px; width: 150px; height: 150px; background: var(--primary); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .85; z-index: 2; pointer-events: none; }
.prog-diam-2 { position: absolute; bottom: 25px; right: 25px; width: 95px; height: 95px; background: var(--primary-mid); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .7; z-index: 3; pointer-events: none; }


/* =============================================================================
   13. FOUR POINTS (white bg)
   ============================================================================= */
.fp-section { padding: 6rem 0; background: #fff; border-top: 4px solid var(--secondary); }
.fp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.fp-head h2 { font-size: clamp(2.4rem, 3.8vw, 4rem); color: var(--primary-deep); }
.fp-head p { font-size: .95rem; line-height: 1.8; color: var(--ink-400); }
.fp-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--stone-200); }
.fp-card { padding: 2.5rem 1.85rem; border-right: 1.5px solid var(--stone-200); position: relative; overflow: hidden; background: #fff; transition: background .2s; }
.fp-card:last-child { border-right: none; }
.fp-card:hover { background: var(--primary-mint); }
.fp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.fp-card:nth-child(1)::before { background: var(--primary); }
.fp-card:nth-child(2)::before { background: var(--accent); }
.fp-card:nth-child(3)::before { background: var(--secondary); }
.fp-card:nth-child(4)::before { background: var(--primary-dark); }
.fp-ghost { position: absolute; bottom: .25rem; right: .75rem; font-family: var(--ff-h); font-size: 5rem; font-weight: 800; color: var(--stone-100); line-height: 1; pointer-events: none; user-select: none; letter-spacing: .02em; }
.fp-ico { font-size: 1.65rem; margin-bottom: 1rem; display: block; }
.fp-ew { font-family: var(--ff-h); font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: .5rem; }
.fp-card:nth-child(1) .fp-ew { color: var(--primary); }
.fp-card:nth-child(2) .fp-ew { color: var(--accent); }
.fp-card:nth-child(3) .fp-ew { color: var(--secondary); }
.fp-card:nth-child(4) .fp-ew { color: var(--primary-dark); }
.fp-card h3 { font-family: var(--ff-h); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: var(--primary-deep); line-height: 1.1; margin-bottom: .7rem; }
.fp-card p { font-size: .865rem; line-height: 1.75; color: var(--ink-400); margin-bottom: 1.1rem; }


/* =============================================================================
   14. FEATURED RESOURCE (light mint bg)
   Screenshot ref: eyebrow + headline + body + link LEFT; photo diagonal-clip RIGHT.
   ============================================================================= */
.feat-res { padding: 5.5rem 0; background: var(--primary-mint); }
.feat-res .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.fr-l h2 { font-size: clamp(2.4rem, 3.8vw, 4rem); color: var(--primary-deep); margin-bottom: 1.25rem; }
.fr-l p { font-size: 1rem; line-height: 1.8; color: var(--ink-500); margin-bottom: 1.75rem; }
.fr-photo { width: 100%; aspect-ratio: 4/3; background: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=800&q=80&auto=format') center/cover no-repeat; clip-path: polygon(0 0, 100% 0, 100% 82%, 88% 100%, 0 100%); }
.fr-cap { font-size: .7rem; font-weight: 500; color: var(--ink-400); letter-spacing: .04em; margin-top: .55rem; text-align: right; }


/* =============================================================================
   15. NEWS & STORIES (white bg)
   Screenshot ref: section title + view-all link, 3-col card grid.
   ============================================================================= */
.news-section { padding: 5.5rem 0; background: #fff; border-top: 1px solid var(--stone-200); }
.news-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.news-head h2 { font-family: var(--ff-h); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--primary-deep); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.nc { display: flex; flex-direction: column; cursor: pointer; }
.nc-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 1rem; background: var(--primary-wash); }
.nc-img-bg { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nc:hover .nc-img-bg { transform: scale(1.04); }
.nc:nth-child(1) .nc-img-bg { background: url('https://images.unsplash.com/photo-1569974498991-d3c12a504f6e?w=600&q=75&auto=format') center/cover no-repeat; }
.nc:nth-child(2) .nc-img-bg { background: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?w=600&q=75&auto=format') center/cover no-repeat; }
.nc:nth-child(3) .nc-img-bg { background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=600&q=75&auto=format') center/cover no-repeat; }
.nc-cat { font-family: var(--ff-h); font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-700); margin-bottom: .55rem; display: block; }
.nc-teal  .nc-cat { color: var(--primary); }
.nc-ember .nc-cat { color: var(--secondary); }
.nc-gold  .nc-cat { color: var(--gold-dark); }
.nc h3 { font-family: var(--ff-h); font-size: 1.28rem; font-weight: 800; text-transform: uppercase; color: var(--primary); line-height: 1.1; margin-bottom: .6rem; letter-spacing: .02em; transition: color .18s; }
.nc:hover h3 { color: var(--primary-dark); }
.nc p { font-size: .87rem; line-height: 1.75; color: var(--ink-500); flex: 1; }


/* =============================================================================
   16. GET INVOLVED (warm gray bg)
   ============================================================================= */
.gi { padding: 6rem 0; background: var(--warm-gray); border-top: 4px solid var(--secondary); }
.gi-head { text-align: center; margin-bottom: 3.5rem; }
.gi-head h2 { font-size: clamp(2.4rem, 3.8vw, 4rem); color: var(--primary-deep); margin-top: .4rem; }
.gi-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.5rem; }
.gic { padding: 2.75rem 2rem; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.gic:hover { transform: translateY(-4px); }
.gic::after { content: ''; position: absolute; bottom: -55px; right: -55px; width: 170px; height: 170px; border-radius: 50%; border: 30px solid rgba(255,255,255,.06); pointer-events: none; }
.gic.donate { background: var(--primary-deep); box-shadow: 0 4px 24px rgba(26,52,50,.25); }
.gic.donate:hover { box-shadow: 0 12px 40px rgba(26,52,50,.35); }
.gic.vol { background: var(--secondary); box-shadow: 0 4px 24px rgba(249,77,2,.2); }
.gic.vol:hover { box-shadow: 0 12px 40px rgba(249,77,2,.3); }
.gic.connect { background: #fff; border: 2px solid var(--stone-200); }
.gic.connect::after { border-color: rgba(0,0,0,.04); }
.gic.connect:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.gic-ico { font-size: 2rem; margin-bottom: .9rem; display: block; color: var(--primary-deep); }
.gic.donate .gic-ico, .gic.vol .gic-ico { color: #fff; }
.gic h3 { font-family: var(--ff-h); font-size: 1.65rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; margin-bottom: .6rem; letter-spacing: .02em; }
.gic.donate h3, .gic.vol h3 { color: #fff; }
.gic.connect h3 { color: var(--primary-deep); }
.gic p { font-size: .9rem; line-height: 1.75; margin-bottom: 1.7rem; }
.gic.donate p, .gic.vol p { color: rgba(255,255,255,.63); }
.gic.connect p { color: var(--ink-500); }


/* =============================================================================
   17. EVENTS (light mint bg)
   ============================================================================= */
.events { padding: 5.5rem 0; background: var(--primary-mint); border-top: 1px solid var(--primary-wash); }
.ev-layout { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; margin-top: 2.5rem; }
.ev-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.ev-aside h2 { font-size: clamp(1.9rem, 3vw, 3rem); color: var(--primary-deep); margin: .4rem 0 1rem; }
.ev-aside p { font-size: .9rem; line-height: 1.8; color: var(--ink-500); margin-bottom: 1.5rem; }
.ev-list { display: flex; flex-direction: column; }
.ev-row { display: grid; grid-template-columns: 58px 1fr 22px; gap: 1.1rem; align-items: center; padding: 1.2rem; transition: background .18s; cursor: pointer; }
.ev-row:hover { background: var(--primary-wash); }
.ev-cal { background: var(--primary-deep); text-align: center; overflow: hidden; align-self: start; }
.ev-mo { background: var(--secondary); padding: .2rem 0; font-family: var(--ff-h); font-size: .6rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #fff; line-height: 1; }
.ev-dy { font-family: var(--ff-h); font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1.1; padding: .15rem 0 .18rem; }
.ev-info h4 { font-family: var(--ff-b); font-size: .96rem; font-weight: 700; color: var(--primary-deep); line-height: 1.3; margin-bottom: .22rem; }
.ev-info p { font-size: .75rem; color: var(--ink-400); margin-bottom: .28rem; }
.ev-tag { display: inline-block; font-family: var(--ff-h); font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .18rem .6rem; background: var(--primary-wash); color: var(--primary-dark); }

/* Semantic category colors — applied via JS CATEGORY_MAP */
.ev-teal  .ev-mo  { background: var(--primary); }
.ev-teal  .ev-tag { background: var(--primary-wash); color: var(--primary-dark); }
.ev-ember .ev-mo  { background: var(--secondary); }
.ev-ember .ev-tag { background: var(--sec-wash); color: var(--sec-dark); }
.ev-sage  .ev-mo  { background: var(--gold); }
.ev-sage  .ev-tag { background: #fdf3dc; color: var(--gold-dark); }
.ev-chv { color: var(--stone-200); font-size: .85rem; }
.ev-hr { height: 1px; background: var(--stone-200); margin: 0 1.2rem; }


/* =============================================================================
   18. PRE-FOOTER — Newsletter / Contact / Social (dark teal bg)
   Screenshot ref: massive headline left, contact center, gold social icons right.
   ============================================================================= */
.pre-footer { background: var(--primary-deep); padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.pre-footer::after { content: ''; position: absolute; bottom: -65px; right: -45px; width: 280px; height: 280px; background: var(--primary); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .2; pointer-events: none; }
.pf-deco { position: absolute; bottom: 25px; right: 190px; width: 160px; height: 160px; background: var(--primary-mid); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); opacity: .18; pointer-events: none; }
.pre-footer .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 4rem; align-items: start; }

/* Newsletter column */
.pf-l h2 { font-family: var(--ff-h); font-size: clamp(2.4rem, 4.2vw, 4.8rem); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .02em; color: #fff; margin-bottom: 1.4rem; }
.pf-l .sub { font-family: var(--ff-b); font-size: 1rem; color: rgba(255,255,255,.62); line-height: 1.7; margin-bottom: 2rem; }
.nl { display: flex; flex-direction: column; gap: .65rem; max-width: 440px; }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.nl label { display: block; font-family: var(--ff-h); font-size: .64rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .28rem; }
.nl input { width: 100%; padding: .72rem 1rem; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.14); font-family: var(--ff-b); font-size: .88rem; color: #fff; outline: none; transition: border-color .2s, background .2s; }
.nl input::placeholder { color: rgba(255,255,255,.24); }
.nl input:focus { border-color: var(--primary-lt); background: rgba(255,255,255,.12); }
.nl-note { font-size: .68rem; color: rgba(255,255,255,.22); margin-top: .25rem; }

/* Contact column */
.pf-c h4 { font-family: var(--ff-h); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1.2rem; }
.pf-c p { font-size: .88rem; line-height: 1.9; color: rgba(255,255,255,.48); }
.pf-c a { display: block; margin-top: 1rem; font-size: .9rem; color: rgba(255,255,255,.65); border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: .1rem; width: fit-content; transition: color .18s, border-color .18s; }
.pf-c a:hover { color: var(--gold); border-color: var(--gold); }

/* Social column */
.pf-s h4 { font-family: var(--ff-h); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1.2rem; }
.soc-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.soc-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--primary-deep); transition: background .2s, transform .18s; }
.soc-ico:hover { background: var(--gold-lt); transform: scale(1.1); }
.soc-ico i { font-size: 18px; line-height: 1; }


/* =============================================================================
   19. FOOTER BAR (near-black bg)
   ============================================================================= */
.footer-bar { background: var(--ink); border-top: 1px solid rgba(255,255,255,.07); padding: 1.1rem 0; }
.footer-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bar p { font-family: var(--ff-h); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.28); }
.footer-bar a { color: rgba(255,255,255,.38); transition: color .18s; }
.footer-bar a:hover { color: rgba(255,255,255,.7); }
.fbar-links { display: flex; gap: 1.5rem; }
.fbar-links a { font-family: var(--ff-h); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); transition: color .18s; }
.fbar-links a:hover { color: var(--gold-lt); }


/* =============================================================================
   20. FLOATING BUTTONS (back-to-top + donate + volunteer)
   ============================================================================= */
.float-wrap { position: fixed; z-index: 400; pointer-events: none; }
.float-wrap--l { bottom: 2rem; left: 2rem; }
.float-wrap--r { bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.float-btn { pointer-events: all; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--ff-h); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .7rem 1.35rem; border: 2.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .18s, color .18s, opacity .3s; min-width: 44px; min-height: 44px; line-height: 1; text-decoration: none; white-space: nowrap; }
.float-btn:hover { transform: translateY(-2px); }
.float-btn:active { transform: translateY(0) scale(0.97); }
.float-btn--top { width: 44px; height: 44px; padding: 0; background: var(--primary-deep); color: #fff; border-color: transparent; opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s; }
.float-btn--top.visible { opacity: 1; pointer-events: all; }
.float-btn--top:hover { box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.float-btn--donate { background: var(--gold); color: var(--primary-deep); border-color: var(--gold); box-shadow: 0 4px 16px rgba(232,184,75,.35); }
.float-btn--donate:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: 0 6px 20px rgba(232,184,75,.4); }
.float-btn--vol { background: #fff; color: var(--primary); border-color: var(--primary); box-shadow: 0 4px 14px rgba(62,108,106,.15); }
.float-btn--vol:hover { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(62,108,106,.3); }
@media (max-width: 560px) {
  .float-wrap--l { bottom: 1.25rem; left: 1.25rem; }
  .float-wrap--r { bottom: 1.25rem; right: 1.25rem; }
}


/* =============================================================================
   21. RESPONSIVE
   ============================================================================= */
@media (max-width: 1100px) {
  /* Hero: content overlays photo with gradient — no stacking */
  .hero { grid-template-columns: 1fr; grid-template-rows: 1fr; min-height: calc(100svh - var(--nav-h)); min-height: calc(100vh - var(--nav-h)); }
  .hero-photo { grid-area: 1 / 1; min-height: 100%; clip-path: none; }
  .hero-content { grid-area: 1 / 1; z-index: 3; margin-left: 0; padding: 2.5rem 1.75rem calc(3.5rem + 196px); align-self: end; background: linear-gradient(to top, rgba(20,46,44,.97) 0%, rgba(20,46,44,.80) 45%, rgba(20,46,44,.35) 75%, transparent 100%); }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .programs .container { grid-template-columns: 1fr; gap: 3rem; }
  .fp-grid { grid-template-columns: 1fr 1fr; }
  .fp-card:nth-child(2) { border-right: none; }
  .fp-card:nth-child(3) { border-top: 1.5px solid var(--stone-200); }
  .fp-card:nth-child(4) { border-top: 1.5px solid var(--stone-200); border-right: none; }
  .gi-grid { grid-template-columns: 1fr 1fr; }
  .gic.donate { grid-column: span 2; }
  .pre-footer .container { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .pf-l { grid-column: span 2; }
}

@media (max-width: 860px) {
  .mission-g { grid-template-columns: 1fr; gap: 2.5rem; }
  .mission-r { padding-left: 0; border-left: none; border-top: 3px solid var(--primary-wash); padding-top: 2rem; }
  .fp-head { grid-template-columns: 1fr; gap: 1rem; }
  .feat-res .container { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .gi-grid { grid-template-columns: 1fr; }
  .gic.donate { grid-column: span 1; }
  .ev-layout { grid-template-columns: 1fr; gap: 2rem; }
  .ev-aside { position: static; }
  .pre-footer .container { grid-template-columns: 1fr; }
  .pf-l { grid-column: span 1; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-ul { display: none; flex-direction: column; list-style: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; border-bottom: 3px solid var(--secondary); padding: 1rem clamp(1.5rem, 4vw, 2.5rem) 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 501; }
  .nav-ul.open { display: flex; }
  .nav-ul > li > a { height: auto; padding: .75rem 0; border-bottom: 1px solid var(--stone-100); }
  .nav-ul > li > a::after { display: none; }
  .drop { display: none !important; }
  .nav-ul > li.mob-open .drop { display: block !important; position: static !important; transform: none !important; opacity: 1 !important; visibility: visible !important; box-shadow: none; border-left: 3px solid var(--primary); padding: .35rem 0 .35rem .75rem; margin: 0 0 .5rem; min-width: 0; }
  .nav-ul > li.mob-open .drop a { padding: .5rem 0; font-size: .85rem; border-bottom: 1px solid var(--stone-100); }
  .nav-ul > li.mob-open .drop a:last-child { border-bottom: none; }
  .nav-ul > li.mob-open .chv { transform: rotate(180deg); }
  .burger { display: flex; }
  .nav-r { display: none; }
  /* Donate + Volunteer CTA inside mobile menu */
  .nav-mobile-cta { display: block !important; }
  .nav-cta { display: flex; gap: .65rem; padding: .85rem 0 .5rem; border-top: 2px solid var(--stone-100); margin-top: .35rem; }
  .nav-cta .btn { flex: 1; justify-content: center; }
  .fp-grid { grid-template-columns: 1fr; }
  .fp-card { border-right: none; border-bottom: 1.5px solid var(--stone-200); }
  .fp-card:last-child { border-bottom: none; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .pre-footer .container { grid-template-columns: 1fr; }
  .nl-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero-sub, .hero-btns { animation: none; }
  .hero-photo-bg { animation: none; }
}
