:root {
  --green: #005947;
  --green-dark: #01382f;
  --yellow: #f5b000;
  --paper: #fbfaf6;
  --ink: #15211f;
  --muted: #63706d;
  --line: #d8ded8;
  --max: 1160px;
  --gap: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(0, 89, 71, 0.14);
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.92), rgba(251, 250, 246, 0.76)),
    url("/assets/header-bg.png") center / cover;
  backdrop-filter: blur(16px);
}

.header-slogan {
  margin: 0;
  flex: 1;
  color: var(--green-dark);
  font-size: 1.18rem;
  font-weight: 720;
  text-align: center;
}

.brand img {
  display: block;
  width: clamp(104px, 12vw, 148px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 22px;
  color: var(--green-dark);
  font-size: 1.18rem;
  font-weight: 720;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

main {
  overflow: hidden;
}

.hero {
  padding: clamp(32px, 5vw, 64px) max(24px, calc((100vw - var(--max)) / 2)) clamp(58px, 8vw, 108px);
  border-bottom: 1px solid var(--line);
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(30px, 6vw, 70px);
}

.hero-copy {
  max-width: 760px;
}

.hero-photo {
  margin: 0;
  justify-self: end;
  width: min(100%, 520px);
  border: 1px solid rgba(0, 89, 71, 0.16);
  background: white;
  overflow: hidden;
}

.hero-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-photo-button img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.eyebrow,
.section-number,
.priority-index,
.candidate-card p {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(3rem, 5.2vw, 4.85rem);
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 1.08rem;
  line-height: 1.22;
}

.lead {
  margin: 28px 0 0;
  max-width: 600px;
  color: #374541;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--green-dark);
}

.candidate-carousel {
  margin-top: clamp(42px, 6vw, 72px);
}

.carousel-heading,
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.carousel-heading {
  justify-content: space-between;
}

.carousel-controls {
  display: flex;
  gap: 14px;
}

.arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--green-dark);
  border-radius: 6px;
  background: var(--green);
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 89, 71, 0.2);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.arrow-button:hover:not(:disabled) {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 89, 71, 0.26);
}

.arrow-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.carousel-window {
  overflow: hidden;
}

.candidate-track {
  display: flex;
  gap: var(--gap);
  transition: transform 220ms ease;
  will-change: transform;
}

.candidate-card {
  flex: 0 0 calc((100% - (2 * var(--gap))) / 3);
  min-width: 0;
  border: 1px solid rgba(0, 89, 71, 0.16);
  background: #ffe08a;
}

.candidate-card img {
  display: block;
  width: 100%;
  aspect-ratio: 907 / 1132;
  object-fit: contain;
}

.program,
.successes {
  padding: clamp(58px, 8vw, 108px) max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
}

.program-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.program-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 38px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.program-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--green);
}

.program-icon svg {
  width: 88px;
  height: 88px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.program-content h3 {
  margin: 0 0 16px;
  color: var(--green);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.program-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
  color: #30403c;
}

.program-content li::marker {
  color: var(--yellow);
}

.success-list p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.success-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.success-list article {
  min-height: 220px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.24);
}

.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(58px, 8vw, 104px) max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-top: 8px;
}

.contact-panel > p:first-child {
  max-width: 680px;
  color: #30403c;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.small {
  font-size: 0.9rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(1, 56, 47, 0.84);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  display: block;
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: white;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid white;
  border-radius: 6px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-slogan {
    text-align: left;
  }

  .success-list {
    grid-template-columns: 1fr;
  }

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

  .hero-intro {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    justify-self: start;
    width: min(100%, 640px);
  }
}

@media (max-width: 700px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header-slogan {
    width: 100%;
  }

  .brand img {
    width: min(148px, 100%);
  }

  .hero,
  .program,
  .successes,
  .contact {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .carousel-heading,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .program-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .program-icon svg {
    width: 56px;
    height: 56px;
  }

  .button {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
