:root {
  --orange: #ff9900;
  --yellow: #ffc62f;
  --ink: #090909;
  --muted: #454f4f;
  --line: #e8e3dc;
  --paper: #ffffff;
  --soft: #f8f8f7;
  --green: #1f6b5a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

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

h1,
h2,
h3 {
  font-family: Poppins, Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.15;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: min(1240px, calc(100% - 36px));
  min-height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  align-items: center;
}

.brand img {
  width: 68px;
  height: 90px;
  object-fit: contain;
}

.header-main {
  display: grid;
  gap: 8px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.socials,
.footer-socials {
  display: flex;
  gap: 8px;
}

.socials a,
.footer-socials a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.title-row {
  text-align: center;
}

.title-row h1 {
  margin: 0;
  font-size: 16px;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  font-weight: 700;
  font-size: 16px;
}

.primary-nav a {
  padding: 8px 0;
}

.primary-nav .active,
.primary-nav a:hover {
  color: var(--orange);
}

.nav-group {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 150px;
  background: white;
  padding: 10px 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}

.nav-group:hover .sub-menu {
  display: grid;
}

.menu-toggle {
  display: none;
  justify-self: end;
  padding: 10px 16px;
  border: 0;
  background: var(--orange);
  color: #111;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #fff;
  background: #222;
}

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

.hero-bg {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 700ms ease, transform 4s ease;
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 610px;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 70px minmax(0, 680px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 80px 0 120px;
}

.eyebrow {
  color: var(--yellow);
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

.hero h2 {
  margin: 0 0 22px;
  font-size: clamp(45px, 8vw, 88px);
  max-width: 800px;
}

.hero p {
  max-width: 610px;
  margin: 0;
  font-size: 22px;
}

.slide-count {
  display: grid;
  gap: 14px;
}

.slide-count button {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.slide-count button.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #111;
}

.hero-controls {
  justify-self: end;
  align-self: end;
  display: flex;
  gap: 8px;
}

.hero-controls button,
.gallery-stage button {
  width: 52px;
  height: 52px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 24px;
  cursor: pointer;
}

.hero-thumbs {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: min(1000px, calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hero-thumbs img {
  height: 128px;
  width: 100%;
  object-fit: cover;
  border: 5px solid white;
}

.section {
  padding: 84px 0;
}

.section-inner {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}

.copy-block h2,
.center-title,
.testimonials h2,
.gallery h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 55px);
}

.copy-block h3 {
  margin: 0 0 22px;
  max-width: 700px;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.copy-block p {
  max-width: 650px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  margin-top: 20px;
  padding: 15px 34px;
  background: var(--orange);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.button.dark {
  background: #111;
  color: #fff;
}

.impact-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.divider {
  width: 100%;
  height: 1px;
  margin-bottom: 65px;
  background: var(--line);
}

.center-title {
  text-align: center;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
  padding-top: 28px;
}

.programme-grid article h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.programme-grid article span {
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--orange);
}

.programme-grid article p {
  margin: 0;
  color: var(--muted);
}

.testimonials {
  background: var(--soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.testimonial-grid figure {
  margin: 0;
  padding: 30px;
  background: #fff;
  border-radius: 4px;
  border-top: 4px solid var(--orange);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

blockquote {
  margin: 0 0 28px;
  color: #222;
}

figcaption {
  display: flex;
  gap: 14px;
  align-items: center;
}

figcaption img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

figcaption span {
  display: grid;
  line-height: 1.2;
  color: var(--muted);
}

figcaption strong {
  color: var(--ink);
}

.partners {
  text-align: center;
  padding: 58px 0;
}

.partners h2 {
  margin: 0 0 35px;
  font-size: 24px;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
}

.partner-strip img {
  max-height: 95px;
  margin: 0 auto;
  opacity: 0.8;
}

.gallery {
  background: #fbfbfb;
}

.videos {
  background: #fff;
  padding-top: 70px;
}

.gallery-stage {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.gallery-stage figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.gallery-stage img {
  width: 100%;
  height: min(62vw, 610px);
  object-fit: cover;
}

.gallery-stage figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 24px 30px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
}

.gallery-stage button {
  background: var(--orange);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.gallery-thumbs button {
  padding: 0;
  border: 4px solid transparent;
  background: none;
  cursor: pointer;
}

.gallery-thumbs button.active {
  border-color: var(--orange);
}

.gallery-thumbs img {
  height: 110px;
  width: 100%;
  object-fit: cover;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.video-grid figure {
  margin: 0;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: contain;
}

.video-grid .portrait-video {
  background: #f7f7f7;
}

.video-grid .portrait-video video {
  width: min(100%, 430px);
  max-height: 680px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #f7f7f7;
  object-fit: cover;
}

.video-grid .portrait-video figcaption {
  background: #111;
}

.video-grid figcaption {
  display: block;
  padding: 16px 18px;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.footer {
  background: #f1eee9;
}

.footer-inner {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 65px 0;
  display: grid;
  grid-template-columns: 1fr 0.5fr 1fr;
  gap: 40px;
}

.footer h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.footer ul {
  margin: 14px 0 18px;
  padding-left: 20px;
}

.footer a:hover {
  color: var(--orange);
}

.copyright {
  margin: 0;
  padding: 20px;
  text-align: center;
  background: #fff;
  color: var(--muted);
}

@media (max-width: 900px) {
  .header-inner,
  .hero-content,
  .two-col,
  .programme-grid,
  .testimonial-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 90px;
    grid-template-columns: 62px 1fr;
  }

  .contact-strip,
  .title-row {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    padding: 16px 0 24px;
    align-items: flex-start;
    gap: 10px;
  }

  .primary-nav.open {
    display: grid;
  }

  .sub-menu {
    position: static;
    transform: none;
    box-shadow: none;
    display: grid;
    padding: 0 0 0 14px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    min-height: 520px;
    gap: 22px;
    align-items: end;
    padding-bottom: 115px;
  }

  .slide-count {
    display: flex;
  }

  .hero-controls {
    justify-self: start;
  }

  .hero-thumbs {
    gap: 8px;
  }

  .hero-thumbs img {
    height: 76px;
    border-width: 3px;
  }

  .impact-photo {
    max-height: 560px;
  }

  .partner-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero h2 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-thumbs {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
  }

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

  .gallery-stage button {
    display: none;
  }

  .gallery-thumbs,
  .partner-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
