@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-sans: "Montserrat", Arial, sans-serif;
  --nav-height: 82px;
  --badge-height: 112px;
  --audience-height: 184px;
  --panel-tan: #ece5d3;
  --panel-divider: #cbbfa8;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: #262625;
  color: #ffffff;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

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

.site-shell {
  height: 100vh;
  height: 100svh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.site-shell > section {
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  grid-template-rows: var(--nav-height) minmax(0, 1fr) var(--audience-height);
}

.main-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 54px);
  background: #ba9e76;
  min-height: var(--nav-height);
  padding: 0 28px 0 56px;
}

.nav-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex: 1;
  gap: clamp(24px, 3vw, 54px);
  min-height: var(--nav-height);
  padding: 0;
}

.nav-group a {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-group .nav-link--muted {
  opacity: 0.42;
  pointer-events: none;
}

.nav-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 2px;
  width: 132px;
  height: var(--badge-height);
  margin-bottom: -30px;
  background: #f5efe2;
  color: #b59568;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
}

.nav-badge span {
  display: block;
  line-height: 1.05;
}

.nav-badge span:first-child {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.nav-badge span:not(:first-child) {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero__split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  min-height: 0;
  background: #4e342e;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 48px 72px 52px 56px;
  background-color: #4e342e;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./img/swirls.png") center / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4vw, 4.6rem);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero__accent {
  width: 80px;
  height: 4px;
  margin: 24px 0 20px;
  background: #ba9e76;
}

.hero__content p {
  max-width: 500px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.42;
  font-weight: 400;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 52px;
  padding: 14px 28px;
  background: #ba9e76;
  color: #201d1b;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero__media {
  position: absolute;
  inset: 0 0 0 46%;
  overflow: hidden;
  background: #e6e0d7;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__audiences {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--panel-divider);
  border-top: 1px solid var(--panel-divider);
}

.audience-card {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 30px 16px 26px;
  background: var(--panel-tan);
  color: #3f3935;
  text-align: center;
}

.audience-card + .audience-card {
  border-left: 1px solid var(--panel-divider);
}

.audience-card i {
  font-size: 30px;
}

.audience-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.audience-card--highlight {
  background: #ba9e76;
  color: #ffffff;
}

.mission {
  background: #fffbef;
  color: #c3a06f;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 56px 24px;
}

.mission__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1120px;
  min-height: calc(100vh - 112px);
  min-height: calc(100svh - 112px);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.mission h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.mission__text {
  width: min(980px, 100%);
  margin: clamp(44px, 6vh, 78px) auto 0;
  font-size: clamp(1.55rem, 2.25vw, 2.25rem);
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.mission__signature {
  margin: clamp(56px, 8vh, 96px) 0 0;
  color: #d1b189;
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
  line-height: 1.3;
  font-style: italic;
  font-weight: 400;
}

.impact-grid {
  position: relative;
  background: #3f2d28;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
}

.impact-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(63, 45, 40, 0.62), rgba(63, 45, 40, 0.62)),
    url("./img/swirls.png") center center / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.impact-grid__matrix {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  min-height: 100%;
}

.impact-tile {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  min-width: 0;
  min-height: 50%;
}

.impact-tile--content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  background: rgba(78, 52, 46, 0.9);
  border: 1px solid rgba(186, 158, 118, 0.16);
  color: #ffffff;
  text-align: center;
}

.impact-tile__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  opacity: 0.78;
}

.impact-tile--content h3 {
  margin: 0 0 14px;
  max-width: 11ch;
  font-size: clamp(1.4rem, 1.75vw, 1.95rem);
  line-height: 1.05;
  font-weight: 700;
}

.impact-tile--content p {
  margin: 0;
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.46;
  font-weight: 400;
}

.impact-tile--image {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.impact-tile--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(63, 45, 40, 0.22), rgba(63, 45, 40, 0.22));
}

@media (max-width: 1250px) {
  .mission__inner {
    min-height: calc(100vh - 104px);
    min-height: calc(100svh - 104px);
  }
}

@media (max-width: 1100px) {
  :root {
    --nav-height: auto;
    --audience-height: auto;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-badge {
    order: -1;
    margin: 0 0 16px;
  }

  .nav-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    min-height: auto;
    padding: 14px 0;
  }

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

  .hero__content {
    padding: 56px 32px;
  }

  .hero__media {
    position: relative;
    inset: auto;
    min-height: 460px;
  }

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

  .mission {
    min-height: auto;
    padding: 56px 24px 64px;
  }

  .mission__inner {
    display: flex;
    min-height: auto;
    padding: 0;
  }

  .mission__text {
    width: min(900px, 100%);
    margin-top: 34px;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.65;
  }

  .impact-tile {
    min-height: 50%;
  }

  .impact-tile--content {
    padding: 20px 18px;
  }

  .impact-tile--content h3 {
    font-size: clamp(1.18rem, 1.95vw, 1.5rem);
  }

  .impact-tile--content p {
    font-size: 0.88rem;
    line-height: 1.36;
  }
}

@media (max-height: 920px) and (min-width: 721px) {
  .mission {
    padding: 42px 24px 48px;
  }

  .mission__inner {
    min-height: calc(100vh - 90px);
    min-height: calc(100svh - 90px);
  }

  .mission h2 {
    font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  }

  .mission__text {
    margin-top: 30px;
    font-size: clamp(1.2rem, 1.8vw, 1.65rem);
    line-height: 1.58;
  }

  .mission__signature {
    margin-top: 40px;
    font-size: clamp(0.98rem, 1.25vw, 1.2rem);
  }

  .impact-tile--content {
    padding: 18px 16px;
  }

  .impact-tile__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
  }

  .impact-tile--content h3 {
    margin-bottom: 10px;
    font-size: clamp(1.08rem, 1.45vw, 1.42rem);
  }

  .impact-tile--content p {
    max-width: 23ch;
    font-size: 0.82rem;
    line-height: 1.3;
  }
}

@media (max-width: 720px) {
  .nav-group a {
    font-size: 14px;
  }

  .hero__content {
    padding: 42px 22px 48px;
  }

  .hero__content h1 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .hero__content p {
    font-size: 17px;
  }

  .hero__button {
    min-width: 100%;
  }

  .hero__media {
    min-height: 360px;
  }

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

  .audience-card {
    min-height: 144px;
  }

  .audience-card + .audience-card {
    border-left: 0;
    border-top: 1px solid var(--panel-divider);
  }

  .mission {
    min-height: auto;
    padding: 48px 18px 56px;
  }

  .mission__inner {
    display: flex;
    min-height: auto;
    padding: 0;
  }

  .mission h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .mission__text {
    margin-top: 26px;
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
    line-height: 1.58;
  }

  .mission__signature {
    margin-top: 34px;
    font-size: 1rem;
  }

  .impact-grid {
    height: auto;
    min-height: auto;
    min-height: auto;
    display: block;
    padding: 0;
    overflow: visible;
  }

  .impact-grid__matrix {
    height: auto;
    min-height: auto;
  }

  .impact-tile {
    width: 100%;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 260px;
  }

  .impact-tile--image {
    min-height: 260px;
  }

  .impact-tile--content {
    padding: 30px 22px;
  }

  .impact-tile__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
  }

  .impact-tile--content h3 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .impact-tile--content p {
    font-size: 0.98rem;
    line-height: 1.55;
  }
}

.services {
  position: relative;
  overflow: visible;
  background: #f3ecd8;
  color: #2f2b29;
  padding: 0 34px;
  scroll-snap-align: none;
}

.services__swirl {
  position: absolute;
  top: -12px;
  left: -26px;
  width: 540px;
  height: 260px;
  background:
    linear-gradient(rgba(243, 236, 216, 0.46), rgba(243, 236, 216, 0.46)),
    url("./img/swirls.png") top left / cover no-repeat;
  opacity: 0.48;
  pointer-events: none;
}

.services__inner {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
}

.services-panel {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.services-panel--intro {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.services-panel--educate::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: min(330px, 28vw);
  background: url("./img/item-1-bg.png") left top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.services-panel--workforce::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: min(330px, 28vw);
  background: url("./img/item-2-bg.png") left top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.services-panel--acceleration::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: min(330px, 28vw);
  background: url("./img/item-3-bg.png") left top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.services-panel--collaboration::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: min(330px, 28vw);
  background: url("./img/item-4-bg.png") left top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.services__intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 0 18px;
}

.services-panel--intro .service-row {
  align-self: start;
  padding-top: 72px;
}

.services__eyebrow {
  margin: 0 0 10px;
  color: #b48f5f;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.services__intro h2 {
  margin: 0;
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1.04;
  font-weight: 700;
  text-transform: uppercase;
}

.service-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
  min-height: 0;
  flex: 1;
}

.service-row + .service-row {
  margin-top: 0;
}

.service-row__media {
  position: relative;
  width: min(640px, 100%);
  aspect-ratio: 1774 / 1206;
  justify-self: start;
  overflow: visible;
}

.service-row__image {
  position: absolute;
  top: 0;
  left: -12.74%;
  display: block;
  width: 133.09%;
  max-width: none;
  height: auto;
}

.service-row__content {
  max-width: 430px;
  justify-self: start;
}

.service-row__content h3 {
  margin: 0 0 18px;
  color: #000000;
  font-size: clamp(1.9rem, 2.4vw, 2.7rem);
  line-height: 1.08;
  font-weight: 700;
}

.service-row__content p {
  margin: 0;
  color: #6a625c;
  font-size: 1.28rem;
  line-height: 1.72;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .services {
    padding: 72px 24px 84px;
  }

  .services__swirl {
    width: 420px;
    height: 220px;
  }

  .services-panel,
  .services-panel--intro {
    min-height: auto;
    display: block;
  }

  .services-panel--educate::before {
    left: calc(50% - 50vw);
    top: 0;
    bottom: 0;
    width: min(260px, 30vw);
  }

  .services-panel--workforce::before {
    left: calc(50% - 50vw);
    top: 0;
    bottom: 0;
    width: min(260px, 30vw);
  }

  .services-panel--acceleration::before {
    left: calc(50% - 50vw);
    top: 0;
    bottom: 0;
    width: min(260px, 30vw);
  }

  .services-panel--collaboration::before {
    left: calc(50% - 50vw);
    top: 0;
    bottom: 0;
    width: min(260px, 30vw);
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    display: grid;
  }

  .service-row + .service-row {
    margin-top: 68px;
  }

  .services__intro {
    padding: 0 0 42px;
  }

  .service-row__media,
  .service-row__content {
    max-width: 100%;
  }

  .service-row__media {
    width: min(640px, 100%);
    aspect-ratio: auto;
  }

  .service-row__image {
    position: static;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .services {
    padding: 56px 18px 64px;
  }

  .services-panel--educate::before {
    display: none;
  }

  .services-panel--workforce::before {
    display: none;
  }

  .services-panel--acceleration::before {
    display: none;
  }

  .services-panel--collaboration::before {
    display: none;
  }

  .services__intro {
    margin-bottom: 36px;
  }

  .services__eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.22em;
  }

  .services__intro h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .service-row__content h3 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .service-row__content p {
    font-size: 1.03rem;
    line-height: 1.65;
  }
}
