.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(640px, 88vh, 820px);
  padding: calc(var(--header-height) + 36px) 0 56px;
  overflow: hidden;
}

.banner-viewport,
.banner-shade {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.banner-slide.is-active {
  opacity: 1;
}

.banner-episnow { object-position: 72% 28%; }
.banner-exosomes { object-position: 68% center; }
.banner-safflower { object-position: 78% center; }
.banner-shore { object-position: 64% 42%; }
.banner-lab { object-position: 72% 62%; }

.banner-shade {
  background:
    linear-gradient(to bottom, rgba(247, 247, 242, 0.45), rgba(247, 247, 242, 0) 110px),
    linear-gradient(to right, rgba(247, 247, 242, 0.94) 0%, rgba(247, 247, 242, 0.82) 16%, rgba(247, 247, 242, 0.28) 32%, rgba(247, 247, 242, 0) 46%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - (var(--gutter) * 2)));
  margin-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  margin-right: auto;
}

.hero-copy h1 {
  max-width: 11em;
}

.hero-copy .lede {
  margin-top: 1.15rem;
  max-width: 38ch;
}

.hero-actions,
.banner-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 1.75rem;
}

.banner-controls {
  margin-top: 1.5rem;
}

.banner-arrow,
.banner-dot {
  border: 0;
  cursor: pointer;
}

.banner-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(247, 247, 242, 0.78);
  color: var(--forest);
}

.banner-arrow span {
  display: block;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.banner-arrow[data-banner="next"] span {
  transform: rotate(-135deg);
}

.banner-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  background: rgba(23, 61, 53, 0.35);
}

.banner-dot[aria-selected="true"] {
  background: var(--forest);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.about-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--sage);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}

.directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.directions p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(32px, 4vw, 48px);
}

.ingredient-card .eyebrow,
.insight-card .eyebrow {
  margin-top: 0.95rem;
  margin-bottom: 0;
}

.insight-feature .eyebrow {
  margin-bottom: 0.4rem;
}

.ingredient-card h2,
.ingredient-card h3,
.insight-card h2,
.insight-card h3,
.insight-feature h2,
.insight-feature h3,
.science-block h2 {
  margin-top: 0.95rem;
  font-size: 1.28rem;
  letter-spacing: -0.015em;
  max-width: none;
}

.about-copy .btn {
  margin-top: 1.5rem;
}

.ingredient-card p,
.insight-card p,
.insight-feature p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.card-media,
.insight-media,
.insight-feature-media,
.science-photo,
.formulation-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
}

.card-media {
  aspect-ratio: 4 / 3;
}

.about-media,
.card-media,
.insight-media,
.insight-feature-media,
.science-photo,
.formulation-media {
  position: relative;
}

.about-media img,
.card-media img,
.insight-media img,
.insight-feature-media img,
.science-photo img,
.formulation-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-aloha {
  object-position: 72% 22%;
}

.media-episnow {
  object-position: center 32%;
}

.media-exosomes {
  object-position: 30% 50%;
}

.section-head {
  max-width: 40rem;
}

.science-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px 48px;
  align-items: start;
}

.science-photo {
  aspect-ratio: 4 / 5;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.science-photo img {
  object-position: 74% 48%;
}

.science-block h2 + p,
.science-block h3 + p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.science-block-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  grid-column: 1 / -1;
  margin-top: 8px;
}

.formulation-media {
  aspect-ratio: 3 / 2;
}

.formulation-media img {
  object-position: center 62%;
}

.science-block .btn {
  margin-top: 1.15rem;
}

.application-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.85rem;
  color: var(--forest);
  font-weight: 600;
  text-align: center;
  border-left: 1px solid var(--line);
}

.application-list li:first-child {
  border-left: 0;
}

.application-list a {
  color: inherit;
  text-decoration: none;
}

.application-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.insight-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
}

.insight-feature-media {
  aspect-ratio: 3 / 2;
}

.insight-feature-media img {
  object-position: center;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.insight-media {
  aspect-ratio: 16 / 10;
}

.media-hair {
  object-position: center 18%;
}

.media-moss {
  object-position: center 60%;
}

.media-glucan {
  object-position: center;
}

.trends {
  background: #fff;
  text-align: center;
}

.trends-mark {
  display: flex;
  justify-content: center;
}

.trends-mark span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid #c4b48a;
  border-radius: 50%;
  color: #c4b48a;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.trend-stage {
  position: relative;
  width: min(920px, 100%);
  margin: 1.15rem auto 0;
}

.trend-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(430px, 84%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e8e8e8;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.trends-title {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0 auto;
  color: #c4b48a;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-wrap: wrap;
}

.trend-cloud {
  position: relative;
  z-index: 1;
  margin: 0.15rem auto 0;
}

.trend-words {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  padding: 1.6rem 0 1.1rem;
}

.trend-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.2rem 1.65rem;
  line-height: 1.15;
  text-align: center;
}

.trend-words a {
  color: #1c1c1c;
  font-weight: 400;
  text-decoration: none;
}

.trend-words a:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.s-xl { font-size: clamp(1.9rem, 3.3vw, 2.9rem); }
.s-lg { font-size: clamp(1.5rem, 2.45vw, 2.15rem); }
.s-md { font-size: clamp(1.15rem, 1.85vw, 1.65rem); }
.s-sm { font-size: clamp(0.95rem, 1.35vw, 1.2rem); }
.s-xs { font-size: clamp(0.8rem, 1.05vw, 0.98rem); }

.trends-action {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-top: 6.25rem;
}

.trends-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  background: #b7a56a;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.trends-button:hover {
  background: #a39458;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-points li {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-weight: 600;
}

.contact-points span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-details {
  margin-top: 1.5rem;
}

.contact-details p {
  margin-top: 0.15rem;
}

.contact-details .contact-name {
  margin-bottom: 0.45rem;
  color: var(--forest);
  font-weight: 700;
}

.contact-details a {
  color: var(--forest);
}

.company-address {
  margin-top: 1.25rem;
  color: var(--forest);
  font-style: normal;
  line-height: 1.7;
}

.contact-form {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.subpage {
  padding-top: calc(var(--header-height) + 28px);
}

.subpage > .section:first-child {
  padding-top: 20px;
}

@media (max-width: 1040px) {
  .about-grid,
  .science-layout,
  .science-block-split,
  .insight-feature,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .banner-shade {
    background: linear-gradient(to right, rgba(247, 247, 242, 0.94) 0%, rgba(247, 247, 242, 0.78) 46%, rgba(247, 247, 242, 0.08) 72%, rgba(247, 247, 242, 0) 84%);
  }

  .hero-copy {
    width: min(420px, calc(100% - (var(--gutter) * 2)));
  }

  .science-photo {
    aspect-ratio: 16 / 10;
  }

  .science-photo img {
    object-position: 72% center;
  }

  .about-copy {
    order: 1;
  }

  .about-media {
    order: 2;
  }

  .science-photo,
  .science-block-split {
    grid-column: auto;
    grid-row: auto;
  }

  .ingredient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .trends-title {
    white-space: nowrap;
  }
}

@media (max-width: 800px) {
  .directions,
  .application-list,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .trend-row {
    gap: 0.15rem 0.85rem;
  }

  .trend-stage::before {
    width: min(380px, 92%);
  }

  .application-list li {
    justify-content: flex-start;
    text-align: left;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .application-list li:first-child {
    border-top: 0;
  }

  .insight-card {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .insight-card h2,
  .insight-card h3,
  .insight-card p {
    margin-top: 0.35rem;
  }
}

.about-story {
  background: #fff;
  color: #1c1c1c;
}

.about-story h1,
.about-story h2,
.about-story h3 {
  color: #1a1a1a;
  font-weight: 500;
}

.about-intro h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.about-motto {
  margin-top: 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: #333;
}

.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}

.about-jump a {
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-jump a:hover,
.about-jump a:focus-visible {
  text-decoration: underline;
}

.about-feature,
.about-inline,
.story-unit figure,
.tech-grid figure {
  margin-top: 1.75rem;
}

.about-feature img,
.about-inline img,
.story-unit img,
.tech-grid img {
  width: 100%;
  height: auto;
}

.about-lead {
  max-width: 46rem;
  margin: 1.5rem auto 0;
  text-align: center;
}

.about-block {
  padding: clamp(48px, 7vw, 88px) 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.about-block h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.about-block h3 {
  margin-top: 1.75rem;
  font-size: 1.2rem;
}

.about-block p,
.about-block address {
  margin-top: 0.9rem;
}

.about-block .btn {
  margin-top: 1.4rem;
}

.container.narrow {
  max-width: 760px;
}

.container.story-width {
  max-width: 920px;
}

.about-office-name {
  font-weight: 700;
  color: var(--forest);
}

.about-story .company-address {
  font-style: normal;
  line-height: 1.7;
}

.story-unit + .story-unit {
  margin-top: clamp(40px, 6vw, 72px);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 1.5rem;
}

.tech-grid h3,
.tech-grid p,
.tech-grid a {
  margin-top: 0.7rem;
}

.tech-grid a {
  display: inline-block;
  color: var(--forest);
  font-weight: 700;
}

.about-kicker {
  font-weight: 700;
  color: var(--forest);
}

.tech-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.tech-list li + li {
  margin-top: 0.35rem;
}

@media (max-width: 800px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .ingredient-grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    grid-template-columns: 1fr;
  }
}
