/* Sushi Wagocoro — mon-matcha & rice-paper (palette from the logo)
   Tokens: moss #39401C · rice white #F7F6F1 · sumi ink #242220
           logo lime #DBE15B · logo salmon #F4B09B · olive gold #C8B858
           terracotta accent #AA4E2F (hanko/labels) · quiet gray #6E6A63
   Previous indigo version preserved in ../src-v1-noren-indigo/ */

@font-face {
  font-family: "Shippori Mincho";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/shippori-mincho-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026;
}
@font-face {
  font-family: "Shippori Mincho";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/shippori-mincho-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026;
}
/* tiny subset holding only 和 and 心 */
@font-face {
  font-family: "Shippori Mincho";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/shippori-mincho-700-wagocoro-kanji.woff2") format("woff2");
  unicode-range: U+548C, U+5FC3;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/zen-kaku-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/zen-kaku-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/zen-kaku-700-latin.woff2") format("woff2");
}

:root {
  --kon: #39401C;
  --kon-deep: #2C3214;
  --rice: #F7F6F1;
  --paper: #FDFCF9;
  --ink: #242220;
  --shu: #AA4E2F;
  --matcha: #DBE15B;
  --salmon: #F4B09B;
  --gold: #C8B858;
  --gray: #6E6A63;
  --on-kon-muted: #BCBFA3;
  --hairline: #E3E0D7;
  --display: "Shippori Mincho", "Times New Roman", serif;
  --body: "Zen Kaku Gothic New", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--rice);
}

a { color: inherit; }
a:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--shu);
  outline-offset: 3px;
}
.noren a:focus-visible, .cta:focus-visible {
  outline-color: var(--matcha);
}

/* ---- draft banner (Mikoshi preview) ---- */
.draft-banner {
  display: block;
  background: var(--shu);
  color: #FFF6F0;
  text-align: center;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
}
.draft-banner:hover { background: #8F3F24; }

/* ---- hero: noren ---- */
.noren {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.05), rgba(0,0,0,0.18)),
    var(--kon);
  color: var(--rice);
  overflow: hidden;
}
/* fabric weave: faint vertical panel seams */
.noren::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 calc(25% - 1px),
    rgba(247, 246, 241, 0.07) calc(25% - 1px) 25%
  );
  pointer-events: none;
}
.noren-inner {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7.5rem) 1.5rem clamp(5rem, 11vw, 8.5rem);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
}
.hero-copy { max-width: 34rem; animation: rise 0.9s ease-out both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-kon-muted);
  margin-bottom: 1.25rem;
}
.noren h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}
.lede {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  line-height: 1.6;
  color: #E8E6DE;
  margin-bottom: 1.75rem;
}
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--on-kon-muted);
  margin-bottom: 2.5rem;
}
.hero-meta li::before {
  content: "・";
  margin-right: 0.4rem;
  color: var(--matcha);
}
.hero-meta a { color: inherit; text-underline-offset: 3px; }
.hero-meta a:hover { color: var(--rice); }
.cta {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--kon);
  background: var(--rice);
  padding: 0.8rem 1.6rem;
  border-radius: 2px;
}
.cta:hover { background: #FFFFFF; }

/* logo mon + vertical 和心 + hanko */
.hero-kanji {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: rise 0.9s 0.15s ease-out both;
}
.logo-mon {
  width: clamp(6rem, 11vw, 8.5rem);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.kanji {
  font-family: var(--display);
  font-weight: 700;
  writing-mode: vertical-rl;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: 0.28em;
  color: var(--rice);
  opacity: 0.92;
}
.hanko {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.05;
  text-align: center;
  color: #FFF6F0;
  background: var(--shu);
  border-radius: 4px;
  padding: 0.45rem 0.5rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

/* noren hem: hanging split tabs over the page below */
.noren-hem {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.25rem;
  background:
    repeating-linear-gradient(
      90deg,
      var(--rice) 0 10px,
      transparent 10px calc(25% - 10px),
      var(--rice) calc(25% - 10px) 25%
    );
}

/* ---- shared section shell ---- */
main section {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}
.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shu);
  margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.25;
  max-width: 30ch;
  margin-bottom: 2.5rem;
}

/* ---- tarina ---- */
.tarina { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; }
.tarina h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}
.inline-kanji { color: var(--shu); letter-spacing: 0.06em; }
.tarina-body { max-width: 40rem; }
.tarina-body p + p { margin-top: 1rem; }

/* ---- menu ---- */
.menu { border-top: 1px solid var(--hairline); }
.menu-list { list-style: none; max-width: 44rem; }
.menu-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--hairline); }
.menu-list li:first-child { border-top: 1px solid var(--hairline); }
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.menu-row h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
}
.leader {
  flex: 1;
  border-bottom: 2px dotted #C9C5B9;
  transform: translateY(-4px);
}
.price {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
}
.menu-list p { color: #4A4741; max-width: 36rem; }
.menu-note {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--gray);
}

/* ---- galleria ---- */
.galleria { border-top: 1px solid var(--hairline); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-grid figure { margin: 0; }
.ph {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ph svg { width: 100%; height: 100%; display: block; }
.gallery-grid figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--gray);
}
.photo-note {
  margin-top: 2.5rem;
  max-width: 44rem;
  font-size: 0.9375rem;
  color: #4A4741;
  background: var(--paper);
  border-left: 3px solid var(--shu);
  padding: 0.9rem 1.25rem;
}

/* ---- yhteystiedot ---- */
.yhteystiedot { border-top: 1px solid var(--hairline); }
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.visit-block h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.6rem;
}
.visit-block p + p { margin-top: 0.5rem; }
.text-link {
  color: var(--kon);
  font-weight: 500;
  text-decoration-color: #C9C5B9;
  text-underline-offset: 3px;
}
.text-link:hover { text-decoration-color: var(--shu); }
.hours { border-collapse: collapse; }
.hours th {
  text-align: left;
  font-weight: 500;
  padding: 0.15rem 1.5rem 0.15rem 0;
}
.hours td { padding: 0.15rem 0; }
.small { font-size: 0.9375rem; color: var(--gray); }

/* ---- footer ---- */
.footer {
  background: var(--kon-deep);
  color: var(--on-kon-muted);
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 0.9375rem;
}
.footer-kanji {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--rice);
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}
.footer-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}
.footer a { color: var(--rice); text-underline-offset: 3px; }
.footer p + p { margin-top: 0.35rem; }

/* ---- responsive ---- */
@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .tarina { grid-template-columns: 1fr; gap: 0; }
  .tarina .section-label { margin-bottom: 0.9rem; }
}
@media (max-width: 640px) {
  .noren-inner { flex-direction: column-reverse; gap: 2.5rem; }
  .hero-kanji {
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1rem;
  }
  .kanji { font-size: 3.25rem; }
  .logo-mon { width: 5rem; }
  .noren-hem {
    background: repeating-linear-gradient(
      90deg,
      var(--rice) 0 8px,
      transparent 8px calc(33.33% - 8px),
      var(--rice) calc(33.33% - 8px) 33.33%
    );
  }
}
