:root {
  --navy: #061b3a;
  --navy-2: #0b2f60;
  --red: #d71920;
  --ink: #172238;
  --muted: #5d6b7d;
  --light: #f4f7fb;
  --white: #ffffff;
  --border: #dce4ef;
  --shadow: 0 24px 70px rgba(6, 27, 58, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(840px, calc(100% - 40px)); }
.center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px min(5vw, 64px);
  background: rgba(6, 27, 58, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 170px; height: auto; display: block; border-radius: 10px; box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.main-nav { display: flex; gap: 28px; align-items: center; font-weight: 800; }
.main-nav a { opacity: .9; padding: 8px 0; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--red); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #041832 0%, #0a2b58 55%, #071b36 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(215,25,32,.28), transparent 28%), linear-gradient(90deg, rgba(6,27,58,.98), rgba(6,27,58,.76), rgba(6,27,58,.38));
  z-index: 1;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 78px 0; min-height: 710px; }
.hero-copy { max-width: 660px; }
.hero-logo { width: min(420px, 86vw); margin-bottom: 28px; background: rgba(255,255,255,.96); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.hero-family-card { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.2); background: #fff; transform: rotate(1deg); }
.hero-family-card img { width: 100%; height: 540px; object-fit: cover; object-position: center; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .16em; color: var(--red); font-weight: 900; font-size: .78rem; margin: 0 0 12px; }
.section-kicker.light { color: #fff; opacity: .82; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 18px; }
h1 { font-family: 'Merriweather', serif; font-size: clamp(2.65rem, 6vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-family: 'Merriweather', serif; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.035em; color: var(--navy); }
h3 { font-size: 1.35rem; color: var(--navy); }
.lead { font-size: clamp(1.12rem, 2vw, 1.42rem); max-width: 690px; color: rgba(255,255,255,.9); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 900; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(6, 27, 58, .2); }
.btn-primary { background: var(--red); color: #fff; }
.btn-secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.48); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.65); }

.intro-section, .priorities, .content-section { padding: 86px 0; }
.intro-section { background: #fff; }
.intro-section p:not(.section-kicker) { font-size: 1.16rem; color: var(--muted); }
.priorities { background: var(--light); }
.section-heading { margin-bottom: 30px; }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: 0 16px 36px rgba(6, 27, 58, .08); }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 900; font-size: 1.3rem; margin-bottom: 18px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.split-section { padding: 86px 0; background: #fff; }
.split-grid, .content-grid, .form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.image-panel { background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-panel img { border-radius: 18px; width: 100%; height: 430px; object-fit: cover; }
.split-copy p, .rich-copy p { color: var(--muted); font-size: 1.05rem; }
.text-link { color: var(--red); font-weight: 900; }

.cta-band { background: linear-gradient(135deg, rgba(6,27,58,.98), rgba(11,47,96,.94)), url('img/lawn-sign-town-hall.png'); background-size: cover; background-position: center; color: #fff; padding: 74px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.page-hero { padding: 96px 0; color: #fff; background: linear-gradient(135deg, rgba(6,27,58,.94), rgba(11,47,96,.75)), url('img/fox-hill-tower.png'); background-size: cover; background-position: center; }
.page-hero.red-hero { background: linear-gradient(135deg, rgba(104,16,22,.96), rgba(215,25,32,.82)), url('img/lawn-sign-town-hall.png'); background-size: cover; background-position: center; }
.page-hero.volunteer-hero { background: linear-gradient(135deg, rgba(6,27,58,.94), rgba(11,47,96,.75)), url('img/lawn-sign-town-hall.png'); background-size: cover; background-position: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); }
.page-hero .lead { color: rgba(255,255,255,.9); }
.profile-card { align-self: start; background: var(--light); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.profile-card h2 { font-size: 2rem; margin-top: 20px; }
.profile-card img { border-radius: 18px; width: 100%; height: 360px; object-fit: cover; object-position: center; }
.rich-copy h2 { font-size: 2.7rem; }
.check-list { padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { padding-left: 32px; position: relative; color: var(--ink); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 900; }
.notice-box { text-align: left; background: var(--light); border: 1px solid var(--border); border-radius: 18px; padding: 22px; margin-top: 28px; }
code { background: #e9eef6; padding: 2px 6px; border-radius: 6px; }
.volunteer-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.volunteer-form label { display: grid; gap: 7px; font-weight: 800; color: var(--navy); }
.volunteer-form input, .volunteer-form textarea { width: 100%; border: 1px solid #cbd6e3; border-radius: 12px; padding: 13px 14px; font: inherit; }
.form-note { color: var(--muted); font-size: .9rem; margin: 0; }

.site-footer { background: #031226; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; padding: 42px 0; align-items: start; }
.footer-logo { width: 220px; height: auto; border-radius: 10px; box-shadow: 0 10px 22px rgba(0,0,0,.16); margin-bottom: 12px; }
.footer-grid p, .footer-grid a { display: block; color: rgba(255,255,255,.72); margin: 6px 0; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 16px; color: rgba(255,255,255,.78); font-size: .86rem; line-height: 1.5; }
.disclaimer strong { color: #fff; }

/* Updated homepage and about-page image treatment */
.hero-centered { position: relative; z-index: 2; display: grid; gap: 34px; justify-items: center; padding: 64px 0 80px; }
.hero-centered .hero-copy { max-width: 920px; }
.hero-centered .lead { margin-left: auto; margin-right: auto; }
.centered-buttons { justify-content: center; }
.hero-family-centered { width: min(1080px, 100%); border-radius: 34px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.22); }
.hero-family-centered img { width: 100%; height: auto; object-fit: contain; }
.home-hero::before { background: radial-gradient(circle at 50% 12%, rgba(215,25,32,.20), transparent 28%), linear-gradient(180deg, rgba(6,27,58,.98), rgba(6,27,58,.85)); }
.profile-photo-full { align-self: start; }
.profile-photo-full img { width: 100%; height: auto; border-radius: 0; box-shadow: var(--shadow); border: 1px solid var(--border); background: #fff; }
.photo-caption { margin: 16px 0 0; color: var(--muted); font-size: .98rem; }
.photo-caption strong { color: var(--navy); font-size: 1.15rem; }

@media (max-width: 900px) {
  .brand img { width: 132px; height: auto; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); padding: 18px 24px; flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .hero-grid, .split-grid, .content-grid, .form-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 54px 0; min-height: auto; }
  .hero-family-card { transform: none; }
  .hero-family-card img { height: auto; }
  .card-grid.three { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

.hero-centered .hero-copy.center { padding-top: 10px; }


/* V6 homepage credential section */
.home-credentials {
  padding: 86px 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(215,25,32,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}
.credentials-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.credentials-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}
.credential-list {
  display: grid;
  gap: 16px;
}
.credential-item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 6px solid var(--red);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 16px 38px rgba(6, 27, 58, .08);
}
.credential-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.credential-item span {
  color: var(--muted);
}

/* V6 About Andy page */
.about-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(215,25,32,.28), transparent 28%),
    linear-gradient(135deg, #031226 0%, #061b3a 48%, #0b2f60 100%);
  padding: 76px 0 70px;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% -10%;
  height: 260px;
  background: #fff;
  transform: rotate(-3deg);
  transform-origin: left top;
}
.about-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 46px;
  align-items: center;
}
.about-hero-copy .lead {
  color: rgba(255,255,255,.88);
}
.about-hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.about-hero-card img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #fff;
}

.about-story {
  padding: 92px 0;
  background: #fff;
}
.story-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 54px;
  align-items: start;
}
.story-sidebar {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 16px;
}
.stat-card {
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(6, 27, 58, .08);
}
.stat-card span {
  display: block;
  font-family: 'Merriweather', serif;
  font-size: 2.45rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 8px;
}
.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.story-copy {
  max-width: 820px;
}
.story-copy p {
  font-size: 1.075rem;
}
.pull-quote {
  margin: 34px 0;
  padding: 26px 30px;
  border-left: 7px solid var(--red);
  background: linear-gradient(135deg, #f7f9fd, #ffffff);
  border-radius: 0 22px 22px 0;
  box-shadow: 0 16px 40px rgba(6, 27, 58, .07);
}
.pull-quote p {
  margin: 0;
  color: var(--navy);
  font-family: 'Merriweather', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.35;
}

.experience-band {
  padding: 86px 0;
  background: var(--light);
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.experience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 36px rgba(6, 27, 58, .08);
}
.experience-card h3 {
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .credentials-grid,
  .about-hero-grid,
  .story-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .story-sidebar {
    position: static;
    grid-template-columns: 1fr;
  }
  .about-hero {
    padding: 54px 0 46px;
  }
}
