/* Mobile-only homepage hero. Loaded after the shared styles so it is authoritative. */
.hero2__mobile-copy,
.hero2__mobile-visualizer,
.hero2__mobile-scroll {
  display: none;
}

@media (max-width: 720px) {
  .home-page .hero2 {
    position: relative;
    display: block;
    height: 100svh;
    min-height: 640px;
    padding-top: 54px;
    overflow: hidden;
    background: #fff;
  }

  .home-page #heroHouse,
  .home-page #heroHouseTransition {
    display: block;
    position: absolute;
    z-index: 0;
    inset: 54px 0 0;
    width: 100%;
    height: calc(100% - 54px);
    min-height: 0;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .home-page .hero2__left {
    display: none;
  }

  .home-page #heroHouseTransition {
    z-index: 1;
  }

  .home-page .hero2__mode-switch {
    display: grid;
    top: 68px;
    width: 242px;
    height: 42px;
    padding: 4px;
  }

  .home-page .hero2__mode-switch .hero2__format {
    padding: 0 10px;
    font-size: 13px;
  }

  .home-page .hero2__mobile-copy {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 232px;
    left: 20px;
    display: block;
    pointer-events: none;
  }

  .home-page .hero2__mobile-title {
    position: static;
    color: #fff;
    font-family: var(--f-text);
    font-size: clamp(24px, 7vw, 29px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    text-shadow: none;
  }

  .home-page .hero2__mobile-visualizer {
    position: absolute;
    z-index: 6;
    bottom: 176px;
    right: auto;
    left: 20px;
    width: auto;
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: var(--c-red);
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transform: none;
  }

  .home-page .hero2__mobile-visualizer .arrow {
    font-size: 17px;
    line-height: 1;
  }

  .home-page .hero2__textures {
    display: block;
    position: absolute;
    z-index: 5;
    right: 10px;
    bottom: 86px;
    left: 10px;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-page .hero2__texture-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    padding: 0;
  }

  .home-page .hero2__texture {
    gap: 7px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-shadow: 0 2px 7px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.75);
  }

  .home-page .hero2__texture .panel-photo {
    width: 52px;
    height: 52px;
    border: 2px solid #fff;
    box-shadow: 0 5px 17px rgba(0,0,0,.28);
  }

  .home-page .hero2__texture.is-active .panel-photo {
    outline: 2px dashed var(--c-red);
    outline-offset: 3px;
    transform: none;
  }

  .home-page .hero2__mobile-scroll {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 16px;
    left: 0;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    color: #fff;
  }

  .home-page .hero2__mobile-scroll span {
    font-size: 11px;
    font-weight: 700;
  }

  .home-page .hero2__mobile-scroll b {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-red);
    color: #fff;
    font-size: 18px;
    line-height: 1;
  }
}
