/* ==========================================================================
   THOMAS HAGERTY FOR CCSD SCHOOL BOARD — STYLESHEET
   Brand: Purple #4B2E83 | Green #3F7A4D 
   Font: Golos Text
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
   /* FIXME: Need to update everywhere that used the old color variables
    */
:root {
  --purple:       #4B2E83;
  --purple-light: #b5a1de;
  --green:        #3F7A4D;
  --green-light:  #b8d5be;
  --gold:         #E99F00;
  --gold-dark:    #b36f00;
  --white:        #ffffff;
  --off-white:    #faf9fb;
  --light-gray:   #f4f0f8;
  --mid-gray:     #8a7a96;
  --text-dark:    #1e0f2a;
  --text-body:    #3d2e4a;
  --text-muted:   #7a6888;

  --font-main:   'Golos Text', system-ui, -apple-system, sans-serif;

  --nav-h:        80px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(118, 50, 142, .10);
  --shadow-md:    0 6px 24px rgba(118, 50, 142, .14);
  --shadow-lg:    0 16px 48px rgba(118, 50, 142, .18);
  --transition:   .25s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container-narrow { max-width: 760px; }

.section { padding: clamp(60px, 4vw, 96px) 0; }
.bg-white  { background: var(--white); }
.bg-light  { background: var(--light-gray); }
.bg-purple { background: var(--purple); }
.bg-green-light   { background: var(--green-light); }

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}
.eyebrow-light { color: rgba(255,255,255,.7); }

.section-title { margin-bottom: 1.1rem; }
.title-light   { color: var(--white); }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.intro-light { color: rgba(255,255,255,.8); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: var(--purple-light); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-light); }
.btn-gold   { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-lg     { padding: .85rem 2rem; font-size: 1rem; }
.btn-full   { width: 100%; text-align: center; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(118, 50, 142, .1);
  box-shadow: 0 2px 16px rgba(118, 50, 142, .06);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(118, 50, 142, .14); }

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo img { height: 60px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links li a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--transition);
  position: relative;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
}
/* Remove purple color from button */
.nav-links li a:hover:not(.nav-donate-btn), .nav-active:not(.nav-donate-btn) { color: var(--purple) !important; }
.nav-links li a:hover::after, .nav-active::after { transform: scaleX(1) !important; }

.nav-donate-btn {
  background: var(--gold);
  color: var(--white) !important;
  padding: .42rem 1.15rem;
  border-radius: 50px;
  font-weight: 700;
}
.nav-donate-btn::after { display: none !important; }
.nav-donate-btn:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; padding: 4px;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--purple); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--green);
  background-image:
    radial-gradient(ellipse 70% 60% at 78% 55%, rgba(0,160,162,.22) 0%, transparent 60%),
    radial-gradient(ellipse 45% 70% at 5% 80%, rgba(233,159,0,.1) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  flex: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 48px);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: .9rem;
}

.hero-name {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: .5rem;
  line-height: 1.1;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 1.75rem;
  letter-spacing: .01em;
}

/* Hero pillars — proper bullet list */
.hero-pillars {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2rem;
}
.hero-pillars li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .97rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.4;
}
.pillar-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  color: var(--green-light);
}
.pillar-icon svg { width: 100%; height: 100%; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--green-light);
  box-shadow: var(--shadow-lg);
}
.hero-photo-frame img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.hero-icon-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 80px; height: 80px;
  z-index: 2;
  opacity: .85;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.hero-icon-accent img { width: 100%; height: 100%; object-fit: contain; }

/* Scroll hint */
.hero-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll:hover { color: rgba(255,255,255,.7); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* --------------------------------------------------------------------------
   Meet Thomas
   -------------------------------------------------------------------------- */
.meet-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  margin-top: 2.5rem;
}

.meet-photos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.photo-main img, .photo-secondary img {
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.photo-main figcaption {
  margin-top: .5rem;
  font-size: .84rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
}
.photo-secondary img { max-height: 220px; }

.meet-bio { display: flex; flex-direction: column; gap: 2rem; }

.bio-block h3 {
  color: var(--purple);
  margin-bottom: .75rem;
  font-size: 1.15rem;
}
.bio-block p { color: var(--text-body); }

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem; /* Space before skills-cta-block */
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* Credential cards */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1rem;
  align-items: start;
  margin-top: 2.5rem;
}
.cred-deck { display: flex; flex-direction: column; gap: 1rem; }
.cred-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .75rem 1rem;
  align-items: start;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--green);
  transition: box-shadow var(--transition), transform var(--transition);
}
.cred-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.cred-icon { width: 44px; }
.cred-icon svg { width: 44px; height: 44px; }
.cred-card h4 { color: var(--purple); margin-bottom: .3rem; font-size: 1rem; }
.cred-card p  { font-size: .92rem; color: var(--text-body); line-height: 1.6; }

/* Compact credential cards (bullet-point version) */
.cred-card-compact {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: .6rem 1rem;
  align-items: start;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--green);
  transition: box-shadow var(--transition), transform var(--transition);
}
.cred-card-compact:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.cred-icon-sm { width: 38px; }
.cred-icon-sm svg { width: 38px; height: 38px; }
.cred-card-compact h4 { color: var(--purple); margin-bottom: .45rem; font-size: 1rem; }
.cred-card-compact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.cred-card-compact ul li {
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}
.cred-card-compact ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

/* Bold label above credential cards */
.cred-section-label {
  color: var(--purple);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: -1.25rem; /* counteracts meet-bio flex gap to keep label snug above cards */
}

/* Skills CTA block */
.skills-cta-block {
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.skills-cta-block p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  margin: 0;
}

.priorities-grid {
  display: flex; flex-direction: column; gap: 1rem; 
}

.priority-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--green);
}
.priority-card:hover { box-shadow: var(--shadow-md); border: 3px solid var(--green); }
.priority-card h4 { color: var(--green); font-size: 1.5rem; }

/* --------------------------------------------------------------------------
   Community Input
   -------------------------------------------------------------------------- */
.survey-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  border-top: 4px solid var(--green-light);
}
.survey-text h3 { color: var(--purple); margin-bottom: .55rem; }
.survey-text p  { margin-bottom: 1.2rem; color: var(--text-body); }
.survey-note    { font-size: .82rem; color: var(--text-muted); margin-top: .4rem; font-style: italic; }
.survey-graphic { width: 180px; flex-shrink: 0; }
.survey-graphic img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Community event photo strip */
.community-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.community-photo img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: block;
}

/* Advocacy page photo strip */
.advocacy-photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.advocacy-photo { margin: 0; }
.advocacy-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* 2-column constrained grid for advocacy page (4 cards) */
.video-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-heading {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-card.is-placeholder {
  background: var(--off-white);
  border: 1.5px dashed var(--green);
}
.quote-mark { width: 24px; height: auto; display: block; margin-bottom: .65rem; opacity: .45; }
.testimonial-card p { font-size: .93rem; color: var(--text-body); margin-bottom: .65rem; }
.testimonial-attr { font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0 !important; }

/* --------------------------------------------------------------------------
   Donate & Volunteer
   -------------------------------------------------------------------------- */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.action-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.action-card h3 { color: var(--purple); margin-bottom: .5rem; }
.action-card > p { color: var(--text-body); margin-bottom: 1.4rem; }
.donate-card    { border-top: 4px solid var(--gold); }
.donate-disclaimer {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}
.volunteer-card { border-top: 4px solid var(--purple-light); }

.fundhero-embed {
  /* Live embed — no decorative border needed */
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.fundhero-embed iframe {
  display: block;
  width: 100%;
}

/* Mailchimp Signup Form */
.mc_embed_signup {
  clear: left;
}

.embed-placeholder-note { font-size: .84rem; color: var(--text-muted); margin-bottom: 1rem; }
.embed-placeholder-note code { background: rgba(0,0,0,.06); padding: .1rem .3rem; border-radius: 3px; }

/* Placeholder form styles (will be replaced by CC embed) */
.campaign-form { display: flex; flex-direction: column; gap: .85rem; }
.form-row { display: flex; flex-direction: column; gap: .3rem; }
.form-row label { font-size: .86rem; font-weight: 700; color: var(--text-dark); }
.optional { font-weight: 400; color: var(--text-muted); }
.form-row input, .form-row textarea {
  padding: .65rem .9rem;
  border: 1.5px solid rgba(118, 50, 142, .2);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: .93rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(118, 50, 142, .1);
}
.form-row textarea { min-height: 80px; }

/* Email strip */
.email-strip {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.email-strip-text h3 { color: var(--white); margin-bottom: .2rem; font-size: 1.1rem; }
.email-strip-text p  { color: rgba(255,255,255,.7); font-size: .93rem; }
.email-strip-form {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 260px;
}
.email-strip-form input {
  flex: 1; min-width: 200px;
  padding: .65rem 1rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: .93rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.email-strip-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233,159,0,.2);
}

/* --------------------------------------------------------------------------
   Q&A Accordion
   -------------------------------------------------------------------------- */
.accordion { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.75rem; }
.accordion-item {
  border: 1.5px solid rgba(118, 50, 142, .15);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.accordion-item:has(.accordion-btn[aria-expanded="true"]) {
  border-color: var(--purple);
  box-shadow: var(--shadow-sm);
}
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--white);
  transition: background var(--transition), color var(--transition);
}
.accordion-btn:hover { background: var(--purple-light); color: var(--purple); }
.accordion-btn[aria-expanded="true"] { background: var(--purple); color: var(--white); }

.acc-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: transform var(--transition);
}
.acc-icon::before { content: '+'; line-height: 1; }
.accordion-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }

.accordion-panel {
  padding: 1.2rem 1.4rem 1.4rem;
  color: var(--text-body);
  line-height: 1.7;
  border-top: 1px solid rgba(118, 50, 142, .08);
}
.accordion-panel p + p { margin-top: .7rem; }
.accordion-panel[hidden] { display: none; }


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  height: 10rem; width: auto;
  margin-bottom: .9rem;
}
.footer-tagline { font-size: .88rem; font-style: italic; color: rgba(255,255,255,.45); }

.footer-nav h4, .footer-contact h4 {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-nav ul li a { font-size: .88rem; color: rgba(255,255,255,.58); transition: color var(--transition); }
.footer-nav ul li a:hover { color: var(--white); }
.footer-contact p { font-size: .88rem; margin-bottom: .65rem; }
.footer-contact a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }

.social-row { display: flex; gap: .65rem; margin-top: .4rem; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-link svg { width: 15px; height: 15px; }
.social-link:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.08); }

.footer-legal { padding: 1.2rem 0; text-align: center; }
.footer-legal p { font-size: .78rem; color: rgba(255,255,255,.32); }
.footer-legal a { color: rgba(255,255,255,.48); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.75); }


/* --------------------------------------------------------------------------
   Hero entrance animations
   Opacity + translateY only — zero layout impact on any screen size
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Staggered entrance for hero text elements */
.hero-eyebrow  { animation: fadeUp .6s ease both; animation-delay: .1s; }
.hero-name     { animation: fadeUp .65s ease both; animation-delay: .25s; }
.hero-tagline  { animation: fadeUp .65s ease both; animation-delay: .4s; }
.hero-pillars  { animation: fadeUp .65s ease both; animation-delay: .55s; }
.hero-ctas     { animation: fadeUp .65s ease both; animation-delay: .7s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 861px) {
  /* On desktop, let the photo fill the full hero height instead of
     floating centered in a sea of purple */
  .hero-inner {
    align-items: stretch;
    grid-template-columns: 1fr minmax(340px, 480px);
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-photo-wrap {
    align-items: stretch;
  }
  .hero-photo-frame {
    max-width: none;
    height: 100%;
    min-height: 460px;
  }
  .hero-photo-frame img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

@media (max-width: 1024px) {
  .meet-grid { grid-template-columns: 300px 1fr; }
}

@media (max-width: 860px) {
  /* Nav mobile */
  .hamburger { display: flex; }
  .nav-links {
    /* Absolute (not fixed) — backdrop-filter on #navbar would contain
       fixed children, so we stay absolute and inherit the navbar's own
       fixed position. top:100% places the dropdown right below the bar. */
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 999;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: .75rem 0 1.25rem;
    box-shadow: var(--shadow-md);
    border-top: 2px solid var(--purple-light);
    /* Hide reliably — no percentage-based transforms that depend on
       the element having a known height before first open */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: visibility 0s linear .25s,
                opacity .25s ease,
                transform .25s ease;
  }
  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    /* Visibility snaps visible instantly; opacity/transform animate in */
    transition: visibility 0s linear,
                opacity .25s ease,
                transform .25s ease;
  }
  .nav-links li a { display: block; padding: .7rem 1.5rem; border-bottom: 1px solid var(--light-gray); font-size: .95rem; }
  .nav-links li a::after { display: none; }
  .nav-donate-btn { margin: .65rem 1.5rem 0; text-align: center; display: block; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-pillars { align-items: flex-start; }
  .hero-pillars li { text-align: left; }
  .hero-ctas { justify-content: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-frame { max-width: 260px; margin: 0 auto; }
  .hero-icon-accent { display: none; }

  /* Meet Thomas */
  .meet-grid { grid-template-columns: 1fr; }
  .meet-photos { position: static; flex-direction: row; align-items: flex-start; }
  .photo-main { flex: 1.3; }
  .photo-secondary { flex: 1; }
  .photo-main img { max-height: 220px; object-position: center 20%; }
  .photo-secondary img { max-height: 180px; }

  /* Qualifications */
  .qual-grid { grid-template-columns: 1fr; }

  /* Community photo strip */
  .community-photo-strip { grid-template-columns: 1fr 1fr; }

  /* Advocacy photo strip + 2col grid */
  .advocacy-photo img { height: 200px; }
  .video-grid-2col { grid-template-columns: 1fr 1fr; }

  /* Donate grid */
  .donate-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* Survey */
  .survey-box { grid-template-columns: 1fr; }
  .survey-graphic { display: none; }
}

@media (max-width: 600px) {
  .hero-pillars { gap: .5rem; }
  .meet-photos { flex-direction: column; }
  .photo-main img { max-height: 220px; object-position: center 20%; }
  .photo-secondary img { max-height: 200px; }
  .skills-cta-block { flex-direction: column; align-items: flex-start; }
  .email-strip { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .email-strip-form { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-cta-strip { flex-direction: column; align-items: flex-start; }
  .community-photo-strip { grid-template-columns: 1fr; }
  .advocacy-cta-inner { flex-direction: column; align-items: flex-start; }
  .advocacy-photo-strip { display: none; }
  .video-grid-2col { grid-template-columns: 1fr; }
}


/* Tighten gap between volunteer card intro text and the mailchimp form */
.volunteer-card > p { margin-bottom: 0.5rem !important; }


/* --------------------------------------------------------------------------
   Advocacy CTA Strip (home page, between Meet Char and Community Input)
   -------------------------------------------------------------------------- */
.advocacy-cta-strip {
  background: var(--purple);
  background-image: radial-gradient(ellipse 80% 120% at 100% 50%, rgba(0,160,162,.2) 0%, transparent 60%);
  padding: 1.75rem 0;
}
.advocacy-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.advocacy-cta-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .25rem;
}
.advocacy-cta-headline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   A11y & Reduced motion
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
