:root {
  --products-olive: #789a3d;
  --products-forest: #174326;
  --products-cream: #fcf7eb;
  --products-support: #eee2c4;
  --products-sky: #accedc;
  --products-fruit: #9c2925;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: clip;
  background: var(--products-cream);
  color: var(--products-forest);
  font-family: "Manrope", sans-serif;
}

.products-shell {
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 12%, rgba(172, 206, 220, .35), transparent 28rem),
    var(--products-cream);
}

.products-header {
  position: relative;
  z-index: 10;
  width: min(1380px, calc(100% - 40px));
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 18px auto 0;
  padding: 9px 12px 9px 18px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: rgba(248, 251, 246, .63);
  box-shadow: 0 18px 48px rgba(23, 67, 38, .10);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
  backdrop-filter: blur(20px) saturate(132%);
}

.products-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--products-forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.products-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.products-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.products-header nav a,
.products-home {
  color: var(--products-forest);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.products-header nav a:hover,
.products-header nav a:focus-visible {
  color: var(--products-fruit);
}

.products-home {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--products-forest);
  color: var(--products-cream);
}

.products-hero {
  width: min(1380px, calc(100% - 64px));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .76fr);
  align-items: center;
  gap: clamp(54px, 7vw, 112px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 134px) 0 clamp(80px, 10vw, 150px);
}

.products-kicker {
  margin: 0;
  color: var(--products-fruit);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.products-hero h1,
.products-section-title h2,
.products-category h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 1;
  font-weight: 600;
}

.products-hero h1 {
  max-width: 740px;
  margin: 20px 0 28px;
  font-size: clamp(72px, 8.3vw, 124px);
  letter-spacing: -.055em;
  line-height: .88;
}

.products-hero h1 em {
  display: block;
  color: var(--products-olive);
}

.products-hero__copy > p:last-child {
  max-width: 610px;
  margin: 0;
  color: rgba(23, 67, 38, .72);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}

.products-hero__visual {
  position: relative;
  margin: 0;
}

.products-hero__visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
  border-radius: 46% 54% 28% 72% / 42% 34% 66% 58%;
  background: var(--products-olive);
}

.products-hero__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  display: block;
  object-fit: cover;
  border-radius: 38% 62% 25% 75% / 36% 32% 68% 64%;
  box-shadow: 0 32px 70px rgba(23, 67, 38, .18);
}

.products-hero__visual figcaption {
  position: absolute;
  z-index: 2;
  right: -16px;
  bottom: 28px;
  max-width: 230px;
  padding: 15px 19px;
  border-radius: 18px;
  background: var(--products-cream);
  color: var(--products-forest);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 38px rgba(23, 67, 38, .18);
}

.products-categories {
  padding: clamp(82px, 9vw, 136px) max(32px, calc((100% - 1380px) / 2));
  background: var(--products-forest);
  color: var(--products-cream);
}

.products-section-title {
  display: grid;
  grid-template-columns: .45fr 1fr;
  align-items: end;
  gap: 42px;
  margin-bottom: 58px;
}

.products-section-title h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 7vw, 104px);
  letter-spacing: -.05em;
  line-height: .94;
}

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

.products-category {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 30px 30px 86px 30px;
  color: var(--products-forest);
}

.products-category--forest {
  background: var(--products-olive);
  color: var(--products-cream);
}

.products-category--sky {
  background: var(--products-sky);
}

.products-category--support {
  background: var(--products-support);
}

.products-category__number {
  margin-left: auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: 38px;
  font-style: italic;
  opacity: .42;
}

.products-category > p:not(.products-category__description) {
  margin: auto 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.products-category h3 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(46px, 4vw, 66px);
  letter-spacing: -.045em;
  line-height: .95;
}

.products-category__description {
  max-width: 35ch;
  margin: 22px 0 28px;
  font-size: 16px;
  line-height: 1.55;
  opacity: .82;
}

.products-category a {
  width: fit-content;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid currentColor;
  border-radius: 17px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.products-category a:hover,
.products-category a:focus-visible {
  background: var(--products-cream);
  color: var(--products-forest);
}

.products-footer {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(32px, calc((100% - 1380px) / 2));
  background: var(--products-cream);
  color: var(--products-forest);
  font-size: 14px;
}

.products-footer a {
  color: inherit;
  font-weight: 600;
}

@media (max-width: 1050px) {
  .products-header nav {
    display: none;
  }

  .products-header {
    grid-template-columns: 1fr auto;
  }

  .products-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr);
  }

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

  .products-category {
    min-height: 390px;
  }
}

@media (max-width: 767px) {
  .products-header {
    width: calc(100% - 24px);
    min-height: 68px;
    margin-top: 10px;
    padding: 7px 8px 7px 12px;
  }

  .products-brand {
    gap: 6px;
    font-size: 17px;
  }

  .products-brand img {
    width: 48px;
    height: 48px;
  }

  .products-home {
    min-height: 46px;
    padding: 0 16px;
    font-size: 13px;
  }

  .products-hero {
    width: calc(100% - 40px);
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    padding: 68px 0 90px;
  }

  .products-hero h1 {
    margin-top: 16px;
    font-size: clamp(58px, 18vw, 82px);
  }

  .products-hero__copy > p:last-child {
    font-size: 17px;
  }

  .products-hero__visual {
    width: calc(100% - 14px);
  }

  .products-hero__visual figcaption {
    right: -14px;
    bottom: 22px;
    max-width: 200px;
  }

  .products-categories {
    padding: 80px 20px 92px;
  }

  .products-section-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 38px;
  }

  .products-section-title h2 {
    font-size: clamp(50px, 14vw, 70px);
  }

  .products-grid {
    gap: 14px;
  }

  .products-category {
    min-height: 390px;
    padding: 28px 24px;
    border-radius: 26px 26px 68px 26px;
  }

  .products-category h3 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .products-category a {
    width: 100%;
  }

  .products-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 20px;
  }
}

@media (max-width: 390px) {
  .products-brand span {
    display: none;
  }
}

/* Dark olive for text-bearing surfaces; the original olive stays in decorations. */
.products-hero h1 em { color: #526b3e; }
.products-category--forest { background: #526b3e; }
.products-category__description, .products-category__number { opacity: .95; }
.products-hero__copy > p:last-child { color: #174326; }
.products-shell :focus-visible { outline: 3px solid #174326; outline-offset: 4px; box-shadow: 0 0 0 3px #fcf7eb; }
.products-category--forest :focus-visible { outline-color: #fcf7eb; }
