.karmod-home .home-hero {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #14243b;
}

.karmod-home .home-hero-stage {
  height: clamp(500px, calc(100svh - 206px), 820px);
}

.karmod-home .home-slide {
  display: block;
  background: #263956;
  color: white;
}

.karmod-home .home-slide img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-position: var(--slide-focus, center);
}

.karmod-home .home-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(93deg, #0d1b35d6 0%, #10203b8c 31%, #152c4b30 57%, transparent 79%),
    linear-gradient(0deg, #14243b80 0%, transparent 30%);
}

.karmod-home .home-slide-modules { --slide-focus: 57% 48%; }
.karmod-home .home-slide-steel { --slide-focus: 63% 50%; }
.karmod-home .home-slide-containers { --slide-focus: 66% 51%; }
.karmod-home .home-slide-houses { --slide-focus: 58% 51%; }
.karmod-home .home-slide-kiosks { --slide-focus: 63% 49%; }

.karmod-home .home-slide .home-hero-content {
  width: min(1320px, calc(100% - 80px));
  min-height: 100%;
  margin-inline: auto;
  align-items: center;
  padding: 0 0 62px;
}

.karmod-home .home-kicker { color: #ffcf94; font-weight: 700; }
.karmod-home .home-hero-title,
.karmod-home .home-slide-containers .home-hero-title {
  max-width: 740px;
  font-size: clamp(2.65rem, 5.5vw, 5.1rem);
  letter-spacing: -.046em;
  line-height: 1.025;
  text-wrap: balance;
}
.karmod-home .home-slide-kiosks .home-hero-title { max-width: 670px; }
.karmod-home .home-hero-copy p { margin: 18px 0 22px; color: #f1f5fa; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.karmod-home .home-hero-cta {
  background: #f9fafb;
  color: #14243b;
  min-height: 47px;
  padding: 9px 18px;
}
.karmod-home .home-slide:hover .home-hero-cta { background: #ffd399; }

.karmod-home .home-hero-credit {
  position: absolute;
  right: max(32px, calc((100% - 1320px) / 2));
  bottom: 114px;
  padding: 3px 8px;
  background: #122037b8;
  color: white;
  border-radius: 4px;
  font-size: .75rem;
}
.karmod-home .home-hero-arrows {
  right: max(32px, calc((100% - 1320px) / 2));
  bottom: 40px;
}
.karmod-home .home-hero-arrows button {
  background: #102241c7;
  color: white;
  border: 1px solid #dbe6f4;
}
.karmod-home .home-hero-selector {
  border: 0;
  background: #14243b;
}
.karmod-home .home-hero-options {
  --home-tab-orange: #f7941d;
  width: min(1320px, calc(100% - 80px));
  grid-template-columns: repeat(var(--home-slide-count, 5), minmax(0, 1fr));
}
.karmod-home .home-hero-options button {
  min-height: 59px;
  color: #e0e8f3;
  border-color: #38465d;
}
.karmod-home .home-hero-options button:hover,
.karmod-home .home-hero-options button[aria-pressed="true"] { background: #253955; color: white; }
.karmod-home .home-hero-options button[aria-pressed="true"]::after {
  inset: auto 0 0;
  background: var(--home-tab-orange);
}
.karmod-home .home-hero-options button:focus-visible {
  background: var(--home-tab-orange);
  color: #14243b;
  outline-color: currentColor;
}
.karmod-home .home-hero-options button[aria-pressed="true"]:focus-visible::after { background: #14243b; }

@media (hover: hover) {
  .karmod-home .home-hero-options button:hover { background: var(--home-tab-orange); color: #14243b; }
  .karmod-home .home-hero-options button[aria-pressed="true"]:hover::after { background: #14243b; }
}

@media (prefers-reduced-motion: no-preference) {
  .karmod-home .home-hero-options button { transition: background-color 160ms ease, color 160ms ease; }
}

.karmod-home .home-popular-stage .home-popular-credit {
  display: none;
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 3px 8px;
  background: #122037c7;
  color: white;
  border-radius: 4px;
  font-size: .75rem;
}
.karmod-home .home-popular-stage:has(img[data-generated]:not([hidden])) .home-popular-credit { display: block; }

@media (max-width: 700px) {
  .karmod-home .home-hero-stage { height: clamp(465px, 66svh, 635px); }
  .karmod-home .home-slide .home-hero-content {
    width: calc(100% - 38px);
    align-items: end;
    padding: 0 38px 28px 0;
  }
  .karmod-home .home-slide::before {
    background: linear-gradient(0deg, #0d1b35f2 0%, #11203cce 23%, #12223c30 53%, transparent 72%);
  }
  .karmod-home .home-hero-title,
  .karmod-home .home-slide-containers .home-hero-title { font-size: clamp(2rem, 8.3vw, 3.15rem); }
  .karmod-home .home-hero-copy p { margin: 9px 0 14px; }
  .karmod-home .home-hero-arrows { right: 12px; bottom: 28px; gap: 4px; }
  .karmod-home .home-hero-arrows button { width: 34px; height: 42px; border-radius: 6px; }
  .karmod-home .home-hero-credit { top: 11px; bottom: auto; right: 55px; }
  .karmod-home .home-hero-options {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #71839b #20304b;
    scroll-snap-type: x mandatory;
  }
  .karmod-home .home-hero-options button {
    flex: 1 0 auto;
    min-height: 51px;
    border-top: 0;
    border-inline-start: 1px solid #4a5970;
    padding-inline: 13px;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}
