/* Top page composition (#90), moved from docs/design/system/examples/home.css in the infra repo.
   Shared visual rules live in /css/umeshu/umeshu.css; do not override shared components here. */
.home-hero {
  position:relative;
  min-height:403px;
  overflow:hidden;
}

.home-hero-art {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

/* Approved hero headline, option 03 (docs/design/2026-11-hero-headline). */
.home-hero-inner {
  position:relative;
  display:flex;
  align-items:center;
  min-height:403px;
  padding-block:var(--ume-space-10);
}

.home-hero-copy {
  width:52%;
  min-width:0;
  padding-left:66px;
}

.home-hero-kicker {
  color:var(--ume-color-muted);
  font-size:24px;
  font-weight:var(--ume-weight-bold);
}

.home-hero h1 {
  font:var(--ume-weight-display) 40px/var(--ume-line-heading) var(--ume-font-display);
  letter-spacing:0;
  margin-top:var(--ume-space-2);
  overflow-wrap:anywhere;
}

.home-hero-count {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:var(--ume-space-3);
  margin-top:var(--ume-space-3);
}

.home-hero-count strong {
  font-size:44px;
  line-height:1.25;
  font-weight:var(--ume-weight-bold);
  color:var(--ume-color-link);
  font-variant-numeric:tabular-nums;
}

.home-hero-count span { font-size:var(--ume-text-lg); }

.home-hero-description {
  font-size:var(--ume-text-base);
  margin-top:var(--ume-space-3);
}

.home-hero-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:var(--ume-space-4) var(--ume-space-8);
  margin-top:var(--ume-space-6);
}

.home-hero-actions .ume-text-link {
  font-size:22px;
  padding-block:8px;
}

.home-base-band {
  background:var(--ume-color-band);
  padding:15px 0 25px;
  min-height:157px;
  scroll-margin-top:0;
}

.home-base-band h2 {
  font-size:34px;
  font-weight:var(--ume-weight-bold);
  line-height:1.4;
  text-align:center;
}

.home-base-links {
  display:grid;
  grid-template-columns:.9fr .9fr 1.35fr .95fr 1.2fr .9fr;
  align-items:center;
  gap:0;
  margin-top:24px;
  font:var(--ume-weight-display) 30px/1.4 var(--ume-font-display);
  text-align:center;
}

.home-base-links a {
  padding:4px 2px;
  white-space:nowrap;
}

.home-base-links a:hover {
  text-decoration-thickness:1px;
}

.home-base-count {
  display:block;
  font:var(--ume-weight-regular) 13px/1.6 var(--ume-font-body);
  color:var(--ume-color-muted);
}

.home-featured-section {
  padding-top:31px;
  padding-bottom:64px;
}

.home-featured-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:42px;
}

.home-search-section {
  background:var(--ume-color-soft);
  padding:43px 0 47px;
}

.home-search-section-inner {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:64px;
}

.home-search-section .ume-heading {
  font-size:27px;
}

.home-search-section p {
  font-size:15px;
  margin-top:8px;
  color:var(--ume-color-muted);
}

.home-main-search {
  align-self:center;
  margin-bottom:22px;
}

.home-main-search input {
  min-height:54px;
}

.home-main-search button {
  min-width:105px;
  font-size:18px;
}

.home-main-search .home-search-help {
  position:absolute;
  top:100%;
  left:0;
  font-size:13px;
  margin-top:7px;
}

.home-region-section {
  display:grid;
  grid-template-columns:360px 1fr;
  gap:70px;
  padding-block:76px 80px;
}

.home-region-groups {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-content:start;
  gap:13px 30px;
}

.home-recent-section {
  background:var(--ume-color-subtle);
}

.home-recent-inner {
  display:grid;
  grid-template-columns:360px 1fr;
  gap:70px;
  padding-block:70px 76px;
}

.home-homemade-section {
  padding-top:70px;
  padding-bottom:72px;
}

.home-shops-section {
  background:var(--ume-color-soft);
}

.home-shops-inner {
  display:grid;
  grid-template-columns:360px 1fr;
  gap:70px;
  padding-block:66px 64px;
}

@media(min-width:1600px) {
  .home-hero-art {
    object-fit:cover;
    object-position:center 52%;
  }
  .home-hero-copy {
    padding-left:66px;
  }
}

@media(max-width:1250px) {
  .home-hero-copy {
    padding-left:25px;
    width:57%;
  }
  .home-hero-actions .ume-text-link {
    font-size:20px;
  }
  .home-base-band h2 {
    font-size:30px;
  }
  .home-base-links {
    font-size:27px;
  }
  .home-featured-grid {
    gap:25px;
  }
  .home-region-section,.home-recent-inner,.home-shops-inner {
    grid-template-columns:285px 1fr;
    gap:45px;
  }
  .home-region-groups {
    gap:12px 22px;
  }
  .home-search-section-inner {
    gap:40px;
  }
  .home-search-section .ume-heading {
    font-size:25px;
  }
}

@media(max-width:900px) {
  .home-hero-inner {
    min-height:390px;
  }
  .home-hero-copy {
    padding-left:12px;
    width:63%;
  }
  .home-hero h1 { font-size:32px; }
  .home-hero-kicker { font-size:22px; }
  .home-hero-count strong { font-size:40px; }
  .home-hero-actions .ume-text-link {
    font-size:18px;
  }
  .home-base-band {
    padding-block:22px 25px;
  }
  .home-base-band h2 {
    font-size:27px;
  }
  .home-base-links {
    font-size:24px;
    margin-top:19px;
    grid-template-columns:repeat(3,1fr);
    gap:10px 12px;
  }
  .home-featured-grid {
    gap:30px;
  }
  .home-search-section-inner {
    grid-template-columns:1fr;
    gap:24px;
  }
  .home-main-search {
    max-width:650px;
    width:100%;
  }
  .home-region-section,.home-recent-inner,.home-shops-inner {
    grid-template-columns:1fr;
    gap:34px;
  }
  .home-region-groups {
    gap:16px 30px;
  }
}

@media(max-width:600px) {
  .home-hero {
    display:flex;
    flex-direction:column;
    min-height:0;
    overflow:visible;
    background:var(--ume-color-hero);
  }
  .home-hero-art {
    position:relative;
    order:2;
    height:218px;
    object-fit:cover;
    object-position:83% center;
    width:100%;
  }
  .home-hero-inner {
    order:1;
    min-height:0;
    padding-block:var(--ume-space-6) var(--ume-space-8);
  }
  .home-hero-copy {
    width:100%;
    padding:0;
  }
  .home-hero-kicker { font-size:20px; }
  .home-hero h1 { font-size:28px; }
  .home-hero-count { gap:var(--ume-space-2); }
  .home-hero-count strong { font-size:36px; }
  .home-hero-count span,
  .home-hero-description { font-size:var(--ume-text-sm); }
  .home-hero-actions {
    gap:var(--ume-space-4) var(--ume-space-6);
  }
  .home-hero-actions .ume-text-link {
    font-size:16px;
  }
  .home-base-band {
    min-height:0;
    padding:25px 0 27px;
  }
  .home-base-band h2 {
    font-size:clamp(18px,5.35vw,21px);
    line-height:1.65;
    white-space:nowrap;
    letter-spacing:0;
  }
  .home-base-links {
    grid-template-columns:repeat(3,minmax(0,1fr));
    font-size:clamp(17px,5vw,21px);
    gap:13px 9px;
    margin-top:17px;
  }
  .home-base-links a {
    min-height:44px;
    padding:8px 0;
    white-space:normal;
    word-break:keep-all;
  }
  .home-featured-section {
    padding-top:33px;
    padding-bottom:39px;
  }
  .home-featured-section .ume-section-heading {
    gap:8px;
    margin-bottom:21px;
  }
  .home-featured-grid {
    grid-template-columns:1fr;
    gap:22px;
  }
  .home-search-section {
    padding-block:33px 43px;
  }
  .home-search-section-inner {
    gap:22px;
  }
  .home-search-section .ume-heading {
    font-size:23px;
  }
  .home-search-section p {
    font-size:14px;
  }
  .home-main-search input {
    min-height:51px;
    padding-inline:12px;
    font-size:14px;
  }
  .home-main-search button {
    min-width:73px;
    padding-inline:16px;
    font-size:16px;
  }
  .home-main-search .home-search-help {
    font-size:12px;
    margin-top:8px;
  }
  .home-region-section {
    gap:22px;
    padding-block:42px 46px;
  }
  .home-region-groups {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 24px;
  }
  .home-recent-inner {
    gap:24px;
    padding-block:41px 43px;
  }
  .home-homemade-section {
    padding-block:42px;
  }
  .home-shops-inner {
    gap:26px;
    padding-block:41px 39px;
  }
}

@media(max-width:360px) {
  .home-hero-actions .ume-button--hero {
    font-size:16px;
    padding-inline:14px;
  }
  .home-hero-actions .ume-text-link {
    font-size:15px;
  }
}
