/* ============================================================
   CUSTOM — Per-store overrides for Template TL (Lantern)
   Add store-specific tweaks here. Loaded last so it wins
   over theme.css and style.css.
   ============================================================ */

/* Shippori Mincho — a Japanese mincho serif with full Latin glyphs.
   Google serves the kana/kanji in unicode-range slices, so the
   decorative 寿司 seal only downloads the two glyphs it uses. */
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700;800&display=swap");

/* ============================================================
   JAPANESE IDENTITY LAYER — built on the logo
   · logo crimson (shu red) + charcoal (sumi ink), see theme.css
   · mincho serif display face
   · the logo's red underline reused as the kicker rule
   · seigaiha wave pattern on the dark bands
   · a red hanko seal on the call-to-action frame
   ============================================================ */

:root {
  --font-display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN",
    Georgia, "Times New Roman", serif;
  --accent-on-dark: color-mix(in srgb, var(--brand) 55%, #fff);

  /* seigaiha tiles; fills match --brand-2 / --ink in theme.css,
     regenerate if those two colours change */
  --seigaiha-sumi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Crect width='40' height='20' fill='%232f2d2b'/%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='0.085' stroke-width='1'%3E%3Ccircle cx='0' cy='10' r='19.5' fill='%232f2d2b'/%3E%3Ccircle cx='0' cy='10' r='15'/%3E%3Ccircle cx='0' cy='10' r='10.5'/%3E%3Ccircle cx='0' cy='10' r='6'/%3E%3Ccircle cx='0' cy='10' r='1.75'/%3E%3Ccircle cx='40' cy='10' r='19.5' fill='%232f2d2b'/%3E%3Ccircle cx='40' cy='10' r='15'/%3E%3Ccircle cx='40' cy='10' r='10.5'/%3E%3Ccircle cx='40' cy='10' r='6'/%3E%3Ccircle cx='40' cy='10' r='1.75'/%3E%3Ccircle cx='20' cy='20' r='19.5' fill='%232f2d2b'/%3E%3Ccircle cx='20' cy='20' r='15'/%3E%3Ccircle cx='20' cy='20' r='10.5'/%3E%3Ccircle cx='20' cy='20' r='6'/%3E%3Ccircle cx='20' cy='20' r='1.75'/%3E%3Ccircle cx='0' cy='30' r='19.5' fill='%232f2d2b'/%3E%3Ccircle cx='0' cy='30' r='15'/%3E%3Ccircle cx='0' cy='30' r='10.5'/%3E%3Ccircle cx='0' cy='30' r='6'/%3E%3Ccircle cx='0' cy='30' r='1.75'/%3E%3Ccircle cx='40' cy='30' r='19.5' fill='%232f2d2b'/%3E%3Ccircle cx='40' cy='30' r='15'/%3E%3Ccircle cx='40' cy='30' r='10.5'/%3E%3Ccircle cx='40' cy='30' r='6'/%3E%3Ccircle cx='40' cy='30' r='1.75'/%3E%3C/g%3E%3C/svg%3E");
  --seigaiha-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Crect width='40' height='20' fill='%231f1b19'/%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='0.06' stroke-width='1'%3E%3Ccircle cx='0' cy='10' r='19.5' fill='%231f1b19'/%3E%3Ccircle cx='0' cy='10' r='15'/%3E%3Ccircle cx='0' cy='10' r='10.5'/%3E%3Ccircle cx='0' cy='10' r='6'/%3E%3Ccircle cx='0' cy='10' r='1.75'/%3E%3Ccircle cx='40' cy='10' r='19.5' fill='%231f1b19'/%3E%3Ccircle cx='40' cy='10' r='15'/%3E%3Ccircle cx='40' cy='10' r='10.5'/%3E%3Ccircle cx='40' cy='10' r='6'/%3E%3Ccircle cx='40' cy='10' r='1.75'/%3E%3Ccircle cx='20' cy='20' r='19.5' fill='%231f1b19'/%3E%3Ccircle cx='20' cy='20' r='15'/%3E%3Ccircle cx='20' cy='20' r='10.5'/%3E%3Ccircle cx='20' cy='20' r='6'/%3E%3Ccircle cx='20' cy='20' r='1.75'/%3E%3Ccircle cx='0' cy='30' r='19.5' fill='%231f1b19'/%3E%3Ccircle cx='0' cy='30' r='15'/%3E%3Ccircle cx='0' cy='30' r='10.5'/%3E%3Ccircle cx='0' cy='30' r='6'/%3E%3Ccircle cx='0' cy='30' r='1.75'/%3E%3Ccircle cx='40' cy='30' r='19.5' fill='%231f1b19'/%3E%3Ccircle cx='40' cy='30' r='15'/%3E%3Ccircle cx='40' cy='30' r='10.5'/%3E%3Ccircle cx='40' cy='30' r='6'/%3E%3Ccircle cx='40' cy='30' r='1.75'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- mincho headings: open the tracking back up ---------- */
h1,
h2,
h3,
.display {
  letter-spacing: -0.005em;
}

.hero-full h1,
.page-hero h1,
.cta-band h2,
#home-hero .cs-title {
  letter-spacing: -0.01em;
  line-height: 1.12;
}

/* ---------- kicker: the logo's red underline as a leading rule ---------- */
.kicker::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.5px;
  background: var(--brand);
}

.kicker--light::before,
.page-hero .kicker::before,
.cta-band .kicker::before {
  background: currentColor;
  opacity: 0.7;
}

/* centred kickers get a matching rule on the right */
.hero-full .kicker::after,
.page-hero .kicker::after,
.cta-band .kicker::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

/* ---------- seigaiha waves on the dark bands ---------- */
.cta-band {
  background: var(--brand-2) var(--seigaiha-sumi) center top / 40px 20px repeat;
}

.site-footer {
  background: var(--ink) var(--seigaiha-ink) center top / 40px 20px repeat;
  border-top: 3px solid var(--brand); /* the red rule under the logo */
}

.site-footer h4::before {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--accent-on-dark);
}

/* ---------- hanko seal on the CTA frame ---------- */
.cta-band .wrap::after {
  content: "寿司";
  position: absolute;
  top: -1.4rem;
  right: clamp(1.25rem, 4vw, 2.5rem);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--brand);
  padding: 0.55rem 0.42rem;
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--brand),
    inset 0 0 0 3px rgba(255, 255, 255, 0.55);
  transform: rotate(-3deg);
  pointer-events: none;
}

/* mincho sets wider than the old sans — keep phone headings in bounds */
@media (max-width: 560px) {
  .hero-full h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.4rem);
  }

  .page-hero h1,
  .cta-band h2 {
    font-size: clamp(1.8rem, 7.8vw, 2.3rem);
  }

  .kicker::before,
  .hero-full .kicker::after,
  .page-hero .kicker::after,
  .cta-band .kicker::after {
    width: 1rem;
  }
}

/* Layout for the location / delivery boxes now lives in style.css
   (Lantern template). Keep only store-specific tweaks below. */

/* ---------- home "Find us" box: map left, details right,
   action buttons pinned to the bottom-right corner ---------- */
.location-box--home .location-box__details {
  order: 0;
  display: flex;
  flex-direction: column;
}

.location-box--home .location-box__actions {
  margin-top: auto;
  padding-top: 1.75rem;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 560px) {
  .location-box--home .location-box__actions {
    justify-content: stretch;
  }

  .location-box--home .location-box__actions > a {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ---------- about gallery strip: rounded square tiles ----------
   source photos are ~square, so 1:1 avoids the heavy 3:4 crop */
.snap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.snap-grid img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: var(--canvas);
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease-soft), opacity 0.9s var(--ease-out),
    box-shadow 0.6s var(--ease-soft);
}

.snap-grid img:hover {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 760px) {
  .snap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .snap-grid img {
    border-radius: 10px;
  }
}

/* ---------- home FAQ: internal links to tag pages ---------- */
.qa .qa-body a {
  color: var(--chili);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--chili) 35%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.qa .qa-body a:hover,
.qa .qa-body a:focus-visible {
  color: var(--chili-dark);
  text-decoration-color: currentColor;
}

/* long neighbourhood / dish lists (8+ items) read better in two columns */
.qa .qa-body ul:has(li:nth-child(8)) {
  columns: 2;
  column-gap: 1.5rem;
}

.qa .qa-body ul:has(li:nth-child(8)) li {
  break-inside: avoid;
}

@media (max-width: 560px) {
  .qa .qa-body ul:has(li:nth-child(8)) {
    columns: 1;
  }
}
