:root {
  --brand-blue: #0a66b2;
  --brand-blue-2: #063c73;
  --brand-cyan: #29b6ff;
  --radius: 16px;
  --max: 1100px;
  --pad: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  --hero-overlay: rgba(0, 35, 80, 0.72);
  --font: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: #fff;
  color: #0b1220;
  padding-bottom: 92px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--brand-blue);
  color: #fff;
}

.section-band {
  background: var(--brand-blue);
  color: #fff;
}

.muted {
  color: rgba(0, 0, 0, 0.62);
}

.small {
  font-size: 0.9rem;
}

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

.topbar {
  background: var(--brand-blue-2);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.topbar-link {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  padding: 10px 12px;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.nav-list li a {
  display: inline-flex;
  padding: 10px 10px;
  border-radius: 12px;
}

.nav-list li a:hover {
  background: rgba(10, 102, 178, 0.1);
}

.nav-list li ul {
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 8px;
  display: none;
  box-shadow: var(--shadow);
}

.nav-list li:hover > ul {
  display: block;
}

.nav-list li ul li a {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.header-social {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-ico {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(10, 102, 178, 0.06);
  font-weight: 900;
}

.social-ico:hover {
  background: rgba(10, 102, 178, 0.12);
}

.social-ico svg {
  display: block;
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 900;
  color: #0b1220;
}

.btn-ghost {
  background: rgba(10, 102, 178, 0.08);
  border-color: rgba(10, 102, 178, 0.18);
}

.btn-primary--solid {
  background: var(--brand-cyan);
  border-color: transparent;
  color: #06223a;
}

.btn-primary--solid:hover {
  filter: brightness(1.02);
}

/* Invert helper (for dark/hero sections) */
.btn-ghost--invert {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-ghost--invert:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Hero */
.hero--full {
  position: relative;
  padding: 92px 0 86px;
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/IMG_6357.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hero-overlay), rgba(0, 0, 0, 0.05));
}

.hero-grid--dccc {
  position: relative;
  z-index: 2;
}

.hero-copy--dccc {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  font-size: 0.9rem;
}

.hero-title {
  margin: 14px 0 8px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.95;
}

.hero-underline {
  width: 220px;
  height: 10px;
  background: var(--brand-cyan);
  margin: 10px 0 18px;
}

.lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
}

.hero-signup,
.cta-signup {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 12px;
}

.hero-signup input,
.cta-signup input {
  height: 46px;
  border-radius: 0;
  border: 0;
  padding: 0 12px;
  min-width: 320px;
  max-width: 520px;
}

.hero-signup button,
.cta-signup button {
  height: 46px;
  border-radius: 0;
}

/* Section headings */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head--center {
  justify-content: center;
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
}

.section-alt .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.section-alt .card-title {
  color: #fff;
}

.section-alt .muted {
  color: rgba(255, 255, 255, 0.75);
}

.card-title {
  margin: 0 0 8px;
}

/* Team cards */
.team-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: start;
}

.team-photo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: block;
}

.team-photo--placeholder {
  background: rgba(10, 102, 178, 0.08);
}

.team-body .card-title {
  margin-top: 0;
}

@media (max-width: 700px) {
  .team-card {
    grid-template-columns: 72px 1fr;
  }
  .team-photo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }
}

/* Updates / social cards */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.social-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px;
  color: #fff;
}

.social-card--x {
  background: #0b2c5b;
}

.social-card--fb {
  background: var(--brand-blue);
}

.social-card--ig {
  background: #071a2e;
}

.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.social-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.social-text {
  margin: 0 0 12px;
  line-height: 1.55;
}

.social-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}

/* Contact */
.section-contact {
  background: #fff;
}

.contact-form {
  max-width: 860px;
  margin: 16px auto 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.label {
  display: block;
  font-weight: 900;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 34px 0;
  background: rgba(0, 0, 0, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-title {
  font-weight: 900;
}

/* Sticky Donate */
.donate-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: var(--brand-blue-2);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.donate-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  position: relative; /* for close button grouping */
}

.donate-sticky-title {
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 900;
}

.donate-sticky-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.donate-sticky-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.donate-sticky-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.donate-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 62px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.donate-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  background: var(--brand-cyan);
  color: #052038;
  font-weight: 900;
}

/* Sticky donate close button */
.donate-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.donate-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Dropdown hover bridge + bigger hit area (desktop) */
.nav-list > li {
  padding: 6px 0;
}

.nav-list > li > a {
  padding: 12px 12px;
}

.nav-list li ul {
  top: 52px;
}

/* Create a hover "bridge" so you can move the mouse to the dropdown without losing hover */
.nav-list > li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 44px;
  width: 100%;
  height: 16px;
  background: transparent;
  display: none;
}

.nav-list > li:hover::after {
  display: block;
}

/* Prose defaults */
.prose {
  max-width: 900px;
}

.prose h1,
.prose h2,
.prose h3 {
  line-height: 1.15;
}

/* Calendar */
.calendar {
  margin-top: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.calendar-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(10, 102, 178, 0.06);
  font-weight: 900;
  cursor: pointer;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-dow,
.cal-day {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 64px;
}

.cal-dow {
  min-height: auto;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.02);
}

.cal-day:last-child,
.cal-dow:last-child {
  border-right: 0;
}

.cal-day.is-muted {
  color: rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.01);
}

.cal-day-number {
  font-weight: 900;
  font-size: 0.9rem;
}

.cal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-blue);
  margin-top: 10px;
  box-shadow: 0 0 0 6px rgba(10, 102, 178, 0.12);
}

.cal-day.is-today {
  outline: 2px solid rgba(41, 182, 255, 0.55);
  outline-offset: -2px;
}

.cal-day.is-clickable {
  cursor: pointer;
}

.cal-day.is-clickable:hover {
  background: rgba(41, 182, 255, 0.08);
}

/* ===== Pathway to Victory ===== */
.section-pathway h2 {
  margin: 0;
}

.tabs-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0 22px;
}

.tab {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.tab.is-active {
  background: var(--brand-cyan);
  border-color: transparent;
  color: #052038;
}

.tabs-panels {
  max-width: var(--max);
  margin: 0 auto;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.pathway-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}

.pathway-copy,
.map-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
}

.pathway-copy h3 {
  margin-top: 0;
  color: #fff;
}

.checklist {
  margin: 0 0 16px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.map-card {
  padding: 16px;
}

.map-title {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 8px;
}

.map-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 6px rgba(41, 182, 255, 0.16);
}

.map-svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 8px;
}

/* About Amber layout (bio left, photo right) */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: start;
  margin-top: 14px;
}

.about-aside {
  position: sticky;
  top: 110px;
}

.about-photo {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  display: block;
}

.about-photo-caption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.62);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-aside {
    position: static;
    order: -1;
  }

  .about-photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-photo-caption {
    text-align: center;
  }
}

/* ✅ Updated mobile nav: collapse submenus by default (JS toggles .is-open) */
@media (max-width: 860px) {
  /* Header stays compact */
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-inner {
    padding: 12px 0;
  }

  /* Full-screen mobile nav panel */
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--brand-blue-2);
    color: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px var(--pad) 22px;
    gap: 14px;
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  /* Top row inside the panel: logo + close */
  .mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: #fff;
  }

  .mobile-nav-brand .brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--brand-cyan), #fff);
  }

  .mobile-nav-close {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Menu list spacing + dividers */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 0;
    margin-top: 10px;
  }

  .nav-list > li {
    padding: 0;
    border-top: 0;
  }

  .nav-list > li > a {
    width: 100%;
    justify-content: space-between;
    padding: 18px 6px;
    border-radius: 0;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list li a:hover {
    background: transparent;
    opacity: 0.95;
  }

  /* Chevron alignment */
  .nav-chevron {
    margin-left: auto;
    opacity: 0.75;
    font-size: 0.95rem;
    transform: translateY(1px);
  }

  .nav-list > li.is-open > a .nav-chevron {
    transform: rotate(180deg) translateY(-1px);
  }

  /* Submenus: collapsed by default */
  .nav-list li ul {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    padding: 8px 0 14px;
    margin: 0;
    background: transparent;
  }

  .nav-list li.is-open > ul {
    display: block;
  }

  .nav-list li ul li a {
    padding: 12px 6px 12px 18px;
    font-size: 0.98rem;
    border-bottom: 0;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.88);
    opacity: 0.92;
  }

  /* Social section */
  .header-social {
    justify-content: flex-start;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .social-icons {
    gap: 10px;
  }

  .social-ico {
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .social-ico:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Bottom CTA area */
  .nav-cta {
    margin-top: auto;
    padding-top: 18px;
    display: grid;
    gap: 12px;
  }

  .nav-cta .btn {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 1.05rem;
    justify-content: center;
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .btn-primary--solid {
    background: var(--brand-cyan);
    color: #052038;
  }

  /* Hide desktop hover bridge on mobile */
  .nav-list > li::after {
    display: none !important;
  }

  /* Stack grids elsewhere */
  .cards,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 132px;
  }

  .donate-sticky-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .donate-sticky-buttons {
    justify-content: flex-start;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }
}
/* Mobile menu top bar should NOT show on desktop */
.mobile-nav-top {
  display: none;
}
