/* Home page: video hero, intro, 3D block host, photo slider, quality block */

.is-home main { overflow-x: clip; }

/* ------------------------------------------------------------- hero -- */
.hm-hero { position: relative; height: min(78vh, 760px); min-height: 420px; overflow: hidden; background: #0b0c0a; }
.hm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 10, .1) 40%, rgba(11, 12, 10, .65)); pointer-events: none; }
.hm-hero__side { position: absolute; z-index: 1; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 320px; }
.hm-hero__title { margin: 0; font: 400 clamp(40px, 5vw, 72px)/.95 var(--head); color: #fff; }
.hm-hero__btn { min-height: 46px; color: var(--lime); border-color: var(--lime); }
.hm-chip {
  position: absolute; z-index: 1; left: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(15, 16, 13, .82); border: 1px solid rgba(211, 244, 140, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.hm-chip:hover { border-color: var(--lime); transform: translateY(-2px); }
.hm-chip__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: #000; flex: none; }
.hm-chip b { display: block; font: 400 19px/1.1 var(--head); color: var(--lime); }
.hm-chip small { display: block; font-size: 12px; color: var(--soft); }
.hm-chip > svg { color: var(--lime); }

/* ------------------------------------------------------------ intro -- */
.hm-intro { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 32px; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(32px, 5vw, 64px); }
.hm-intro__title { font: 400 clamp(52px, 7.5vw, 110px)/.95 var(--head); color: #fff; }
.hm-intro__text { margin: 18px 0 0; font-size: clamp(17px, 1.7vw, 24px); color: var(--soft); }
.hm-intro__note { margin: 26px 0 0; padding-left: 16px; border-left: 2px solid var(--lime); max-width: 360px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------ 3D block host -- */
.hm-3d { position: relative; height: clamp(720px, 100vh, 940px); overflow: hidden; background: #111210 center / contain no-repeat; }
.hm-3d .um3d { position: absolute; inset: 0; width: 100%; height: 100%; }
/* desktop: the feature card sits above the "back to overview" button, never over it */
@media (min-width: 810px) {
  .hm-3d .um3d__card { top: auto; bottom: 140px; max-height: calc(100% - 212px); overflow-y: auto; scrollbar-width: thin; transform: translateY(18px); }
  .hm-3d .um3d.has-focus .um3d__card { transform: none; }
}

/* ----------------------------------------------------------- slider -- */
.hm-slider { position: relative; overflow: hidden; background: #0b0c0a; }
.hm-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hm-slider__track::-webkit-scrollbar { display: none; }
.hm-slider__track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1920 / 930; object-fit: cover; scroll-snap-align: start; }
.hm-slider__dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.hm-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer; }
.hm-slider__dots button[aria-current="true"] { background: var(--lime); }

/* ------------------------------------------------------- collection -- */
.is-home .umh { padding-top: clamp(56px, 8vw, 110px); }

/* ---------------------------------------------------------- quality -- */
.hm-quality { padding-top: clamp(72px, 10vw, 140px); }
.hm-quality__kicker { font-size: 18px; color: var(--muted); }
.hm-quality__title { margin: 12px 0 10px; font: 400 clamp(52px, 9vw, 128px)/.95 var(--head); color: #9c9c9c; }
.hm-quality__text { font-size: clamp(16px, 1.6vw, 22px); color: var(--soft); }
.hm-quality__btn { margin-top: 18px; min-height: 60px; padding: 0 40px; font-size: 18px; }

@media (max-width: 760px) {
  .hm-hero { height: 72vh; min-height: 460px; }
  .hm-hero::after { background: linear-gradient(180deg, rgba(11, 12, 10, 0) 35%, rgba(11, 12, 10, .8)); }
  .hm-hero__side { top: auto; bottom: 108px; left: var(--gutter); right: var(--gutter); transform: none; }
  .hm-chip { right: var(--gutter); bottom: 20px; }
  .hm-intro { grid-template-columns: 1fr; }
    .hm-3d { height: 100vh; height: 100svh; min-height: 640px; }
  .hm-slider__track img { aspect-ratio: 4 / 3; }
}
