:root {
  --navy: #001e52;
  --blue: #003a9e;
  --label: #0036a1;
  --text: #1f1f1f;
  --muted: #a3a3a3;
  --footer: rgba(255, 255, 255, 0.7);
  --header-h: 113px;
  --wrap: 1020px;
  --font: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.4px;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
button, input { font-family: inherit; }

.site-header {
  background: var(--blue);
  color: #fff;
  position: relative;
  z-index: 40;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.logo img {
  height: 73px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
}
.nav a,
.nav .nav-parent {
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 15px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav a:hover,
.nav .nav-parent:hover { opacity: 0.85; }
.nav a.active,
.nav .nav-parent.active { text-decoration: underline; text-underline-offset: 6px; }

.has-sub { position: relative; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--blue);
  padding: 8px 0 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 50;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.open .submenu { display: block; }
.submenu a {
  display: block;
  padding: 10px 22px;
  white-space: nowrap;
}
.nav a.donate-btn {
  background: #fff;
  color: var(--blue);
  border-radius: 3px;
  padding: 15px 22px;
  margin-left: 8px;
  text-decoration: none;
}
.nav a.donate-btn:hover { opacity: 1; background: #f3f6fb; }
.nav a.donate-btn.active { text-decoration: none; }

.page { background: #fff; }

.hero {
  position: relative;
  height: 600px;
  background: #000;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 80px;
  text-align: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 80px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.hero-arrow.prev { left: 8px; }
.hero-arrow.next { right: 8px; }
.hero-arrow:hover { opacity: 0.75; }

.banner {
  position: relative;
  height: 460px;
  background: #111;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.banner-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
  color: #fff;
  font-family: var(--display);
  font-weight: 400;
  font-size: 45px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 32px 96px;
}
.home-wrap { padding-top: 88px; padding-bottom: 100px; }
.lede {
  text-align: center;
  margin: 0 auto;
  max-width: 860px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 78px;
  text-align: center;
}
.features h2 {
  margin: 0 0 26px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 23px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 26px;
}
.btn:hover { background: #002f82; }

.prose h1,
.boy-copy h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #000;
  margin: 32px 0 16px;
  line-height: 1.25;
}
.prose h1:first-child,
.boy-copy h1:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose.justify p,
.prose.justify li,
.boy-copy p { text-align: justify; }
.prose ol { margin: 0.4em 0 1em; padding-left: 1.3em; }
.prose li { margin: 0 0 0.7em; }
.prose strong { font-weight: 600; }
.center { text-align: center; }
.donate-note { font-style: italic; }

.section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 28px;
  margin: 0 0 48px;
}
.section-nav .label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--label);
  margin-right: 8px;
}
.section-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
}
.section-nav a.active { color: var(--text); }
.section-nav a:hover { color: var(--text); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  align-items: start;
  margin: 0 0 28px;
}
.split img { width: 100%; height: auto; display: block; }
.split-reverse img { order: 2; }
.split p:last-child { margin-bottom: 0; }
.prose::after,
.boy-copy::after { content: ""; display: block; clear: both; }

.boy-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.boy-side .label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 14px;
}
.boy-side a {
  display: block;
  color: #b0b0b0;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.7;
}
.boy-side a.active { color: var(--text); }
.boy-side a:hover { color: var(--text); }
.boy-photo {
  float: left;
  width: 272px;
  margin: 4px 28px 12px 0;
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 280px);
  gap: 36px;
  align-items: start;
}
.donate-layout h1 { text-align: left; }
.donate-form { margin-top: 18px; }
.donate-form input[type="image"] { width: 200px; height: auto; }
.hoops {
  display: block;
}
.hoops img { width: 100%; height: auto; display: block; }

.gallery {
  column-count: 3;
  column-gap: 14px;
}
.gallery a {
  display: block;
  margin: 0 0 14px;
  break-inside: avoid;
  line-height: 0;
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 88vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 40px;
  line-height: 1;
}
.lightbox-close { top: 16px; right: 22px; font-size: 46px; }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

.site-footer {
  background: var(--navy);
  color: var(--footer);
  text-align: center;
  padding: 42px 20px 56px;
  font-size: 18px;
  font-weight: 300;
}
.site-footer p { margin: 0; }
.site-footer a { color: inherit; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-inner { padding: 14px 16px; }
  .logo img { height: 54px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 18px;
  }
  .nav.open { display: flex; }
  .has-sub { display: flex; flex-direction: column; }
  .submenu {
    position: static;
    display: block;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 8px 12px;
    background: transparent;
  }
  .nav a.donate-btn {
    margin: 10px 16px 0;
    text-align: center;
  }
  .hero { height: 420px; }
  .hero-caption { font-size: 22px; letter-spacing: 1.5px; padding: 16px 48px; }
  .banner { height: 280px; }
  .banner-title { font-size: 30px; letter-spacing: 1.5px; }
  .features { grid-template-columns: 1fr; gap: 42px; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse img { order: 0; }
  .boy-photo { float: none; width: 100%; max-width: 320px; margin: 0 0 18px; }
  .boy-layout, .donate-layout { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
  .wrap { padding: 40px 20px 64px; }
}

@media (max-width: 560px) {
  .gallery { column-count: 1; }
  .hero { height: 320px; }
  .hero-caption { font-size: 18px; }
}
