/* ============================================================
   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;
  }
}

/* ============================================================
   REWARDS — rewards-signup.html + the home-page rewards strip
   ============================================================ */

.rw-how,
.rw-math,
.rw-details {
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}

.rw-how,
.rw-details {
  background: var(--sand);
}

.rw-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.rw-head .kicker::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.5px;
  background: var(--brand);
}

.rw-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 1rem auto 0.75rem;
  max-width: 24ch;
  text-wrap: balance;
}

.rw-head .lede {
  margin-inline: auto;
}

.rw-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--brand);
  background: var(--chili-soft);
}

/* how it works: three steps joined by arrows */
.rw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.rw-step,
.rw-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
}

.rw-step {
  flex: 1 1 0;
  max-width: 19rem;
}

.rw-step h3,
.rw-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.rw-step p,
.rw-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.rw-step .rw-stat {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.rw-step__arrow,
.rw-calc__arrow {
  flex: none;
  font-size: 1.5rem;
  color: color-mix(in srgb, var(--brand) 55%, transparent);
}

/* see the math */
.rw-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.rw-calc__sum {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rw-calc__item,
.rw-calc__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 8.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--card);
}

.rw-calc__item strong,
.rw-calc__result strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
}

.rw-calc__item span,
.rw-calc__result span {
  margin-top: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.rw-calc__item--total {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 8%, #fff);
}

.rw-calc__item--total strong {
  color: var(--gold);
}

.rw-calc__op {
  font-size: 1.5rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand) 55%, transparent);
}

.rw-calc__result {
  padding: 1.6rem 2rem;
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.rw-calc__result span {
  color: rgba(255, 255, 255, 0.82);
}

.rw-calc__note {
  margin: 2rem auto 0;
  max-width: 34rem;
  padding: 1rem 1.5rem;
  border: 1px dashed color-mix(in srgb, var(--gold) 60%, transparent);
  color: var(--ink);
}

.rw-calc__note strong {
  color: var(--brand);
}

/* reward details */
.rw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* hero fine print */
.page-hero .rw-fine {
  margin: 1.6rem auto 0;
  max-width: 40rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* home page: rewards strip under the hero */
.rw-strip {
  background: var(--brand);
  color: #fff;
}

.rw-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.1rem 0;
}

.rw-strip__text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
}

.rw-strip__text .ico {
  font-size: 1.4rem;
  flex: none;
}

.rw-strip__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color var(--t-color) ease, color var(--t-color) ease;
}

.rw-strip__btn:hover {
  background: var(--brand-2);
  color: #fff;
}

@media (max-width: 900px) {
  .rw-steps {
    flex-direction: column;
  }

  .rw-step {
    width: 100%;
    max-width: 26rem;
  }

  .rw-step__arrow {
    transform: rotate(90deg);
  }

  .rw-cards {
    grid-template-columns: 1fr;
    max-width: 30rem;
    margin-inline: auto;
  }

  .rw-calc {
    flex-direction: column;
  }

  .rw-calc__arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 560px) {
  .rw-head .kicker::after {
    width: 1rem;
  }

  .rw-calc__sum {
    flex-direction: column;
  }

  .rw-calc__item {
    width: 100%;
    max-width: 16rem;
  }

  .rw-strip .wrap {
    flex-direction: column;
    text-align: center;
  }

  .rw-strip__text {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* six nav links (with Rewards) — keep each on one line on small desktops */
.site-nav a {
  white-space: nowrap;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding-inline: 0.6rem;
    letter-spacing: 0.1em;
  }
}
