.home-page {
  background-color: var(--l);
  color: var(--d);
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--l);
  color: var(--l);
  text-align: center;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-color: rgba(51, 51, 51, 0.18);
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.08);
}

.hero .hero-header {
  position: relative;
  z-index: 1;
  width: min(100%, 1900px);
  padding: 0 1rem;
}

.hero h1 {
  max-width: 11ch;
  margin: 0 auto;
  font-size: clamp(6rem, 21vw, 25rem);
  font-weight: 400;
  line-height: 1;
  white-space: normal;
  overflow-wrap: normal;
  color: var(--l);
  mix-blend-mode: difference;
}

.home-intro {
  padding: 7rem 0 8rem;
}

.home-intro .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.62fr);
  gap: clamp(2rem, 7vw, 9rem);
  align-items: center;
}

.hero-impact {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  margin-top: 0;
  text-align: left;
}

.hero-impact h2 {
  max-width: 62rem;
  font-family: var(--f-sans);
  font-size: clamp(36px, 5.5vw, 96px);
  font-weight: 500;
  line-height: 0.88;
  text-transform: none;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-impact p {
  max-width: 34rem;
  font-family: var(--f-sans);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.08;
  text-transform: none;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  min-height: 2.85rem;
  border: 1px solid var(--d);
  border-radius: 7px;
  padding: 0.78rem 1.25rem;
  background-color: var(--d);
  font-family: var(--f-sans);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--l);
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.hero-actions a:hover {
  background-color: transparent;
  color: var(--d);
}

.intro-media {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  background-color: var(--d);
  color: var(--l);
  aspect-ratio: 3 / 4;
}

.intro-media img,
.intro-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.intro-media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.intro-media::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "PLAY";
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 600;
}

.home-products {
  padding: 7rem 0;
  background-color: var(--d);
  color: var(--l);
}

.section-label {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-label p,
.product-row-home span,
.product-row-home em,
.method-copy p,
.method-grid span,
.method-grid p,
.home-cta a {
  font-family: var(--f-sans);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.product-list {
  border-top: 1px solid currentColor;
}

.product-row-home {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(8rem, auto) 2.25rem;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
  align-items: center;
  min-height: clamp(4.75rem, 6.6vw, 7rem);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.product-row-home strong {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  font-family: var(--f-h);
  font-size: clamp(2.5rem, 5.6vw, 6.8rem);
  font-weight: 400;
  line-height: 0.78;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.product-row-home > span,
.product-row-home em {
  position: relative;
  z-index: 1;
}

.product-row-home em {
  justify-self: end;
  white-space: nowrap;
}

.product-row-index,
.product-row-arrow {
  font-family: var(--f-sans);
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  font-weight: 500;
  line-height: 1;
}

.product-row-arrow {
  justify-self: end;
  transition: transform 240ms ease;
}

.product-row-home:hover .product-row-arrow {
  transform: translateX(0.35rem);
}

.product-row-preview {
  display: none;
}

.product-hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20000;
  width: min(28rem, 30vw);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(calc(var(--x, 50vw) - 50%), calc(var(--y, 50vh) - 50%), 0)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    rotateZ(-7deg)
    scale(0.86);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.product-hover-preview.is-active {
  opacity: 1;
  transform:
    translate3d(calc(var(--x, 50vw) - 50%), calc(var(--y, 50vh) - 50%), 0)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    rotateZ(-7deg)
    scale(1);
}

.product-hover-preview img,
.product-hover-preview video,
.product-row-preview img,
.product-row-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.product-hover-preview img,
.product-hover-preview video {
  display: block;
  transform: scale(1.04);
}

.product-empty {
  border-bottom: 1px solid currentColor;
  padding: 2rem 0;
  font-family: var(--f-sans);
  font-size: clamp(1rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  text-transform: none;
}

.home-method {
  padding: 8rem 0;
}

.home-method .container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
}

.method-copy h2 {
  max-width: 14ch;
  margin-top: 1rem;
  font-family: var(--f-sans);
  font-size: clamp(2.4rem, 5.8vw, 6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: none;
}

.method-grid {
  display: grid;
  gap: 1px;
}

.method-grid article {
  display: grid;
  grid-template-columns: 4rem 0.8fr 1fr;
  gap: 2rem;
  border-top: 1px solid currentColor;
  padding: 1.4rem 0;
}

.method-grid article:last-child {
  border-bottom: 1px solid currentColor;
}

.method-grid h3 {
  font-family: var(--f-sans);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
}

.method-grid p {
  text-transform: none;
}

.home-cta {
  min-height: 80svh;
  display: flex;
  align-items: center;
  background-color: var(--d);
  color: var(--l);
  text-align: center;
}

.home-cta .container {
  display: grid;
  justify-items: center;
  gap: 2rem;
}

.home-cta h2 {
  max-width: 10ch;
  font-size: clamp(5rem, 18vw, 18rem);
  white-space: normal;
}

.home-cta a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0.9rem 1.4rem;
  background-color: var(--l);
  text-decoration: none;
  color: var(--d);
}

@media (max-width: 1000px) {
  .hero h1 {
    max-width: 6ch;
    font-size: clamp(4.6rem, 28vw, 9rem);
  }

  .site-nav {
    padding: 1.25rem;
  }

  .home-intro {
    padding: 5rem 0 6rem;
  }

  .home-intro .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-impact {
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  .hero-impact h2 {
    max-width: 36rem;
    font-size: clamp(34px, 13vw, 64px);
  }

  .hero-impact p {
    max-width: 22rem;
    font-size: 12px;
  }

  .home-method .container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .intro-media {
    min-height: 24rem;
    aspect-ratio: 1;
  }

  .home-products,
  .home-method {
    padding: 5rem 0;
  }

  .section-label,
  .product-row-home,
  .method-grid article {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .product-row-home {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    min-height: 0;
    padding: 1.5rem 0;
  }

  .product-row-home strong {
    grid-column: 1 / -1;
    font-size: clamp(2.8rem, 15vw, 5rem);
    white-space: normal;
    overflow-wrap: normal;
  }

  .product-row-home em {
    grid-column: 1 / 3;
    justify-self: start;
  }

  .product-row-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .product-row-preview {
    display: block;
    margin-top: 0.5rem;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 5;
  }

  .product-hover-preview {
    display: none;
  }
}
