:root {
  --cream: #fcfcfc;
  --cream-alt: #f2f7f5;
  --charcoal: #353535;
  --charcoal-dark: #262626;
  --ink: #353535;
  --primary: #43aa8b;
  --primary-text: #2f8a6f;
  --secondary: #fdca02;
  --secondary-text: #b38a00;
  --accent: #ec4e20;
  --muted: #6b6b6b;
  --muted-dark: #d9d9d9;
  --seagrass: #43aa8b;
  --seagrass-tint: #e3f4ef;
  --amber: #fdca02;
  --amber-tint: #fff5cc;
  --paprika: #ec4e20;
  --neutral-tint: #f1f4f3;
  --graphite: #353535;
  --map-fill: #fcfcfc;
  --map-outline: rgba(53, 53, 53, 0.5);
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Barlow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.mono {
  font-family: "JetBrains Mono", monospace;
}

.iei-brush {
  font-family: "Caveat Brush", "Casual Brush Script", "Brush Script MT", cursive;
  font-weight: 400;
  color: var(--secondary);
  line-height: 0.9;
  letter-spacing: 0;
}

.iei-h2--dark .iei-brush {
  color: var(--primary);
}

/* NAV */
.iei-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: stretch;
  background: var(--cream);
  transition: box-shadow 0.3s ease;
}

/* Only in play where the nav condenses (>=1025px), where the nav is taken out
   of flow and this reserves its expanded height instead. */
.iei-nav-spacer {
  display: none;
}

/* Used for a single frame while JS reads the nav's expanded height, so the
   round trip can't restart the condense transition. */
.iei-nav.is-measuring,
.iei-nav.is-measuring * {
  transition: none !important;
}

.iei-nav__right {
  flex: 1 1 75%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.iei-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 36px;
  background: var(--cream);
  border-bottom: 1px solid rgba(53, 53, 53, 0.08);
  max-height: 90px;
  overflow: hidden;
  transition: padding 0.3s ease, max-height 0.3s ease, opacity 0.2s ease;
}

.iei-nav__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 25%;
  text-decoration: none;
  padding: 14px 24px;
  border-right: 1px solid rgba(53, 53, 53, 0.08);
  transition: padding 0.3s ease;
}

.iei-nav__brand img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: height 0.3s ease;
}

.iei-nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.iei-nav__brand-text strong {
  font-weight: 700;
  font-size: 30px;
  color: var(--charcoal);
}

.iei-nav__brand-text span {
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: #8a8a8a;
}

.iei-nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--graphite);
  text-decoration: none;
  white-space: nowrap;
}

.iei-nav__cta u {
  text-decoration-color: var(--seagrass);
}

.iei-nav__divider {
  width: 1px;
  height: 30px;
  background: rgba(53, 53, 53, 0.15);
  flex-shrink: 0;
}

.iei-nav__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--seagrass-tint);
  color: var(--seagrass);
}

.iei-nav__cta-icon svg {
  width: 18px;
  height: 18px;
}

.iei-nav__contact {
  display: flex;
  align-items: center;
  gap: 28px;
}

.iei-nav__contact-item {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.iei-nav__contact-label {
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  color: #8a8a8a;
}

.iei-nav__contact-value {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--graphite);
  white-space: nowrap;
}

.iei-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 34px;
  background: var(--seagrass);
  padding: 15px 36px;
  border-radius: 18px 0 0 0;
  transition: padding 0.3s ease;
}

/* Condensed sticky nav: once the page scrolls past the top, collapse the
   CTA/contact row so only the compact logo + menu bar stays pinned.
   Desktop only -- below 1024px the nav is already a single hamburger bar. */
@media (min-width: 1025px) {
  /* Fixed rather than sticky: a sticky nav keeps its flow space, so shrinking
     it would drag every section below it up by the ~48px it loses, mid-scroll.
     The spacer holds that height instead and never changes. */
  .iei-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .iei-nav-spacer {
    display: block;
  }

  .iei-nav.is-scrolled {
    box-shadow: 0 10px 30px rgba(53, 53, 53, 0.12);
  }

  .iei-nav.is-scrolled .iei-nav__top {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-width: 0;
  }

  .iei-nav.is-scrolled .iei-nav__brand {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .iei-nav.is-scrolled .iei-nav__brand img {
    height: 44px;
  }

  /* With the top row gone, stretch the menu bar to fill the whole nav
     height so no cream gap shows below it. */
  .iei-nav.is-scrolled .iei-nav__links {
    flex: 1;
    align-items: center;
    padding-top: 11px;
    padding-bottom: 11px;
    border-radius: 0;
  }
}

.iei-nav__links a {
  display: inline-flex;
  align-items: center;
  font-family: "Barlow", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  color: rgba(53, 53, 53, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.iei-nav__links a:hover {
  color: #fcfcfc;
}

.iei-nav__links a.is-active {
  color: #fcfcfc;
}

.iei-nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 5;
}

.iei-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.iei-nav__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.iei-nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.iei-nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.iei-btn {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border-radius: 3px;
}

.iei-btn--primary {
  font-size: 15px;
  color: var(--charcoal-dark);
  background: var(--primary);
  padding: 13px 26px;
  transition: transform 0.25s ease;
}

.iei-btn--primary:hover {
  transform: translateY(-2px);
}

.iei-btn--secondary {
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid rgba(53, 53, 53, 0.35);
  padding: 12px 24px;
}

.iei-btn--outline {
  font-size: 15px;
  color: #fcfcfc;
  background: transparent;
  border: 1.5px solid rgba(244, 241, 234, 0.4);
  padding: 12px 24px;
}

@media (max-width: 1024px) {
  .iei-nav__contact,
  .iei-nav__divider {
    display: none;
  }
}

@media (max-width: 1024px) {
  /* Nav collapses to the hamburger at the same tier that already hides the
     contact block below -- the 8-link row had no room from ~760-1024px and
     was wrapping link text mid-word instead of fitting on one line. */
  .iei-nav {
    flex-direction: column;
    position: relative;
  }

  .iei-nav__brand {
    flex: 0 0 auto;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(53, 53, 53, 0.08);
    padding-right: 64px;
  }

  .iei-nav__brand img {
    height: 40px;
  }

  .iei-nav__toggle {
    display: flex;
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .iei-nav__top {
    padding: 12px 20px;
  }

  .iei-nav__links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    padding: 8px;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 32px rgba(53, 53, 53, 0.2);
    z-index: 30;
  }

  .iei-nav__links.is-open {
    display: flex;
  }

  .iei-nav__links a {
    width: 100%;
    padding: 13px 12px;
    border-bottom: 1px solid rgba(252, 252, 252, 0.15);
  }

  .iei-nav__links a:last-child {
    border-bottom: 0;
  }

  .iei-nav__cta-label {
    display: none;
  }
}

@media (max-width: 420px) {
  .iei-nav__top {
    padding: 10px 16px;
  }

  .iei-nav__brand {
    padding: 12px 16px;
    padding-right: 60px;
  }
}

/* HERO SLIDESHOW */
.iei-hero-slideshow {
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 62vw, 640px);
  background: var(--cream);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.iei-hero-slideshow.is-loaded {
  opacity: 1;
  transform: translateY(0);
}


.iei-pixels {
  position: relative;
  z-index: 2;
  display: grid;
}

.iei-pixels > div {
  background: transparent;
}

.iei-eyebrow-pill {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--primary-text);
  background: rgba(67, 170, 139, 0.16);
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.iei-hero-slide {
  position: absolute;
  inset: 0;
  /* Full-bleed layout: the photo fills the entire slide and a frosted-glass
     panel floats over it, so the image is the hero and the copy still reads. */
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.iei-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Dark scrim baked onto the image so the glass panel and its white text
     always have enough contrast, whatever the photo behind it. */
  background-image:
    linear-gradient(90deg, rgba(38, 38, 38, 0.72) 0%, rgba(38, 38, 38, 0.4) 45%, rgba(38, 38, 38, 0.15) 100%),
    var(--hero-slide-img);
  background-size: cover;
  background-position: center;
}

.iei-hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.iei-hero-slide__panel {
  position: relative;
  z-index: 2;
  max-width: 520px;
  /* Left edge lines up with the 1180px content gutter used by the
     sections below, so the hero copy shares their alignment. */
  margin-left: calc(max(0px, (100vw - 1180px) / 2) + 12px);
  margin-right: clamp(24px, 4vw, 60px);
  padding: clamp(28px, 3vw, 44px);
}

.iei-hero-slide__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.iei-hero-slide__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18; 
  color: #fcfcfc;
  text-shadow: 0 2px 12px rgba(30, 30, 30, 0.35);
  margin: 0 0 30px;
}

.iei-hero-slide__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: #fcfcfc;
  background: var(--amber);
  padding: 14px 30px;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.iei-hero-slide__cta:hover,
.iei-hero-slide__cta:focus-visible,
.iei-hero-slide__cta:active {
  background: var(--paprika);
}

.iei-hero-slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fcfcfc;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}

.iei-hero-slideshow__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.iei-hero-slideshow__arrow svg {
  width: 22px;
  height: 22px;
}

/* Both arrows now sit over the full-bleed photo. */
.iei-hero-slideshow__arrow--prev {
  left: 20px;
}

.iei-hero-slideshow__arrow--next {
  right: 20px;
}

.iei-hero-slideshow__dots {
  position: absolute;
  left: calc(max(0px, (100vw - 1180px) / 2) + 76px);
  bottom: 34px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.iei-hero-slideshow__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.iei-hero-slideshow__dot.is-active {
  background: #fcfcfc;
  transform: scale(1.15);
}

.iei-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  /* Phones and tablets: the photo still covers the whole slider; the glass
     panel drops to the bottom where it clears the subject of most shots. */
  .iei-hero-slideshow {
    min-height: clamp(440px, 92vh, 580px);
  }

  .iei-hero-slide {
    align-items: flex-end;
  }

  .iei-hero-slide::before {
    /* Scrim heavier at the foot of the frame, where the panel sits. */
    background-image:
      linear-gradient(0deg, rgba(38, 38, 38, 0.78) 0%, rgba(38, 38, 38, 0.35) 45%, rgba(38, 38, 38, 0.12) 100%),
      var(--hero-slide-img);
  }

  .iei-hero-slide__panel {
    max-width: none;
    margin: 0 clamp(14px, 4vw, 24px) clamp(58px, 16vw, 80px);
    padding: clamp(22px, 5vw, 32px);
  }

  .iei-hero-slide__eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .iei-hero-slide__heading {
    font-size: clamp(26px, 6.2vw, 34px);
    line-height: 1.22;
    margin: 0 0 22px;
  }

  .iei-hero-slide__cta {
    padding: 13px 26px;
  }

  .iei-hero-slideshow__arrow {
    width: 36px;
    height: 36px;
    /* Sit on the image above the panel, not centred over the glass. */
    top: 34%;
  }

  .iei-hero-slideshow__arrow--prev {
    left: 10px;
  }

  .iei-hero-slideshow__arrow--next {
    right: 10px;
  }

  .iei-hero-slideshow__dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
  }
}

/* SHARED SECTION */
.iei-section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 36px;
}

.iei-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--secondary-text);
  display: block;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.iei-eyebrow--dark {
  color: var(--secondary);
}

.iei-h2 {
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--ink);
  margin: 0;
}

.iei-h2 .iei-brush {
  font-size: 1.22em;
}

.iei-h2--dark {
  color: #fcfcfc;
}

.iei-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* DESCRIPTOR */
.iei-descriptor {
  background: var(--cream);
}

.iei-descriptor__body {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.iei-descriptor__media {
  position: relative;
  min-height: clamp(360px, 40vw, 480px);
}

.iei-descriptor__dots {
  position: absolute;
  left: -6px;
  bottom: 30px;
  width: 70px;
  height: 70px;
  background-image: radial-gradient(var(--paprika) 2.5px, transparent 2.5px);
  background-size: 14px 14px;
  opacity: 0.85;
  z-index: 2;
}

.iei-descriptor__accent {
  position: absolute;
  top: 10px;
  right: 6px;
  width: 46px;
  height: 46px;
  border-top: 5px solid var(--amber);
  border-right: 5px solid var(--amber);
  border-radius: 0 14px 0 0;
  z-index: 2;
}

.iei-descriptor__photo {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(53, 53, 53, 0.16);
}

.iei-descriptor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iei-descriptor__photo--main {
  right: 0;
  bottom: 0;
  width: 82%;
  height: 78%;
}

.iei-descriptor__photo--secondary {
  left: 0;
  top: 0;
  width: 52%;
  height: 46%;
  border: 6px solid var(--cream);
  z-index: 1;
}

.iei-descriptor__text {
  max-width: 620px;
}

.iei-descriptor__eyebrow {
  font-family: var(--font-body);
}

.iei-descriptor__heading {
  font-family: var(--font-heading);
  color: var(--graphite);
  margin-bottom: 12px;
}

.iei-descriptor__tagline {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--paprika);
  font-size: 17px;
  margin: 0 0 18px;
}

.iei-descriptor__text .iei-body {
  font-family: var(--font-body);
}

.iei-descriptor__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.iei-btn--amber {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  background: var(--amber);
  padding: 13px 26px;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.iei-btn--amber:hover {
  background: var(--paprika);
}

.iei-descriptor__watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--graphite);
  text-decoration: none;
  cursor: pointer;
}

.iei-descriptor__play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--seagrass);
  color: var(--seagrass);
  font-size: 12px;
}

@media (max-width: 860px) {
  .iei-descriptor__body {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .iei-descriptor__media {
    min-height: 360px;
  }
}

/* PROGRAMS */
.iei-programs {
  background: var(--cream);
  padding: clamp(56px, 8vw, 104px) 0;
}

.iei-programs__intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.iei-programs__heading {
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  margin-top: 6px;
}

.iei-programs__intro-col--action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.iei-programs__intro-col--action .iei-body {
  margin: 0;
}

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

.iei-program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 20px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--graphite);
}

.iei-program-card--seagrass {
  background: var(--seagrass-tint);
}

.iei-program-card--amber {
  background: var(--amber-tint);
}

.iei-program-card--neutral {
  background: var(--neutral-tint);
}

.iei-program-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.iei-program-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.iei-program-card__tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--graphite);
  background: var(--cream);
  padding: 6px 11px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.iei-program-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--seagrass);
}

.iei-program-card--amber .iei-program-card__icon {
  color: var(--secondary-text);
}

.iei-program-card__icon svg {
  width: 18px;
  height: 18px;
}

.iei-program-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--graphite);
  margin: 4px 0 0;
}

.iei-program-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(53, 53, 53, 0.72);
  margin: 0;
}

.iei-program-card__media {
  position: relative;
  margin: 8px 0 0;
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.iei-program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.iei-program-card:hover .iei-program-card__media img {
  transform: scale(1.05);
}

.iei-program-card__cta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: rgba(252, 252, 252, 0.95);
  color: var(--charcoal-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.iei-program-card__arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--cream);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 980px) {
  .iei-programs__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

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

@media (max-width: 520px) {
  .iei-programs__grid {
    grid-template-columns: 1fr;
  }
}

/* IMPACT */
.iei-impact {
  background: var(--cream);
  padding: 56px 0;
}

.iei-impact__spread {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 18px;
}

.iei-impact__col--text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.iei-impact__heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  text-align: left;
  max-width: 680px;
}

.iei-impact__intro {
  font-family: var(--font-body);
  max-width: 640px;
}

.iei-impact__link {
  font-weight: 700;
  color: var(--paprika);
  text-decoration: underline;
  margin-left: 6px;
  white-space: nowrap;
}

.iei-impact__col--media {
  width: 100%;
}

.iei-impact__collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.iei-impact__card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 32px rgba(53, 53, 53, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.iei-impact__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(53, 53, 53, 0.22);
}

.iei-impact__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iei-impact__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #fdfdfd;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 11px;
  border-radius: 999px;
  line-height: 1;
}

.iei-impact__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 26px 26px;
  color: #fdfdfd;
  background: linear-gradient(0deg, rgba(15, 15, 15, 0.8) 0%, rgba(15, 15, 15, 0.35) 60%, rgba(15, 15, 15, 0) 100%);
}

.iei-impact__caption-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.iei-impact__caption-divider {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.iei-impact__caption-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

@media (max-width: 980px) {
  .iei-impact {
    padding: 40px 0;
  }

  .iei-impact__spread {
    gap: 48px;
  }

  .iei-impact__card {
    aspect-ratio: 4 / 3;
  }

  .iei-impact__caption-value {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .iei-impact__spread {
    gap: 36px;
  }

  .iei-impact__collage {
    gap: 14px;
  }

  .iei-impact__card {
    aspect-ratio: 1 / 1;
  }

  .iei-impact__caption {
    padding: 13px 14px 15px;
    gap: 6px;
  }

  .iei-impact__caption-value {
    font-size: 17px;
  }

  .iei-impact__caption-label {
    font-size: 10.5px;
  }
}

/* MAP */
.iei-map {
  background: var(--cream);
}

.iei-map__heading {
  font-family: var(--font-heading);
  color: var(--seagrass);
}

.iei-map__intro {
  font-family: var(--font-body);
  max-width: 780px;
  margin-bottom: 48px;
}

.iei-map__stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 960px;
}

/* The compact map layout below keys off the mount's own width, not the
   viewport, so the map reflows correctly when it sits in a narrow column
   (e.g. the Saheli Movement page) rather than filling the page. The JS
   mirror of this threshold is COMPACT_MAX_PX in gb-map.js. */
.gbz-root {
  container-type: inline-size;
}

/* Flanking columns of site cards around the map. The JS mirror of the
   860px breakpoint is COMPACT_MAX_PX in gb-map.js — keep the two in sync. */
.gbz-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 2.1fr) minmax(150px, 0.72fr);
  gap: 28px;
  align-items: stretch;
}

.gbz-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.gbz-col--all {
  display: none;
}

.gbz-map {
  display: flex;
  align-items: center;
  position: relative;
}

.gbz-map-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 296 / 211;
}

.gbz-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gbz-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gbz-leaders.on {
  opacity: 1;
}

.gbz-leader.active {
  stroke: var(--paprika);
  stroke-width: 1.6;
  opacity: 1;
}

.gbz-leader.dimmed {
  opacity: 0.35;
}

.gbz-pin {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.5, 0.64, 1);
  cursor: default;
}

.gbz-pin.shown {
  opacity: 1;
  transform: scale(1);
}

.gbz-pin-pulse {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--paprika);
  opacity: 0;
}

.gbz-pin.active .gbz-pin-pulse {
  opacity: 0.55;
  animation: gbz-ping 1.4s ease-out infinite;
}

@keyframes gbz-ping {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.gbz-pin-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paprika);
  box-shadow: 0 0 0 2.5px var(--cream), 0 1px 4px rgba(53, 53, 53, 0.35);
  transition: width 0.18s ease, height 0.18s ease;
}

.gbz-pin.active .gbz-pin-dot {
  width: 13px;
  height: 13px;
}

.gbz-pin-num {
  display: none;
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translate(-50%, -100%);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--paprika);
  background: rgba(252, 252, 252, 0.88);
  border-radius: 4px;
  padding: 0 3px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.gbz-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--muted-dark);
  border-radius: 12px;
  padding: 11px 13px 12px;
  box-shadow: 0 1px 2px rgba(53, 53, 53, 0.04);
  cursor: default;
  opacity: 0;
  transform: translateY(4px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.4s ease;
}

.gbz-card.shown {
  opacity: 1;
  transform: translateY(0);
}

.gbz-card:hover,
.gbz-card.active {
  border-color: #c9d5cb;
  box-shadow: 0 10px 24px -18px rgba(53, 53, 53, 0.5);
}

.gbz-card:hover {
  transform: translateY(-1px);
}

.gbz-card-head {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.gbz-card-n {
  font-family: var(--font-heading);
  font-size: 12px;
  color: #9aa79f;
  font-variant-numeric: tabular-nums;
}

.gbz-card-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--graphite);
}

.gbz-card-facs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.gbz-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.gbz-card-note {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 8px;
}

.gbz-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.gbz-replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--seagrass);
  background: #fff;
  border: 1px solid var(--muted-dark);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.gbz-replay:hover {
  border-color: var(--seagrass);
  background: var(--seagrass-tint);
}

.gbz-replay:focus-visible {
  outline: 2px solid var(--seagrass);
  outline-offset: 2px;
}

.gbz-phase {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}

.gbz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--muted-dark);
}

.gbz-legend-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.gbz-legend-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.gbz-legend-tx {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  white-space: nowrap;
}

.gbz-legend-count {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@container (max-width: 860px) {
  /* No room for two flanking card columns beside the map — the map moves
     to the top and every site's card collects into one grid below it.
     Keep this breakpoint in sync with COMPACT_MAX_PX in gb-map.js. */
  .gbz-stage {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .gbz-col--a,
  .gbz-col--b {
    display: none;
  }

  .gbz-map {
    order: 1;
  }

  .gbz-col--all {
    order: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  /* Leader lines connect a card to its pin — meaningless once the cards
     no longer sit beside the map, so the pin's own number stands in. */
  .gbz-pin-num {
    display: inline-flex;
  }

  .gbz-card {
    padding: 9px 11px 10px;
  }

  .gbz-card-name {
    font-size: 13.5px;
  }

  .gbz-card-note {
    font-size: 11px;
  }

  .gbz-legend {
    gap: 6px 14px;
    padding-top: 14px;
  }

  .gbz-legend-tx {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gbz-pin-pulse {
    animation: none !important;
  }

  .gbz-card,
  .gbz-pin,
  .gbz-pin-dot,
  .gbz-leaders {
    transition: none !important;
  }
}

/* PARTNERS */
.iei-partners {
  background: var(--cream-alt);
}

.iei-partners__heading {
  font-family: var(--font-heading);
  color: var(--seagrass);
}

.iei-partners__intro {
  font-family: var(--font-body);
  max-width: 720px;
  margin-bottom: 44px;
}

.iei-partners__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.iei-partners__track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: iei-partners-scroll 40.8s linear infinite;
}

.iei-partners__marquee:hover .iei-partners__track,
.iei-partners__marquee:focus-within .iei-partners__track {
  animation-play-state: paused;
}

@keyframes iei-partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* Track holds two identical copies of the logo list back-to-back, so
       shifting exactly half its width lands on a visually identical frame
       and the loop restarts with no visible seam. */
    transform: translateX(-50%);
  }
}

.iei-partners__logo {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--muted-dark);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px -18px rgba(53, 53, 53, 0.3);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.iei-partners__logo:hover {
  box-shadow: 0 16px 30px -18px rgba(53, 53, 53, 0.4);
  transform: translateY(-3px);
}

.iei-partners__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 620px) {
  .iei-partners__logo {
    width: 120px;
    height: 120px;
    padding: 14px;
  }

  .iei-partners__track {
    animation-duration: 31.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iei-partners__track {
    animation: none;
    overflow-x: auto;
  }

  .iei-partners__marquee {
    overflow-x: auto;
  }
}

/* GALLERY */
.iei-gallery {
  background: var(--cream);
}

.iei-gallery h2 {
  margin-bottom: 34px;
}

.iei-gallery__grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 16px;
}

.iei-gallery__tile {
  position: relative;
  min-height: 430px;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--charcoal-dark);
  border: 1px solid rgba(53, 53, 53, 0.08);
  isolation: isolate;
}

.iei-gallery__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, filter 0.65s ease;
  z-index: -2;
}

.iei-gallery__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(38, 38, 38, 0.06) 0%, rgba(38, 38, 38, 0.28) 42%, rgba(38, 38, 38, 0.82) 100%),
    linear-gradient(90deg, rgba(38, 38, 38, 0.25), rgba(38, 38, 38, 0));
  z-index: -1;
}

.iei-gallery__tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.iei-gallery__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 86px);
  padding: 7px 10px;
  border: 1px solid rgba(67, 170, 139, 0.75);
  border-radius: 999px;
  background: rgba(38, 38, 38, 0.38);
  color: var(--primary);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.iei-gallery__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(252, 252, 252, 0.92);
  color: var(--charcoal-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease;
}

.iei-gallery__arrow:hover {
  transform: translate(2px, -2px);
  background: var(--primary);
}

.iei-gallery__tile figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fcfcfc;
}

.iei-gallery__tile figcaption strong {
  display: block;
  max-width: 280px;
  font-weight: 700;
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 0.98;
  margin-bottom: 10px;
}

.iei-gallery__tile figcaption small {
  display: block;
  max-width: 280px;
  min-height: 42px;
  color: rgba(244, 241, 234, 0.82);
  font-size: 12px;
  line-height: 1.32;
  margin-bottom: 14px;
}

.iei-gallery__tile figcaption a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: rgba(252, 252, 252, 0.94);
  color: var(--charcoal-dark);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.iei-gallery__tile figcaption a span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 1040px) {
  .iei-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iei-gallery__tile {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .iei-gallery__grid {
    grid-template-columns: 1fr;
  }

  .iei-gallery__tile {
    min-height: 410px;
    border-radius: 18px;
  }

  .iei-gallery__tile figcaption strong {
    font-size: clamp(28px, 10vw, 38px);
  }
}

@media (max-width: 400px) {
  .iei-gallery__tile {
    min-height: 380px;
  }

  .iei-gallery__tag {
    font-size: 9px;
  }
}

/* INSTAGRAM */
.iei-instagram {
  background: var(--cream-alt);
}

.iei-instagram__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.iei-instagram__intro {
  align-self: center;
}

.iei-instagram__dot {
  position: relative;
  padding-left: 16px;
}

.iei-instagram__dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seagrass);
}

.iei-instagram__intro h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 10px;
  line-height: 1.06;
}

.iei-instagram__paragraph {
  max-width: 320px;
  margin: 16px 0 22px;
}

.iei-instagram__follow {
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.iei-instagram__post {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(53, 53, 53, 0.08);
}

.iei-instagram__post iframe,
.iei-instagram__post .instagram-media {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .iei-instagram__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iei-instagram__intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .iei-instagram__grid {
    grid-template-columns: 1fr;
  }
}

/* INVOLVE */
.iei-involve {
  background: var(--charcoal-dark);
  position: relative;
  overflow: hidden;
}

.iei-involve__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 36px;
  position: relative;
  z-index: 2;
}

.iei-involve__inner p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-dark);
  max-width: 520px;
  margin: 16px 0 32px;
}

/* VOLUNTEER PAGE */
.iei-volunteer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 36px 104px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.iei-volunteer__intro {
  position: sticky;
  top: 96px;
}

.iei-volunteer__intro h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--ink);
}

.iei-volunteer__intro h1 .iei-brush {
  font-size: 1.2em;
}

.iei-volunteer__intro p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.iei-volunteer__form {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(53, 53, 53, 0.1);
  border-radius: 8px;
  background: var(--cream-alt);
}

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

.iei-volunteer__form label,
.iei-volunteer__form legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
}

.iei-volunteer__form label {
  display: grid;
  gap: 8px;
}

.iei-volunteer__form input,
.iei-volunteer__form select,
.iei-volunteer__form textarea {
  width: 100%;
  border: 1px solid rgba(53, 53, 53, 0.16);
  border-radius: 6px;
  background: rgba(252, 252, 252, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 12px 13px;
}

.iei-volunteer__form textarea {
  resize: vertical;
  min-height: 120px;
}

.iei-volunteer__form input:focus,
.iei-volunteer__form select:focus,
.iei-volunteer__form textarea:focus {
  outline: 3px solid rgba(67, 170, 139, 0.32);
  border-color: var(--primary-text);
}

.iei-volunteer__form fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(53, 53, 53, 0.12);
  border-radius: 8px;
}

.iei-volunteer__form legend {
  padding: 0 8px;
}

.iei-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 8px;
}

.iei-check-grid label,
.iei-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.iei-check-grid input,
.iei-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--primary);
}

.iei-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.iei-form-actions button {
  border: 0;
  cursor: pointer;
}

.iei-form-note {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .iei-volunteer {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .iei-volunteer__intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .iei-volunteer {
    padding: 46px 22px 76px;
  }

  .iei-volunteer__form {
    padding: 20px;
  }

  .iei-form-grid,
  .iei-check-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT PAGE */
.iei-contact {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 36px 104px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.iei-contact__intro {
  position: sticky;
  top: 96px;
}

.iei-contact__intro h1 {
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--ink);
}

.iei-contact__intro p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.iei-contact__details-heading {
  display: block;
  margin: 40px 0 14px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--secondary-text);
  text-transform: uppercase;
}

.iei-contact__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.iei-contact__details-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.iei-contact__details-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--seagrass-tint);
  color: var(--primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.iei-contact__details-icon svg {
  width: 18px;
  height: 18px;
}

.iei-contact__details-value {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.iei-contact__form {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(53, 53, 53, 0.1);
  border-radius: 8px;
  background: var(--cream-alt);
}

.iei-contact__form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
}

.iei-contact__form input,
.iei-contact__form textarea {
  width: 100%;
  border: 1px solid rgba(53, 53, 53, 0.16);
  border-radius: 6px;
  background: rgba(252, 252, 252, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 12px 13px;
}

.iei-contact__form textarea {
  resize: vertical;
  min-height: 140px;
}

.iei-contact__form input:focus,
.iei-contact__form textarea:focus {
  outline: 3px solid rgba(67, 170, 139, 0.32);
  border-color: var(--primary-text);
}

.iei-contact__form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.iei-contact__form-actions button {
  border: 0;
  cursor: pointer;
}

.iei-contact__alert {
  margin: 0;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.iei-contact__alert--success {
  background: var(--seagrass-tint);
  color: var(--primary-text);
  border: 1px solid rgba(67, 170, 139, 0.35);
}

.iei-contact__alert--error {
  background: #fdeae2;
  color: #b3390f;
  border: 1px solid rgba(236, 78, 32, 0.35);
}

@media (max-width: 860px) {
  .iei-contact {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .iei-contact__intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .iei-contact {
    padding: 46px 22px 76px;
  }

  .iei-contact__form {
    padding: 20px;
  }
}

/* FOOTER */
.iei-footer {
  background: var(--charcoal-dark);
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}

.iei-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 36px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.iei-footer__col {
  min-width: 0;
}

.iei-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.iei-footer__brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.iei-footer__brand span {
  font-weight: 700;
  font-size: 15px;
  color: #fcfcfc;
}

.iei-footer__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #b8b8b8;
  margin: 0 0 22px;
  max-width: 360px;
}

.iei-footer__subscribe {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}

.iei-footer__subscribe input {
  border: 1px solid rgba(244, 241, 234, 0.18);
  background: rgba(252, 252, 252, 0.04);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: #fcfcfc;
  font-family: inherit;
}

.iei-footer__subscribe input::placeholder {
  color: #8a8a8a;
}

.iei-footer__subscribe input:focus {
  outline: none;
  border-color: var(--primary);
}

.iei-footer__subscribe button {
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #fcfcfc;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.iei-footer__subscribe button:hover {
  background: var(--primary-dark);
}

.iei-footer__heading {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 18px;
}

.iei-footer__heading--social {
  margin-top: 28px;
}

.iei-footer__links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.iei-footer__links a {
  font-size: 13.5px;
  color: #c9c9c9;
  text-decoration: none;
}

.iei-footer__links a:hover {
  color: #fcfcfc;
}

.iei-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iei-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #c9c9c9;
  line-height: 1.5;
}

.iei-footer__contact a {
  color: #c9c9c9;
  text-decoration: none;
}

.iei-footer__contact a:hover {
  color: #fcfcfc;
}

.iei-footer__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 1px;
}

.iei-footer__icon svg {
  width: 100%;
  height: 100%;
}

.iei-footer__social {
  display: flex;
  gap: 10px;
}

.iei-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(252, 252, 252, 0.06);
  color: #fcfcfc;
}

.iei-footer__social a svg {
  width: 16px;
  height: 16px;
}

.iei-footer__social a:hover {
  background: var(--primary);
}

.iei-footer__bottom {
  border-top: 1px solid rgba(244, 241, 234, 0.1);
  padding: 18px 36px;
}

.iei-footer__copy {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 10.5px;
  color: rgba(252, 252, 252, 0.35);
}

@media (max-width: 860px) {
  .iei-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px 32px;
  }

  .iei-footer__bottom {
    padding: 16px 24px;
  }
}

.footer-credit {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
