.kind-home-frame {
  --kind-black: #050505;
  --kind-blue: #0094e3;
  --kind-red: #ea212e;
  --kind-yellow: #f7d117;
  --kind-cream: #fffaf0;
  --kind-line: rgba(5, 5, 5, 0.16);
  --kind-page: 1320px;
  width: 100%;
  max-width: 100%;
  overflow: clip;
  color: var(--kind-black);
  background: #fff;
  font-family: "Helvetica Neue", "Neue Haas Grotesk Text Pro", sans-serif;
}

.kind-home-frame *,
.kind-home-frame *::before,
.kind-home-frame *::after {
  box-sizing: border-box;
}

.kind-home-frame img,
.kind-home-frame picture,
.kind-home-frame svg {
  display: block;
  max-width: 100%;
}

.kind-home-frame img {
  height: auto;
}

.kind-home-page {
  width: min(var(--kind-page), calc(100% - 64px));
  margin-inline: auto;
}

.kind-home-button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid var(--kind-black);
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--kind-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.kind-home-button:hover {
  color: var(--kind-black);
  background: #fff;
}

.kind-home-button:focus-visible,
.kind-home-product__link:focus-visible,
.kind-home-story__link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.kind-home-hero {
  position: relative;
  min-height: 360px;
  background: var(--kind-hero-background, var(--kind-blue));
}

.kind-home-hero__picture,
.kind-home-hero__picture img {
  width: 100%;
}

.kind-home-hero__picture img {
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: center;
}

.kind-home-hero__content {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.kind-home-hero__copy {
  width: min(46%, 580px);
  color: #fff;
  pointer-events: auto;
}

.kind-home-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
}

.kind-home-hero__heading {
  display: grid;
  width: fit-content;
  margin: 0;
  font-size: clamp(62px, 7.7vw, 112px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.79;
  text-transform: uppercase;
}

.kind-home-hero__heading span:last-child {
  margin-top: 0.14em;
}

.kind-home-hero__description {
  max-width: 430px;
  margin: 28px 0 0;
  font-size: clamp(16px, 1.55vw, 23px);
  font-weight: 700;
  line-height: 1.25;
}

.kind-home-hero__button {
  margin-top: 28px;
}

.kind-home-products {
  padding: 68px 0 74px;
  background: #fff;
}

.kind-home-products__header {
  display: flex;
  margin-bottom: 34px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.kind-home-products__heading,
.kind-home-story__heading {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.kind-home-products__view-all {
  flex: 0 0 auto;
  color: var(--kind-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.kind-home-products__rail {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.kind-home-product {
  min-width: 0;
}

.kind-home-product__link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
  grid-template-rows: auto 1fr;
}

.kind-home-product__media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  place-items: center;
  background: var(--kind-yellow);
}

.kind-home-product:nth-child(3n + 2) .kind-home-product__media {
  background: var(--kind-blue);
}

.kind-home-product:nth-child(3n) .kind-home-product__media {
  background: var(--kind-red);
}

.kind-home-product__media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.16));
  transition: transform 300ms ease;
}

.kind-home-product__link:hover .kind-home-product__media img {
  transform: rotate(-2deg) scale(1.04);
}

.kind-home-product__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  align-items: center;
  color: #fff;
  background: var(--kind-black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.kind-home-product__content {
  display: grid;
  padding: 17px 5px 0;
  align-content: start;
}

.kind-home-product__title {
  min-height: 44px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.kind-home-product__price {
  display: flex;
  margin: 8px 0 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.kind-home-product__price s {
  color: #686868;
  font-size: 12px;
  font-weight: 500;
}

.kind-home-products__empty {
  margin: 0;
  padding: 36px;
  border: 1px solid var(--kind-line);
  font-size: 16px;
  text-align: center;
}

.kind-home-campaign {
  background: var(--kind-campaign-background, var(--kind-red));
}

.kind-home-campaign__inner {
  display: grid;
  min-height: 550px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.kind-home-campaign__media {
  display: grid;
  min-width: 0;
  padding: clamp(30px, 5vw, 78px);
  place-items: center;
}

.kind-home-campaign__media img {
  width: min(100%, 600px);
  height: min(440px, 36vw);
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.2));
}

.kind-home-campaign__copy {
  display: flex;
  min-width: 0;
  padding: clamp(44px, 6vw, 92px);
  justify-content: center;
  flex-direction: column;
  color: #fff;
}

.kind-home-campaign__eyebrow {
  margin: 0 0 17px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kind-home-campaign__heading {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 4.3vw, 65px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.kind-home-campaign__description {
  max-width: 570px;
  margin: 23px 0 0;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}

.kind-home-campaign__product-title {
  margin: 25px 0 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.kind-home-campaign__price {
  display: flex;
  margin: 8px 0 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 12px;
  font-size: 18px;
  font-weight: 900;
}

.kind-home-campaign__price s {
  opacity: 0.75;
  font-size: 14px;
  font-weight: 600;
}

.kind-home-campaign__button {
  width: fit-content;
  margin-top: 28px;
}

.kind-home-story {
  padding: 82px 0 92px;
  background: #fff;
}

.kind-home-story__heading {
  margin-bottom: 42px;
  text-align: center;
}

.kind-home-story__grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
}

.kind-home-story__card {
  display: grid;
  min-width: 0;
  align-content: start;
}

.kind-home-story__media {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--kind-cream);
}

.kind-home-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.kind-home-story__card:hover .kind-home-story__media img {
  transform: scale(1.025);
}

.kind-home-story__content {
  display: grid;
  padding: 24px 6px 0;
  justify-items: start;
}

.kind-home-story__title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.kind-home-story__body {
  max-width: 360px;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.kind-home-story__link {
  margin-top: 22px;
}

@media (max-width: 989px) {
  .kind-home-page {
    width: min(var(--kind-page), calc(100% - 40px));
  }

  .kind-home-products__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kind-home-campaign__inner {
    min-height: 480px;
  }

  .kind-home-story__grid {
    gap: 18px;
  }
}

@media (max-width: 749px) {
  .kind-home-page {
    width: calc(100% - 36px);
  }

  .kind-home-hero {
    display: grid;
    min-height: 0;
  }

  .kind-home-hero__picture img {
    aspect-ratio: 750 / 312;
  }

  .kind-home-hero__content {
    position: static;
    display: block;
    padding: 27px 0 25px;
    text-align: center;
    pointer-events: auto;
  }

  .kind-home-hero__copy {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
  }

  .kind-home-hero__eyebrow {
    display: none;
  }

  .kind-home-hero__heading {
    font-size: clamp(46px, 13.6vw, 56px);
    letter-spacing: -0.065em;
    line-height: 0.9;
  }

  .kind-home-hero__heading span:last-child {
    margin-top: 0.08em;
  }

  .kind-home-hero__description {
    max-width: 350px;
    margin: 23px auto 0;
    font-size: clamp(16px, 4.6vw, 19px);
    line-height: 1.25;
  }

  .kind-home-hero__button {
    min-height: 38px;
    margin-top: 14px;
    padding: 9px 15px;
    font-size: 10px;
  }

  .kind-home-products {
    padding: 44px 0 50px;
  }

  .kind-home-products__header {
    margin-bottom: 25px;
    align-items: center;
  }

  .kind-home-products__heading,
  .kind-home-story__heading {
    font-size: 36px;
  }

  .kind-home-products__view-all {
    font-size: 11px;
  }

  .kind-home-products__rail {
    width: calc(100% + 18px);
    overflow-x: auto;
    padding: 0 18px 15px 0;
    grid-auto-columns: min(82vw, 328px);
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 14px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0 18px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .kind-home-products__rail::-webkit-scrollbar {
    display: none;
  }

  .kind-home-product {
    scroll-snap-align: start;
  }

  .kind-home-product__media {
    border-radius: 24px;
  }

  .kind-home-product__media img {
    width: 78%;
    height: 78%;
  }

  .kind-home-product__content {
    padding-inline: 2px;
  }

  .kind-home-product__title {
    min-height: 0;
    font-size: 17px;
  }

  .kind-home-product__price {
    font-size: 16px;
  }

  .kind-home-campaign__inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .kind-home-campaign__media {
    min-height: 330px;
    padding: 36px 26px 10px;
  }

  .kind-home-campaign__media img {
    width: min(100%, 350px);
    height: 300px;
  }

  .kind-home-campaign__copy {
    padding: 30px 22px 50px;
  }

  .kind-home-campaign__heading {
    font-size: 40px;
  }

  .kind-home-campaign__description {
    margin-top: 18px;
    font-size: 17px;
  }

  .kind-home-story {
    padding: 54px 0 62px;
  }

  .kind-home-story__heading {
    margin-bottom: 30px;
  }

  .kind-home-story__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .kind-home-story__content {
    padding: 20px 2px 0;
  }

  .kind-home-story__title {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .kind-home-hero__heading {
    font-size: clamp(46px, 13.6vw, 53px);
  }

  .kind-home-hero__description {
    max-width: 350px;
    font-size: clamp(16px, 4.6vw, 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kind-home-button,
  .kind-home-product__media img,
  .kind-home-story__media img {
    transition: none;
  }
}
