/* Stacked treatment for the customer-facing Yamamoto Honke artwork. */
.site-header {
  height: auto;
  min-height: 75px;
  padding-top: 10px;
  padding-bottom: 8px;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.site-header .brand {
  grid-column: 1;
  justify-self: center;
}
.site-header .brand img { display: block; width: 118px; height: auto; }
.site-header nav {
  grid-column: 1;
  position: absolute;
  top: 14px;
  right: max(5vw, 24px);
}

.distributor-note {
  grid-column: 1;
  margin: 4px 0 0;
  color: #706b65;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
}

.site-footer {
  margin-top: 44px;
  padding: 22px max(5vw, 24px);
  border-top: 1px solid var(--line);
  background: #f5efe5;
  color: var(--muted);
  font-size: 11px;
}

.site-footer p {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 14px;
  text-align: center;
}

.site-footer strong { color: var(--ink); }
.site-footer a { color: inherit; }
.site-footer span + span::before { content: "·"; margin-right: 14px; color: #b3aaa0; }

.brand-hero {
  max-width: 1100px;
  min-height: 0;
  margin: 38px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  background: #f5efe5;
  border: 1px solid var(--line);
  overflow: hidden;
}

.brand-hero .hero-content {
  position: relative;
  width: auto;
  margin: 0;
  padding: clamp(34px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  order: 2;
  overflow: hidden;
}

/* Kyoto-inspired illustration kept inside the instruction panel only. */
.brand-hero .hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/kyoto-instruction-art.svg") center / cover no-repeat;
  pointer-events: none;
}

.brand-hero .hero-content > * {
  position: relative;
  z-index: 1;
}

.brand-hero .eyebrow { color: var(--accent); }
.brand-hero h1 { max-width: none; color: var(--ink); text-shadow: none; }
.brand-hero h1 span { color: #805238; }
.brand-hero .hero-content > p:last-child { max-width: none; color: var(--muted); text-shadow: none; }

.brand-hero .hero-art {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #211712;
  order: 1;
}

.brand-hero .hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep the two taller Omoi bottle images visually consistent with the SKU row. */
.product-picker img.omoi-product-image {
  width: 94px;
  height: 94px;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.order-posters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 25px 0;
}

.order-posters img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

@media (hover: hover) {
  .order-posters img:hover {
    position: relative;
    z-index: 2;
    transform: scale(1.045);
    box-shadow: 0 14px 35px #3d302344;
  }
}

.poster-lightbox {
  width: min(1000px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  margin: auto;
  overflow: visible;
  background: transparent;
}

.poster-lightbox::backdrop { background: #1a1612d9; }

.poster-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 56px);
  object-fit: contain;
  background: #fff;
}

.poster-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-header nav {
    top: 12px;
    right: max(4vw, 15px);
  }

  .site-footer p { display: block; line-height: 1.75; }
  .site-footer span { display: block; }
  .site-footer span + span::before { content: none; }

  .brand-hero {
    margin-top: 0;
    border-right: 0;
    border-left: 0;
  }

  .brand-hero .hero-content { padding: 50px max(5vw, 24px); }
  .product-picker img.omoi-product-image { width: 64px; height: 64px; }
  .order-posters { grid-template-columns: 1fr; }
}
