@charset "UTF-8";

.home .yamm-main,
.yamm-route-home .yamm-main {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.yamm-home {
  background: #fff;
}

.yamm-home-hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.yamm-home-hero__media,
.yamm-home-hero__image,
.yamm-home-hero__poster,
.yamm-home-hero__video,
.yamm-home-hero__placeholder,
.yamm-home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.yamm-home-hero__image,
.yamm-home-hero__poster,
.yamm-home-hero__video {
  object-fit: cover;
  object-position: center;
}

.yamm-home-hero__poster {
  z-index: 1;
  opacity: 1;
  background: #111;
  transition: opacity 420ms cubic-bezier(.22, 1, .36, 1);
}

.yamm-home-hero__video {
  z-index: 0;
  opacity: 0;
  background: #111;
  transition: opacity 420ms cubic-bezier(.22, 1, .36, 1);
}

.yamm-home-hero.is-video-ready .yamm-home-hero__video {
  z-index: 1;
  opacity: 1;
}

.yamm-home-hero.is-video-ready .yamm-home-hero__poster {
  opacity: 0;
  pointer-events: none;
}

.yamm-home-hero__placeholder {
  background: linear-gradient(135deg, #2a241d, #8c6f49 48%, #1e211b);
}

.yamm-home-hero__shade {
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.30), rgba(0,0,0,.015) 52%, rgba(0,0,0,.10));
}

.yamm-home-hero__content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(64px, 8.5vh, 98px);
  width: min(92%, 820px);
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 1px 10px rgba(0,0,0,.34);
}

.yamm-home-hero__eyebrow {
  margin: 0 0 8px;
  font-family: var(--yamm-font-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.yamm-home-hero h1 {
  margin: 0;
  font-family: var(--yamm-font-ui);
  font-size: clamp(30px, 2.55vw, 42px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .005em;
}

.yamm-home-hero__content > a {
  display: inline-block;
  margin-top: 17px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
  font-family: var(--yamm-font-ui);
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 400;
  line-height: 1.2;
  text-underline-offset: 7px;
}

.yamm-home-hero__playback {
  position: absolute;
  z-index: 3;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(38px, calc(20px + env(safe-area-inset-bottom)));
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.yamm-home-hero__playback svg {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yamm-home-hero__playback[data-state="playing"] .yamm-home-hero__play-icon,
.yamm-home-hero__playback[data-state="paused"] .yamm-home-hero__pause-icon {
  display: none;
}

.yamm-home-hero__playback:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.yamm-home-essentials,
.yamm-home-collection,
.yamm-home-editorial {
  width: min(100%, 1536px);
  margin-inline: auto;
}

.yamm-home-essentials {
  padding: clamp(48px, 5vw, 72px) clamp(44px, 5.5vw, 86px) clamp(62px, 6.5vw, 92px);
}

.yamm-home-essentials > h2,
.yamm-home-collection__header h2,
.yamm-home-intro h2,
.yamm-home-editorial__copy h2 {
  font-family: var(--yamm-font-ui);
  font-weight: 400;
}

.yamm-home-essentials > h2 {
  margin: 0 0 clamp(34px, 3.5vw, 48px);
  text-align: center;
  font-size: clamp(27px, 2.25vw, 34px);
  line-height: 1.08;
}

.yamm-home-essentials__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 42px;
}

.yamm-home-category {
  color: #111;
  text-decoration: none;
  text-align: center;
}

.yamm-home-category__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f2f0eb;
}

.yamm-home-category__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.yamm-home-category > span {
  display: block;
  margin-top: 16px;
  font-family: var(--yamm-font-ui);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.2;
}

.yamm-home-banner {
  width: 100%;
  height: clamp(390px, 47vw, 740px);
  margin: 0;
  overflow: hidden;
  background: #eee9df;
}

.yamm-home-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yamm-home-collection {
  padding: clamp(50px, 5vw, 70px) clamp(44px, 5.5vw, 86px) clamp(54px, 5.5vw, 76px);
  text-align: center;
}

.yamm-home-collection__header p {
  margin: 0 0 12px;
  font-family: var(--yamm-font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.yamm-home-collection__header h2 {
  margin: 0 0 clamp(34px, 3.5vw, 48px);
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.08;
}

.yamm-home-collection__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.yamm-home-collection .yamm-product-card__media {
  aspect-ratio: 4 / 5;
}

.yamm-home-collection .yamm-product-card__body {
  min-height: 0;
  padding: 14px 2px 0;
  text-align: center;
}

.yamm-home-collection .yamm-product-card__inspiration,
.yamm-home-collection .yamm-product-card__price-row,
.yamm-home-collection .yamm-product-card__stock {
  display: none;
}

.yamm-home-collection .yamm-product-card__title {
  margin: 0;
  text-align: center;
  font-family: var(--yamm-font-ui);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.2;
}

.yamm-home-collection .yamm-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.yamm-home-collection__cta {
  min-width: 238px;
  min-height: 52px;
  margin-top: 46px;
  padding: 0 28px;
  border: 1px solid #000;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: var(--yamm-font-ui);
  font-size: 15px;
}

.yamm-home-collection__cta:hover {
  background: #171717;
  border-color: #171717;
}

.yamm-home-intro {
  width: min(100% - 40px, 760px);
  margin: clamp(42px, 4.5vw, 64px) auto 0;
  text-align: center;
}

.yamm-home-intro h2 {
  margin: 0 0 13px;
  font-size: clamp(25px, 2.1vw, 32px);
}

.yamm-home-intro p {
  margin: 0;
  font-family: var(--yamm-font-ui);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
}

.yamm-home-editorial {
  padding: clamp(54px, 5.5vw, 82px) clamp(44px, 5.5vw, 86px) clamp(78px, 8vw, 118px);
}

.yamm-home-editorial__viewport {
  width: 100%;
}

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

.yamm-home-editorial__card {
  min-width: 0;
  color: #111;
  text-decoration: none;
  text-align: center;
}

.yamm-home-editorial__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f2eee8;
}

.yamm-home-editorial__media img,
.yamm-home-editorial__placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.yamm-home-editorial__media img {
  object-fit: cover;
}

.yamm-home-editorial__placeholder {
  background: linear-gradient(135deg, #f4f1eb, #e7dfd3);
}


.yamm-home-editorial__copy {
  padding: 16px 4px 0;
  text-align: center;
}

.yamm-home-editorial__copy p {
  margin: 0 0 7px;
  color: rgba(0, 0, 0, .48);
  font-family: var(--yamm-font-body);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.yamm-home-editorial__copy h2 {
  margin: 0;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.15;
}

.yamm-home-editorial__copy > span {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-family: var(--yamm-font-ui);
  font-size: 12px;
}

.yamm-home-editorial__pagination {
  display: none;
}

@media (max-width: 980px) {
  .yamm-home-hero {
    height: 90svh;
    min-height: 680px;
  }

  .yamm-home-essentials__grid,
  .yamm-home-collection__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yamm-home-editorial {
    width: 100%;
    max-width: none;
    padding-inline: 0;
    overflow: hidden;
  }

  .yamm-home-editorial__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(24px, 6vw, 44px);
  }

  .yamm-home-editorial__viewport::-webkit-scrollbar {
    display: none;
  }

  .yamm-home-editorial__grid {
    width: max-content;
    padding-inline: clamp(24px, 6vw, 44px);
    display: flex;
    gap: 16px;
  }

  .yamm-home-editorial__card {
    flex: 0 0 min(78vw, 460px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .yamm-home-editorial__media {
    aspect-ratio: 4 / 5;
  }

  .yamm-home-editorial__pagination {
    min-height: 28px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .yamm-home-editorial__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 17, 17, .36);
    cursor: pointer;
    transition: width 220ms cubic-bezier(.22,1,.36,1), background-color 180ms ease;
  }

  .yamm-home-editorial__dot.is-active {
    width: 28px;
    background: #111;
  }

  .yamm-home-editorial__dot:focus-visible {
    outline: 1px solid #111;
    outline-offset: 4px;
  }
}

@media (max-width: 620px) {
  .yamm-home-hero {
    height: 88svh;
    min-height: 610px;
  }

  .yamm-home-hero__content {
    bottom: max(66px, calc(44px + env(safe-area-inset-bottom)));
  }

  .yamm-home-hero__playback {
    right: 16px;
    bottom: max(24px, calc(14px + env(safe-area-inset-bottom)));
  }

  .yamm-home-essentials,
  .yamm-home-collection {
    padding-inline: 24px;
  }

  .yamm-home-essentials {
    padding-top: 48px;
    padding-bottom: 62px;
  }

  .yamm-home-essentials > h2 {
    margin-bottom: 36px;
  }

  .yamm-home-essentials__grid,
  .yamm-home-collection__grid {
    column-gap: 14px;
    row-gap: 36px;
  }

  .yamm-home-category > span {
    margin-top: 11px;
    font-size: 15px;
    line-height: 1.28;
  }

  .yamm-home-collection {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .yamm-home-collection__header h2 {
    margin-bottom: 36px;
  }

  .yamm-home-collection__grid {
    gap: 14px;
    row-gap: 34px;
  }

  .yamm-home-collection .yamm-product-card__body {
    padding-top: 11px;
  }

  .yamm-home-collection__cta {
    margin-top: 40px;
  }

  .yamm-home-intro {
    width: min(100% - 48px, 760px);
    margin-top: 38px;
  }

  .yamm-home-editorial {
    padding-top: 52px;
    padding-bottom: 78px;
  }

  .yamm-home-editorial__viewport {
    scroll-padding-inline: 24px;
  }

  .yamm-home-editorial__grid {
    padding-inline: 24px;
    gap: 14px;
  }

  .yamm-home-editorial__card {
    flex-basis: min(78vw, 360px);
  }

  .yamm-home-editorial__copy {
    padding-top: 15px;
  }

  .yamm-home-editorial__copy h2 {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yamm-home-hero__poster,
  .yamm-home-hero__video {
    transition: none;
  }


  .yamm-home-category__media img,
  .yamm-home-editorial__media img,
  .yamm-home-editorial__dot {
    transition: none;
  }
}

/* Home imagery is direct-touch on every pointer type: no second hover state. */
body.yamm-route-home .yamm-product-card__image {
  transition: none;
}

body.yamm-route-home .yamm-product-card__image--hover {
  display: none;
}

body.yamm-route-home .yamm-product-card__link:hover .yamm-product-card__image--primary,
body.yamm-route-home .yamm-product-card__link:focus-visible .yamm-product-card__image--primary {
  opacity: 1;
  transform: none;
}

/* YAMM HOME — STATIC MEDIA ON HOVER */
.yamm-home .yamm-home-category img,
.yamm-home .yamm-home-banner img,
.yamm-home .yamm-home-editorial__media img,
.yamm-home .yamm-product-card__image {
  transform: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .yamm-home
  .yamm-product-card__link:hover
  .yamm-product-card__media.has-hover
  .yamm-product-card__image--primary,
  .yamm-home
  .yamm-product-card__link:focus-visible
  .yamm-product-card__media.has-hover
  .yamm-product-card__image--primary {
    opacity: 1 !important;
    transform: none !important;
  }

  .yamm-home
  .yamm-product-card__link:hover
  .yamm-product-card__image--hover,
  .yamm-home
  .yamm-product-card__link:focus-visible
  .yamm-product-card__image--hover {
    opacity: 0 !important;
    transform: none !important;
  }

  .yamm-home .yamm-home-category:hover img,
  .yamm-home .yamm-home-category:focus-visible img,
  .yamm-home .yamm-home-editorial__card:hover img,
  .yamm-home .yamm-home-editorial__card:focus-visible img {
    transform: none !important;
  }
}
