/* Homepage hero metrics match the artist-shop homepage (toyo-shop-home.css).
   Keep this file identical to gallery/site/assets/service-hero.css. */
.service-hero { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; min-height:clamp(390px,35vw,525px); background:var(--washi); color:var(--ink); font:14px/1.8 'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN',sans-serif; letter-spacing:.02em; }
.service-hero,.service-hero * { box-sizing:border-box; }
.service-hero::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,var(--washi) 30%,rgba(250,249,245,.9) 40%,rgba(250,249,245,0) 75%); }
.service-hero .service-hero-photo { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center; }
.service-hero .service-hero-copy { width:min(100%,1520px); margin-inline:auto; padding:50px clamp(20px,5vw,76px); }
.service-hero h1 { font-family:'Shippori Mincho B1','Noto Serif JP',serif; font-size:clamp(40px,4.6vw,70px); font-weight:500; line-height:1.35; letter-spacing:.08em; margin:0 0 22px; color:inherit; text-shadow:none; writing-mode:horizontal-tb; }
.service-hero h1 span { display:block; }
.service-hero .service-hero-en { font:400 13px/1.8 Georgia,serif; letter-spacing:.24em; color:var(--ink-dim); margin:0; }
.service-hero .service-hero-lead { font:400 17px/1.8 'Shippori Mincho B1',serif; letter-spacing:.28px; margin:28px 0 24px; max-width:30em; color:inherit; }
.service-hero .service-hero-cta { display:inline-flex; align-items:center; justify-content:space-between; gap:32px; padding:13px 26px; min-width:214px; background:var(--aka); color:#fff; font:400 16px/1.8 'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN',sans-serif; letter-spacing:.13em; text-decoration:none; border:0; border-radius:0; }
.service-hero-cta svg { width:22px; height:22px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.5; }
.service-hero .service-hero-cta:hover { background:var(--aka-2); }
.service-hero .service-hero-cta:focus-visible { outline:2px solid var(--aka); outline-offset:4px; }
.gallery-home > .service-hero { margin-top:var(--header-height); }
.service-hero--gallery::after { background:linear-gradient(90deg,#10100f 25%,rgba(16,16,15,.9) 40%,rgba(16,16,15,0) 75%); }
/* Preserve the full framed artwork: a 3:2 photograph must not cover a wide banner. */
.service-hero--gallery .service-hero-photo { inset:0 0 0 auto; width:auto; max-width:none; object-fit:contain; object-position:right center; }
.service-hero--gallery .service-hero-cta { background:var(--aka); color:var(--sumi); }
.service-hero .hero-image-note { position:absolute; right:16px; bottom:12px; }
.home-layout #campaign-strip:not([hidden]) { margin:0 0 24px; }
@media(max-width:1100px) {
  .service-hero .service-hero-copy { padding-block:36px; }
  .service-hero .service-hero-lead { font-size:14px; }
}
@media(max-width:600px) {
  .service-hero { min-height:570px; align-items:flex-start; }
  .service-hero .service-hero-photo { top:auto; bottom:0; height:290px; object-position:72% center; }
  .service-hero--gallery .service-hero-photo { width:100%; max-width:100%; object-fit:contain; object-position:right bottom; }
  .service-hero::after { background:linear-gradient(180deg,var(--washi) 45%,transparent 65%); }
  .service-hero .service-hero-copy { padding-block:28px; }
  .service-hero h1 { font-size:38px; margin-bottom:14px; }
  .service-hero .service-hero-en { font-size:10px; }
  .service-hero .service-hero-lead { font-size:13px; margin:18px 0; }
  .service-hero .service-hero-cta { font-size:13px; min-width:174px; padding:11px 18px; }
}

/* On narrow screens, keep the hero first and retain the directory after products,
   matching the net-print homepage's reading order. */
@media(max-width:800px) {
  .art-home-layout > .art-home-content { display:contents; }
  .art-home-layout > .home-directory { order:2; }
  .art-home-content > .service-hero { order:0; }
  .art-home-content > .section { order:3; }
  .art-home-content > .section[aria-labelledby="art-products-title"] { order:1; }
}
