:root {
  --ink: #151515;
  --muted: #5d626b;
  --line: #e4e6e8;
  --paper: #ffffff;
  --soft: #f5f6f4;
  --green: #3f8d4d;
  --green-dark: #246337;
  --gold: #c89c45;
  --blue: #345f86;
  --shadow: 0 18px 45px rgba(20, 26, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 230, 232, 0.9);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 138px;
  height: 62px;
  object-fit: contain;
}

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

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 6px;
  color: #333941;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green-dark);
  background: #edf5ee;
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--green-dark);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  color: #fff;
  background: var(--green);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
  align-items: stretch;
  background: #101412;
}

.hero-media {
  min-height: 520px;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 76px);
  color: #fff;
  background: linear-gradient(135deg, rgba(21, 21, 21, 0.96), rgba(36, 99, 55, 0.88));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.intro-section,
.content-band,
.benefits-band,
.format-band,
.video-section,
.lists-section,
.lesson-grid,
.split-section,
.contact-hero,
.page-hero,
.project-hero {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro-section,
.format-band,
.benefits-band {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.feature-grid article,
.lesson-grid article,
.mission-box,
.contact-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(20, 26, 32, 0.05);
}

.feature-grid p,
.lesson-grid p,
.content-grid p,
.two-column-text p,
.contact-hero p {
  color: var(--muted);
}

.split-section,
.page-hero,
.project-hero,
.contact-hero,
.video-section,
.content-grid,
.lists-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.split-copy {
  max-width: 650px;
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  align-items: end;
}

.image-stack img,
.photo-banner img,
.page-hero img,
.project-hero img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.image-stack img:last-child {
  aspect-ratio: 3 / 4;
}

.video-section {
  background: #141719;
  color: #fff;
}

.video-section p {
  color: rgba(255, 255, 255, 0.78);
}

.video-placeholder {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050607;
  box-shadow: var(--shadow);
}

.video-placeholder video {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.page-hero {
  background: linear-gradient(135deg, #f7f8f6, #ffffff);
}

.page-hero.compact img {
  max-width: 360px;
  justify-self: center;
  box-shadow: none;
}

.page-hero > div,
.project-copy,
.contact-hero > div:first-child {
  max-width: 720px;
}

.page-hero p,
.project-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.project-hero {
  background: #101412;
  color: #fff;
}

.project-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.project-hero img {
  aspect-ratio: 4 / 3;
}

.two-column-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: var(--soft);
  font-weight: 700;
}

.lesson-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.format-list span {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #293039;
  font-weight: 800;
}

.contact-hero {
  min-height: calc(100vh - 92px);
  background: linear-gradient(135deg, #f7f8f6, #ffffff);
}

.contact-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-panel a {
  color: var(--green-dark);
  font-weight: 800;
}

.photo-banner {
  padding: 0 clamp(18px, 5vw, 72px) clamp(54px, 8vw, 104px);
}

.photo-banner img {
  max-height: 560px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #151515;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  display: block;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .split-section,
  .page-hero,
  .project-hero,
  .contact-hero,
  .video-section,
  .content-grid,
  .lists-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 380px;
  }

  .feature-grid,
  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column-text {
    grid-template-columns: 1fr;
  }
}

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

  .brand img {
    width: 112px;
    height: 52px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-media {
    min-height: 310px;
  }

  .hero-content {
    padding: 30px 20px 38px;
  }

  .feature-grid,
  .lesson-grid,
  .image-stack {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
