/* The homepage introduction gives both crafts equal space. */
.home-page main > .hero--two-crafts { display: flex; flex-direction: column; min-height: 100svh; padding-bottom: 26px; }
.hero-scenes { position: relative; flex: 1 0 max(390px, calc(100svh - 360px)); min-height: 390px; }
.hero-scene { position: absolute; top: 100px; bottom: 0; left: 0; width: 60%; margin: 0; overflow: hidden; }
.hero-scene--food { left: auto; right: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 33.333%); mask-image: linear-gradient(to right, transparent, #000 33.333%); }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.hero-scene--food img { object-position: center 62%; }
.hero-scenes::after { content: ""; position: absolute; inset: 100px 0 0; background: linear-gradient(to bottom, rgb(43 31 19 / .12), transparent 40%, var(--paper) 100%); pointer-events: none; }
/* The approved cabinet wall is one continuous scene across the homepage. */
.hero--cabinet .hero-scene--cabinet { right: 0; width: 100%; }
.hero--cabinet .hero-scene--cabinet img { object-position: center top; }

.hero--two-crafts .hero-content { position: relative; left: auto; bottom: auto; transform: none; width: min(900px, calc(100% - 40px)); margin: -105px auto 0; }
.hero--two-crafts .hero-logo { width: clamp(270px, 26vw, 370px); }
.hero--two-crafts .hero-location { display: flex; justify-content: center; align-items: center; gap: 17px; margin-top: 4px; font-size: clamp(16px, 1.8vw, 22px); letter-spacing: .12em; }
.hero--two-crafts .hero-location > span:last-child { color: var(--green); }
.hero-brand-times { color: #917343; font-size: 18px; font-weight: 400; }
.hero--two-crafts .hero-statement { margin: 16px auto 12px; font-size: clamp(23px, 2.6vw, 36px); line-height: 1.65; letter-spacing: .09em; text-wrap: balance; }
.hero-description { max-width: 650px; margin: 0 auto 26px; font-size: 17px; line-height: 1.9; color: #705d40; text-wrap: balance; }
.hero--two-crafts .hero-actions { gap: 18px; }
.hero--two-crafts .button { min-width: 260px; min-height: 56px; border-radius: 6px; font-size: 18px; }
.hero-food-button { background: var(--green); border-color: var(--green); color: var(--surface); }
.hero--two-crafts .button:hover { filter: brightness(1.08); }
.hero--two-crafts .button:active { transform: translateY(1px); }
.hero--two-crafts .button:focus-visible { outline: 3px solid #917343; outline-offset: 4px; }
.hero--two-crafts .hero-info { position: relative; inset: auto; width: fit-content; max-width: calc(100% - 40px); margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; font-size: 14px; }
.hero--two-crafts .hero-info p { min-width: 0; padding-inline: 18px; white-space: normal; overflow-wrap: anywhere; }
.hero--two-crafts .hero-info svg { width: 21px; height: 21px; }
@media (max-width: 620px) {
  .hero-scenes { flex-basis: 325px; min-height: 325px; }
  .hero-scene { top: 84px; }
  .hero-scenes::after { top: 84px; }
  .hero--two-crafts .hero-content { width: calc(100% - 36px); margin-top: -52px; }
  .hero--two-crafts .hero-logo { width: 260px; }
  .hero--two-crafts .hero-location { gap: 9px; font-size: 15px; letter-spacing: .04em; flex-wrap: wrap; }
  .hero--two-crafts .hero-statement { max-width: 330px; font-size: 25px; letter-spacing: .04em; }
  .hero-description { font-size: 15px; margin-bottom: 22px; }
  .hero--two-crafts .hero-actions { flex-direction: column; gap: 12px; }
  .hero--two-crafts .button { min-width: 0; width: 100%; font-size: 17px; }
  .hero--two-crafts .hero-info { display: grid; justify-content: center; margin-top: 25px; font-size: 12px; }
  .hero--two-crafts .hero-info p { padding: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero--two-crafts .button { transition: none; } }

/* Branch details above the homepage brand links. */
.home-page .brand-location { margin: 18px 0 0; font-size: 15px; line-height: 1.8; letter-spacing: .04em; overflow-wrap: anywhere; }
.home-page .brand-location strong, .home-page .brand-location span { display: block; }
.home-page .massage-copy .brand-location strong { color: var(--red); }
.home-page .food-copy .brand-location strong { color: var(--green); }
.home-page .food-copy .brand-location { margin-bottom: 20px; }

.home-page .massage-main-photo--practitioner { object-position: center; }
.home-page .massage-detail-feature { margin: 0; overflow: hidden; background: var(--surface); }
.massage-detail-feature > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
@media (max-width: 980px) {
  /* Keep both hands visible instead of hiding them under the copy panel. */
  .home-page .massage-main-photo--practitioner { display: block; height: auto; aspect-ratio: 3 / 2; margin-bottom: 16px; }
  .home-page .massage-detail-feature { margin-left: auto; }
}

/* One continuous photograph, cut by the brand panel's curved edge. */
.home-page .food-photo-wrap--nine-grid { inset: 0; width: 100%; border-radius: 20px; }
.home-page .food-photo-wrap--nine-grid picture { display: block; width: 100%; height: 100%; }
.home-page .food-photo-wrap--nine-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.home-page .food-photo-wrap--nine-grid ~ .food-panel { top: 0; right: 0; bottom: 0; width: 52%; background: linear-gradient(120deg, #fbfce2, #f5f9db); border-radius: 50% 20px 20px 50% / 50% 20px 20px 50%; }
.home-page .food-photo-wrap--nine-grid ~ .brand-bridge { left: 36%; bottom: 24px; padding-top: 18px; padding-bottom: 20px; }
@media (max-width: 980px) {
  .home-page .food-photo-wrap--nine-grid { inset: auto; width: auto; height: auto; aspect-ratio: 1122 / 1402; border-radius: 12px; }
  .home-page .food-photo-wrap--nine-grid ~ .food-panel { inset: auto; width: auto; margin-top: -64px; border-radius: 46% 46% 12px 12px / 16% 16% 12px 12px; }
  .home-page .food-photo-wrap--nine-grid ~ .brand-bridge { left: auto; bottom: auto; padding-top: 24px; padding-bottom: 28px; }
}
@media (max-width: 620px) {
  .home-page .food-photo-wrap--nine-grid ~ .food-panel { margin-top: -40px; border-radius: 40% 40% 10px 10px / 9% 9% 10px 10px; }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .home-page .food-photo-wrap--nine-grid ~ .brand-bridge { left: 24px; transform: scale(.8); transform-origin: left bottom; }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .home-page .food-photo-wrap--nine-grid ~ .food-panel .food-copy { width: 72%; margin-left: 18%; }
  .home-page .food-photo-wrap--nine-grid ~ .food-panel .section-lead { margin: 16px 0 14px; font-size: 22px; line-height: 1.5; }
  .home-page .food-photo-wrap--nine-grid ~ .food-panel .food-body { margin: 18px 0 28px; font-size: 17px; line-height: 1.8; }
}
