.wm2-hero {
  --wm2-hero-content: var(--wm2-ink);
  --wm2-hero-content-muted: rgba(41, 37, 32, 0.76);
  --wm2-hero-control-muted: rgba(41, 37, 32, 0.34);
  --wm2-hero-link-line: rgba(41, 37, 32, 0.28);
  --wm2-hero-surface: #d8d1ca;
  --wm2-hero-placeholder-start: #b7aca2;
  --wm2-hero-placeholder-end: #ddd6ce;
  --wm2-hero-motion-fast: 180ms;
  position: relative;
  height: 337px;
  margin-top: calc(
    var(--wm2-header-top-gap) + env(safe-area-inset-top, 0px) + 78px
  );
  margin-bottom: 40px;
  overflow: hidden;
  color: var(--wm2-hero-content);
  background: var(--wm2-hero-surface);
  font-family: var(--wm2-font);
  font-synthesis: none;
}

.wm2-hero *,
.wm2-hero *::before,
.wm2-hero *::after {
  box-sizing: border-box;
}

.wm2-hero :where(ul, h1, p) {
  margin: 0;
  padding: 0;
}

.wm2-hero :where(ul) {
  list-style: none;
}

.wm2-hero :where(button) {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.wm2-hero__viewport,
.wm2-hero__track,
.wm2-hero__slide,
.wm2-hero__placeholder {
  width: 100%;
  height: 100%;
}

.wm2-hero__viewport {
  position: relative;
  z-index: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.wm2-hero__viewport::-webkit-scrollbar {
  display: none;
}

.wm2-hero__viewport:focus {
  outline: none;
}

.wm2-hero__viewport:focus-visible {
  outline: 2px solid var(--wm2-accent);
  outline-offset: -4px;
}

.wm2-hero__track {
  display: flex;
}

.wm2-hero__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.wm2-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.wm2-hero__placeholder {
  background: linear-gradient(
    135deg,
    var(--wm2-hero-placeholder-start),
    var(--wm2-hero-placeholder-end)
  );
}

.wm2-hero__inner {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  pointer-events: none;
}

.wm2-hero__text {
  position: absolute;
  top: 82px;
  left: 0;
  width: min(270px, 100%);
  pointer-events: auto;
}

.wm2-hero__title {
  max-width: 9ch;
  color: var(--wm2-hero-content);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.wm2-hero__subtitle {
  max-width: 25ch;
  margin-top: 14px;
  color: var(--wm2-hero-content-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  text-wrap: balance;
}

.wm2-hero__cta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 16px;
  gap: 10px;
  border-bottom: 1px solid var(--wm2-hero-link-line);
  color: var(--wm2-hero-content);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color var(--wm2-hero-motion-fast) ease,
    color var(--wm2-hero-motion-fast) ease;
  -webkit-tap-highlight-color: transparent;
}

.wm2-hero__cta-arrow {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--wm2-hero-motion-fast) ease;
}

.wm2-hero__cta-label--desktop {
  display: none;
}

.wm2-hero__cta:focus {
  outline: none;
}

.wm2-hero__cta:focus-visible,
.wm2-hero__arrow:focus-visible {
  outline: 2px solid var(--wm2-accent);
  outline-offset: 4px;
}

.wm2-hero__cta:active {
  color: var(--wm2-accent-hover);
}

.wm2-hero__controls {
  position: absolute;
  bottom: 16px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--wm2-hero-content);
  pointer-events: auto;
}

.wm2-hero__controls[hidden] {
  display: none;
}

.wm2-hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition:
    color var(--wm2-hero-motion-fast) ease,
    opacity var(--wm2-hero-motion-fast) ease;
}

.wm2-hero__arrow svg {
  display: block;
  width: 8px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wm2-hero__arrow:disabled {
  opacity: 0.34;
  cursor: default;
}

.wm2-hero__position {
  display: grid;
  width: 72px;
  gap: 7px;
}

.wm2-hero__count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--wm2-hero-content-muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}

.wm2-hero__count-separator {
  color: var(--wm2-hero-control-muted);
}

.wm2-hero__progress {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  appearance: none;
  background: var(--wm2-hero-control-muted);
}

.wm2-hero__progress::-webkit-progress-bar {
  background: var(--wm2-hero-control-muted);
}

.wm2-hero__progress::-webkit-progress-value {
  background: var(--wm2-hero-content);
  transition: width var(--wm2-hero-motion-fast) var(--wm2-ease);
}

.wm2-hero__progress::-moz-progress-bar {
  background: var(--wm2-hero-content);
  transition: width var(--wm2-hero-motion-fast) var(--wm2-ease);
}

.wm2-hero__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .wm2-hero__cta:hover {
    border-color: var(--wm2-accent);
    color: var(--wm2-accent);
  }

  .wm2-hero__cta:hover .wm2-hero__cta-arrow {
    transform: translateX(3px);
  }

  .wm2-hero__arrow:not(:disabled):hover {
    color: var(--wm2-accent);
  }
}

@media (min-width: 393px) {
  .wm2-hero__inner {
    width: 383px;
  }
}

@media (max-width: 639px) {
  .wm2-hero__controls {
    gap: 0;
  }

  .wm2-hero__position {
    width: 46px;
    gap: 0;
  }

  .wm2-hero__progress {
    display: none;
  }
}

@media (min-width: 640px) {
  .wm2-hero {
    height: clamp(500px, 64vw, 620px);
  }

  .wm2-hero__inner {
    width: 620px;
  }

  .wm2-hero__text {
    top: 50%;
    width: 360px;
    transform: translateY(-50%);
  }

  .wm2-hero__title {
    max-width: 10ch;
    font-size: 48px;
  }

  .wm2-hero__subtitle {
    margin-top: 18px;
    font-size: 17px;
  }

  .wm2-hero__cta {
    margin-top: 22px;
    font-size: 14px;
  }

  .wm2-hero__cta-label--desktop {
    display: inline;
  }

  .wm2-hero__cta-label--mobile {
    display: none;
  }

  .wm2-hero__controls {
    bottom: 28px;
  }
}

@media (min-width: 980px) {
  .wm2-hero {
    height: clamp(620px, calc(100vh - 180px), 820px);
    height: clamp(620px, calc(100svh - 180px), 820px);
    margin-top: calc(
      var(--wm2-header-top-gap) + env(safe-area-inset-top, 0px) + 121px
    );
    margin-bottom: 80px;
  }

  .wm2-hero__inner {
    width: 960px;
  }

  .wm2-hero__text {
    width: 620px;
    transform: translateY(-46%);
  }

  .wm2-hero__title {
    max-width: none;
    font-size: clamp(54px, 4vw, 64px);
    line-height: 0.96;
  }

  .wm2-hero__subtitle {
    max-width: 36ch;
    margin-top: 22px;
    font-size: 19px;
    line-height: 1.5;
  }

  .wm2-hero__cta {
    min-height: 36px;
    margin-top: 28px;
    font-size: 14px;
  }

  .wm2-hero__controls {
    bottom: 36px;
  }
}

@media (min-width: 1440px) {
  .wm2-hero {
    margin-bottom: 120px;
  }

  .wm2-hero__inner {
    width: 1240px;
  }
}

@media (min-width: 1600px) {
  .wm2-hero__inner {
    width: 1460px;
  }
}

@media (max-width: 389px) {
  .wm2-hero {
    margin-top: calc(
      var(--wm2-header-top-gap) + env(safe-area-inset-top, 0px) + 74px
    );
  }

  .wm2-hero__inner {
    width: calc(100% - 40px);
  }

  .wm2-hero__text {
    top: 72px;
    width: 240px;
  }

  .wm2-hero__title {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wm2-hero {
    --wm2-hero-motion-fast: 0ms;
  }

  .wm2-hero__viewport {
    scroll-behavior: auto;
  }
}
