:root {
  --bg: #f7f6f0;
  --ink: #17211d;
  --muted: #607067;
  --leaf: #2f6f4f;
  --moss: #9caf6c;
  --water: #2a6f82;
  --clay: #bc6c45;
  --sun: #f2c14e;
  --white: #fffdf7;
  --line: rgba(23, 33, 29, 0.14);
  --shadow: 0 18px 42px rgba(23, 33, 29, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 28px rgba(23, 33, 29, 0.12);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--sun);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 76px) 76px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 30, 22, 0.88), rgba(11, 30, 22, 0.44) 52%, rgba(11, 30, 22, 0.12)),
    linear-gradient(0deg, rgba(11, 30, 22, 0.55), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-content p {
  max-width: 660px;
  color: rgba(255, 253, 247, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--sun);
  color: #1c241c;
  box-shadow: 0 12px 30px rgba(242, 193, 78, 0.28);
}

.button.secondary {
  border-color: rgba(255, 253, 247, 0.65);
  color: var(--white);
}

.section {
  padding: clamp(70px, 10vw, 125px) clamp(20px, 6vw, 76px);
}

.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.programs-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.work-section {
  background: #edf2e6;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.focus-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(23, 33, 29, 0.08);
}

.focus-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.focus-card div {
  padding: 24px;
}

.focus-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--clay);
  font-weight: 900;
}

.focus-card p,
.program-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.programs-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.programs-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.programs-copy p {
  color: rgba(255, 253, 247, 0.74);
}

.program-list {
  display: grid;
  gap: 16px;
}

.program-list article {
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(47, 111, 79, 0.38), rgba(42, 111, 130, 0.2)),
    rgba(255, 253, 247, 0.04);
}

.program-list p {
  color: rgba(255, 253, 247, 0.7);
}

.impact-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.impact-band div {
  min-height: 168px;
  padding: 30px clamp(18px, 4vw, 42px);
  background: var(--water);
  color: var(--white);
}

.impact-band div:nth-child(2) {
  background: var(--leaf);
}

.impact-band div:nth-child(3) {
  background: var(--clay);
}

.impact-band div:nth-child(4) {
  background: #1f3f46;
}

.impact-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
}

.impact-band span {
  display: block;
  max-width: 190px;
  color: rgba(255, 253, 247, 0.82);
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 520px);
  gap: clamp(30px, 6vw, 76px);
  background: var(--white);
}

address {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f2ea;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 33, 29, 0.2);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 76px);
  background: #111815;
  color: rgba(255, 253, 247, 0.78);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--sun);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 10px;
  }

  .hero {
    min-height: 88vh;
  }

  .intro-grid,
  .section-heading,
  .programs-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .focus-grid,
  .impact-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programs-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 86vh;
    padding: 110px 20px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(11, 30, 22, 0.9), rgba(11, 30, 22, 0.5)),
      linear-gradient(0deg, rgba(11, 30, 22, 0.6), transparent 40%);
  }

  h1 {
    font-size: clamp(2.75rem, 17vw, 4.4rem);
  }

  .button {
    width: 100%;
  }

  .focus-grid,
  .impact-band {
    grid-template-columns: 1fr;
  }

  .impact-band div {
    min-height: 132px;
  }

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