body[data-phone-page=home] .hero-banner {
  background: #c6e2eb;
  width: min(100%, 1920px);
  margin-inline: auto;
  display: grid;
  grid-template-areas: 'title' 'scene' 'search';
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  isolation: isolate;
}
body[data-phone-page=home] .hero-banner .hb-title {
  grid-area: title;
  width: 100%; max-width: none; margin: 0;
  padding: clamp(16px,2vw,30px) 16px 10px;
}
body[data-phone-page=home] .hero-banner .hb-title h1,
body[data-phone-page=home] .hero-banner .hb-title .hb-signe { text-align: center; }
body[data-phone-page=home] .hero-banner .hb-title .hb-signe span { white-space: normal; }
body[data-phone-page=home] .hero-banner .hb-img {
  grid-area: scene;
  width: 100%; min-height: 0;
  /* Keep the complete foreground on phones, then reveal more landscape. */
  height: min(47.84vw, max(287px, min(26.91vw, 517px)));
  aspect-ratio: auto;
}
body[data-phone-page=home] .hero-banner .hb-img img {
  display: block; position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: left bottom;
}
body[data-phone-page=home] .hero-banner .hb-search {
  grid-area: search;
  position: relative; margin: 0; padding: 14px clamp(12px,3vw,32px) 20px;
  width: 100%; max-width: none; background: var(--paper);
}
body[data-phone-page=home] .hero-banner .phone-search-trigger { display: none; }
body[data-phone-page=home] .hero-banner .hb-search form.search {
  display: grid; width: 100%; max-width: 700px; margin: 0 auto;
  grid-template-columns: minmax(0,1fr); gap: 12px; padding: 16px;
  background: #fffcf6; border: 0; border-radius: 14px;
}
body[data-phone-page=home] .hero-banner .search label {
  display: flex; padding: 0; border: 0; gap: 5px; min-height: 0; min-width: 0;
}
body[data-phone-page=home] .hero-banner .search input[type=search] {
  width: 100%; min-height: 44px; padding: 8px 12px; font-size: 16px;
  background: white; border: 1px solid var(--line); border-radius: 6px;
}
body[data-phone-page=home] .hero-banner .search .btn {
  min-height: 44px; background: #f7b57e; color: #302719; border-radius: 6px;
}
@media (min-width: 640px) and (max-width: 999px) {
  body[data-phone-page=home] .hero-banner .hb-search form.search {
    max-width: 860px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
  }
}
@media (min-width: 1000px) and (orientation: landscape), (min-width: 1300px) {
  body[data-phone-page=home] .hero-banner {
    grid-template-areas: 'title' 'scene';
  }
  body[data-phone-page=home] .hero-banner .hb-search {
    grid-area: scene;
    align-self: end; justify-self: end;
    width: clamp(280px, 29.5%, 448px); margin: 0 4% 2%;
    bottom: clamp(20px, calc(8vw - 60px), 50px);
    padding: 0; background: transparent;
  }
  body[data-phone-page=home] .hero-banner .hb-search form.search {
    gap: clamp(10px,1vw,16px); padding: clamp(14px,1.6vw,24px);
    background: #fff5e6;
    border: 1px solid #816b52;
    box-shadow: 0 3px 10px rgb(48 39 25 / 18%);
  }
  body[data-phone-page=home] .hero-banner .search .s-l {
    color: #302719;
    font-size: 14px;
    font-weight: 700;
  }
  body[data-phone-page=home] .hero-banner .search input[type=search] {
    border-color: transparent;
  }
  body[data-phone-page=home] .hero-banner .search input[type=search]:focus-visible {
    outline: 2px solid #816b52;
    outline-offset: 1px;
  }
  body[data-phone-page=home] .hero-banner .search .btn {
    background: #f7ac6b;
    border: 1px solid transparent;
    font-weight: 700;
  }
}
